Raised This Month: $51 Target: $400
 12% 

BotAdder


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   The Specialists        Category:   Fun Stuff        Approver:   Geesu (62)
DataMatrix
Senior Member
Join Date: Aug 2005
Location: UK, Liverpool
Old 08-23-2005 , 07:29   BotAdder
Reply With Quote #1

BotAdder v1.2.5 BETA for The Specialists Mod (THIS DOES NOT WORK FOR ANY OTHER GAME).

This plugin allows admins to add bots without needing RCON access.
This plugin is now in BETA due to major changes. It compiles - but may not be stable (or work).

Commands:
amx_addbot = Adds a preset bot from the file bots.txt (ts folder).
amx_addbot2 <name> <model> <difficulty> = Adds a custom bot by your specifications.
amx_addbots <difficulty> = Adds bots from the specified difficulty in the botlists (see attachment)

Cvars:
sv_autoaddbots = Add bots to server automatically (1=ON, 0=OFF)
sv_autoadddifficulty = Difficulty of bots automatically added

WARNING: Remember to edit botlist-easy.cfg, botlist-medium.cfg and botlist-hard.cfg and add only as many bots as you NEED, adding too many will crash the server.

How to install:
1: Compile the plugin (there are plenty of guides for this)
2: Install it in plugins.ini
3: Download the file botlist.zip and extract the folder to addons/amxmodx/configs
4: Configure sv_autoaddbots <1/0> and sv_autoadddifficulty <easy/medium/hard>
5: Run the server and add the bots!

To play with bots in a dedicated server download reddbulls's mp.dll fix below.

Changelog:

v1.0.0
* Initial Release.

v1.0.1
* Added a check on cmdAddBots to check if the cfg exists.

v1.1.0
* AutoAddBots() will automatically add bots if sv_autoaddbots is set to "1".
* AutoAddBots() Now has a difficulty setting, sv_autoadddifficulty (defaults to hard).
* Easy/Medium/Hard mode now available in the configs.
* cmdAddBot2 now allows you to change the name, model and difficulty of each bot.

v1.1.1
* Changed the code to make the map reload if sv_autoaddbots isn't set (on server startup the map will automatically reload once).

v1.2.0 BETA
* Changed the update by v1.1.1, now the plugin will just log to file if sv_autoaddbots isn't set (much better than changing maps).
* Optimised code GREATLY. A lot of useless crap has been removed (can't believe how it was before).
* Changelog (this) now included in this file

v1.2.5 BETA
* Some code neatening.
* Several checks to file existence.
* Users can now create their own botlists, simply put a file under the botlists folder labelled like: botlist-somebotlist.cfg
* Changes made by v1.2.0 BETA should now work ;)
Attached Files
File Type: zip mp_dll.zip (306.5 KB, 6623 views)
File Type: zip botlists.zip (2.0 KB, 4820 views)
File Type: sma Get Plugin or Get Source (botadder.sma - 5441 views - 4.4 KB)
__________________

Last edited by DataMatrix; 10-02-2008 at 08:47.
DataMatrix is offline
Send a message via MSN to DataMatrix
sub
Senior Member
Join Date: Nov 2004
Location: Morristown, New Jersey
Old 08-23-2005 , 19:33  
Reply With Quote #2

did you get colby's permision to release that and it wasnt colby it is emu.
sub is offline
Send a message via AIM to sub Send a message via MSN to sub
DahVid
Senior Member
Join Date: Jun 2005
Old 08-23-2005 , 19:35  
Reply With Quote #3

Quote:
Originally Posted by sub
did you get colby's permision to release that and it wasnt colby it is emu.
If 'colby' doesn't want it released, he shouldn't give it away period. Hell, he shouldn't have made it.
DahVid is offline
colby
Senior Member
Join Date: Jun 2005
Location: NC
Old 08-23-2005 , 21:15  
Reply With Quote #4

lol you guys are silly.

Yes, i did make the modified dll, but reddbull (emu) showed me how to do it, so the credits go to him. I asked him a long time ago if it was ok to release it and he said it was fine so it's perfectly fine to put it in this thread, just change the "by colby" to "by reddbull" if thats ok.

Edit: Isn't the amx_addbot2 the same as addcustombot?
colby is offline
Send a message via AIM to colby
DataMatrix
Senior Member
Join Date: Aug 2005
Location: UK, Liverpool
Old 08-24-2005 , 02:48  
Reply With Quote #5

Quote:
Originally Posted by colby
lol you guys are silly.

Yes, i did make the modified dll, but reddbull (emu) showed me how to do it, so the credits go to him. I asked him a long time ago if it was ok to release it and he said it was fine so it's perfectly fine to put it in this thread, just change the "by colby" to "by reddbull" if thats ok.

Edit: Isn't the amx_addbot2 the same as addcustombot?
Changed , and yes amx_addbot2 is the same as addcustombot, but what if other admins want to do it?
DataMatrix is offline
Send a message via MSN to DataMatrix
DataMatrix
Senior Member
Join Date: Aug 2005
Location: UK, Liverpool
Old 08-24-2005 , 09:02  
Reply With Quote #6

v1.10 released
DataMatrix is offline
Send a message via MSN to DataMatrix
DataMatrix
Senior Member
Join Date: Aug 2005
Location: UK, Liverpool
Old 08-26-2005 , 06:30  
Reply With Quote #7

v1.11 released
DataMatrix is offline
Send a message via MSN to DataMatrix
kirby7wu
Member
Join Date: Jun 2005
Location: Кры
Old 09-05-2005 , 04:52  
Reply With Quote #8

Work for dedicateds?
__________________
Please do not give me any karma, I do not participate in that.
kirby7wu is offline
Send a message via AIM to kirby7wu
DataMatrix
Senior Member
Join Date: Aug 2005
Location: UK, Liverpool
Old 09-05-2005 , 15:10  
Reply With Quote #9

Download the mp.dll fix and it will work for dedicated.
DataMatrix is offline
Send a message via MSN to DataMatrix
ffsupra7122000
Member
Join Date: Dec 2004
Location: Illinois
Old 09-15-2005 , 17:45  
Reply With Quote #10

my server won't start when i add botadder.amxx to plugins.ini,any clue why? there are no logs about it. Also where do you put the mp.dll?
__________________
building a new computer
ffsupra7122000 is offline
Send a message via AIM to ffsupra7122000
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:35.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode