Raised This Month: $12 Target: $400
 3% 

amx_langmenu will be broken and many other client_cmd


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Fr33m@n
Veteran Member
Join Date: May 2008
Location: France Marne
Old 03-02-2013 , 06:57   amx_langmenu will be broken and many other client_cmd
Reply With Quote #1

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

Last edited by Fr33m@n; 03-02-2013 at 06:58.
Fr33m@n is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 03-02-2013 , 06:58   Re: amx_langmenu will be broken and many other client_cmd
Reply With Quote #2

Yay
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
micapat
Veteran Member
Join Date: Feb 2010
Location: Nyuu, nyuu (France).
Old 03-02-2013 , 11:10   Re: amx_langmenu will be broken and many other client_cmd
Reply With Quote #3

Agreed And answered on GitHub. Hope that Alfred will find a good solution ...
__________________

Last edited by micapat; 03-02-2013 at 11:42.
micapat is offline
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 03-02-2013 , 14:48   Re: amx_langmenu will be broken and many other client_cmd
Reply With Quote #4

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.
__________________
No idea what to write here...
Jelle is offline
Send a message via MSN to Jelle
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-03-2013 , 01:45   Re: amx_langmenu will be broken and many other client_cmd
Reply With Quote #5

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.
__________________
fysiks is offline
Fr33m@n
Veteran Member
Join Date: May 2008
Location: France Marne
Old 03-03-2013 , 05:52   Re: amx_langmenu will be broken and many other client_cmd
Reply With Quote #6

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.

Last edited by Fr33m@n; 03-03-2013 at 06:17.
Fr33m@n is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-03-2013 , 18:19   Re: amx_langmenu will be broken and many other client_cmd
Reply With Quote #7

I attached the diff file for you.
__________________
fysiks is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 03-03-2013 , 19:14   Re: amx_langmenu will be broken and many other client_cmd
Reply With Quote #8

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
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).

Last edited by YamiKaitou; 03-03-2013 at 19:16.
YamiKaitou is offline
Fr33m@n
Veteran Member
Join Date: May 2008
Location: France Marne
Old 03-07-2013 , 20:28   Re: amx_langmenu will be broken and many other client_cmd
Reply With Quote #9

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...
Fr33m@n is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-08-2013 , 01:33   Re: amx_langmenu will be broken and many other client_cmd
Reply With Quote #10

Quote:
Originally Posted by Fr33m@n View Post
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.
__________________
fysiks is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:53.


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