.:: 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 ::. > Cyborg Factory > HPB_bot
HPB_bot The trusty good ole mechs by botman HLDMTFCOpposing ForceDMCFront Line Force

Reply
 
Thread Tools
Auto kick and Auto Addbot?
Old
  (#1)
SexualChocolate
Guest
 
Status:
Posts: n/a
Default Auto kick and Auto Addbot? - 09-03-2004

Is it possible to auto kick the BOT if the 'real' player count in my server is 2 or more and then add him back if the 'real' player count is 1 or 0??
  
Reply With Quote
Re: Auto kick and Auto Addbot?
Old
  (#2)
Terran
Member
 
Terran's Avatar
 
Status: Offline
Posts: 431
Join Date: Jan 2004
Default Re: Auto kick and Auto Addbot? - 09-03-2004

It should be possible with an AMX plugin. I've written such a plugin for realbot, joebot and yapb. If you're interested I could port it to HPB bot too...
  
Reply With Quote
Re: Auto kick and Auto Addbot?
Old
  (#3)
botmeister
Ex-Council Member
 
botmeister's Avatar
 
Status: Offline
Posts: 1,090
Join Date: Nov 2003
Location: Canada
Default Re: Auto kick and Auto Addbot? - 09-03-2004

Anyone know if server side commands been added to HBP? If so, then I'll make my meanmod work with these guys.


Maker of the (mEAn) Bot.Admin Manager

"In theory, there is no difference between theory and practice. But, in practice, there is." - Jan L.A. van de Snepscheut
  
Reply With Quote
Re: Auto kick and Auto Addbot?
Old
  (#4)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: Auto kick and Auto Addbot? - 10-03-2004

yes, the HPB_bot now uses a real dedicated server command, which is "HPB_Bot" (beware of the case).



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: Auto kick and Auto Addbot?
Old
  (#5)
SexualChocolate
Guest
 
Status:
Posts: n/a
Default Re: Auto kick and Auto Addbot? - 10-03-2004

A plugin would be great but I'm using adminmod and not AMX
  
Reply With Quote
Re: Auto kick and Auto Addbot?
Old
  (#6)
Terran
Member
 
Terran's Avatar
 
Status: Offline
Posts: 431
Join Date: Jan 2004
Default Re: Auto kick and Auto Addbot? - 10-03-2004

PMB's "hpb_bot_plugin" (HPB bot ported to metamod) has a "HPB_Bot" Server command.

Code:
 HPB_Bot addbot <args depend on mod>
 	 valve/gearbox!ctf/holywars/dmc:
 			 <skin> <name> <skill> <topcolor> <bottomcolor>
 	 others: <team> <class> <name> <skill>
 HPB_Bot min_bots <0-31>
 HPB_Bot max_bots <0-31>

Last edited by Terran; 10-03-2004 at 11:28..
  
Reply With Quote
Re: Auto kick and Auto Addbot?
Old
  (#7)
Terran
Member
 
Terran's Avatar
 
Status: Offline
Posts: 431
Join Date: Jan 2004
Default Re: Auto kick and Auto Addbot? - 10-03-2004

An adminmod plugin shouldn't be hard to do either but I've abandoned my efforts at adminmod last year...

If you have access rights for admin_rcon you could do it this way.
  
Reply With Quote
Re: Auto kick and Auto Addbot?
Old
  (#8)
jarrodatt
Guest
 
Status:
Posts: n/a
Default Re: Auto kick and Auto Addbot? - 11-04-2004

Can i get the amx plugin for realbot please, i need it to kick when real players come on and add when they leave
  
Reply With Quote
Re: Auto kick and Auto Addbot?
Old
  (#9)
botman
Super Moderator
 
Status: Offline
Posts: 280
Join Date: Jan 2004
Location: Plano, TX
Default Re: Auto kick and Auto Addbot? - 11-04-2004

"Is it possible to auto kick the BOT if the 'real' player count in my server is 2 or more and then add him back if the 'real' player count is 1 or 0??"

That's what the "min_bots" and "max_bots" values are for in the HPB_bot .cfg file...

min_bots 0
max_bots 2

...this will add 2 bots when the player count is 0, kick 1 bot when the player count goes to 1, then kick another bot when the player count goes to 2 or more.

botman
  
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