PODBots control(kick or add) automatically.
Hello again,
I have an other PODbot Plugin - no_human_no_bots (the author is ConnorMcLeod) transformed and it runs good. I never finished writing. The Idea was to start PodBots as one human player connect to the server. This works. But the bots should also will be kicked, if the humans players is >12x in the server - 13 , 14 or +... . In my case: -5xBOTs (5x pb removebots , or BOTS_OFF or... - ?) But when if the humans players is < 6x in the server - example 5 the humans players , оr 4 the humans players ... - BOTS_ON , or pb add - I do not know. The plugin should scan the nomber of humans players. Thanks ! |
Re: PODBots control(kick or add) automatically.
There is no extra plugin needed as podbot already has that feature. Not "exactly like you want, but can be used for it.
Code:
pb_bot_quota_match 0 Once one player joins pb_bot_quote_match will cause the server to be filled with bots (as there is now a human player) to the max number of bots. And for each more human player a bot will be kicked. Once the last human player leaves all bots will be kicked. |
Re: PODBots control(kick or add) automatically.
Quote:
|
Re: PODBots control(kick or add) automatically.
I never encountered a difference in fps or performance when i changed a cvar in the podbot config, but if you say so...
|
Re: PODBots control(kick or add) automatically.
Quote:
With podbot config you can only control the number of bots. it does not exclude them. For example: when a player enters, exits or re-connects- metamod plugin PODBot always checks the number of bots requested, the presence or absent bots in the game, which rises sharply ping and ... It is natural that when you have 2 bots and 3 players does not affect this on ping - but if I have 20 players at the server and at least 10-12 bots ... I need a plugin that just monitors the number of players on the server - to exclude all bots( or metamod plugin PODBot)... , and when the players are below the specified number - to return the bots as they were before the exclusion . Other tips and ideas do not need. |
Re: PODBots control(kick or add) automatically.
If you clearly provide the requirements for this plugin I can work on it.
But, I have a feeling podbot already covers this. IIRC, when I used it I had it configured at 6 bots, if a human joined, one left, and so on until there was 6+ humans (at which time there would be no bots). Here's my settings Code:
# These 2 setings below support a minimum and maximum number |
Re: PODBots control(kick or add) automatically.
Quote:
This 6-bot configuration is effective, but only if you expect to have 4-5 players on the server, where there will always be a bot for weaker or younger players. But if there are 10, 15, 20 or 32 players - the bots will not be there for a long time, the weaker players - too. just, I activate 5 bots(comand pb_minbots 5) to have fun for the weaker players - but when the server is full, i prefer to example : I prefer the server to have instead of 15 players + 5bots , to be with 20 players. But if the bots are removed manually with the command pb remove #bot_id or pb remove bot_name - their initial value will recover after the change map (my server is DeathMatch), example after 2 or 3 h ... But if the bots are removed manually - even if there are no human players, bots will not be on the server unless they are added manually again. All of this sometimes I do it manually through the console: If the number of players exceeds a value, I get off all bots or 2-3-4, and when they drop below a given value - manually add them. I've tested dozens of combinations with these three commands: pb_minbots 0 (0, 1, 2 ....16) pb_maxbots 0 (0,1,2 .....16) pb_bot_quota_match 0 (1,2 ....16) But the lag is very big, or else i can not do exactly that. Believe me, I use it PODBot more than 3 years and I know how to set up my configuration file. I have these values: pb_minbots 5 pb_maxbots 0 pb_bot_quota_match 0 Please allow the plugin to control the number of live players, and when their number exceeds a certain amount (to specify with cvars), remove the bots(pb_minbots 0 - or to specify with cvars) and when the number of live players drops below a certain amount(to specify with cvars) - to include again bots (pb_minbots 5 -or to specify with cvars) This is. I track the number of players in the console and when there are enough players, I type the 1x command: pb remove #...<#...bot> and 1bot is aut , if the server is full - I type next command: pb remove # for next bot -and next bot is aut.... , and so 5 ор 4x. But if the players reduce their number on the server - I manually add back to the server with command pb add - I enter the command as many times as the bot I want to return to the server. These two commands have validity until the map is changed, after changemap - config fail is validity. If possible, this plugin to performs these functions? Excuse me for my bad English. Thanks ! |
Re: PODBots control(kick or add) automatically.
To make this easier for me, can you provide a matrix for how this should work? I don't want to assume I know what you want and then have to re-do it.
Human players = 0, X bots should be there Human players = 1, X bots should be there Human players = 2, X bots should be there Human players = 3, X bots should be there Human players = 4, X bots should be there Human players = 5, X bots should be there Human players = 6, X bots should be there Human players = 7, X bots should be there Human players = 8, X bots should be there Human players = 9, X bots should be there Human players = 10, X bots should be there Human players = 11, X bots should be there Human players = 12, X bots should be there |
Re: PODBots control(kick or add) automatically.
Quote:
This is : Human players = 0, X bots = 0 Human players = 1, X bots = 5 Human players = 2, X bots = 5 Human players = 3, X bots = 5 Human players = 4, X bots = 5 Human players = 5, X bots = 5 Human players = 6, X bots = 5 Human players = 7, X bots = 5 Human players = 8, X bots = 5 Human players = 9, X bots = 4 Human players = 10, X bots = 3 Human players = 11, X bots = 2 Human players = 12, X bots = 1 Human players = 13, X bots = 0 Human players = 14, X bots = 0 Human players = 15, X bots = 0 Human players = 16, X bots = 0 Human players = 17, X bots = 0 Human players = 18, X bots = 0 Human players = 19, X bots = 0 Human players = 20, X bots = 0 Can this be done. I hope it's not too very complicated. Thanks! |
Re: PODBots control(kick or add) automatically.
Having a hard time figuring out how to disable the automatic bot management. When my plugin kicks one, the module re-adds automatically.
|
All times are GMT -4. The time now is 01:45. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.