Posts: 2,322
Threads: 260
Joined: Jul 2010
Reputation:
0
Well I've had the curse following my servers all the time, yet I haven't find a proper way to technically fix it.
I thought, like...
The death bug, is that, you kill someone, you see him lying down, so does everyone, except the player that got killed, he still can run around, but his health is setted to 100 (I think, not sure, sometimes it does, and sometimes it doesnt)
I only found a solution (my self), getting (client side) the player's anim, and comparing it to a server side one, possibly?
Or, like when he dies, it still sends a death message (if enabled) so we could set a var to 1, to check if the player died, that means we could check if the variable is 1 and retrieve the player's velocity, probably?
Posts: 1,469
Threads: 62
Joined: Jan 2010
Reputation:
0
Yes, that's right, I could say that it's confirmed.
I saw both parts of the bug, I mean I got killed (the death message was sent) and I could walk around, and I killed and the player which died got bugged. Good idea about the fix solution.
Posts: 349
Threads: 35
Joined: Nov 2007
Reputation:
0
@FireCat: You've suggested some ways to detect if the bug occurs, but it doesn't help to fix it because it's just detecting.
I'm running a big DM server and that bug happens to my players a lot; I've found that when a player is in this bug, you need to damage him in some way. By damaging I don't mean to set his health with SetPlayerHealth because this won't help, also, spawning the player or setting his position will just not affect at this status.
Anyway, when a player in that bug status get shotted (by player who actually won't see him - the bugged one just gets in shooting between other players) the bug is solved. Also, if we exploding the position of the player, it's damaging him and fixes the bug. Also if the player jumps from a high position to the ground, so the falling will damage him, the bug is fixed too.
I had an idea of setting the player velocity to negative Z value when he's on the ground so he will be damaged and the bug will be fixed, but I think that SetPlayerVelocity will not affect him just as the most of other functions will not.
Posts: 349
Threads: 35
Joined: Nov 2007
Reputation:
0
Then your slap uses SetPlayerPos or SetPlayerVelocity?
Posts: 15,941
Threads: 0
Joined: Jun 2008
I believe that ramping gravity up massively kills people instantly. Obviously that doesn't help if you can't set it per-player, but would that fix the bug if it were possible?
Posts: 1,905
Threads: 63
Joined: Oct 2011
Reputation:
0
Try creating a small explosion at the player small as in (0.001) so other players aren't wrongly injured.
Posts: 15,941
Threads: 0
Joined: Jun 2008
Quote:
Originally Posted by FireCat
Well, with the death bug, you don't see the player moving, he's just lying down on the floor...
But him self, sees him running around and can shoot, and when you shoot the person on the floor their like "I'm not there!" because they don't move... So what I use to "fix" it, is just /slap him
So probably that would fix it...
|
I'm talking about essentially re-killing the player. It doesn't really matter what other people see, you need them to die on their screen.