Pagina de start a forumului ertg-romania
Inregistrare • Cautare • FAQ • Membri • Grupuri • Autentificare
Ce inseaman CHOKE si INTERPOLATION

 
Raspunde la subiect    Pagina de start a forumului ertg-romania » Pentru CS Subiectul anterior
Subiectul urmator
Ce inseaman CHOKE si INTERPOLATION
Autor Mesaj
Mr.Smoke
Admin
Admin
Mr.Smoke

Data inscrierii: 16/Mar/2008
Mesaje: 72
Localitate: bucale

Mesaj Ce inseaman CHOKE si INTERPOLATION Raspunde cu citat (quote)
Din pacate nu am gasit o traducere apropiata in romana care sa fie cat de cat explicita, deoarece termenii folositi sunt parte din netcode-ul jocului. Sper sa va fie de folos.

!!! Atentie !!!
Comenzile explicate mai jos nu trebuie puse in .cfg-ul vostru fara a cere mai numeroase detalii, pt ca pot crea mari probleme de lag si choke.




Choke

Choke is determined as follows:

The next time a packet can be sent is:

Current time + 1/cl_updaterate

Current time + (number of bytes just sent / rate setting)

So, if you play with a high cl_updaterate value you are likely to get more choke if your bandwidth cannot handle it. Also, with a lot of players in the game world which means more data being sent you will also receive more choke (if your bandwidth cannot handle it). Finally, with a low rate setting, you also get more choke.
If choke is in effect, the server tries to see if it can send a packet to the client on every frame thereafter, rather waiting for the next multiple of 1/cl_updaterate, until the choke is gone.

Interpolation

The way the Half-Life engine uses interpolation is to store positions and times, when those (in game) positions were accurate, in its history. It then uses ex_correct to parse through the history for the best two positions (note that this does not have to be the two last positions). This means that a player moves at the same speed (the actual speed the player moves between those positions on the server) between its positions no matter what ex_interp value is used (as long as ex_interp set to 1/cl_updaterate or greater).

The only case when the player might move faster is after a huge drop of packets or if the player is under a great delay (because of latency) since he then is behind the game world and has to move fast into his correct position.

_________________
"Success is the ability to go from one failure to another with no loss of enthusiasm." (Winston Churchill)
21/05/2008 20:33 Vezi profilul utilizatorului Trimite mesaj privat
noganoga
fortza fie cu tn
fortza fie cu tn


Data inscrierii: 15/Iul/2012
Mesaje: 4
Localitate: Israel

Mesaj Raspunde cu citat (quote)
Information is impressive! But I will say so in my view is slightly different, but what I will not tell you)))
19/08/2012 17:19 Vezi profilul utilizatorului Trimite mesaj privat
noganoga
fortza fie cu tn
fortza fie cu tn


Data inscrierii: 15/Iul/2012
Mesaje: 4
Localitate: Israel

Mesaj Raspunde cu citat (quote)
This post is for real smart people! Thanks.
21/08/2012 05:23 Vezi profilul utilizatorului Trimite mesaj privat
Afiseaza mesajele pentru a le previzualiza:    
Raspunde la subiect    Pagina de start a forumului ertg-romania » Pentru CS Ora este GMT + 2 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, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.Fa-ti si tu propriul forum GRATUIT, pe www.myforum.ro