SMAC null cmd explanation.
Hi.
I'm interested to know what the reason is behind blocking null cmd input in OnClientRunCmd. Does anyone from the smac team remember why this code is in here. Is it possibly just a typo and it's ment to return Plugin_Continue ? smac_eyetest.sp -> This; Code:
// NULL commands |
Re: SMAC null cmd explanation.
Formerly, the seed for weapon spread was calculated as seed=MD5_PseudoRandom(cmdnum). Not blocking cmdnum=0 causes a static seed to be easily accessible. Meaning, cheats wouldn't need to brute force this seed by skipping future cmdnums. IIRC, cmdnum=0 is useless and typically caused by clients typing "disconnect" in console.
|
Re: SMAC null cmd explanation.
Thanks for replying. That explains why it happend frequently on mapchange and on joiniing the spectator team.
|
All times are GMT -4. The time now is 07:01. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.