Thread: YaPB2 Updates
View Single Post
Re: YaPB2 Updates
Old
  (#122)
trololoshka
Member
 
Status: Offline
Posts: 6
Join Date: Jan 2016
Embarrassed Re: YaPB2 Updates - 14-01-2016

Quote:
Originally Posted by ViBE@ View Post
UPDATE
sometimes only some bots leave but they stuck or what and stop leaving. for example i set 12 bots with autovacate. then 4 human arrive and only 2 bots leave. and then they stop leaving when players arrive.
We need ammx plugin for control players connect\disconnect and add\kick bots
Or automatic in bot_module

But standart - bad, because leave (kicking) alive bots too .
Need kicking dead bots only

Example:
plugin checked to number bots (ex. every 30 sec) :
if need add = adding
if need kick = ex. 5 bots .
3 bots are dead = kick now
2 bots are alive = write to buffer
and when bot's will be killed - kick.

Sorry my bad eng.