Raised This Month: $ Target: $400
 0% 

Check command


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 12-22-2007 , 13:29   Check command
Reply With Quote #1

Is there a way to check if a client command is valid or not. E.g : A player type : "exec lawlzor.cfg" then if .cfg exists wont say nothing in console, but if not exists will say "couldn't exec lawlzor.cfg". So is possible to check if .cfg doesn't exists ?

Thanks.
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
M249-M4A1
I <3 Mac
Join Date: May 2005
Location: Not interested
Old 12-22-2007 , 14:07   Re: Check command
Reply With Quote #2

I guess it's like trying to do the "version" command on a client, we can't get what was echoed back to them
__________________
M249-M4A1 is offline
Owyn
Veteran Member
Join Date: Nov 2007
Old 02-11-2009 , 07:33   Re: Check command
Reply With Quote #3

if it was so, HLguard and CSguard and many others would not work then, i'm curently looking for an answer to this question, how to get positive or negative answer to exec and some others command, will appreciate any help.
Owyn is offline
Send a message via ICQ to Owyn
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 02-11-2009 , 17:40   Re: Check command
Reply With Quote #4

It's not possible to see what is printed to the client's console from the client's game.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Owyn
Veteran Member
Join Date: Nov 2007
Old 02-11-2009 , 18:08   Re: Check command
Reply With Quote #5

so how does it work then?
Owyn is offline
Send a message via ICQ to Owyn
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 02-11-2009 , 18:10   Re: Check command
Reply With Quote #6

How does what work?
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Owyn
Veteran Member
Join Date: Nov 2007
Old 02-12-2009 , 06:44   Re: Check command
Reply With Quote #7

HLguard, ok even not mm plugins, amxx plugins like anti4.amxx or realityhlguard.amxx
Owyn is offline
Send a message via ICQ to Owyn
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 02-12-2009 , 06:53   Re: Check command
Reply With Quote #8

They check aliases by names, but can not know what's the alias is.

I remember when i had an alias :

alias bhop "say WHATEVER"

and i was banned for bhop script.

But you can safely use an bhop script if you just rename it...


I'm not sure about the method used.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Owyn
Veteran Member
Join Date: Nov 2007
Old 02-12-2009 , 09:11   Re: Check command
Reply With Quote #9

i mean when you enter server with hlguard, it tries to execute list of configs, and if it executes one of those succesefully it banned you
Owyn is offline
Send a message via ICQ to Owyn
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 02-12-2009 , 11:02   Re: Check command
Reply With Quote #10

It checks cvars/setinfo/say lines after each exec I believe. It can not read from your console.
__________________
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
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 11:12.


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