Yuav Ua Li Cas Teev Ping Txwv

Cov txheej txheem:

Yuav Ua Li Cas Teev Ping Txwv
Yuav Ua Li Cas Teev Ping Txwv

Video: Yuav Ua Li Cas Teev Ping Txwv

Video: Yuav Ua Li Cas Teev Ping Txwv
Video: yuav ua li cas tswv​ yexus​ thiaj teb koj lus thov. Xib fwb zoov tsawb qhia vajtswv​ txoj lus 2024, Kaum ib hlis
Anonim

Yuav ua li cas qhov kev ua si yuav mus raws li tus neeg uas ua ntawv ping tus nqi ntawm tus neeg rau zaub mov: tsis muaj kev sib tsoo, khov thiab lags, lossis rov qab. Qhov siab dua ntawm tus neeg ua si ping tus nqi, qhov ntau dua qhov muaj peev xwm ntawm ntau yam cuam tshuam. Txhawm rau zam qhov teeb meem no, teeb tsa ping txwv ntawm koj tus neeg rau zaub mov qus.

Yuav ua li cas teev ping txwv
Yuav ua li cas teev ping txwv

Nws yog qhov tsim nyog

game server

Cov Lus Qhia

Kauj ruam 1

Teem ping txwv rau koj cov neeg rau zaub mov Counter Strike kom tsis txhob pom "laggers", vim tias lags yuav tshwm rau tus neeg rau zaub mov, lossis qhov hu ua "taug kev xov tooj" yuav pib taug kev ncig daim pheem thib.

Kauj ruam 2

Qhib daim nplaub tshev nrog cov game server, mus rau Cstrike / cfg directory, qhib Mani_Server. Cfg ntawv siv Notepad los tsim lub ping txwv. Nrhiav cov nqi hauv qab no rau hauv cov ntaub ntawv: Mani_High_Ping_Kick. Tom qab nws, tso 1 txhawm rau pab ping txwv, thiab hloov ua lwm yam, 0 los txiav txim rau nws.

Kauj ruam 3

Kho lub luag haujlwm muaj nuj nqi. Ua li no, sau rau hauv Mani_High_Ping_Kick_Ping_Limit kab siab tshaj plaws pub ping tus nqi rau cov players ntawm tus server. Nws raug nquahu kom teeb nws nyob rau hauv thaj tsam 200 mus rau 300, tsis muaj ntxiv.

Kauj ruam 4

Siv lub Kick_Samples_Required kab los tsim tus naj npawb ntawm latency tshev ntawm tus neeg ua si ua ntej raug ncaws tawm los ntawm tus neeg rau zaub mov. Daim tshev ua rau txhua txhua ib thiab ib nrab lub vib nas this.

Kauj ruam 5

Siv Mani_High_Ping_Kick_Message kab los sau cov lus qhia rau tus neeg ua si ncaws tawm rau ping, tom qab ntawv nyob hauv kab ntawv. Tom qab teeb tsa txhua qhov tsim nyog, rov qab rau lub server rau qhov hloov pauv kom ua haujlwm.

Kauj Ruam 6

Siv Better-Hpk plugin teeb ping txwv ntawm cov neeg rau zaub mov. Ntxiv kab hauv qab no hauv amxx.cfg file: hpk_ping_max thiab nkag mus rau tus nqi ntawm tus neeg ua si qhov siab tshaj plaws ntawm tus ping. Cais, koj tuaj yeem tsim qhov siab tshaj plaws thaum hmo ntuj siv hpk_ping_max_night hais kom ua.

Kauj Ruam 7

Teem lub sijhawm tsaus ntuj pib lub sijhawm raws li siv Hpk_Nigth_Start_Hour kab, los tsim lub sijhawm kawg - hpk_nigth_end_hour. Siv hpk_ping_time kab los tsim lub caij nyoog nruab nrab ntawm cov tshev.

Pom zoo: