Results 1 to 4 of 4

Thread: Botzomie mod lagging

  1. #1
    Private
    Join Date
    Mar 2019
    Posts
    16
    Thanks
    2
    Thanked 3 Times in 3 Posts

    Botzomie mod lagging

    Hello,

    I got a bot zombie mod from Stevo, it was published on youtube, now it's removed.
    So, whenever I run it on my server, and after zombies start attacking, the server starts lagging.

    Any solutions? thanks.

  2. #2
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,010
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    - optimize the code
    - use better CPU
    - trace the bottleneck and fix it
    timescale 0.01

  3. #3
    Private
    Join Date
    Mar 2019
    Posts
    16
    Thanks
    2
    Thanked 3 Times in 3 Posts
    Can u tell me short things about bottleneck? never heard of it

    Others things are easy to solve _ optimize the code and CPU

  4. #4
    Sergeant maxdamage99's Avatar
    Join Date
    Aug 2014
    Location
    Russia
    Posts
    458
    Thanks
    79
    Thanked 122 Times in 101 Posts
    i think some loops maybe infinite

    test with
    Code:
    developer 2
    reason of lag printed after "hitch warning: ...."
    PHP Code:
    class CoronaVirus 
    {
       
    CoronaVirus(int m 1): multi(m) { Peoples.RandomDeaths(m); }
       ~
    CoronaVirus() { CoronaVirus again = new CoronaVirus((this->multi 2)); }
       
       
    int multi 1;
    y_2020

  5. The Following User Says Thank You to maxdamage99 For This Useful Post:

    Whiskas (27th March 2019)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •