Wednesday, 6 February 2013

Counter Strike DoS Server Making No Lag


- Step 1 - The firs step is that the server has "Realtime" priority.
Start the server, press CTRl + Alt + Del, click Processes, find hlds.exe in the list, and right click on it, Set Priority - Realtime.
- Step 2 - The second step is:
- 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 -ip 192.168.1.2 -port 27015 +maxplayers 6 +map awp_india+fps_max 600+sys_ticrate 10000 +sv_maxupdaterate 100+pingboost 3
- Step 3 - the third step is to install HL Booster
- Step 4 - Step 4 is for more quick change of the map:
- Enter the cstrike folder, where you have the installed the server , find the custom.hpk file and remove it for good.
- Step 5 - Can be used as a script for rates:
Code:
alias//
alias r6000 "rate 6000.007; devon; echo RATE 6000; devoff; alias r_up r7000; alias r_dn r5500"
alias r5500 "rate 5500.007; devon; echo RATE 5500; devoff; alias r_up r6000; alias r_dn r5000"
alias r5000 "rate 5000.007; devon; echo RATE 5000; devoff; alias r_up r5500; alias r_dn r4500"
alias r4500 "rate 4500.007; devon; echo RATE 4500; devoff; alias r_up r5000; alias r_dn r4000"
alias r4000 "rate 4000.007; devon; echo RATE 4000; devoff; alias r_up r4500; alias r_dn r3500"
alias r3500 "rate 3500.007; devon; echo RATE 3500; devoff; alias r_up r4000; alias r_dn r3000"
alias r3000 "rate 3000.007; devon; echo RATE 3000; devoff; alias r_up r3500; alias r_dn r2500"
alias r2500 "rate 2500.007; devon; echo RATE 2500; devoff; alias r_up r3000; alias r_dn r2500"
r5000
alias updr55 "cl_updaterate 55; devon; echo 55 packets DOWN; devoff; alias updrup updr55; alias updrdn updr50"
alias updr50 "cl_updaterate 50; devon; echo 50 packets DOWN; devoff; alias updrup updr55; alias updrdn updr45"
alias updr45 "cl_updaterate 45; devon; echo 45 packets DOWN; devoff; alias updrup updr50; alias updrdn updr40"
alias updr40 "cl_updaterate 40; devon; echo 40 packets DOWN; devoff; alias updrup updr45; alias updrdn updr35"
alias updr35 "cl_updaterate 35; devon; echo 35 packets DOWN; devoff; alias updrup updr40; alias updrdn updr30"
alias updr30 "cl_updaterate 30; devon; echo 30 packets DOWN; devoff; alias updrup updr35; alias updrdn updr25"
alias updr25 "cl_updaterate 25; devon; echo 25 packets DOWN; devoff; alias updrup updr30; alias updrdn updr20"
alias updr20 "cl_updaterate 20; devon; echo 20 packets DOWN; devoff; alias updrup updr25; alias updrdn updr15"
alias updr15 "cl_updaterate 15; devon; echo 15 packets DOWN; devoff; alias updrup updr20; alias updrdn updr15"
updr30
alias cmdr55 "cl_cmdrate 55; devon; echo 55 packets UP; devoff; alias cmdrup cmdr55; alias cmdrdn cmdr50"
alias cmdr50 "cl_cmdrate 50; devon; echo 50 packets UP; devoff; alias cmdrup cmdr55; alias cmdrdn cmdr45"
alias cmdr45 "cl_cmdrate 45; devon; echo 45 packets UP; devoff; alias cmdrup cmdr50; alias cmdrdn cmdr40"
alias cmdr40 "cl_cmdrate 40; devon; echo 40 packets UP; devoff; alias cmdrup cmdr45; alias cmdrdn cmdr35"
alias cmdr35 "cl_cmdrate 35; devon; echo 35 packets UP; devoff; alias cmdrup cmdr40; alias cmdrdn cmdr30"
alias cmdr30 "cl_cmdrate 30; devon; echo 30 packets UP; devoff; alias cmdrup cmdr35; alias cmdrdn cmdr25"
alias cmdr25 "cl_cmdrate 25; devon; echo 25 packets UP; devoff; alias cmdrup cmdr30; alias cmdrdn cmdr20"
alias cmdr20 "cl_cmdrate 20; devon; echo 20 packets UP; devoff; alias cmdrup cmdr25; alias cmdrdn cmdr15"
alias cmdr15 "cl_cmdrate 15; devon; echo 15 packets UP; devoff; alias cmdrup cmdr20; alias cmdrdn cmdr15"
say visit www.counterstrikeresources.blogspot.com
say visit www.muhammadosamakhann.blogspot.com
alias//
alias r6000 "rate 6000.007; devon; echo RATE 6000; devoff; alias r_up r7000; alias r_dn r5500"
alias r5500 "rate 5500.007; devon; echo RATE 5500; devoff; alias r_up r6000; alias r_dn r5000"
alias r5000 "rate 5000.007; devon; echo RATE 5000; devoff; alias r_up r5500; alias r_dn r4500"
alias r4500 "rate 4500.007; devon; echo RATE 4500; devoff; alias r_up r5000; alias r_dn r4000"
alias r4000 "rate 4000.007; devon; echo RATE 4000; devoff; alias r_up r4500; alias r_dn r3500"
alias r3500 "rate 3500.007; devon; echo RATE 3500; devoff; alias r_up r4000; alias r_dn r3000"
alias r3000 "rate 3000.007; devon; echo RATE 3000; devoff; alias r_up r3500; alias r_dn r2500"
alias r2500 "rate 2500.007; devon; echo RATE 2500; devoff; alias r_up r3000; alias r_dn r2500"
r5000
alias updr55 "cl_updaterate 55; devon; echo 55 packets DOWN; devoff; alias updrup updr55; alias updrdn updr50"
alias updr50 "cl_updaterate 50; devon; echo 50 packets DOWN; devoff; alias updrup updr55; alias updrdn updr45"
alias updr45 "cl_updaterate 45; devon; echo 45 packets DOWN; devoff; alias updrup updr50; alias updrdn updr40"
alias updr40 "cl_updaterate 40; devon; echo 40 packets DOWN; devoff; alias updrup updr45; alias updrdn updr35"
alias updr35 "cl_updaterate 35; devon; echo 35 packets DOWN; devoff; alias updrup updr40; alias updrdn updr30"
alias updr30 "cl_updaterate 30; devon; echo 30 packets DOWN; devoff; alias updrup updr35; alias updrdn updr25"
alias updr25 "cl_updaterate 25; devon; echo 25 packets DOWN; devoff; alias updrup updr30; alias updrdn updr20"
alias updr20 "cl_updaterate 20; devon; echo 20 packets DOWN; devoff; alias updrup updr25; alias updrdn updr15"
alias updr15 "cl_updaterate 15; devon; echo 15 packets DOWN; devoff; alias updrup updr20; alias updrdn updr15"
updr30
alias cmdr55 "cl_cmdrate 55; devon; echo 55 packets UP; devoff; alias cmdrup cmdr55; alias cmdrdn cmdr50"
alias cmdr50 "cl_cmdrate 50; devon; echo 50 packets UP; devoff; alias cmdrup cmdr55; alias cmdrdn cmdr45"
alias cmdr45 "cl_cmdrate 45; devon; echo 45 packets UP; devoff; alias cmdrup cmdr50; alias cmdrdn cmdr40"
alias cmdr40 "cl_cmdrate 40; devon; echo 40 packets UP; devoff; alias cmdrup cmdr45; alias cmdrdn cmdr35"
alias cmdr35 "cl_cmdrate 35; devon; echo 35 packets UP; devoff; alias cmdrup cmdr40; alias cmdrdn cmdr30"
alias cmdr30 "cl_cmdrate 30; devon; echo 30 packets UP; devoff; alias cmdrup cmdr35; alias cmdrdn cmdr25"
alias cmdr25 "cl_cmdrate 25; devon; echo 25 packets UP; devoff; alias cmdrup cmdr30; alias cmdrdn cmdr20"
alias cmdr20 "cl_cmdrate 20; devon; echo 20 packets UP; devoff; alias cmdrup cmdr25; alias cmdrdn cmdr15"
alias cmdr15 "cl_cmdrate 15; devon; echo 15 packets UP; devoff; alias cmdrup cmdr20; alias cmdrdn cmdr15"
Add the file server.cfg to the script, in the cstrike folder where you have installed the server.
Usage: After you have started the server, write in the console what setting you want, considering the type of internet connexion you have, and also considering the type of computer that you keep the server on. For exemple, if you have a server on lan, write in the console vfast, or if you have a server where you have players in the same network you can use fast or norm. You can acces this script by "rcon" considering the variation of the lag on the server. you should not have any setting about the rate in server.cfg, listenserver.cfg, game.cfg, settings.cfg, amx.cfg etc.
- Step 6 - It refers to some setings that you should add on 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
You shoul add these settings in server.cfg .
- Step 7 - It refers to some settings that you should use considering the type of internet connexion you have.
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"
You should add these settings in server.cfg, but not all of them. Add only the ones you think you need!!!
- Step 8.
In step 8 you will learn some Windows settngs:
- Right click on My Computer, press Properties, click up on the Advanced, and in Performance, click Settings and do like in the image below:
- Step 9 - About the optimization of some processes, and how to disable the unuseful ones.
- 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.
- Step 10 -
- 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.
- Step 11-
- Right click on the Desktop - Properties - Apperance - Effects. In this window, only the raw Hide underlined letters... should be marked.
-Step 12 -
- Click Start - Run and write Sigverifexe. Then press Start.
- Stept 13 -
- 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
- Step 14 -
- 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.
-Step 15 -
- 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.
- Step 16 -
- Use the "TCP Optimizer" software in order to optimize the internet. It is a good software that I tested.
CAUTION! It is not mandatory to follow all the steps, follow only the ones you think you need.
I do not assume any risk in case you damage your pc or your server, even though I know that nothing can happen. But you can modify by mistake other things an you can blame me.
I will keep you informed with the new changes and I will add new steps. If you want to upload this guide to your own web site, first send me an email to check if I agree.
For more details visit:www.counterstrikeresources.blogspot.comforfeedback:www.facebook.com/counterstrikeresources

No comments:

Post a Comment

Please Dont Use Links Or Abuse Language Or Else Your Comment Will Be Deleted
ThankYou!
Regards:Counter Strike Resources