FAQFAQ   CautareCautare   MembriMembri   GrupuriGrupuri   InregistrareInregistrare   ProfilProfil   Mesaje privateMesaje private   AutentificareAutentificare 
Lag pe server?

 
Creaza un subiect nou   Raspunde la subiect    Pagina de start a forumului houseofdeath-srv.MyForum.ro -> .:Probleme legate de Servere De CS1.6 NonSteam:.
Subiectul anterior :: Subiectul urmator  
Autor Mesaj
Terra
Nou Venit
Nou Venit


Data inscrierii: 06/Sep/2007
Mesaje: 4

MesajTrimis: 22/09/2007 23:33    Titlul subiectului: Lag pe server? Raspunde cu citat (quote)

1 Pt a mai limitează lagul pe server folositi un HL Booster...acesta va diminuează din lag nu-l va elimina... [url=http://www.cstrike.ro/fisiere/booster240_plugin.zip]Download Link[/url]
acum faceti un folder in cstrike\addons care sa se numeasca propulsor iar acolo il dezarhivezi . Dupa va duceti in cstrike\addons\metamod\plugin.ini si adaugi linia urmatoare:

win32 addons/booster/booster_mm.dll

Next step:Faceti un fisier in addons/booster care sa se numeasca booster.cfg iar acolo adaugi urmatoarele:
// booster_show_connmsg x (0 = disabled, 1 = small message, 2 = large message)
// Shows a console message to players with booster information when they connect.
booster_show_connmsg 1

// booster_autofps x (x = 0 to 1000, 0 = no target FPS)
// Automatically changes value of sys_ticrate to achieve and maintain the desired server FPS (if possible).
// It is not recommended to target FPS greater than 200 or so.
// Note that autofps adjusts sys_ticrate, which makes it incompatible with any booster_lite_mode other
// than 3. Setting booster_autofps will force booster_lite_mode to 3.
booster_autofps 200

// booster_minsleepms x (x = 1 to 10, 10 = no change to multimedia timer)
// This adjusts the multimedia system timer to trick HLDS into sleeping for less time. Note that
// the lower the value set, the higher the CPU consumption will be for HLDS. Values lower than 3
// are not recommended, as they can cause massive CPU consumption and/or system instability.
booster_minsleepms 5

// booster_force_systicrate x (x = 0 to 10000, 0 = let Booster2 manage the value itself (no force))
// Booster2 will force this sys_ticrate value. Note that using this option will set booster_autofps to 0
// and booster_lite_mode to 3, as these methods rely on a sys_ticrate value untouched by user settings.
// You should avoid directly setting sys_ticrate in your server.cfg, as manually adjusted values can
// cause problems with various parts of Booster2.
booster_force_systicrate 0

// booster_cpu_enabled x [0 to 2] (0 = off, 1 = on, 2 = report CPU only - don't actively manage CPU)
// Booster2 can monitor CPU usage and adjust the multimedia timer to micșorează load when necessary
booster_cpu_enabled 0

// booster_cpu_spikemax x
// If CPU management is enabled, number of times booster_cpu_spikelevel needs
// to be exceeded in order for mmtimer to increase and CPU load to be reduced.
booster_cpu_spikemax 3

// booster_cpu_spikelevel x [0 to 100]
// If CPU management is enabled, level which CPU utilization needs to exceed
// (booster_cpu_spikemax times) for mmtimer to increase and CPU load to be reduced.
booster_cpu_spikelevel 75

// booster_cpu_floor x [0 to 100]
// If CPU management is enabled, level which CPU utilization needs to stay under
// (for booster_cpu_quiettime seconds) for mmtimer to decrease and FPS to increase.
booster_cpu_floor 50

// booster_cpu_mminc x [1 to 10]
// If CPU management is enabled, amount mmtimer will increment (Booster2 will also decrease
// the mmtimer by 1 for every 5 clipe period that booster_cpu_spikelevel is not exceeded.
booster_cpu_mminc 2

// booster_cpu_quiettime
// Seconds required without CPU spike exceeding booster_cpu_floor before
// mmtimer value is decreased by 1.
booster_cpu_quiettime 300

// booster_cpu_mmmin x [1 to 10]
// If CPU management is enabled, Booster2 will never set the mmtimer below this value.
booster_cpu_mmmin 3

// booster_cpu_mmmax x [1 to 10]
// If CPU management is enabled, Booster2 will never set the mmtimer above this value.
booster_cpu_mmmax 8

// booster_lite_mode x [0 to 3]
// Controls how the Booster-Lite approach is implemented:
// 0 - HLDS sleeps 10ms if no network packets are received. If HLDS
// receives a packet, it stops sleeping. (this mode has been added
// to provide backward compatibility with how BL v1.00 worked).
// 1 - HLDS attempts to sleep 10ms. If a packet is received,
// HLDS stops sleeping. Otherwise it attempts to sleep another 10ms.
// 2 - HLDS attempts to sleep 50ms. If a packet is received, it stops sleeping.
// 3 - HLDS will sleep the standard amount (this value turns this feature off).
booster_lite_mode 3

// booster_lite_extra_sleep_frequency x
// Forces HLDS server to sleep x milliseconds even if a packet is received.
// This setting helps to lower CPU usage.
booster_lite_extra_sleep_frequency 0

// booster_stats_cpu_counter
// Sets the string Booster will use to query cpu performance. By default this is
// "\Processor(_Total)\% Processor Time". Manually set this only if you need to
// support non-english counter names or to query a specific processor.
// This cvar is only used if booster_cpu_enabled is turned on.

// booster_stats_in_counter
// Sets the string Booster will use to query bandwidth in. By default this is
// "\Network Interface(NDIS 5.0 driver)\Bytes Received/sec". Manually set this only
// if you need to support non-english counter names or to query a specific interface.
// This cvar is only used if booster_stats is turned on.

// booster_stats_out_counter
// Sets the string Booster will use to query bandwidth out. By default this is
// "\Network Interface(NDIS 5.0 driver)\Bytes Sent/sec". Manually set this only
// if you need to support non-english counter names or to query a specific interface.
// This cvar is only used if booster_stats is turned on.

// booster_stats [0-1]
// This turns on statistics gathering. This options is not supported. See info at the end
// of the readme regarding this option.

// booster_trigger_cmd
// Sets a command to be executed the first time (during any given map) that CPU consumption
// trips booster_cpu_spikemax. This allows admins to do things such as turn off wallhack
// blocks or other CPU intensive systems under heavy load.

// booster_intping
// This is a read-only value, and holds the current average player ping.

// booster_extping
// This is a read-only value, and holds the current ping to the address set in booster_pingaddr.

// booster_pingaddr
// Sets the address (in IP format x.x.x.x) that Booster will ping once a minute. If no value is
// set, Booster won't ping anything. Pinging an external address is useful in helping determine
// latency issues. If clients are showing high ping, pings to a nearby router can help determine
// if the problem is close to the server or part of something that is beyond the administrator's
// control.

Dupa ce ati facut asta va duceti in hlds/cstrike/server.cfg si intre rcon_passworld si exec banned.cfg adaugi asta:
exec addons/booster/booster.cfg

--------------------------------------------------

2 Porniti server-ul, apasati CTRL+ALT+DEL, dati la Processes, cautati hlds.exe in acea lista, dupa ce-l gasiti, dati click dreapta pe el, Set Priority -> Realtime

--------------------------------------------------

3 Va duceti in folderul cu hlds.exe(de unde dati drumu la server), faceti un schorcut la hlds.exe, apoi veti gasi in acelasi folder inca un fisier de genul "Shortcut to hlds" ; Dati click dreapta pe acesta, apasati Proprietes iar in primul rand aveti Target, iar acolo aveti ceva de forma HDD:\location\hlds.exe .
In continuare adaugi : -console -game cstrike -pingboost 3 +sys_ticrate 1000 +heapsize 250000 +maxplayers 20 +map de_nuke. Puteti sa mai adaugati ce vreti in functie de server, ceva de genu -nomaster, -insecure etc, astea nu influenteaza lagul

--------------------------------------------------

4 Intrati in folderul cstrike unde aveti instalat server-ul, si cautati fisierul custom.hpk . Il stergeti definitiv

--------------------------------------------------

5 Pasul 5 ar fi sa folositi un script pentru rate-uri:


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"


Adaugati acest script in fisierul server.cfg din folderul cstrike unde aveti instalat server-ul.
Folosire : Dupa ce porniti server-ul scrieti in consola ce setare vreti, in functie de internetul pe care il aveti si in functie de calculatorul pe care tineti server . De exemplu daca aveti un server pe lan scrieti in consola vfast sau daca aveti un server pe care sunt jucatori din aceiasi retea puteti folosi fast sau norm . Puteti accesa acest script si prin "rcon" in functie de cum variaza lagul pe server. Sa nu aveti nici o setare despre rate-uri in server.cfg, listenserver.cfg, game.cfg, settings.cfg, amx.cfg etc.

6 Si niste setari care le adaugati in server.cfg

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


--------------------------------------------------

voi revenii si cu alte metode de a reduce lagul pana atunci mult noroc
Sus
Vezi profilul utilizatorului Trimite mesaj privat
-Un!Q-
Administrator
Administrator
-Un!Q-

Data inscrierii: 19/Iul/2007
Mesaje: 153

MesajTrimis: 23/09/2007 11:07    Titlul subiectului: -Un!Q- Raspunde cu citat (quote)

.::Smile))))))) kt d usor e sa dai copi paste.. nu ? Smile)) le`am mai vazut p un site..:P si apropo.. stiam si yo fazele astea ;)::.
_________________
parerea mea... :shoot2: :guns:
Sus
Vezi profilul utilizatorului Trimite mesaj privat
Afiseaza mesajele pentru a le previzualiza:   
Creaza un subiect nou   Raspunde la subiect    Pagina de start a forumului houseofdeath-srv.MyForum.ro -> .:Probleme legate de Servere De CS1.6 NonSteam:. Ora este GMT + 3 ore
Pagina 1 din 1

 
Mergi direct la:  
Nu puteti crea un subiect nou in acest forum
Nu puteti raspunde in subiectele acestui forum
Nu puteti modifica mesajele proprii din acest forum
Nu puteti sterge mesajele proprii din acest forum
Nu puteti vota in chestionarele din acest forum


Powered by phpBB © 2001, 2002 phpBB Group
Fa-ti si tu propriul forum GRATUIT, pe www.myforum.ro