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

BotCommander


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Crazyg0053
Junior Member
Join Date: Jun 2009
Location: East Bay CA
Plugin ID:
921
Plugin Version:
Plugin Category:
All
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Unapprover:
    Reason for Unapproving:
    usless, did not follow guidelines
    Old 06-07-2009 , 20:14   BotCommander
    Reply With Quote #1

    Simple plugin I wrote to help my server fill up after not finding a plugin that would suit my needs.

    If there are less than 2 people playing the plugin will spawn a bot. Once there are 2 or more players the bot will be removed. If the server drops below 2 players again the bot will be added.

    I plan on adding command functionality so my admins can add and remove bots via console (sm_botadd/sm_botremove) as well as adding a cvar so you can change the amount of players from 2.

    Changelog:
    -Fixed an issue where it would keep spawning bots.
    Attached Files
    File Type: smx BotCommander.smx (2.0 KB, 229 views)
    File Type: sp Get Plugin or Get Source (BotCommander.sp - 744 views - 875 Bytes)

    Last edited by Crazyg0053; 06-07-2009 at 21:12. Reason: updated
    Crazyg0053 is offline
    meng
    Veteran Member
    Join Date: Oct 2005
    Location: us
    Old 07-13-2009 , 12:03   Re: BotCommander
    Reply With Quote #2

    what mod did you write this for? you know you could just put...

    bot_quota 2 (or however many players you want to keep in the server)
    bot_quota_mode fill
    bot_join_after_player 0

    in one of your configs (server/autoexec)
    meng is offline
    Send a message via Yahoo to meng
    Crazyg0053
    Junior Member
    Join Date: Jun 2009
    Location: East Bay CA
    Old 07-14-2009 , 02:33   Re: BotCommander
    Reply With Quote #3

    I spent plenty of time with bot settings in server.cfg and while one would assume them to work, the above posted settings do not result in the desired effect.

    The plugin on the other hand accomplishes this perfectly.

    There is, however, a fault in the script that causes unexplainable server crashes on map change. It is for this reason that I abandoned work on the plugin so early on in development. If anyone could offer insight on what is causes these crashes I would be grateful.
    Crazyg0053 is offline
    Acid07
    Member
    Join Date: May 2009
    Old 07-15-2009 , 17:28   Re: BotCommander
    Reply With Quote #4

    i think its as the players are connecting again there are 0 players and they slowly count up as they spawn/connect

    shame its unapproved.
    Acid07 is offline
    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 13:10.


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