.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Developer's Farm > General Bot Coding
General Bot Coding See what a pain it is to get those little mechs shooting around

Reply
 
Thread Tools
Possible for bots to issue commands?
Old
  (#1)
desNotes
Member
 
Status: Offline
Posts: 12
Join Date: Jan 2004
Default Possible for bots to issue commands? - 28-08-2004

Is it possible for bots to issue commands through client messages? If a bot sent "timeleft,' 'nextmap,' etc. would be possible to catch it and process the command or does Metamod/SDK prevent it?

Thanks,

desNotes
  
Reply With Quote
Re: Possible for bots to issue commands?
Old
  (#2)
[CS]m16
Guest
 
Status:
Posts: n/a
Default Re: Possible for bots to issue commands? - 28-08-2004

You can use the FakeClientCommand() function to make a bot using commands , etc :

FakeClientCommand (pBot->pEdict, "timeleft", NULL, NULL);

Pass "NULL" for unused arguements
  
Reply With Quote
Re: Possible for bots to issue commands?
Old
  (#3)
desNotes
Member
 
Status: Offline
Posts: 12
Join Date: Jan 2004
Default Re: Possible for bots to issue commands? - 28-08-2004

Please excuse my ignorance but would the FakeClientCommand() function be in the bot source code, metamod, HL SDK or in the AdminMod/AMX plugin?

Thanks,

desNotes

Nevermind...found it in HPB_bot...was looking in ricobot

Last edited by desNotes; 28-08-2004 at 17:59..
  
Reply With Quote
Re: Possible for bots to issue commands?
Old
  (#4)
[CS]m16
Guest
 
Status:
Posts: n/a
Default Re: Possible for bots to issue commands? - 28-08-2004

Well , if I'm not wrong , it should be in the bot source as I take a look at the botman's HPB_template about 1 years ago , yep thats right !
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com