halflife icon indicating copy to clipboard operation
halflife copied to clipboard

[3rd Party Plugin] Issue with SVC_STUFFTEXT

Open dystopm opened this issue 13 years ago • 5 comments

I know that it's related to the SVC_STUFFTEXT because it's the msgid related to the client command sending with pfnClientCommand

I'm using an AMXX 3rd party plugin which blocks name changing, and it works fine, because i'm forcing the client to execute (when trying to change nickname) "name MyOriginalNick" on console.

For changing your nick you need to have an special access. When changing the nick to that special player, the server executes the next cmd on client:

"disconnect; wait; name MyNewNick; wait; retry"

For clients without the new beta it works, for the ones who uses the beta, nothing happens

So, I want to ask which commands are blocked when sending from the server

Not really a bug, but it can be one for 3rd party plugins.

dystopm avatar Feb 15 '13 22:02 dystopm

disconnect, connect, retry and alias are now disallowed in SVC_STUFFTEXT commands.

alfred-valve avatar Feb 15 '13 22:02 alfred-valve

Well, that ruins good plugins.. like the xREDIRECT.

monster1777 avatar Feb 15 '13 22:02 monster1777

Yes, by design. I am looking at your fake servers....

#5 is the right answer here, I have it on the TODO list.

alfred-valve avatar Feb 15 '13 22:02 alfred-valve

Nice one @alfred-valve now fake servers will not redirect players, also, blocking the sent of "bind" would be nice too.

dystopm avatar Feb 15 '13 22:02 dystopm

Not fake server, just when I have fullslots on my #1 server I want it to redirect to my second server. Simple as that, huh?

monster1777 avatar Feb 15 '13 23:02 monster1777