Even Listeners being called multiple times

  • Hmm... I will check out what's going on there =O Is the event maybe cancelled (but the player dies again and again)? Or is there maybe another Lua script which interferes with it?

  • The only lua script on the server is the (unmodified) area protection one. I will post up a section of my log shortly.


    My plugin uses a logger to log the username and UID of every login and logoff method event call. Here's what I found in the log. . . (I've changed the UID and username to protect the user - I'm not saying they've done this deliberately. . .)


    What happened was my plugin works out experience points at this point, and the user suddenly jumped up a few million points =O (I'm working on using semaphores to try to prevent this happening again?).


    But I have seen two instances of this happening (multiple log off calls)

  • Update: I've had a player have this happen to them and they told me what happened - might be useful in tracking it down @red51. They fell through the world down to hell; where the graphics appeared to be glitching ( falling through hell multiple times). This is where (I believe) the event call "onPlayerDeath" gets called multiple times.

Participate now!

Don’t have an account yet? Create a new account now and be part of our community!