Page 1 of 1

raizo

Posted: 2013 Apr 05 21:13
by GhostMan
Jūs man gal galit lietuviškai paaiškinti kam reikalingos šitos eilutės?
// the limits for BlockFWD/EnableFWD are:
// - 512 commands total for each list
// - command names should be 64 characters or less
// - no capital letters in command names (only lowercase)

BlockFWD
{
// always block these forwards
// commands here will be treated by the server as "successfully executed, client has this command/alias/cvar registered".
// the actual command will not be blocked

// say
// say_team
}

EnableFWD
{
// always emulate these forwards if blocked by engine (not by the HLProtector)
// commands here will be treated by the server as "wasn't executed, client doesn't know this command".
// the actual command will not be blocked

// HLProtector
prot_debug
prot_showcvars
prot_setcvar

// HLSS
hlss-start
hlss-stop
togglewav

// CDHack
cd_version
cdon

// KZHack and other stuff
kzh_exec
xkz_exec
xhack_chat

// Wait scripts
w
w1
w2
w3
w5
w10
w20
w30
w40
w50
wt

}
Pasidariau, kad muzika grotų su hlss kaip parodyti šitoje pamokoje > http://www.cshama.lt/index.php?/topic/2 ... erecorder/, ir pamėginau pakaitaliot hlss-start, hlss-stop ir togglewav iš vienos vietos į kitą. Ir nesvarbu ar aš šitas eilutes įkeliu į BlockFWD ar į EnableFWD man vistiek visados groja muzika. Tai koks tikslas šitų BlockFWD ir EnableFWD yra?

Re: raizo

Posted: 2013 Apr 06 00:36
by Tetusis
skaityt nemoki, prie kiekvieno punkto yra parasyta... :facepalm:

Re: raizo

Posted: 2013 Apr 06 14:11
by GhostMan
// always block these forwards
// commands here will be treated by the server as "successfully executed, client has this command/alias/cvar registered".
// the actual command will not be blocked
// Visados blokuoti šiuos 'forwards' (nežinau kaip išverst)
// komandos esančios čia serverio bus traktuojamos kaip "sėkmingai įvygdytos, žaidėjui šios komandą/alias/cvar yra užregistruotos".
// tikroji komanda nebus užblokuota
// always emulate these forwards if blocked by engine (not by the HLProtector)
// commands here will be treated by the server as "wasn't executed, client doesn't know this command".
// the actual command will not be blocked
// visados pamėgdžioti/kopijuoti šias komanda, jei jos yra blokuotos variklio/sistemos
// čia esančios komandos serverio bus traktuojamos kaip "neįvygdytos, žaidėjas nežino tokio komandos".
// tikroji komanda nebus užblokuota

Tai jei į EnableFWD yra įrašytos kažkokios komandos ir serveryje yra pluginai, kurie turėtų blokuoti tas komandas, tai dėka įrašų į EnableFWD tie serverio plugin'ai tau neveiks?

O koks BlockFWD tikslas?