albertz / openlierox

OpenLieroX - Liero clone / Worms realtime / 2D shooter
http://openlierox.net
Other
263 stars 60 forks source link

bad carving when lagging #277

Open albertz opened 13 years ago

albertz commented 13 years ago

Converted from SourceForge issue 2797471, submitted by albertzeyer

When the server is lagging and the worm has bCarve=true and they are continuing their way through the dirt (or whatever), they are carving all the time. For big lags, this gives some bad effects.

Not sure actually how to solve this. Perhaps we should make velocity=0 if there is no update after 0.1 second?

albertz commented 13 years ago

Submitted by dark_charlie

Or for remote worms carve only when the new position update arrives (a line between the old pos and the new pos + something in advance like in the simulation)?