Thursday, 17 July 2014

How to reduce counter strike lag

If you want to be a pro first of all main reason is the lag because in lag you never be a pro . so for reducing lag of counter strike and cs server first of all just had a look of how to Make PC performance faster because it is the main cause of lag and second reason is your internet speed
Follow the below step to get your counter strike more smoother :

1) Start the server, press CTRl + Alt + Del, click Processes, find hlds.exe Or hl.exe in the list, and right click on it, Set Priority - Realtime.

2)  - Go o the hlds.exe folder (from where you have opened the server), make a shortcut to the hlds.exe, then you will find in the same folder another file "Shortcut to hlds". Right click on this one, press Proprieties, and in the first raw you have Target, and there yo have something like HDD:\location\hlds.exe .
Now add -console -game cstrike -pingboost 3 +sys_ticrate 1000 +heapsize 250000 +maxplayers 20 +map de_nuke. (this step is for cs server only)

3) In your cstrike folder delete file custom.hpk (this step is for both cs & server)

4) Add the following codes in your server.cfg file located in cstrike folder:

       
alias "dslow" "sv_minrate 2500;sv_maxrate 2500;sv_minupdaterate 5;sv_maxupdaterate 5;echo dead slow"
alias "vslow" "sv_minrate 3500;sv_maxrate 3500;sv_minupdaterate 13;sv_maxupdaterate 13;echo very slow"
alias "slow" "sv_minrate 3500;sv_maxrate 5000;sv_minupdaterate 14;sv_maxupdaterate 14;echo slow"
alias "norm" "sv_minrate 3500;sv_maxrate 7500;sv_minupdaterate 15;sv_maxupdaterate 15;echo normal"
alias "fast" "sv_minrate 3500;sv_maxrate 9999;sv_minupdaterate 20;sv_maxupdaterate 20;echo fast"
alias "vfast" "sv_minrate 3500;sv_maxrate 20000;sv_minupdaterate 20;sv_maxupdaterate 60;echo LAN fast"
alias "rates" "sv_minrate;sv_maxrate;sv_minupdaterate;sv_maxupdaterate"(This step is for cs server)

Also add these codes :
            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

5) Add these codes but only paste one of them regarding your internet upload speed :
Code:
// Modem 56k //
rate 5000
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"
 6) Press the Start button, click Run... and write regedit, then press [+] from HKEY_LOCAL_MACHINE, than press [+] from SYSTEM, then press [+] from CurrentControlSet, then [+] from Control, than press [+] from Session Manager and then press on Memory Management. In the right you will have a list with some registers.
Double click DisablePagingExecutive and at Value data change the 0 with 1.
- In order to stop the unusefull processes:
Press Start, clik Run and write msconfig. A window will apear, click on Services and click the ones you do not need. Also, press Startup and click on those you think you do not need.

7) Click on Start, press Run... and then write gpedit.msc. Under Computer Configuration press the [+] from Network, and then press QoS Packet Scheduler and you will have a lst in the right, where you can make some settings. Double click on Liit reservable bandwith, then mark Enabled and change rom 20% to 0% at the Bandwith limit. Then click Apply and OK.
8) - Go to Control Panel and then Administrative Tools - Services. Right click - stop on 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
9) Go to Start - Run and write regedit. Then go to HKEY_LOCAL_MACHINE\SYSTEM -> CurrentControlSet -> Control -> Session Manager -> Memory Management -> PrefetchParameters. Then enter the EnabePrefetcher and set the value 3. 
10) Enter Start - Run and write regedit. Then go to HKEY_LOCAL_MACHINE -> SYSTEM -> CurrentControlSet -> Control -> PriorityControl. In the right press New - DWORD Value. Write IRQ8Priority. Then press Modify and put the value 1. 
11) Download CCleaner because it clean all your temp files and history of your browser and also download load TCP optimizer you can find these software by searching in Google 
12) This software is for cs server free from lag to download click here  unzipp it directly in addons or copy the booster folder in HLDS\cstrike\addons , then edit in HLDS\cstrike\addons\metamod\plugins.ini, the line:win32 addons\hlbooster\dlls\booster_mm.dll. Very important!!!! In order to work, in the HLDS\cstrike\server.cfg you have to write the next line:
                                        "exec addons/hlbooster/hlbooster.cfg"

2 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. Thanks for giving information.It's very useful tips for beginners.When i had a lag problem while playing online game,i followed the same way.After that i checked my lag rate whether it's low or high by WhoisXY.com I got good results.Now my counter strike gaming server run smoother.

    ReplyDelete