05.07.2012, 08:38
@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.
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.