Results 1 to 6 of 6

Thread: lagging while respawning on tdm servers

  1. #1
    Private
    Join Date
    Nov 2015
    Posts
    113
    Thanks
    34
    Thanked 8 Times in 8 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
    613
    Thanks
    183
    Thanked 408 Times in 276 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
    Join Date
    Nov 2015
    Posts
    113
    Thanks
    34
    Thanked 8 Times in 8 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
    Private First Class voron00's Avatar
    Join Date
    Nov 2014
    Posts
    208
    Thanks
    58
    Thanked 180 Times in 93 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,456
    Thanks
    16
    Thanked 877 Times in 535 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

    Sending me a private message makes me want to help you LESS.

  6. #6
    Private
    Join Date
    Nov 2015
    Posts
    113
    Thanks
    34
    Thanked 8 Times in 8 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
  •