[Tutorial] Fix Zombie/Player Lag @ Community Edition Release

Page 1 of 2 12 LastLast
Results 1 to 15 of 25
  1. #1
    Proficient Member UNEXPECT is offline
    MemberRank
    Jun 2014 Join Date
    C:/inetpubLocation
    175Posts

    [Tutorial] Fix Zombie/Player Lag @ Community Edition Release

    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:
    Code:
     gKeepAliveReporter.SetStarted(true);
    change:
    Code:
    ::Sleep(10);		// limit to 100 FPS
    to
    Code:
    ::Sleep(20);		// limit to 100 FPS
    ServerGame.cpp
    find:
    Code:
    if(curTime > lastVisUpdateTime_ + 0.3f)
    and change it to:
    Code:
    if(curTime > lastVisUpdateTime_ + 10.0f)
    Thank you Yuri&Javaz :)

    Credits: Yuri-BR; javaz97
    Original post in help section: CLICK


  2. #2
    Account Upgraded | Title Enabled! jonnybravo is offline
    MemberRank
    Sep 2006 Join Date
    773Posts

    Re: [Tutorial] Fix Zombie/Player Lag @ Community Edition Release

    should learn the code fps lag = client side... not server side

  3. #3
    Ass(et) Man The Owl is offline
    MemberRank
    Oct 2013 Join Date
    377Posts

    Re: [Tutorial] Fix Zombie/Player Lag @ Community Edition Release

    Quote Originally Posted by jonnybravo View Post
    should learn the code fps lag = client side... not server side
    Dont think he means FPS lag pretty sure he means it was updating to slow thus the other zombie / players in sight appeared to be lagging or rubberbanding abit.

    (Unless I am completly wrong idk never tried the source)

  4. #4
    Elder Member Shinra is offline
    MemberRank
    May 2003 Join Date
    SomewhereLocation
    586Posts

    Re: [Tutorial] Fix Zombie/Player Lag @ Community Edition Release

    Yes if I recall correctly this is to do with lag created by the server not updating correctly.

  5. #5
    Alpha Member javaz97 is offline
    MemberRank
    May 2006 Join Date
    HellLocation
    1,537Posts

    Re: [Tutorial] Fix Zombie/Player Lag @ Community Edition Release

    UNEXPECT , are you tested ?

  6. #6
    Proficient Member UNEXPECT is offline
    MemberRank
    Jun 2014 Join Date
    C:/inetpubLocation
    175Posts

    Re: [Tutorial] Fix Zombie/Player Lag @ Community Edition Release

    @jonnybravo how The Unknown already said, I mean the low packet flow of the server... @javaz97 Yeah, I´ve tested it and works very well. :)

  7. #7
    Valued Member bankok01 is offline
    MemberRank
    Mar 2014 Join Date
    126Posts

    Re: [Tutorial] Fix Zombie/Player Lag @ Community Edition Release

    Thanks it's work ! :D

  8. #8
    Account Upgraded | Title Enabled! Oosmar02 is offline
    MemberRank
    Sep 2013 Join Date
    FranceLocation
    894Posts

    Re: [Tutorial] Fix Zombie/Player Lag @ Community Edition Release

    Thanks @Yuri-BR @UNEXPECT it's working !

  9. #9
    Alpha Member javaz97 is offline
    MemberRank
    May 2006 Join Date
    HellLocation
    1,537Posts

    Re: [Tutorial] Fix Zombie/Player Lag @ Community Edition Release

    work great, cpu decrease 20%

  10. #10

    Re: [Tutorial] Fix Zombie/Player Lag @ Community Edition Release

    works fine here

  11. #11
    Banned MUIT0L0K0 is offline
    BannedRank
    Jan 2014 Join Date
    Colorado V2Location
    110Posts

    Re: [Tutorial] Fix Zombie/Player Lag @ Community Edition Release

    Thanks Man <3

  12. #12
    Apprentice ThatGuyPT is offline
    MemberRank
    Apr 2014 Join Date
    22Posts

    Re: [Tutorial] Fix Zombie/Player Lag @ Community Edition Release

    So, I can see that instead of having 100 TICK servers, which is of course unnecessary we start having a 50 Tickrate gameserver, which is acceptable.

    But what about the other thing, can you explain me what it does?

  13. #13
    Proficient Member UNEXPECT is offline
    MemberRank
    Jun 2014 Join Date
    C:/inetpubLocation
    175Posts

    Re: [Tutorial] Fix Zombie/Player Lag @ Community Edition Release

    cause the server isnt updating the zombies correctly

  14. #14
    Novice Lutzelodeon is offline
    MemberRank
    Nov 2014 Join Date
    4Posts

    Re: [Tutorial] Fix Zombie/Player Lag @ Community Edition Release

    And you know how to fix this?

    - - - Updated - - -

    And by the way, the players are lagging too.

  15. #15
    Proficient Member UNEXPECT is offline
    MemberRank
    Jun 2014 Join Date
    C:/inetpubLocation
    175Posts

    Re: [Tutorial] Fix Zombie/Player Lag @ Community Edition Release

    Follow this tutorial and it is fixed.



Page 1 of 2 12 LastLast

Advertisement