PDA

View Full Version : amx_shrikebot


orbit
10-01-2006, 09:06 PM
This plugin will allow users to control Shrikebots. This is my first amx script, so if there are any coding improvements that can be made, feel free to suggest them.

ADMIN_KICK priv needed


amx_addbot - <Team 1-2> <Class 1-8>
amx_botskill - <1-6> Adjust the bots skill 1=best
amx_botbal - <0/1> Turn on/off bot auto team balance
amx_botdontshoot - <0/1> Turn on/off bots ability to shoot
amx_botfunmode - <0/1> Turn on/off bot funmode
amx_kickbots - <n> Number of humans before all bots kicked
amx_maxbots - <n> Set max number of bots, -1 to add bots manually
amx_botreaction - <0/1/2/3> Set the bot's reaction speed
amx_botviewskill - <0/1> Turn on/off bots view skill
amx_botviewclan - <0/1> Turn on/off bots view clan
amx_botslay - Slay all bots"

diamond-optic
10-01-2006, 09:12 PM
its a good idea to list the commands in the thread as well.. since many ppl dont know how to find them in the sma file

PenDragon
10-02-2006, 01:09 PM
very good job Orbit. Thank you.

diamond-optic
10-02-2006, 02:02 PM
does the bots dont shoot work mid game??

i always thought you had to have that set on mapchange and couldnt change it during the game...

orbit
10-02-2006, 09:08 PM
I had some problems with the shrikebot command line. They simply don't work (a bug in shrikebot?). The botdontshoot may be one of those. I've never used it (and why would you? lol).

If it doesn't work, I'll just remove it (like I did with the chat, taunt and whine). I primarily wanted this so that I can add or remove bots on the fly, without having to give people rcon access.

I also added Easy Custom Votes, so that pubs can vote_nobots (kicks all bots), vote_bots (adds up to 10 bots), vote_morebots (adds up to 20 bots). This way, if there is one person on the server at 4am, he can at least add or kick bots without an admin.

I have it ported to TFC foxbots as well (since my guild runs one of those too). It wouldn't take much to port to Sturmbot either. I don't run Sturmbot anymore, after the para maps broke after one of the steam updates.

-O-

HoTsHoT
10-04-2006, 05:06 PM
worked for what i wanted to do. I changed maxbots to 0, kicked all the bots and they didnt rejoin until the map was changed

Zaclegend
12-28-2006, 12:16 AM
wtf how do i install it

diamond-optic
12-28-2006, 12:32 AM
same as all other plugins...


1st compile the sma, either locally (http://www.dodplugins.net/forums/showthread.php?t=50) or use the online compiler (http://www.dodplugins.net/pages/compiler.php)

then put the *.amxx file you get into your servers addons/amxmodx/plugins/ directory..

then after that in the addons/amxmodx/configs/ directory, open the plugins.ini file and add the plugin file name (including the .amxx extension) to the bottom. of course you need save the file too...

then just change the map (or reboot whichever you want) and it should load...

Box Cutter
12-28-2006, 12:50 AM
wtf how do i install it

I don't think anyone should be wtf'ing on their very first post. If you are unfamiliar with how to install plugins you might want to read around on here or the AMXX forums first, or atleast ask properly. = /

TigerMan4
12-28-2006, 10:06 AM
i`m going to install this tonight , and give it a try.

i run shrikebot and can never get the supplied menu to appear ingame , and have to use rcon to load bots and get rid of bots in game , its a pain in the butt.

i've been using HLSW to control the bots when I`m playing , still a pain.

I hope this plugin helps.

diamond-optic
12-28-2006, 11:38 AM
i believe the shrikebot menu's only show up when 'your the server' so to speak.. as in running a lan... as ive never heard one person say that it works for them in a ded. server

TigerMan4
12-28-2006, 10:12 PM
I miss Jowo :(

Had he still been here to finish Sturmbot 1.7 . . . :(

whitewolf
01-08-2007, 07:56 AM
Sup strum, Orbit

So you added the easy commands to the sma.. Hmm.. Ill have to play around with this abit. lol.

Stixsmaster
02-18-2007, 06:00 AM
I know how to get the original shrikebots menu to show up without this mod and it works 100&#37; and I love it...if you need to know how to get it to work just click the link to goto my site and if you join it, in the downloads area will be a section to shrikebots and go there and search for the file called "SB + AMXMODX" and download it...it will include a readme as to where to extract it and well enjoy...

---Stixsmaster

orbit
02-18-2007, 08:33 PM
Unless I'm mistaken, the menu only shows up when you run a local server. It also doesn't work for those running linux servers.

-O-

Stixsmaster
02-18-2007, 11:48 PM
not sure about it only working for local servers only that may be other bots like the CS bots but yea I am going to back you up on the fact that it does not work on linux servers.

---Stixsmaster

P.S. though there it is for those who would like to use it....

winice
03-03-2007, 02:03 PM
don't running on my server the commands run but i don't see bots and i can't create it ! is there others folders to add for running ???


ps : sorry for my bad english !!!

{SR} *Raggy*
03-03-2007, 02:29 PM
Do you have ShrikeBot installed?

winice
03-03-2007, 07:54 PM
no where i can find shrikebot and how can i install it ?

{SR} *Raggy*
03-04-2007, 10:18 AM
http://www.xs4all.nl/~jasp/shrikebot/ would be the place to search

winice
03-04-2007, 01:51 PM
is there an installation in french for this plugin ? because i'm not very heavy in english and i d'ont understand wher i put the file and how its run !:!!!

thanks

Punisher
04-01-2007, 04:08 PM
this is the error i get

[AMXX] Shrikebot Error <Team 1-2> <Class 1-8>

=|[76AD]|= TatsuSaisei
04-01-2007, 07:01 PM
this is the error i get
[AMXX] Shrikebot Error <Team 1-2> <Class 1-8>


because you need to pass to numbers with the command in order for it to work....


amx_addbot 1 7

what you probably did was use the command missing one of the 2 numbers... the command REQUIRES that you pass two numbers with the command in order for it to work.. the first number is for the team and the second number is for a class....

winice
05-12-2007, 03:25 PM
i have installed shrikebot in my serv but i dont have bot why is the problem ?

{SR} *Raggy*
05-12-2007, 05:41 PM
Did you try add one with the first command?

winice
05-13-2007, 07:20 AM
i've a problem the bots are not kicked but all command run why ?

orbit
05-13-2007, 07:32 PM
What command did you run? To kick all bots, you need to use:

amx_maxbots 0

-O-

DFHServer
05-18-2007, 04:04 AM
FYI on why

"i run shrikebot and can never get the supplied menu to appear ingame , and have to use rcon to load bots and get rid of bots in game , its a pain in the butt."

the in-game menu only works on listen-servers.

junglist420
06-01-2007, 09:24 PM
hi, i downloaded the sma, compiled it etc etc, added it to plugins successfully..and the in game console commands..i.e. "amx_addbot 1 1" seem to be working, except there arent any bots being added..are there commands or cvars i need to add to my server files??

thanks :)

orbit
06-01-2007, 10:48 PM
hi, i downloaded the sma, compiled it etc etc, added it to plugins successfully..and the in game console commands..i.e. "amx_addbot 1 1" seem to be working, except there arent any bots being added..are there commands or cvars i need to add to my server files??

thanks :)

If the bots are working, try doing another command such as amx_maxbots 0, and amx_maxbots 10 (should kick all bots, then add 10 bots)

If those commands work, then the plugin is working. You won't be able to add any bots if you're already at maxbots, or your kickbots limit has already been exceeded. Best to test on a closed server, set amx_maxbots 0 (kick all) amx_maxbots -1 (disable maxbots setting), then add one at a time.

-O-

junglist420
06-01-2007, 11:51 PM
k, its not working for wtvr reason..maybe im doing something wrong? i'll list the steps i took to install the program, and the commands i use in the in-game console(exactly how they are put into the console).

clicked on amx_shrikbot.sma, downloaded to my gameservers/hlds/dod folder.
then loaded dodplugins.net back up, added it to the compiler..converted it to .amxx, and saved that file into my gameservers/hlds/dod/addons/amxmodx/plugins folder.

i then went to gameservers/hlds/dod/addons/amxmodx/configs/plugins.ini and added amx_shrikebot.1.76c.amxx, then saved.

there are no commands or cvars you put on the post, so i didnt add any..i then went into my server, rcon quit(restarted it), loaded back in and used the command amx_addbot 1 1..nothing happened..no error message, nothing..it just enters into the console.

so then i tried your way:
"If the bots are working, try doing another command such as amx_maxbots 0, and amx_maxbots 10 (should kick all bots, then add 10 bots)"

"If those commands work, then the plugin is working. You won't be able to add any bots if you're already at maxbots, or your kickbots limit has already been exceeded. Best to test on a closed server, set amx_maxbots 0 (kick all) amx_maxbots -1 (disable maxbots setting), then add one at a time."

"-O-"

it didnt kick any bots because there were none to be kicked..and amx_maxbots 10 did nothing..it said in the console:
[AMXX] Shrikebot limit adjusted to 10

i then used amx_maxbots -1, the command worked..so i tried amx_addbot 1 1 and nothing happened..just entered into the console..any ideas? if there are server commands or cvars i am missing please tell me :)

thanks a lot

diamond-optic
06-02-2007, 01:13 AM
no offense intended with this possible obvious question.. but just cause its happened before.. do the bots work normally? like without using the plugin?

=|[76AD]|= TatsuSaisei
06-02-2007, 03:36 AM
no offense intended with this possible obvious question.. but just cause its happened before.. do the bots work normally? like without using the plugin?
and forgive the implications.. but do you actually have bots installed in the first place ? This plugin only provides "control" of the bots ... doesn't actually "add" the ability to have bots on the server...

again.. I am not implying anything just following up with an "obvious" question...

junglist420
06-04-2007, 03:52 AM
no need to be mean, i guess i dont have them installed, but then again ive never been told how ;)

=|[76AD]|= TatsuSaisei
06-04-2007, 07:45 AM
no need to be mean, i guess i dont have them installed, but then again ive never been told how ;)

Noone was trying to be mean, just took a lucky guess and got it right ... but search the forum, I believe there are atleast 2 posts that describe where to find the bot package, and then a brief tut on how to install them ... none of us have been "told" how to do anything ... we stumbled through the same way you are, we just did it many many many months ago (years for some of us) so we know what it feels like to be in that boat... noone was trying to put you down... just didn't want to jump into "helping" before getting the "simple" stuff out of the way...

jason
06-05-2007, 09:50 PM
Post I made while back on the shrikebot forums, may help.

http://p066.ezboard.com/Linux-Dedicated-Server-Crashes/fshrikebotfrm15.showMessage?topicID=35.topic

jondoe
08-14-2007, 01:32 AM
Has anybody ever had this plugin crash their server because it's crashing mine. There was 12 players in my server and two of them were bots.
I then typed out the following commands amx_maxbots 0 & amx_kickbots 2.
The two bots were kicked and then upon the next map change, The server crashed. After the crash the server ran fine and all the bots rejoined.

I'm getting this error when it crashes after having kicked the bots.
"FATAL ERROR (shutting down): models/player.mdl has been modified since starting the engine. Consider running system diagnostics to check for faulty hardware".

running FC5 OS , hlds stand alone dedicated, Shrikebot libstdc++.so.6 patch.

shrikebot.cfg

addbot 1 1 2
addbot 2 1 2
addbot 1 4 2
addbot 2 2 2
addbot 1 2 3
addbot 2 4 3
addbot 1 1 2
addbot 2 5 2
addbot 1 2 2
addbot 2 4 2
addbot 1 4 3
addbot 2 6 3
addbot 1 4 2
addbot 2 2 2

bot_team_balance on
max_bots 14
min_bots 0

jondoe
10-01-2007, 11:00 PM
Man shrikebot has some very strange bugs in it but i have found the problem that was making my FC5 server crash.

The current version of shrikebot is apparently incompatible with my version of fedora (FC5) so i just had to install the compat-libstdc++ files in order to be able to use the shrikebot.amxx plugin ingame.

You can do this by typing the following command in SSH "yum install compat-lib*" This will install the libstdc++.so.5 and all of the others as well (just incase) LOL. Then just make sure to use the current version of shrikebot, not the patched one.

I can now admin the bots while I'm ingame but if i use the amx_maxbots command in HLSW using Rcon the server still crashes on the spot. Just an FYI.

It's nice to be able to finaly kick the bots though.

TigerMan4
10-16-2007, 08:12 PM
I dont know why you guys have trouble with server crashes and HLSW to control shirkebots,

I do it all the time.

I rcon them to 22 or 0 or whatever in mid game and the server doesnt crash for me.

I run a linux box though , maybe that helps.

I had a windows based box and ran shrikebot and it crashed 10xs a day at least.

and Sturmbot 1.7 was worse, the only way I could get Sturmbot 1.7b to run on my windows server was to run the server insecure....if I added VAC , it would crash consistantly and I couldnt restart it.

Equinox
12-20-2007, 04:29 AM
works great, thanks!!!

meathead
01-12-2008, 01:07 PM
Besides the 42 on the shrikebot website, anybody have or know where to find more? I just finished one for 2pillboxes, if anybody needs one.
Meathead

Tabor
04-17-2008, 07:12 AM
http://www.italiatela.com/portal.php

rustyt00lman
08-10-2008, 12:29 PM
i have installed it and it is running but cant get the bots to spawn

diamond-optic
08-10-2008, 01:08 PM
i have installed it and it is running but cant get the bots to spawn


well did you have bots running before installing this?

aero_cz
08-31-2008, 06:23 AM
amx_shrikebot works fine..thx....I like amx_botslay :D

Drek
11-30-2008, 10:42 AM
Don't know if the plugin author is still supporting this plugin, but if a way could be found to get this plugin to fix the broken ShrikeBot class limits, that would be amazing.

Dr.G
11-30-2008, 11:01 AM
Take a look at diamond-optic's site avamods.com - look under download i think its called, and look for botmod

Drek
11-30-2008, 01:31 PM
Oh baby, thanks so much, I've been wanting something like this for years... literally...

I limit classes pretty severely on my clan server and it's always been annoying that they bots were preventing human players from joining limited classes. This is terrific! :D

Drek
11-30-2008, 02:23 PM
Gah, after all that excitement, I can't get it to work.

dannyowan
12-04-2008, 03:11 AM
sigh.....
shrikebot totally does not support dod of linux version

meathead
12-04-2008, 08:42 AM
If you could give us some more info, perhaps we could help. Shrikebot runs fine on a linux dedicated server.

Drek
12-04-2008, 08:43 AM
What are you talking about? I use ShrikeBot on my DOD Linux server with no problems at all, at least none that I wouldn't also have with Windows, and have been doing it for years.

dannyowan
12-08-2008, 02:13 AM
What are you talking about? I use ShrikeBot on my DOD Linux server with no problems at all, at least none that I wouldn't also have with Windows, and have been doing it for years.
:S !
Really!
How could you install it? My linux version is 2.6
I download version of linux from here:
http://www.xs4all.nl/~jasp/shrikebot/download.htm

Edit
------------
I find my problem about wrong binary patch
and with metamod we need to create config.ini( not plugins.ini) in addons/metamod/ and add this line
gamedll dlls/shrikebot_i386.so

here is setup detail:
http://forums.gameservers.com/viewtopic.php?p=98709&sid=b9c1b66c6e01156accdbfe6c737c6c4d

thanks all

aero_cz
12-09-2008, 09:41 PM
shrikebots running on linux..but i have problem: i kick all bots from server(amx_kickbots 1 i mean) and when map is change, server shutdown..knows anybody why?

dannyowan
12-09-2008, 11:26 PM
shrikebots running on linux..but i have problem: i kick all bots from server(amx_kickbots 1 i mean) and when map is change, server shutdown..knows anybody why?
amx_kickbots ?
I don't see anything cvar for kicking bots in amxmodx :S

meathead
12-09-2008, 11:49 PM
amx_kickbots - <n> Number of humans before all bots kicked

Has your server ran fine with shrikebot before?

aero_cz
12-10-2008, 01:08 PM
Has your server ran fine with shrikebot before?

yes ..before run fine..but when i kick all bots ingame(on map) and change map=server shutdown

meathead
12-10-2008, 09:08 PM
Can you post your shrikebot.cfg?

cean
12-28-2008, 03:59 PM
I only got
[AMXX] Shrikebot Error :(

aero_cz
01-01-2009, 12:30 PM
Can you post your shrikebot.cfg?
cfg:
bot_logo_percent 20
bot_reaction_time 1
bot_skill 1
view_skill off
max_bots 6
bot_chat_percent 0
bot_taunt_percent 0
bot_whine_percent 0
bot_chat_lower_percent 0

# view_clan on

funmode 0

meathead
01-01-2009, 12:40 PM
add a min_bots 0

aero_cz
01-01-2009, 02:19 PM
i try it..same problem...

Drek
01-01-2009, 03:34 PM
Why are you kicking all the bots when you are using max_bots? max_bots means that bots kick automatically as players join. It wouldn't surprise me if kicking all the bots would cause a problem when you are using max_bots. If you want to kick all the bots, I suggest you change max_bots to 0 (to turn it off) before you do so. If min_bots is anything other than 0, make sure you set it to 0 before you kick the bots as well.

aero_cz
01-02-2009, 06:11 AM
http://shrikebot.bots-united.com/manuals/shrikebot_manual4.htm(max_bots is for max. bots on server,when i set to 0 how mutch bots connect? ) ..i using this plugin besause i kicking bots when 4,6 or 8 real players join to server..and with command kick_all_bots X can be set only one number..

Drek
01-02-2009, 10:31 AM
When you are using max_bots, you don't need to kick them. As players join the bots will kick automatically. So if max_bots is 6, when there are six players, there will be no more bots.

Sometimes though it doesn't work perfectly, ShrikeBot doesn't kick the bots perfectly, or doesn't even the teams, so what I do for that is I have all the bots named with an [SHR] tag, so that I know who the bots are, and if they don't kick when they should, I use AMXX to kick them individually (not this plugin, just the regular "amx_kick [name]" command).

I've never had problems with the bots crashing the server.