AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   setinfo name block (https://forums.alliedmods.net/showthread.php?t=159412)

mitra 06-16-2011 18:33

setinfo name block
 
Hello,

I am looking for some script thats blocks ONLY the "setinfo name" command, but allows players to use the normal "name" name changer command.

Can someone help me? I already used the search command but only find one that block both.

Thanks in advance

ConnorMcLeod 06-16-2011 18:39

Re: setinfo name block
 
Why do you want this exactly please ?

mitra 06-16-2011 18:41

Re: setinfo name block
 
Well it's related to the system I use, people are using that in a way that's causing me some problems. If you can help me ConnorMcLeod would be great, thank you for your time.

fysiks 06-16-2011 20:10

Re: setinfo name block
 
What is the "system" you use and explain what "problems" you experience.

mitra 06-16-2011 20:37

Re: setinfo name block
 
Well It's a pug system controlled by a 3rd program that controls the server and change the username of the users to the ones that suppose to be.

However, "setinfo name" isn't detected by our program, So I would like to have your help blocking the setinfo name command

Hunter-Digital 06-16-2011 20:50

Re: setinfo name block
 
client_infochanged() gets triggered on "setinfo name" too, use that.

ConnorMcLeod 06-17-2011 01:42

Re: setinfo name block
 
setinfo and name are 2 client commands that can't be detected by server.
That's why you need to explain exactly what problems you experience, what program you use and how it works etc...

DjOptimuS 06-17-2011 03:30

Re: setinfo name block
 
client console commands can't be detected by HLDS, i tried something similar to block the fullupdate flood, with a bool set on true for the first full update, and the bool set to false on command stop, from the demo recording, but, the command stop can't be catched, valve did this since protocol 48. But lucky me i founded that time a different code here in forums to limit the fullupdate usage.

The answer is no, you can't hook the setinfo command. Tell the exploit on ConnorMcLeod of other experienced coder, and maybe they can find a solution for your problem.

mitra 06-17-2011 11:03

Re: setinfo name block
 
Well, as I said on my first post I used a plugin that I found somewhere on the forum that blocked both setinfo name and name.. and everytime that someone tried to use on of those commands it says "cant change your nick". So, wont be possible to block JUST the setinfo name, and not the name?

Thanks.

kingxd 06-17-2011 11:40

Re: setinfo name block
 
I'm not sure waht you mean.


All times are GMT -4. The time now is 23:29.

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