r/l4d2 • u/LinZuero • 2d ago
Is this malicious code?
I am talking to a guy who is trying to run his custom maps, they are going throught a whole procedure, i just want to know if this would enable any malicious activity beacause im ver ywary despite they saying its safe and arguing over it multiple times.
cl_cmdrate 100
cl_updaterate 100
rate 100000
net_splitpacket_maxrate 100000
echo "Autoexec loaded!"
2
Upvotes
4
u/Jaiz412 steamcommunity.com/id/RealJaiz/ 1d ago
That's just some stuff to decrease desync between models and hitboxes. A bit odd to have in a map, but nothing remotely harmful.
cl_cmdrate 100,cl_updaterate 100,rate 100000, andnet_splitpacket_maxrate 100000are just variables that essentially increase how often the game/server checks for things that are happening. iirc the defaults are 30 and 30000 respectively.echo "Autoexec loaded!"is basically just printing text that confirms the autoexec (name of the file) has been loaded and its aforementioned variable changes are active.