LukasCCB icon

[Tutorial] Fix Zombie/Player Lag

LukasCCB | PRO | 06/25/16 07:21:40 PM UTC | 0 ⭐ | 405 👁️ | Never ⏰ | []
C++ |

410 B

|

None

|

0 👍

/

0 👎

Many people make a new thread, because the zombies/player are laggy, but there´s a solution already out! So may they look here before posting :)
 
Open your WarZ_Server.sln
 
file: obj_ServerPlayer.cpp
Find:
gKeepAliveReporter.SetStarted(true);
 
change:
::Sleep(10);        // limit to 100 FPS
 
ServerGame.cpp
find:
if(curTime > lastVisUpdateTime_ + 0.3f)
 
and change it to:
if(curTime > lastVisUpdateTime_ + 10.0f)

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎