I've seen instances in the logs where things like onPlayerDeathEvent has been called 20x in a row from the same player, so it's either a bug, or deliberate attempt with a replay attack 
Even Listeners being called multiple times
- yahwho
 - Closed
 - Thread is marked as Resolved.
 
										
					A new update is now available, introducing "Points of interest" and many more changes!
Latest hotfix: 0.9 (2025-10-31)
		
		Latest hotfix: 0.9 (2025-10-31)
- 
			
 - 
			
Hmm... I will check out what's going on there
  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
 (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)
Display MoreCode - 
			
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!