Hi all

Thanks for helping me last time Jorge and Ryan. But I need more help... I
think I've whittled down the problem to its core.

I'm trying to do a very simple SetAbsVelocity on the player but I'm getting
prediction problems.

First I tried doing SetAbsVelocity on ItemPreFrame for the player with some
high velocity forwards, whenever the player attacks.
On the client, it seems to push the player quickly, then get corrected by
the server.
On the server, the velocity seems to be over-written later down the path.

I debugged and traced through everything I can think of. The velocity is
being set properly and not touched thereafter, but on the client is reset
immediately on the next frame somehow.

Then I tried doing SetAbsVelocity on ItemPostFrame which seems like the
wrong place to put this. Whenever the player attacks, the game pushes the
player forwards.

With 0 ping this looks great. Everything appears to work. With net_fakelag
200 you can clearly see the client pushing the player forwards a little
bit... STOPPING... then when the message comes down from the server the
client finally gets teleported to a position further ahead. This is very
choppy, especially for our third-person game.


How do we fix this? Are there any clues? Please help.

~M
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to