Powerups client and server problems
1) Have player A pick up a blur sphere.
2) Make another player connect, Player A isn't fuzzy.
3) Have someone pickup a another blur sphere
The player who picks it up stays fuzzy forever
cannot reproduce. however, i've noticed that when the second client connects, the picked up sphere appears clientside even though it has already been picked up on the server
(In reply to comment #1)
> cannot reproduce. however, i've noticed that when the second client connects,
> the picked up sphere appears clientside even though it has already been picked
> up on the server
this bit has been fixed in r826
This is a doozer, I had a look into this one and I can think of 2 options:
Solution: Send partial invisibility of player to all other players that connect
Drawback: Exploitable, anyone with a modified client can just throw this info away and see the player again
Solution: Remove player from other players/clients view completely (full invisibility), but keep sounds/projectiles/hitscans/line usage/anything else visible
Drawback: Its Not Vanilla(TM)
Any other ideas?
I think Russell brings up a good point about how modified clients could just ignore the invisibility flag, however, invisibility spheres are only rarely used in competitive games. I'd suggest the best way to handle this is to make it a server cvar, maybe like sv_force_invisibility (not sure about the convention used for cvars...) which, when true, does what Russell suggests (not sending position information at all, just sounds, etc.).
Tested in 24889a9 and can confirm that this bug was fixed at one point and does not occur now. Marking fixed