AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Off-Topic (https://forums.alliedmods.net/forumdisplay.php?f=15)
-   -   amx_langmenu will be broken and many other client_cmd (https://forums.alliedmods.net/showthread.php?t=209809)

Fr33m@n 03-02-2013 06:57

amx_langmenu will be broken and many other client_cmd
 
Why ?

Quote:

Originally Posted by alfred-valve
The following commands are blocked from a server running them on you if cl_filterstuffcmd is set (some are always blocked right now also)
alias
connect
retry
set*
bind
unbund
unbindall
quit
"_restart"
kill
exit
exec
writecfg
cl_filterstuffcmd
ex_interp
say
developer
timerefresh
rate
cd
fps_max
speak_enabled
voice_enable
setinfo
sensitivity
sys_ticrate
removedemo
volume
mp3volume
cl_*
gl_*
m_*
r_*
hud_*

yeah amx_langmenu use client_cmd setinfo and soon it will be blocked.
Because soon cl_filterstuffcmd will have 1 by default.

maybe it's time to react guys :
https://github.com/ValveSoftware/halflife/issues/390

YamiKaitou 03-02-2013 06:58

Re: amx_langmenu will be broken and many other client_cmd
 
Yay

micapat 03-02-2013 11:10

Re: amx_langmenu will be broken and many other client_cmd
 
Agreed :) And answered on GitHub. Hope that Alfred will find a good solution ...

Jelle 03-02-2013 14:48

Re: amx_langmenu will be broken and many other client_cmd
 
Nice they are doing something about that slowhack. Just need to do it without breaking too much, many plugins uses a lot of this in a non harmful way.

Once this is settled they just need to take care of that non-steam, would be awesome if non-steam servers would suddenly just go offline.

fysiks 03-03-2013 01:45

Re: amx_langmenu will be broken and many other client_cmd
 
This is awesome news. I just hope they port these changes to DOD.

As for the setinfo stuff, you can just change that line to set_user_info(), that should work.

Fr33m@n 03-03-2013 05:52

Re: amx_langmenu will be broken and many other client_cmd
 
Yep in fact, it work. It's just the send by the client way that is blocked.
This change should be pushed into the core.
https://bugs.alliedmods.net/show_bug.cgi?id=5643
I don't know to purpose a patch. If someone want to do it, go for it, please.

fysiks 03-03-2013 18:19

Re: amx_langmenu will be broken and many other client_cmd
 
I attached the diff file for you.

YamiKaitou 03-03-2013 19:14

Re: amx_langmenu will be broken and many other client_cmd
 
FYI, the cl_filterstuffcmd already exists on the client. I believe it is defaulted to 0 right now but once Alfred has finalized the blocking method, he will default it to 1


EDIT: It appears that statsx also uses it on line 1118

Fr33m@n 03-07-2013 20:28

Re: amx_langmenu will be broken and many other client_cmd
 
I spoke quickly... set_user_info can't write something in cfg.
It's a just a temporary settings.

That mean that multilingual will be broken at cl_filterstuffcmd update to 1 as a default value.

Yeah !

i hate this update...

fysiks 03-08-2013 01:33

Re: amx_langmenu will be broken and many other client_cmd
 
Quote:

Originally Posted by Fr33m@n (Post 1908604)
I spoke quickly... set_user_info can't write something in cfg.
It's a just a temporary settings.

That mean that multilingual will be broken at cl_filterstuffcmd update to 1 as a default value.

Yeah !

i hate this update...

The original method doesn't write anything to any cfg file either so nothing is different.


All times are GMT -4. The time now is 17:39.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.