Raised This Month: $ Target: $400
 0% 

Intercepting 'status' command


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 04-13-2006 , 22:36   Intercepting 'status' command
Reply With Quote #1

Since Brad and his infinite wisdom banned me from the IRC channel just after I asked this question, I have no choice but to ask it here.

Does anyone happen to know how to intercept the command 'status' and then block it? I've already thought of client_command but I don't think you can block it with that - correct me if I'm wrong.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
Sean D
Junior Member
Join Date: Apr 2006
Old 04-14-2006 , 00:36  
Reply With Quote #2

try

Code:
register_forward(FM_ClientCommand, "whatever");

probably will have the same effect as client_command() though.


edit: oops, v3x, you're right; changed
Sean D is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 04-14-2006 , 00:45  
Reply With Quote #3

The first parameter isn't a string.
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 04-14-2006 , 08:07  
Reply With Quote #4

That won't work, it probably will be handled by the client, meaning htere is no way to catch/block it.

Why would you want to though?
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 04-14-2006 , 10:34  
Reply With Quote #5

Quote:
Originally Posted by Twilight Suzuka
That won't work, it probably will be handled by the client, meaning htere is no way to catch/block it.

Why would you want to though?
I deliberately severed the connection between my server and my client, and I was unable to get a reply for status. I don't know if that means anything, because everything (other than aliases I think) lock up once the server's connection is dead.

I need to change the Steam ID of someone so they can't be identified by that. I've already done it to amx_who but I can't find a way to change it with status.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
Reply



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 05:13.


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