You all must have seen a situation with a lot of players in the channel and the flood contest in who's going to create the next game because there's no host bots, since it's came to a point where like 10 lines of !gopub per second is flooding the channel because more and more people play here i implemented a queue like system on the bot.
How does it work?When there is 9/9 (5/5 for rpgbot) games in lobby and you type !gopub (or .gopub) in the channel bot remembers your command, game name and map and you are placed in a queue which is sorted by the time when you did !gopub.
When one of the host bots becomes free to host again it will auto host the game of the first player in the queue (first player that did !gopub).
This eliminates most of the flooding caused by !gopub as you only need to write it once and is more fair in rush hour for the bot when everyone wants to host. You can also whisper the bot for even more flood.
Note that you can queue the game via !gopub only while you are in channel. If you leave the channel your game will be removed from the queue.
Additional changes:Changed bot_lobbytimelimit option from bot_lobbytimelimit = 60 seconds to bot_lobbytimelimit = 30 seconds meaning you now got 30 seconds to join a game you hosted before it auto unhost itself.
If you notice any bugs please report em in the feedback section.
EDIT 1:
New commands (this commands only make sense when there are 9/9 games in lobby):
!queue [number] - show information about the queue, optionally add number to check details for game in queue
!unqueue - removes your game from the queue
Position in queue:
Admins have greater priority in queue when trying to host the game, meaning when there is already a number of games in the queue waiting to be hosted and admin types !gopub his game will automatically get to the beginning of the queue instead on the end like for normal users.
Games in the queue are sorted first by your position (admin or not) then by the time when you did !gopub.
People that donated (
http://playdota.eu/forum/index.php?topic=2.0) will also have grater priority then normal users in the future.
Additional changes:Bot !where command now shows some more information.