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

Prevent bots from changing team or spectating? (FoxBot for TFC)


Post New Thread Reply   
 
Thread Tools Display Modes
pizzahut
Senior Member
Join Date: Oct 2004
Old 06-04-2017 , 16:44   Re: Prevent bots from changing team or spectating? (FoxBot for TFC)
Reply With Quote #11

Maybe PodBot works differently. I did this and it only ever said once that a human joins (which was me), no mention of a bot using any of these commands:

Code:
#include <amxmodx> #include <engine> public plugin_init() {     register_plugin("bot test", "1", "pizzahut")     register_clcmd("chooseteam", "my_chooseteam")     register_clcmd("jointeam", "my_jointeam")     register_clcmd("team_join", "my_team_join") } public my_chooseteam(id) {     if (is_user_bot(id))     {         client_print(0, print_console, "Bot used command 'chooseteam'.")         engclient_cmd( id, "jointeam", "2" )         return PLUGIN_HANDLED     }     client_print(0, print_console, "Human used command 'chooseteam'.")     engclient_cmd( id, "jointeam", "1" )     return PLUGIN_HANDLED } public my_jointeam(id) {     if (is_user_bot(id))     {         client_print(0, print_console, "Bot used command 'jointeam'.")         engclient_cmd( id, "jointeam", "2" )         return PLUGIN_HANDLED     }     client_print(0, print_console, "Human used command 'jointeam'.")     engclient_cmd( id, "jointeam", "1" )     return PLUGIN_HANDLED } public my_team_join(id) {     if (is_user_bot(id))     {         client_print(0, print_console, "Bot used command 'team_join'.")         engclient_cmd( id, "jointeam", "2" )         return PLUGIN_HANDLED     }     client_print(0, print_console, "Human used command 'team_join'.")     engclient_cmd( id, "jointeam", "1" )     return PLUGIN_HANDLED }

Last edited by pizzahut; 06-04-2017 at 16:46.
pizzahut is offline
Craxor
Veteran Member
Join Date: Jan 2016
Location: Romania
Old 06-04-2017 , 16:54   Re: Prevent bots from changing team or spectating? (FoxBot for TFC)
Reply With Quote #12

then install podbot insteand of FoxBot
__________________
Project: Among Us
Craxor is offline
Send a message via ICQ to Craxor
pizzahut
Senior Member
Join Date: Oct 2004
Old 06-04-2017 , 17:07   Re: Prevent bots from changing team or spectating? (FoxBot for TFC)
Reply With Quote #13

In the thread title it says "FoxBot for TFC". Doesn't look like PodBot supports TFC.

http://podbotmm.bots-united.com/doc_v3/index.html

There are some other bots which do, but it's up to Unzy whether he wants to use a different bot just to fix the bugged scoreboard.

Last edited by pizzahut; 06-04-2017 at 17:07.
pizzahut is offline
Unzy
Junior Member
Join Date: Apr 2017
Old 06-04-2017 , 18:11   Re: Prevent bots from changing team or spectating? (FoxBot for TFC)
Reply With Quote #14

Thnx for the help guys

Not gonna change to podbot, sticking with foxbot

We'll get there, it's not too big of a deal, just a bug

Thnx!
-X-
__________________
Unzy is offline
Old 06-04-2017, 19:49
EFFx
This message has been deleted by HamletEagle. Reason: Let's remain on-topic.
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 20:53.


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