I wound't suggest drinking out of that last well...
Posts by yahwho
-
-
-
Hi @red51
We had some strange behaviour where players would experience multiple death messages sometimes when they die - which clearly they should only get one death message.
I have discovered the cause of this behaviour. The following method gets called when a player dies, however, when a player is already dead and their dead body is hit, this method gets called again for each hit on the dead body.
The result of which is a player gets multiple deaths registered against them.
This method stops getting called when the player who died respawns or disconnects. But whilst remaining on the Game Over screen this method keeps getting called (each time they are hit).
Edit: Circumvented in the meantime with some locking logic... . so no rush to fix, just thought I would let you know about it. Maybe it's intentional behaviour?
-
Thanks for letting me know
-
The next hotfix
I appreciate you may not be able to answer this, but so you know when this will be expected? -
Sounds like a good idea for a plugin!
-
I'm not sure if I can get proper syncing between all clients ready in time
That would work for now, I'm actually (to begin with) only adding the items on a per client basis so their own physics would work!
-
@red51 thanks for your help (again
)
Just one final question on custom objects, is it possible to make them effected by gravity?
-
make sure that the model scale is not too big or too small
This was my problem!
The object was so big I was standing inside of it!
This is one LARGE ruby!!
-
Hi, just thought I would mention that the code;
doesn't work for multiple commands of spawning a skeleton
For example;
Will spawn a pig and cow, and ;
will spawn two sheep, but;
Will only spawn one skeleton, a new skeleton can only be spawned with this command after a reboot. -
The latter, it's compiled and moved into the plugin directory.
The object (j3o file) and texture (dds) both do work as they are linked with a custom object which can hold in the players hand and even drop on floor.
I'll try again with the world generation of the object today and will update
-
Worked perfectly! Thanks Red
-
-
Hmmm okay I'll take another look
-
For some odd reason this makes me want to drink rum!
-
Thanks @Devidian I'll go give that a try.
Edit: still nope
player.addWorldElement(new World3DModel(modelInfo,imageInfo,player.getPosition(),player.getRotation()));
I think what you suggested was effectively the same as what I already tried, but all in a single constructor.
-
-
Java
Anyone got any ideas why this isn't working? I would have thought this code when called would spawn the custom model in the position of the player? (I'm not getting any console errors)
-
-
You can add individual attributes
Thanks I should have though of this really being as though the whole custom GUI works this way