Results 1 to 6 of 6

Thread: lagging while respawning on tdm servers

  1. #1
    Private First Class
    Join Date
    Nov 2015
    Posts
    128
    Thanks
    37
    Thanked 14 Times in 14 Posts

    lagging while respawning on tdm servers

    hi , there is a magic to fix that ? specially when server have 30+ players, respawning makes lag so much. ty for help

  2. #2
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    Quote Originally Posted by feanor View Post
    hi , there is a magic to fix that ? specially when server have 30+ players, respawning makes lag so much. ty for help
    There might be script runtime errors in the console log that could solve the lag.

    What does the console log say when the server has 30+ players?
    Are you running any mods?
    What kind of specifications does your server have?

  3. #3
    Private First Class
    Join Date
    Nov 2015
    Posts
    128
    Thanks
    37
    Thanked 14 Times in 14 Posts
    i am using voron00's libcod, running my own mod for tdm and pam mod for sd server. there are also lag on sd server while round starting bcs of all players respawning in same time. but its not important. i dont have any cpu problem. i think its a global problem lagging while so much respawning ?
    There might be script runtime errors in the console log that could solve the lag.
    don't have .
    Last edited by feanor; 21st October 2017 at 09:54.

  4. #4
    Corporal voron00's Avatar
    Join Date
    Nov 2014
    Posts
    248
    Thanks
    64
    Thanked 216 Times in 116 Posts
    You proably doing too many servercommands durning a player spawn. Any iprintln/localsound/setclientcvar adds a servercommand. Try not to exceed a 5-6 server commands in a frame, otherwise it can cause lag when there are many players on server. You can check how many commands you are reveiving with cg_drawSnapshot 1

    Also it can be a slow cpu core since cod2 is single core only.

    Also it can be too many code executed on player spawn with your mods.

    Also it can be some script runtime errors as Mitch said above.

    Also it can be pretty standard archivedtime lag which is caused by the killcam, this stuff has always been laggy, nothing can be done with it.
    Last edited by voron00; 21st October 2017 at 10:32.
    sudo apt-get rekt

  5. #5
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    Set your client rate higher (/rate 25000 for example)
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  6. #6
    Private First Class
    Join Date
    Nov 2015
    Posts
    128
    Thanks
    37
    Thanked 14 Times in 14 Posts
    everything is fine what all of you write in above . cod2 uses less than %50 cpu in single core when there are 40 players even . seems like nothing we can do about it except disabling nades. i fixed my problem with disabling nades while there 26+ players also it leads better gameplay. thank you all

Posting Permissions

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