Author Topic: On join server lag  (Read 1099 times)

0 Members and 1 Guest are viewing this topic.

Offline BombSki

  • Flagrunner
  • ****
  • Posts: 927
    • Climbing-soldiers.net
On join server lag
« on: July 31, 2007, 07:57:45 am »
Im having this rather irritating problem on both of my servers, namely huge lagspikes when someone joins the server (with or without downloading a map).
The servers both being climb servers makes this even worse, because usually people die 'en masse' when someone joins the server.

It happened when i was offline for 2 weeks, so Im not sure what causes it. the 2 servers are hosted at different locations (1 in USA (enesce) 1 in germany (quloa.de)). I was wondering which options in soldat.ini i could edit to decrease this kind of lag. Also im wondering what these options exactly do:

Internet_Connection=3
ShowRealLag=1
Compression=1
MaxConnections=12
TooMuch_Packets_LAN=62
TooMuch_Packets_Internet=33
Flooding_Packets_LAN=80
Flooding_Packets_Internet=37
PacketRate_Adjusting=0

Thanks in advance.
« Last Edit: July 31, 2007, 08:00:10 am by BombSki »

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: On join server lag
« Reply #1 on: July 31, 2007, 10:38:13 pm »
Yeah I checked your server settings, its because you have a HUGE banned.txt file... I would recommend clearing it occasionally.

Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
Re: On join server lag
« Reply #2 on: July 31, 2007, 10:52:31 pm »
how huge? :P

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: On join server lag
« Reply #3 on: August 01, 2007, 03:51:30 am »
Hah look what I found...

Code: [Select]
for i := 1 to 1000 do
  if CheckBannedIP(SrcIP) then

CheckbannedIP loops through your ban file which had 500'ish bans in it... So it looped 500,000 times haha.

Offline BombSki

  • Flagrunner
  • ****
  • Posts: 927
    • Climbing-soldiers.net
Re: On join server lag
« Reply #4 on: August 01, 2007, 04:59:22 am »
Where does that code come from? I didnt find it in my (network)core.pas
Thanks anyway, i hope removing the banned.txt works. Ill be offline for some time now but i would appreciate someone telling me what those options in soldat.ini are.

Offline Boglizk

  • Major
  • *
  • Posts: 65
  • Climbing Soldier
    • http://boglizk.blinkenshell.org
Re: On join server lag
« Reply #5 on: August 01, 2007, 08:10:41 am »
Where does that code come from? I didnt find it in my (network)core.pas
Thanks anyway, i hope removing the banned.txt works. Ill be offline for some time now but i would appreciate someone telling me what those options in soldat.ini are.


My guess is that its from the Soldat Server source :P

Anyways, that sortof sucks.. we have to choose between lag or ban. :/
It's actually possible to see me in game now. lolno

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: On join server lag
« Reply #6 on: August 01, 2007, 08:17:31 am »
dw, its fixed in 2.6.2 and ive uploaded it to my client servers