.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   HPB_bot (http://forums.bots-united.com/forumdisplay.php?f=35)
-   -   Auto kick and Auto Addbot? (http://forums.bots-united.com/showthread.php?t=1040)

SexualChocolate 09-03-2004 17:37

Auto kick and Auto Addbot?
 
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??

Terran 09-03-2004 17:42

Re: Auto kick and Auto Addbot?
 
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...

botmeister 09-03-2004 18:43

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

Pierre-Marie Baty 10-03-2004 10:04

Re: Auto kick and Auto Addbot?
 
yes, the HPB_bot now uses a real dedicated server command, which is "HPB_Bot" (beware of the case).

SexualChocolate 10-03-2004 10:16

Re: Auto kick and Auto Addbot?
 
A plugin would be great but I'm using adminmod and not AMX

Terran 10-03-2004 10:22

Re: Auto kick and Auto Addbot?
 
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>


Terran 10-03-2004 10:45

Re: Auto kick and Auto Addbot?
 
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.

jarrodatt 11-04-2004 09:01

Re: Auto kick and Auto Addbot?
 
Can i get the amx plugin for realbot please, i need it to kick when real players come on and add when they leave

botman 11-04-2004 15:16

Re: Auto kick and Auto Addbot?
 
"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


All times are GMT +2. The time now is 09:33.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.