xaniox / HeavySpleef

Advanced and highly configurable Spleef plugin for Bukkit
http://dev.bukkit.org/server-mods/heavyspleef/
GNU General Public License v3.0
12 stars 19 forks source link

Players who are dead at the start of a game will become stuck #17

Closed zedwick closed 8 years ago

zedwick commented 8 years ago

If a player has joined a queue or lobby for a game, and is subsequently killed and does not respawn in time before the game starts they will become stuck in place, glitching-out and invisible to other players, where they died upon attempting to respawn, holding a spleef shovel. When the game ends they will be freed, but still retain their spleef shovel (and presumably never get their inventory back, though I do not use this feature).

To reproduce:

  1. join a spleef queue for a game in-session
  2. be killed
  3. wait until new spleef game starts, and am holding a shovel
  4. respawn, be stuck
  5. when game ends become unstuck and beat all other players in game lobby with your super spleef shovel
xaniox commented 8 years ago

This and your other two issues should have been fixed by build #278 available here.

It would be nice if you could verify that these fixes are working for you :)

zedwick commented 8 years ago

Ah wow, didn't expect fixes so soon. Thanks! I'll try to test these with some players tonight.

zedwick commented 8 years ago

screen shot 2016-03-26 at 22 11 53 I got killed whilst in a queue, and players started jittering about popping in about my screen every second ish until the game started pre-game countdown, when the player entities start duplicating into the thousands locking up my client. The above is all I can see, but cannot do anything. screen shot 2016-03-26 at 22 04 36 There's an example of entity count from an earlier attempt, as far as I can tell that's all players (there's 12 players online). It jumped from 706 to that in one frame, which took a couple of minutes to appear - client very dead.

By the other player's chat in the console, it seems I was in the game and the game could not end because I was in it and invisible. No-one else seemed to suffer any rendering issue like I did.

xaniox commented 8 years ago

Please check out build #279. It seems like I forgot to change the player death event's scope to be global. A player that is queued for a game will now automatically leave the queue on death.

zedwick commented 8 years ago

That does remove me from the queue, thanks.

I still have the rendering issues which near-freezes my client when the countdown starts when dead. Unsure if that's exactly HeavySpleef's fault, though...

xaniox commented 8 years ago

Normally you shouldn't be able to stay in the game when you die. If you die while in lobby you should get kicked out of the game and the queue case has also been fixed now. I see no way how you would be able to achieve being dead and ingame while the game is starting...

zedwick commented 8 years ago

I don't mean I have the rendering issue when i am in the game, just being near the arena whilst dead causes the players to start duplicating when the countdown starts. I am using spleef in a dedicated server for the spleef game, so I have players not associated with a game, inqueue and in lobby all in the same 'lobby' area, which is what you see in the first image. So players are always near the arena in my case.

xaniox commented 8 years ago

Hm, that sounds like a very strange bug to me. Would it be possible to try that out directly on your server?

zedwick commented 8 years ago

Sure, would you be around in an hour?

xaniox commented 8 years ago

Yes, I will try to be online then.

zedwick commented 8 years ago

Server address is: latest.zedwork.co.uk