Raised This Month: $193 Target: $400
 48% 

PODbot mm bots quota on the server


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Server Management        Approver:   Emp` (115)
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 05-28-2008 , 03:03   PODbot mm bots quota on the server
Reply With Quote #1

Control of quota podbot mm bots on the server.

It keeps the constant amount of bots on the server (ie 10) until another
constant amount of human-players joins the server. Then (if there is more people than that amount) - next human enters - one bot gets kicked (not before). It doesn't kick all bots at once after more than some constant minimal amount of humans is on the server, but it kicks them one by one (one bot for one player above the minimum humans on the server), but it's the common thing the people are asking me here and at bots-united forum.

Plugin cvars:

pb_min_humans (default - 10)
pb_bots_quota (default - 10)

Once more - this plugin is supposed to keep the constant amount of bots all the time on the server - unless the condition is not fullfilled:
(amount_of_humans - pb_min_humans - pb_bots_quota <= 0)
If You want to remove the bots You can pause this plugin, then use pb removebots command.

This plugin has been requested here by Spiky Pirate.
Attached Files
File Type: sma Get Plugin or Get Source (amxx_podbot_ctrl.sma - 14999 views - 2.5 KB)
File Type: amxx amxx_podbot_ctrl.amxx (2.9 KB, 6191 views)
__________________
The Fullpack of podbot mm V3B22 - 24 apr 2012!!! is available here.
The All-In-One 3.2a package - 02 jun 2013 (AMX X 1.8.2 [with ATAC 3.0.1b , CSDM2.1.3c beta, CM OE 0.6.5, podbot mm V3B22c and mm 1.20) is available here.
The Beta V3B23 (rel. 19 april 2016!!!) is available here.

Last edited by KWo; 05-28-2008 at 03:07.
KWo is offline
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 05-28-2008 , 04:33   Re: PODbot mm bots quota on the server
Reply With Quote #2

Isnt this in the .cfg for the podbot_mm module? (that I use frequently)

Just curious why you would need a plugin for it
__________________
bmann_420 is offline
atomen
Veteran Member
Join Date: Oct 2006
Location: Stockholm, Sweden
Old 05-28-2008 , 04:34   Re: PODbot mm bots quota on the server
Reply With Quote #3

Nice plugin !

BTW : You don't need to upload the 'amxx' file.
__________________
atomen is offline
Send a message via MSN to atomen
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 05-28-2008 , 04:57   Re: PODbot mm bots quota on the server
Reply With Quote #4

Quote:
Originally Posted by bmann_420 View Post
Isnt this in the .cfg for the podbot_mm module? (that I use frequently)

Just curious why you would need a plugin for it
No. The default function of podbot mm kicks a bot or add him as soon the new human-player comes/leaves to the server, no matter of any basic minimal amount of humans You have to have there to start them kick one by one. And it also doesn't keep the constant amount of bots until that limit by humans is reached.

Quote:
Originally Posted by atomen View Post
BTW : You don't need to upload the 'amxx' file.
I do need to upload amxx files as long the online compiler is not compiling the plugins against AMX X 1.8.0.
__________________
The Fullpack of podbot mm V3B22 - 24 apr 2012!!! is available here.
The All-In-One 3.2a package - 02 jun 2013 (AMX X 1.8.2 [with ATAC 3.0.1b , CSDM2.1.3c beta, CM OE 0.6.5, podbot mm V3B22c and mm 1.20) is available here.
The Beta V3B23 (rel. 19 april 2016!!!) is available here.

Last edited by KWo; 05-28-2008 at 05:00.
KWo is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 05-28-2008 , 05:53   Re: PODbot mm bots quota on the server
Reply With Quote #5

Quote:
I do need to upload amxx files as long the online compiler is not compiling the plugins against AMX X 1.8.0.
Your plugin doesn't require Amxx 1.8.x at all. No need to attach the .amxx file. Try to get the plugin, you will see.
__________________
Working on : CS Weapon Mod (72%) , MonsterAI (PAUSED),

Arkshine is offline
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 05-28-2008 , 07:01   Re: PODbot mm bots quota on the server
Reply With Quote #6

I have been adviced always to compile the plugins against the latest version of AMX X. Since the online compiler still compiles the plugins against AMX X 1.76d, I've attached the amxx file, too (compiled against AMX X 1.8.0). Even if doesn't require the newest AMX X, it's always better to have the plugins in Your amxmodx\plugins folder compiled to the version You are using. I believe most of the users are using now 1.8.0 version. So I'll leave it until web compiler is ready. ;)
__________________
The Fullpack of podbot mm V3B22 - 24 apr 2012!!! is available here.
The All-In-One 3.2a package - 02 jun 2013 (AMX X 1.8.2 [with ATAC 3.0.1b , CSDM2.1.3c beta, CM OE 0.6.5, podbot mm V3B22c and mm 1.20) is available here.
The Beta V3B23 (rel. 19 april 2016!!!) is available here.
KWo is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 05-28-2008 , 07:12   Re: PODbot mm bots quota on the server
Reply With Quote #7

I don't think for such script is really necessary. Do what you want, anyway. -_-

Quote:
I believe most of the users are using now 1.8.0 version.
Not really. http://www.amxmodx.org/newstats.php?mod_id=0&addon_id=1
__________________
Working on : CS Weapon Mod (72%) , MonsterAI (PAUSED),


Last edited by Arkshine; 05-28-2008 at 07:16.
Arkshine is offline
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 05-28-2008 , 07:21   Re: PODbot mm bots quota on the server
Reply With Quote #8

That stats says clearly:
amxmodx_version 1.8.0.3660 7387
This version is at the top of AMX X used version.
__________________
The Fullpack of podbot mm V3B22 - 24 apr 2012!!! is available here.
The All-In-One 3.2a package - 02 jun 2013 (AMX X 1.8.2 [with ATAC 3.0.1b , CSDM2.1.3c beta, CM OE 0.6.5, podbot mm V3B22c and mm 1.20) is available here.
The Beta V3B23 (rel. 19 april 2016!!!) is available here.
KWo is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 05-28-2008 , 07:33   Re: PODbot mm bots quota on the server
Reply With Quote #9

Oh, I see, you're just ignoring ~6100 server under Amxx 1.7x.
__________________
Working on : CS Weapon Mod (72%) , MonsterAI (PAUSED),

Arkshine is offline
Fry!
Veteran Member
Join Date: Apr 2008
Location: Latvia
Old 05-28-2008 , 08:57   Re: PODbot mm bots quota on the server
Reply With Quote #10

Well plugin works fine but when I connect to server then 2 bots are kicked of (one bot from T and one from CT) and then i changed map and again two bots are kicked then in my server have - 4 bots . And they from previous map don't return to game why ? With each new changed map I have two bots less even if I alone are connected .
__________________
Quote:
Originally Posted by wisam187
why all the great scriptors..... always.... leave and let their works go into oblivion ???
i miss your way in making outstanding plugins...
this forum needs lots of the likes of you..... and less of the idiots that spread right now.
Fry! is offline
Reply


Thread Tools
Display Modes

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 01:29.


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