![]() |
Problem with kicking bots
I've loaded up PODBot-R2.44-Linux and I don't know if ths is a bug or a feature, if I kick a bot using the dedicated server console, a new bot is auto generated to take its place.
If I use the pb remove command the kicked bots won't be replaced, which is good but I cannot use this command because I want to be able to specify which bot to kick out by userid. Is there a way to turn the bot auto replace feature off without modifying the source code? |
Re: Problem with kicking bots
see KWo another complaint :P
well we've already decided to change the auto-join thing back to how it was supposed to be in 2.5... so you'll be able to kick a bot without it rejoining unless you have max_bots set to something.. and maybe I can add a way to kick a specific bot using pb remove... |
Re: Problem with kicking bots
Quote:
Quote:
I decided nothing - only suggested to do this in both ways - by cvar - if somebody wants control number of bots by max_bots variable or like is until now. Quote:
Quote:
pb remove #bot_id or pb remove bot_name If bot has detainames on and/or has some space in its name - You need to use quotes - for example: pb remove "[POD]Mr Bean (100)" BTW - why even Council can't start a thread in the correct place? :'( |
Re: Problem with kicking bots
...
empty server... It won't happen... it'll never happen.. I won't let it.. and that pb remove parameter is actually the [team]... :D |
Re: Problem with kicking bots
pb remove #bot_id
That's all I needed to know - thanks! =) FYI: I did not see this written in the manual. I figured the regeneration behaviour was a feature rather than a bug. I suggest that you leave the regeneration behaviour in place to prevent a server from going empty, but add a cvar to turn the feature on and off (defaulted to on). As for where to post a thread in here, this forum has subforums and a main forum, so I got confused. It may be a good idea to get rid of the main forum threads and move the existing ones to the correct subforums. |
Re: Problem with kicking bots
what's going on here???
do you guys completely ignore me?? KWo.. the server will not be empty.. I had it so that it wouldn't be empty but then you came up with your specification... it was working fine.. and it's not pb remove #bot_id.. I just checked.. it's still pb remove #bot_team... why am I being ignored?? |
Re: Problem with kicking bots
Yeah - I've tried again - this pb remove #bot_id doesn't work like I thought before. It was accidently the first time I've tried 2 bots I've kicked out this way and there really were kicked out these bots I wanted. Today I've tried again - and really - it doesn't work like I thought before. About differences between Your and mine conception to auto add/kick bots - in both cases if somebody setup the max_bots value - there will be the problem with the kick command - untill You will find the way to catch it - so this botmeister's complaining changes exactly nothing in this topic. :P
|
Re: Problem with kicking bots
read the original podbot.cfg in podbot 2.5..
it says set it if it's a DS and if you want bots to auto join and auto leave... so if someone would actually read it then there wouldn't be a problem... |
Re: Problem with kicking bots
Guys, pb remove #bot_team does not work with Podbot-r2.44-linux-so. All it does is kick the first bot in the index list and it ignores the argument.
What I need is either the ability to kick a specific bot, or the ability to kick a bot off of a specific team without it being regenerated. I prefer to be able to specify the bot by userid. Can I do this, and if so then how? |
Re: Problem with kicking bots
hey botmeister, don't be so hurried up lad, and take the time to read what they post before posting your replies :D
|
Re: Problem with kicking bots
Quote:
Use for kicking: a)T bot: pb remove 1 and the first T bot from the list will be kicked b) CT bot pb remove 2 and the first CT bot from the list will be kicked I've just tried this about 6 times - to be sure. Also I was looking a bit into code and it's probably this part (dll.cpp - PbCmdParser): PHP Code:
Seems like 'code' doesn't work correctly (all was in 1 line) - that's why I used 'php'. :( [/EDIT] |
Re: Problem with kicking bots
Hey thanks KWo! pb remove 1|2 works and I just tested it myself to confirm.
I think some of the suggestions made in here should be implemented: 1. Put a cvar in place to stop the auto regeneration behaviour, but default it to an enabled state. 2. Leave the team kick feature in place, but allow a #user_id to be specified to kick a specific bot out using pb remove #user_id. If I were to make these changes, how would I get the code updated to be reflected in the official version? |
Re: Problem with kicking bots
well right now I think i've fixed it..
so click on the link in my signature.. you'll find the most up-to-date source code.. if you can't compile it then maybe someone who has linux and knows how to compile it can do it for you... the way to turn off the auto rejoin is to set max_bots to 0.. thats how it was supposed to be and is now fixed in the code in the link in my signature.. |
Re: Problem with kicking bots
The team kicking works fine for the mEAn mod by itself, but I've dl'd the source and will get it to compile so I can help out with it if need be. Thanks :)
I'll be posting a full package for the latest Linux/Windows mEAn mod that works with the latest POD as soon as I can find the time for it. |
Re: Problem with kicking bots
we're working on ways to make mean and pod more compatible too..
right now we fixed it so that max_bots when set to 0 will no longer make bots auto join or auto leave... We're adding more options for people to choose whether or not they want everything automated if max_bots is not 0. Also we'll be adding the ability to kick a specific bot.. |
All times are GMT +2. The time now is 02:07. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.