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

Fake Client Execute


Post New Thread Reply   
 
Thread Tools Display Modes
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 08-30-2011 , 16:34   Re: Fake Client Execute
Reply With Quote #31

when I try this against bots, example:

sm_fexec BotName say test

I get [SM] Invalid target

Code:
# userid name uniqueid connected ping loss state adr
#107 "Harvey" BOT active
#108 "Elmer" BOT active
#109 "Waldo" BOT active
sm_fexec waldo say test
☺[SM] Invalid target ♥waldo☺
TnTSCS is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 08-31-2011 , 05:03   Re: Fake Client Execute
Reply With Quote #32

sm_fexec BotName "say test"
__________________
DarthNinja is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 08-31-2011 , 17:41   Re: Fake Client Execute
Reply With Quote #33

# userid name uniqueid connected ping loss state adr
# 6 "[BOT] Eric" BOT active
# 7 "[BOT] Yahnet" BOT active
# 8 "[BOT] Henry" BOT active
sm_fexec "[BOT] Eric" "say test"
☺[SM] Invalid target ♥[BOT] Eric☺

and

# userid name uniqueid connected ping loss state adr
# 6 "[BOT] Eric" BOT active
# 7 "[BOT] Yahnet" BOT active
# 8 "[BOT] Henry" BOT active
sm_fexec Eric "say test"
☺[SM] Invalid target ♥Eric☺

Is it because the bots have a space in their name?

I know the plugin works, because I can target myself... just not bots
TnTSCS is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 08-31-2011 , 18:08   Re: Fake Client Execute
Reply With Quote #34

well, I found out that the Advanced Commands has an sm_fexec command and that one has a filter for
FILTER_REAL|COMMAND_FILTER_NO_BOTS so that's why it wasn't able to target the bots...

I took that off, and now I don't get a message when I do the sm_fexec, but I don't see the message "test" either...

sm_fexec bot say test
sm_fexec bot "say test"
sm_fexec "bot" "say test"
sm_fexec "bot" "say" test
sm_fexec "bot" say "test"

none work... but it works when I target myself


# userid name uniqueid connected ping loss state adr
#10 "[BOT] Derek" BOT active
#11 "[BOT] Reed" BOT active
#12 "[BOT] Don" BOT active
# 9 "TnT SCS" STEAM_0:0:11111 02:00 95 0 active x.x.x.x:4903
sm_fexec reed "say test"
sm_fexec tnt "say test"
TnT SCS: test
L 08/31/2011 - 15:06:45: "TnT SCS<9><STEAM_0:0:11111><CT>" say "test"
sm_fexec reed "say test"
TnTSCS is offline
mufin
BANNED
Join Date: Aug 2015
Old 01-14-2016 , 23:09   Re: Fake Client Execute
Reply With Quote #35

haha so use full when people do something stupid just have them type !rules
mufin is offline
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 00:06.


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