Tutorial - 16 steps to reduce lag on the server!
- Step 1 - The first step is that the server take precedence "Realtime"
- Start the server, press CTRL + ALT + DEL, click Processes, find
hlds.exe in the list after you find it, right click on it, Set Priority
-> Realtime
- Step 2 - The second step would be the following:
- We go in hlds.exe folder (where you have opened the server), make a
shortcut to hlds.exe, then you will find in the same folder another file
"Shortcut to hlds" Right click on it, press First you Proprieties, and
Target, and there yo have something like HDD: \ location \ hlds.exe.
Next add:-console-game cstrike-pingboost 3 + sys_ticrate 1000 + heapsize 250000 + maxplayers 20 + map de_nuke.
- Step 3 - The third step is to install a booster .
- Step 4 - Step 4 is for more quick change of the map:
- Enter the cstrike folder where you installed the server, and look custom.hpk file. Permanently delete
- Step 5 - Step 5 would be to use a script for rates:
Code:
aka "dslow" "sv_minrate 2500; sv_maxrate 2500; sv_minupdaterate 5; sv_maxupdaterate 5; echo dead slow"
aka "vslow" "sv_minrate 3500; sv_maxrate 3500; sv_minupdaterate 13; sv_maxupdaterate 13; echo very slow"
aka "slow" "sv_minrate 3500; sv_maxrate 5000; sv_minupdaterate 14; sv_maxupdaterate 14; echo slow"
alias "Normal" "sv_minrate 3500; sv_maxrate 7500; sv_minupdaterate 15; sv_maxupdaterate 15, echo normal"
aka "fast" "sv_minrate 3500; sv_maxrate 9999; sv_minupdaterate 20; sv_maxupdaterate 20; echo fast"
aka "vfast" "sv_minrate 3500; sv_maxrate 20000; sv_minupdaterate 20; sv_maxupdaterate 60; echo fast LAN"
alias "rates" "sv_minrate; sv_maxrate; sv_minupdaterate; sv_maxupdaterate"
Add the script file server.cfg cstrike folder where you installed the server.
Usage: After you start the server, write in the console what setting
you want, depending on the internet that you have and the type of
computer that you keep the server.
For example if you have a server on lan, write in console vfast or if
you have a server that players in the same network you can use fast or
norm. You can access this script by "rcon" considering the variation of the lag on the server. Do not have a setting of rates in server.cfg sites, listenserver.cfg, game.cfg, settings.cfg, amx.cfg etc.
- Step 6 - Step 6 refers to some settings that should add to the server.
- You have the following settings:
Code:
log off
sv_logbans 0
sv_logecho 0
sv_logfile 0
sv_log_onefile 0
mp_logmessages 0
mp_logdetail 0
sv_unlag 1
sv_maxunlag .1
fps_max 600
Add these settings in server.cfg.
- Step 7 - Step 7 refers to some settings that would have to use depending on what type of internet you have.
Code:
/ / Modem 56k / /
5000 rates
sv_rate 5500
sv_cmdrate 40
sv_cmdbackup 2
sv_updaterate 45
mp_resend 2
sv_dlmax 40
mp_decals 50
Code:
/ / 128k / /
rate 10000
sv_rate 10000
sv_cmdrate 60
sv_cmdbackup 3
mp_updaterate 60
sv_resend 2
sv_dlmax 100
mp_decals 100
Code:
/ / 256k / /
rate 12000
sv_rate 12000
sv_cmdrate 101
sv_cmdbackup 4
sv_updaterate 101
sv_resend 3
mp_dlmax 256
mp_decals 100
Code:
/ / 512k / /
rate 15000
sv_rate 15000
sv_cmdrate 80
sv_cmdbackup 4
mp_updaterate 45
sv_resend 3
mp_dlmax 400
mp_decals 100
Code:
/ / 1024k / /
rate 20000
sv_rate 20000
sv_cmdrate 80
sv_cmdbackup 6
mp_updaterate 80
sv_resend 6
mp_dlmax 800
mp_decals 300
Code:
/ / 2048K / /
rate 25000
sv_rate 25000
sv_cmdrate 101
sv_cmdbackup 6
sv_updaterate 101
sv_resend 6
Code:
/ / DSL High / /
rate "12001.000521"
sv_rate "9999"
sv_latency "-21.000521"
sv_updaterate "160"
sv_cmdrate "40"
mp_resend "2"
mp_cmdbackup "2"
sv_dlmax "768"
ex_interp "0.01"
ex_extrapmax "10"
Code:
/ / DSL Low / /
rate "9001.000521"
sv_rate "9999"
mp_latency "-51.000521"
mp_updaterate "67"
sv_cmdrate "40"
sv_resend "2.5"
mp_cmdbackup "51"
mp_dlmax "512"
ex_interp "0.05"
ex_extrapmax "4"
cl_dlmax 800
mp_decals 300
Code:
/ / QDSL / /
rate "15001.000521"
cl_rate "9999"
cl_latency "-16.000521"
cl_updaterate "101"
cl_cmdrate "400"
cl_resend "1.5"
cl_cmdbackup "2"
cl_dlmax "1024"
ex_interp "0.01"
ex_extrapmax "10"
Add these settings in server.cfg, but not all! ask that you think you need.
- Step 8 -
In step 8 you will learn some Windows settings:
- Get Right click on My Computer, press Properties, click up to
Advanced, and in Performance, click Settings and do like in the image
below:
- Step 9 - About the optimization of processes, disable the unuseful
- Click the Start button, click Run ... box that appears and type regedit.
press [+] from HKEY_LOCAL_MACHINE, then press [+] from SYSTEM, then
press [+] from CurrentControlSet, then press [+] from Control, than
press [+] from Session Manager and then press on Memory Management, the
right will appear a list of some registers.
Double click DisablePagingExecutive and at Value data change the 0 to 1
- To stop the processes that go in vain do the following:
Click on Start, then click Run .. and type msconfig in the box that appears. After a window will appear, click on Services and click on those of you do not need. May also press Startup and click on those you think you do not need
- Step 10 -
- Click the Start button, click on Run .. then type gpedit.msc in the box that appears.
Proceed under Computer Configuration press the [+] in Administrative
Templates, and then click [+] from Network, QoS Packet Scheduler on
apasaitipe and displays the list on the right where you can make some
settings. Double click on Limit reservable bandwith, then mark Enabled and change Bandwidth limit from 20% to 0%. Then press Apply and then OK.
- Step 11 -
- Right click on Desktop -> Properties -> apperance -> Effects. In this window should be marked only the raw Hide underlined letters ...
- Step 12 -
- Click Start -> Run and type Sigverifexe. Then press Start.
- Step 13 -
- Go to Control Panel and then Administrative Tools -> Services. Right click -> stop the following:
Application Management
Clipbook
Error Reporting
Distributed Link Tracking Client
Help and Support
Indexing
IPSEC
Messenger
Remote Registry Service
Telnet
Windows Time
WMI Performance Adapter
- Step 14 -
- Go to Start -> Run and type regedit.
Then go to HKEY_LOCAL_MACHINE \ SYSTEM -> CurrentControlSet ->
Control -> Session Manager -> Memory Management ->
PrefetchParameters. Then enter the EnablePrefetcher and set the value 3.
- Step 15 -
- Go to Start -> Run and type regedit. Then go to HKEY_LOCAL_MACHINE -> SYSTEM -> CurrentControlSet -> Control -> PriorityControl. In the right press New-> DWORD Value. Write IRQ8Priority the border. Then press Modify and put the value "1".
- Step 16 -
- Use the "TCP Optimizer" optimize internet. It's a very good program even tested me.
WARNING: You do not have to follow all the steps, just the ones that make you think you need;
* I do not take any risk if something happened while PC or server that does not have to happen, but it can change and something else by mistake and I blame myself.
This guide belongs to SAMURAI. We just have reproduced it.