PDA

View Full Version : Menu Based ShrikeBot Controller


dodsynthetic
01-17-2008, 02:05 AM
Syn's Shrike Bot Controller v1.4
This script was designed to control the Shrikebot mod for DoD via menus.

===========================
v1.4 Changes
===========================
- Added support for per map shrikebot.cfgs.
- Added menu option Vote Bots On. Starts a vote to turn the bots on.
- Added menu option Vote Bots Off. Starts a vote to turn the bots off.
- Added alternating menu option Use Base Config/Use Per Map Confg. Changes between the two.
- Added console command amx_sc_vote_on to start a vote to turn the bots on.
- Added console command amx_sc_vote_off to start a vote to turn the bots off.
- Added alternating console command amx_sc_change_cfg. Changes between base or per map config.
- Added cvar sc_maps_list. Allows use of default mapcycle.txt or DeagsMapManager mapchoice.ini.
- Added cvar sc_vote_on. Allows voting to turn the bots on.
- Added cvar sc_vote_off. Allows voting to turn the bots off.
- Added cvar sc_vote_restore. Allows restoring bots to previous amount if all real players leave.
- Added cvar sc_vote_time. Specifies how long a player has to vote until voting ends.
- Updated information and added to notes.

===========================
v1.3 Changes
===========================
- Added menu option Remove Bots For Now. Will keep bots off even between map changes until menu
option Bring Bots Back is used or console command amx_sc_bring_bots_back is used.
- Added menu option Bring Bots Back. Will bring bots back to set amount in cvar sc_return_bots
and will allow them to come back on map changes.
- Added menu option Show Shrike Config to show current shrikebot.cfg settings.
- Added console command amx_sc_remove_bots. Will keep bots off even between map changes until
menu option Bring Bots Back is used or console command amx_sc_bring_bots_back is used.
- Added console command amx_sc_bring_bots_back. Will bring bots back to set amount in cvar
sc_return_bots and will allow them to come back on map changes.
- Added console command amx_sc_show_config to show current shrikebot.cfg settings.
- Added cvar sc_return_bots. Specifies how many bots to put back in the game when using menu
option Bring Bots Back or console command sc_bring_bots_back.
- Shortend console commands. If you had them bound before, be sure to update your binds!
- Fixed issues with not properly detecting an existing shrikebot.cfg that wasn't made by Shrike
Bot Controller. If you had problems with commands that required saving your settings to the
shrikebot.cfg before, this was why. Thanks {DwP} 325th ABN and johndoe on dodplugins.net for
your information that helped me locate this. After going through the code, it was blatenly
obvious as soon as I looked at it. ;)
- Added missing checks to obey cvar sc_show_changes on use of amx_sc_kick and amx_sc_add console
commands.
- Added to the notes and updated information.
- Cleaned up some unused code.

===========================
v1.2 Changes
===========================
- Added menu option to quick kick all bots. Keeps them from coming back!
- Added console command to quick kick all bots. Keeps them from coming back!
- Added console command to quick add bots.
- Added seperate access flag cvar for quick kick and quick add.
- Added more control to Fill Server / Kick On x Real Players / Min Bots / Max Bots.
- Dropped access flag cvars by letter. It was not really needed and won't work anyway. To change,
modify the access flag at the end of each console command.
- Updated information.

===========================
v1.1 Changes
===========================
- Updated confirmation message system to handle options that got issued to a live running server
but also was a savable option and said it required shrikebot.cfg be saved.
- Clarified and added to the notes.

===========================
Features
===========================
- Menu based configuration. Can be added to amxmodmenu.
- Access to the following options:
Adding a bot
All chat options
Reaction time
Skill
Team balance
Fill server
Fun Mode
Kick all bots
Kick when x real players join
Kill all bots
Max bots
Min bots
Bot shield | See notes
View clan tag
View skill
- Save option to write base shrikebot.cfg file and per map shrikebot.cfg depending on mode.
- Quick options to remove all and add bots.
- Quick options to keep bots away until needed even after map changes and bring them back later.
- Voting to turn bots on and off and mode to restore bots after all players are gone from a
successful vote off.

===========================
Notes
===========================
- Tested on an AMXMODX v1.8 Linux server and v1.76 Windows server as well.
- Immediate changes to some options will not take effect until map change and require the
configuration be saved.
- On first use, writes over shrikebot.cfg or per map shrikebot.cfg depending on mode.
- Assumes shrikebot.cfg is in the default directory of "dod\shrikebot". If you put it somewhere
else, just change the data for the sc_shrike_config array. Base dir is dod. This is the same
for per map configs but assumes they are located in "dod\shrikebot\config".
- To make sure the shrikebot.cfg location info is correct, make sure the sc_show_changes cvar is
on and either use the menu option Show Shrike Config or console command amx_sc_show_config. If
nothing shows up in the chat console then the shrikebot.cfg location is incorrect. You can also
use this to verify that options are correctly saved. If they do not update the file may be read
only (Windows) or incorrect permissions are set (Linux).
- For View Clan and View Skill, you can't have both. It's either one or the other.
- Bot fun shield mode is now usable but I can't seem to see any effect besides a glowing,
floating rat. By default, the precaching of the model is commented out. Do not use the option
without the model or the server will crash. For those without the model, you can find it on
your HL1 CD or by searching on Google. It goes in the "dod\models folder" on your server and
your computer as well. To enabe this feature, uncomment the "Precache resources" section and
also the global variable "nill".
- To change the access flag for the menu, be sure to change all of the access flages on each of
the listings in plugin init under the heading "Register menus".
- You can make changes to the shrikebot.cfg file after it has been created by Shrike Bot
Controller but do not change the structure. IE swapping options to different lines. It works by
reading/writing options in a certain order.
- If set to use base shrikebot.cfg, it will automatically delete per map configs to avoid
settings conflicts.
- If set to use per map shrikebot.cfg files, will create them if not already created.
- After changing shrikebot.cfg type to use, you will need to change the map for the changes to
properly take effect. Notice that if you have lots of maps, your server could take a temporary
hit to resources until the operation is completed.

===========================
Console Commands
===========================
amx_shrike_control
- Opens Shrike Bot Control menu. Default access level is ADMIN_CVAR.

amx_sc_kick
- Quick kicks all bots. Simplifies the task of kicking the bots without having to enter the menu.
Default access level is ADMIN_VOTE.

amx_sc_add | x
- Quick adds x amount of bots. Default access level is ADMIN_VOTE.

amx_sc_remove_bots
- Gets rid of bots even between map changes until menu option Bring Bots Back is used or console
command sc_bring_bots_back is used. Changes stay even on map change. Default access level is
ADMIN_VOTE.

amx_sc_bring_bots_back
- Bring bots back to set amount in cvar sc_return_bots. Changes stay even on map change. Default
access level is ADMIN_VOTE.

amx_sc_show_config
- Shows current shrikebot.cfg settings in console. Default access level is ADMIN_VOTE.

amx_sc_vote_on
- Starts vote to turn bots on. Uses value from shrikebot.cfg. Default access level is ADMIN_VOTE.

amx_sc_vote_off
- Starts vote to turn bots off. Uses value from shrikebot.cfg. Default access level is ADMIN_VOTE.

amx_sc_change_cfg
- Changes which shrikebot.cfg to use. Base or per map. Alternates mode on use. Default is base.
Default access level is ADMIN_RCON.

===========================
CVARS
===========================

sc_show_changes | 0 = off | 1 = on
- Gives confirmation of changes on screen. Default on.

sc_return_bots
- Sets the amount of bots to have return to the server when menu option Bring Bots Back is used
or console command sc_bring_bots_back is used. Default 8.

sc_maps_list | 0 = mapcycle.txt | 1 = DeagsMapManager mapchoice.ini
- Allows use of default mapcycle.txt or DeagsMapManager mapchoice.ini. This option is for use
with per map configs. Maps that are not listed in either file (depending on mode) will not get
a custom shrikebot.cfg. Be sure to have have all the maps you want listed. Supports up to 255
maps which should be enough but if not, change the first amount for sc_mapcycle or sc_mapchoice
under "Declare global variables and values".

sc_vote_on | 0 = off | 1 = on
- Enables or disables voting to turn bots on. Default on.

sc_vote_off | 0 = off | 1 = on
- Enables or disables voting to turn bots off. Default on.

sc_vote_restore | 0 = off | 1 = on
- Enables or disables restoring of bots when all real players leave. Sets them according to the
max_bots value from shrikebot.cfg. Default on.

sc_vote_time | x
- Specifies how long players have until vote ends. Enter intergers only. 1 = one second etc..
Default 10 seconds

===========================
Installation
===========================
- Copy syns_shrike_control.amxx into your addons\amxmodx\plugins folder
- Add syns_shrike_control.amxx to the bottom of your addons\amxmodx\configs\plugins.ini
- Change the map or restart your server to start using the plugin!

===========================
Installing Into amxmodmenu
===========================
- Add this line >
amx_addmenuitem "Shrike Bot Menu" "amx_shrike_control" "hu" "Syn's Shrikebot Controller"
to your amxmodx\configs\custommenuitems.cfg

===========================
Binding Keys
===========================
- To bind certain options like the menu or quick kick/add all you have to do is bind them to a
key. IE say you want your p key to quick kick all bots. Go into your console and type:
bind p amx_shrike_control_kick
then hit enter and now your p key will quick kick all bots.

meathead
01-17-2008, 03:10 AM
Wow. This could be very nice. Putting it on my server to find out.
Excellent documentation!

diamond-optic
01-17-2008, 03:57 AM
sounds good ill take a look at this tomorrow :)

jondoe
01-18-2008, 03:08 AM
Sweet dude, Finaly a full featured SB menu.
I will install post haste and report back.

{DwP} 325th ABN
01-18-2008, 09:55 PM
me to im in ive never been able to get the menu working

jondoe
01-18-2008, 11:45 PM
When i compile it locally using 176.c, I get the warning "symbol is never used Nill" It still compiles though. I'm testing it now.

dodsynthetic
01-19-2008, 01:39 AM
Yeah, nill is used for the precache of bigrat.mdl, I should have commented it out also but won't cause any issues.

dodsynthetic
01-19-2008, 01:41 AM
DwP are you down with poon? If so I know heero lol. If your having problems getting it to work let me know exactly what you have done and I'll help you out.

jondoe
01-19-2008, 01:44 AM
Do not use this plugin yet it has a few bugs of which i am documenting as we speak. It will completely over write your shrikebot.cfg. i'll post back ASAP about what it does.
it's a great plugin , it just needs much more testing i think.
It also seems to conflict with Orbits shrikebot.amxx plugin.

[EDIT]
Well i guess its just that it overwrote my shrikebot.cfg that everything was wacked out. So other then the fact it over writes the Shrikebot.cfg which i dont see anywere here in the explanation of the plugin, it seems like a really nice plugin.

[EDIT2]
Also if i kick all of the bots the server crashes on the next map change. I think this has something to do with SB not being able to execute some commands until map change.

This is nice work dodsynthetic and i'm sure it will be the best shrikebot menu to use. I just have to get it figured out for linux.

Well i tested it out on a winblows box and it runs flawlessly.
Everything on the menu works great. By far the most comprehensive SB tool there is. Thanks for coding it.

meathead
01-19-2008, 03:30 AM
Keep this going. I really need something like this for my linux server!

dodsynthetic
01-19-2008, 09:31 AM
I should have put in the notes that it takes over the shrikebot.cfg. I will be sure to add that in so people are aware of it. For the problem of server crashing, did you use the kick all bots or change the max bots to 0? I do know of an issue on Linux servers with the kick_all_bots (shrike command for kick all on x real players). If used via rcon it will crash the server or result in a no spawn situation which is why I only had it update the array for saving to the shrikebot.cfg only.

{DwP} 325th ABN
01-19-2008, 08:12 PM
yeah it is the poon, and heero love him one of my crazys we have alot of fun. ill look into this with all the new info and let you know if i cant figure it

jondoe
01-19-2008, 08:15 PM
I should have put in the notes that it takes over the shrikebot.cfg. I will be sure to add that in so people are aware of it. For the problem of server crashing, did you use the kick all bots or change the max bots to 0? I do know of an issue on Linux servers with the kick_all_bots (shrike command for kick all on x real players). If used via rcon it will crash the server or result in a no spawn situation which is why I only had it update the array for saving to the shrikebot.cfg only.


Yea, Its the kick all bots command that made the server crash upon the very next map change but i think thats just shrikebot. If you just use the max/min_bots command the bots come and go and no crashes.

After i deleted my current shrikebot config and then loaded up you're plugin and edited the new config with my current cfg settings, It worked great. I think the main thing i'll use it for is just adding and removing the bots while ingame. Very nice...

jondoe
01-28-2008, 10:35 AM
The minbots is not working correctly for me.

what i did: used the control menu ingame to set minbots to 0 then saved the config.
Then changed the map. After changing the map the minbots setting was set to 0 but the bots still come back after issuing the kick all bots command.

Other things i noticed:

#1: No option for kicking all bots when 16 humans in server.
#2: No back 1level option on reaction time but one on skill setting.

It would be nice to have a back one level option for all commands because i often issue many changes at a time and with no back option, I have to reaccess the menu again and go back to were i was.

Also, On menu page 2 i think it is, Theres an option to go back buts it's labled 10.
the last time i checked there was no 10 key on my keyboard.
Has this changed or am i just growing dumber in my old age.

Here is what my SB.cfg looks like.


#SynSC
bot_chat_drop_percent 0
bot_chat_lower_percent 0
bot_chat_percent 0
bot_chat_swap_percent 0
bot_chat_tag_percent 0
bot_logo_percent 0
bot_reaction_time 3
bot_skill 6
bot_taunt_percent 0
bot_team_balance on
bot_whine_percent 0
botdontshoot off
funmode 0
min_bots 0
max_bots 18
kick_all_bots 14
#powerup off
view_clan off
view_skill off

dodsynthetic
01-29-2008, 02:24 AM
Interesting, there is back one level for every option and I'm not sure why in the main menu it would show 10 as an option. That shouldn't happen at all. What version of amxmodx are you running? On my pub server I run 1.8 and my home test server it's 1.76 and neither have this problem. It could be conflicting with another plugin. As for the issue of kick all on 16, I just put in a general set of values to set it to but will add a more extensive selection. Oh and for the min bots, you actually want to set maxbots to 0 to remove them all. Shrike Bot documentation is quite horrible and they have conflicting information on their website.

jondoe
01-29-2008, 04:25 AM
Oh and for the min bots, you actually want to set maxbots to 0 to remove them all.

So your saying the kick all bots feature doesn't work ?

#1: I can remove the bots with the max_bots 0 command through your menu or by issuing the Rcon shr "max_bots 0" but all my admins have to use the menu because they dont have rcon. Is there another command that they can just bind to a key in order to not always have to use the menu ?

With Orbits shrikebot.amxx we used "amx_maxbots 0" bound to a key.

This leads to my biggest problem with both plugins.

#2: If i want to kick all of the bots instantly, I have to use the kick all bots command or else if i use the amx_maxbots 0 command all of the bots still join until the maxbots # is met and then they all start to leave which takes about a full 60 seconds and if i use the kick all bots command with your plugin then the bots just rejoin the server.

I'm running fedora core 6 , amxx 1.76c and metamod 1.19p31.
I have to use MM 1.19p31 or the game server segfaults upon start up.
Thats the only MM version that will work. i have tested this exstensivly.

dodsynthetic
01-29-2008, 03:14 PM
Kill all bots will kick all bots but if max bots is set to anything above 0 they will just come right back. This is how they made it unfortunately. Best thing to do is set max bots to 0 and then kick all for a quick clear out. What I'm going to do is put in a quick kick out option that will do this automatically. I will put it in the menu and it will be a console command that can be bound to a key.

{DwP} 325th ABN
01-29-2008, 08:50 PM
figured it out never mind this post

jondoe
01-30-2008, 02:47 AM
Kill all bots will kick all bots but if max bots is set to anything above 0 they will just come right back. This is how they made it unfortunately. Best thing to do is set max bots to 0 and then kick all for a quick clear out. What I'm going to do is put in a quick kick out option that will do this automatically. I will put it in the menu and it will be a console command that can be bound to a key.

You meant "kick all bots" will kick all bots right , Not "kill all bots"

The quick kick option will be exxxxxcellent (does my best Mr Burns imitation). LOL
I have just been slaying all the bots upon a new round.

dodsynthetic
01-30-2008, 06:15 AM
Yeah, sorry I meant kick all. I looked at that pic and I would guess 10 is the 0 key. Give that a shot and see if it works. I'll have the updated version up in the next few hours probably.

{DwP} 325th ABN
01-31-2008, 12:28 AM
ok got this running is sweet thanks synthetic only thing ive seen since you have redone it is the code on the explain reads

Installation
===========================
- Copy syns_no_scope_notifier.amxx into your addons\amxmodx\plugins folder
- Add syns_no_scope_notifier.amxx to the bottom of your addons\amxmodx\configs\plugins.ini
- Change the map or restart your server to start using the plugin!


im sure no scope is just a miss thanks again bud nice job

dodsynthetic
01-31-2008, 01:13 AM
LOL whoops cut n paste error. I'll fix that!

{DwP} 325th ABN
01-31-2008, 02:48 AM
is there anyway to make the changes stay seems like if i kick the bots or make bots to 0 they come back every map. the way we like to run it is take them out untill the night is over then put them back in. not having to deal with it every map. just wondering, and going thru ftp i can change like max bots to 12 and it reverts back to 8. just wondering also the save configs does not come up unless you work thru the menu. should you have to save configs to save to server. im thinking is why when i pick 0 bots i cannot save to config thru menu and thus keep coming back every map. thanks for your help syn

dodsynthetic
01-31-2008, 06:00 AM
is there anyway to make the changes stay seems like if i kick the bots or make bots to 0 they come back every map. the way we like to run it is take them out untill the night is over then put them back in. not having to deal with it every map. just wondering, and going thru ftp i can change like max bots to 12 and it reverts back to 8. just wondering also the save configs does not come up unless you work thru the menu. should you have to save configs to save to server. im thinking is why when i pick 0 bots i cannot save to config thru menu and thus keep coming back every map. thanks for your help syn

Yeah, to get certain things like max_bots to stay on map change, you have to save the config. Basically you would go set max bots to 0 then select back one level which takes you to the main menu then go over to save config. If you want, I can add a bindable console command to make them stay off until you decide to turn them back on with the amx_shrike_control_add console command or equivalent menu option. This would alleviate the steps needed to traverse the menu for keeping them off.

jondoe
01-31-2008, 11:09 AM
is there anyway to make the changes stay seems like if i kick the bots or make bots to 0 they come back every map. the way we like to run it is take them out untill the night is over then put them back in. not having to deal with it every map. just wondering, and going thru ftp i can change like max bots to 12 and it reverts back to 8. just wondering also the save configs does not come up unless you work thru the menu. should you have to save configs to save to server. im thinking is why when i pick 0 bots i cannot save to config thru menu and thus keep coming back every map. thanks for your help syn


I've gone back to using Orbits plugin simply because its easier to use.
What i did was comment out the maxbots cvar in the shrikebot.cfg and then add map specific config files to the dod folder and added the following SB commands.

amx_maxbots 18
shr "bot_reaction_time 5"
shr "bot_skill 5"

This adds 18 bots at the start of every map and then i just bind a key to the following to kick all the bots at once. shr "kick_all". I have so many admins in the server during prime time they can manage the bots very effectivly.

I dont think Syns plugin will work correcty with linux and amxx 1.76c at the moment and i dont intend on upgrading amxx any time soon.

{DwP} 325th ABN
01-31-2008, 03:52 PM
that would make it nice just a button or number to take them out until you are ready to put them back in. so maybe a button for both, that would make it easier to take out for good and bring them back for good.

dodsynthetic
01-31-2008, 06:18 PM
I've gone back to using Orbits plugin simply because its easier to use.
What i did was comment out the maxbots cvar in the shrikebot.cfg and then add map specific config files to the dod folder and added the following SB commands.

amx_maxbots 18
shr "bot_reaction_time 5"
shr "bot_skill 5"

This adds 18 bots at the start of every map and then i just bind a key to the following to kick all the bots at once. shr "kick_all". I have so many admins in the server during prime time they can manage the bots very effectivly.

I dont think Syns plugin will work correcty with linux and amxx 1.76c at the moment and i dont intend on upgrading amxx any time soon.

I have had people test it and it does work perfectly on linux 1.76c servers. Go with what ever floats your boat though. :D

jondoe
02-01-2008, 12:30 AM
I have had people test it and it does work perfectly on linux 1.76c servers. Go with what ever floats your boat though. :D

It does ? , Hmm then im not sure whats going on, Because after commenting you're plugin out and adding back Orbits, I had a bitch of a time gettting more then 8 bots in my server and your plugin wasn't even running any more.

The only way i could finally fix that was to go back to using the per map configs in the dod folder. No mater what i put in the shrikebot.cfg , It would not work.

I had to reinstall the shrikebot.so file as well. I guess the moral of the story here is, dont fix what ain't broke. I guess Orbits plugin just "trips my trigger" in a way that your does not. :)

{DwP} 325th ABN
02-01-2008, 02:00 AM
well ill have to say the menu needs some work half of the numbers dont even work. but im in it with ya syn you can get it up im sure. i had the same problem taking your out and going back then said what the hell. im in for the long haul, damn shrike menu never worked anyways at least your does. still needs some work but ill give you some feed back fo sure

dodsynthetic
02-01-2008, 02:31 AM
well ill have to say the menu needs some work half of the numbers dont even work. but im in it with ya syn you can get it up im sure. i had the same problem taking your out and going back then said what the hell. im in for the long haul, damn shrike menu never worked anyways at least your does. still needs some work but ill give you some feed back fo sure

I appreciate the feedback on it's operation. :D Which numbers don't work? Some of the options require saving the config and a map change before they take effect. This is due to the way ShrikeBot was made. Also did this appear with the new version I released? I was sure to double check all the options on both my servers but if there is a bug I'm not seeing, I'd like to nail it. Regarding the original menu built into shrike, it is only for listen servers which is why I decided to make this. I'm tempted to see if I could get the source from cpl shrike to continue where him and his team left off 3 years ago or just make my own bot mod.

{DwP} 325th ABN
02-01-2008, 02:35 AM
well the one i see is i add max bots to 12 then go to save and they dont come in on map change. dont know why but tonight i am really getting into the menu and ill post more so we can figure it all out. because your onto somthing good. that and the other thing for some reason i cant get the when x player come in bots leave going. dont know if its me or not still trying

dodsynthetic
02-01-2008, 02:53 AM
It does ? , Hmm then im not sure whats going on, Because after commenting you're plugin out and adding back Orbits, I had a bitch of a time gettting more then 8 bots in my server and your plugin wasn't even running any more.

The only way i could finally fix that was to go back to using the per map configs in the dod folder. No mater what i put in the shrikebot.cfg , It would not work.

I had to reinstall the shrikebot.so file as well. I guess the moral of the story here is, dont fix what ain't broke. I guess Orbits plugin just "trips my trigger" in a way that your does not. :)

Interesting, even with max_bots set in the shrike config from my plugin, orbit's max bots option should automatically override it since it is one of the commands that can be issued on a running server. While I don't think it will make a difference, completely blank the config or copy over the original from the install to see if your able to reuse the base config instead of the per map configs which are a pita. Oh and I also have a question, are you running this on a dedicated HLDS server or listen server from the DoD menu? I'd like to find out as much as I can regarding issues with Shrike Bot. I haven't tested this on a listen server and there could be additional problems I'm unaware of.

dodsynthetic
02-01-2008, 02:55 AM
well the one i see is i add max bots to 12 then go to save and they dont come in on map change. dont know why but tonight i am really getting into the menu and ill post more so we can figure it all out. because your onto somthing good. that and the other thing for some reason i cant get the when x player come in bots leave going. dont know if its me or not still trying

Thanks, I'm going to check this out right now.

jondoe
02-01-2008, 03:17 AM
damn shrike menu never worked anyways at least your does.

it never was supposed to work, its for listen servers only.
It wont work for dedicated servers. Thats why i was so stoked when Syn created his.


@ Synthetic:

HLDS, FC6, MM1.19p31, amxx 1.76c, dual 3gig zeon with 2gig of ram on a 100MB uplink. And just for kicks >> $149 a month for the box. great price huh.



While I don't think it will make a difference, completely blank the config or copy over the original from the install to see if your able to reuse the base config instead of the per map configs which are a pita.

Yea thats the first thing i tried and i only ran both the plugins at the same time, the very first time i installed yours and then i removed Orbits and wiped the shrikebot.cfg clean restarted the server with only your plugin running and let it edit the shrikebot.cfg and it seemed to run well but with those few problems.

dodsynthetic
02-01-2008, 09:40 AM
New version up. I found a bug with the saved options. Thank you both for your feedback. :D Other stuff added too like keeping bots away until wanted again as requested by ABN.

jondoe
02-01-2008, 02:24 PM
I have a very kool suggestion for this plugin or maybe in addition to it.

I would like to give my regulars the ability to vote the bots off an on the server when needed. I know this can be done with other plugins because i have dont it with sucess. the problem with the plugin i use to do it, Is that clients can come in and vote the bots off the server and when they leave the bots dont come back.

It would really be nice if you could add a bot voting option that would check every minute or so, if there is humans on the server and add bots back to the server based on the shrikebot.cfg or per map configs,ini,txt or whatever.

This is about the only thing i can think of at this time that would complete this plugin.

{DwP} 325th ABN
02-01-2008, 02:35 PM
awsome sysn i am on it yes yes let you know how it goes. thanks for pushing through it and the hard work.

{DwP} 325th ABN
02-01-2008, 03:04 PM
ok tested new version out, bamm you hit it like a big dog sysn. love it exactley what i needed. the new option buttons for kick for good and bring back work great. they are on the spot without map change,which is killer those where the main ones i needed. the add a bot didint work for me but could just be me. i gives a damn you got what i need for a menu all the rest of it can be set in server config. thanks man been waiting for this one for along time. rock on woo hoo

dodsynthetic
02-01-2008, 07:05 PM
I have a very kool suggestion for this plugin or maybe in addition to it.

I would like to give my regulars the ability to vote the bots off an on the server when needed. I know this can be done with other plugins because i have dont it with sucess. the problem with the plugin i use to do it, Is that clients can come in and vote the bots off the server and when they leave the bots dont come back.

It would really be nice if you could add a bot voting option that would check every minute or so, if there is humans on the server and add bots back to the server based on the shrikebot.cfg or per map configs,ini,txt or whatever.

This is about the only thing i can think of at this time that would complete this plugin.

That won't be a problem at all. :) I'll have to see how per map configs are setup and see if there is a way that it could easily be done, if not it will have to be based from the shrikebot.cfg

dodsynthetic
02-01-2008, 07:11 PM
ok tested new version out, bamm you hit it like a big dog sysn. love it exactley what i needed. the new option buttons for kick for good and bring back work great. they are on the spot without map change,which is killer those where the main ones i needed. the add a bot didint work for me but could just be me. i gives a damn you got what i need for a menu all the rest of it can be set in server config. thanks man been waiting for this one for along time. rock on woo hoo

I believe max_bots has to be off (set to 32/disable for this) for it to allow you to add bots without them disappearing. I'll double check it though since I did make additions to the menu.

dodsynthetic
02-01-2008, 11:07 PM
Another thing I just found out with ShrikeBot today is that if you have per map configs, they will take control over the base shrikebot.cfg making changes with this plugin not take effect. This could be why things weren't working correctly johdoe. I'm almost partially done with the new version which has the voting system you requested and I will also be putting options in to use the base shrikebot.cfg or with per map configs. I should have it done later tonight.

dodsynthetic
02-04-2008, 12:35 PM
Sorry for the delay, new version is up. :D Let me know if you find any issues.

narcussist
02-18-2008, 12:40 PM
I got this installed on the server, used the menu to kick all bots, then when maps changed everyone left, so I menued in, add bots back, and they didnt rejoin, so I went back into the menu, and reset my max bots, and readd bots, still nothing, so I switched maps again, and bots would join till someone came in and they all left.

not sure if that is understandable or not, just thought I would try to explain it the best I could.

Basically all I am really looking for is a vote to pop up when a player joins at the initial map change to ask weather or not to kick all bots.

dodsynthetic
02-18-2008, 10:14 PM
By default the kick bots on x real players is 2. If two people come in, the bots will leave or won't show up regardless of any setting until this is set higher, disabled or people leave. You can check all the settings to make sure they are as you want by using the menu item show shrike config. I think I'm going to do a write up as to how all of ShrikeBots command line options and config settings work and interact with each other. The ShrikeBot website documentation leaves something to be desired. As for putting up an automatic vote on map change option, I'll be sure to add that in.

narcussist
02-19-2008, 12:33 AM
cool, good work so far with what your doing, and good luck with this project, I do see some real potential in this, and as a Shrikebot person myself (one of the original waypointers) I would love to see this work, and go real far.

MOSdod
05-18-2010, 12:24 AM
can I use this for strumbot also?

dodsynthetic
05-18-2010, 02:33 AM
Unfortunately, their control commands are probably way different so this won't work. Personally, I think you should switch to Shrike bots. That could be the cause of your server reg issue. My old DoD stomping grounds, Frenchy's Pit is running Sturm now and they have the exact same kind of reg problems.

sgt.scared
05-20-2010, 05:48 PM
Hey guys i need some waypoints for dod_dust_2006. can you guys help me please.