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

[L4D/L4D2] All Bot Teams (1.2)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
mi123645
Veteran Member
Join Date: Feb 2009
Plugin ID:
2001
Plugin Version:
1.2
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    This plugin allows survivor players to face all infected bot teams, or vice versa
    Unapprover:
    Reason for Unapproving:
    Author requested unapproval. Cvars to do this already exist in the game.
    Old 10-11-2010 , 03:14   [L4D/L4D2] All Bot Teams (1.2)
    Reply With Quote #1

    This plugin is for those who want a server to be running when there are players in it, no matter what team they are on. It allows for survivor teams to face infected bot teams, or infected teams to face an all survivor bot team. The server will hibernate if all players leave the server, as opposed to the server constantly running if all players left it.


    Quote:
    Changelog:

    Version 1.2
    - Fixed bug where sb_all_bot_team (or sb_all_bot_game if L4D2) would stay at 1 when all players leave to the lobby.

    EDIT: This plugin is no longer needed. Put these cvars in your server config if you would like to have all bot teams in your server:

    L4D1:

    Quote:
    sb_all_bot_team 1
    sv_hibernate_when_empty 1
    L4D2:

    Quote:
    sb_all_bot_game 1
    allow_all_bot_survivor_team 1
    sv_hibernate_when_empty 1
    Attached Files
    File Type: sp Get Plugin or Get Source (l4dabt.sp - 5642 views - 4.7 KB)

    Last edited by mi123645; 10-20-2010 at 05:42. Reason: Edited post description
    mi123645 is offline
    siangc
    Senior Member
    Join Date: Mar 2010
    Old 10-11-2010 , 09:44   Re: [L4D/L4D2] All Bot Teams
    Reply With Quote #2

    very useful, but does it require

    allow_all_bot_survivor_team 0
    sb_all_bot_game 0

    to work? or doesn't it matter?
    __________________
    siangc is offline
    mi123645
    Veteran Member
    Join Date: Feb 2009
    Old 10-11-2010 , 12:47   Re: [L4D/L4D2] All Bot Teams
    Reply With Quote #3

    Don't need to, the plugin handles those cvars.
    mi123645 is offline
    MIB
    Junior Member
    Join Date: Oct 2010
    Old 10-12-2010 , 07:06   Re: [L4D/L4D2] All Bot Teams
    Reply With Quote #4

    Thank's nice plugin
    MIB is offline
    AtomicStryker
    Veteran Member
    Join Date: Apr 2009
    Location: Teutonia!!
    Old 10-12-2010 , 13:05   Re: [L4D/L4D2] All Bot Teams
    Reply With Quote #5

    You need to be careful with checking for no players at OnClientDisconnected, im told it has been too early occasionally. (thats why l4dscores has a delayed timer)
    AtomicStryker is offline
    mi123645
    Veteran Member
    Join Date: Feb 2009
    Old 10-12-2010 , 18:24   Re: [L4D/L4D2] All Bot Teams
    Reply With Quote #6

    Yeah, I did some additional testing and you're right. I've uploaded a new version.
    mi123645 is offline
    William Travis Focker
    Member
    Join Date: Feb 2010
    Location: USA
    Old 10-12-2010 , 19:55   Re: [L4D/L4D2] All Bot Teams (1.1)
    Reply With Quote #7

    This is the plugin you were talking about in my thread, yes? Going to test it out now, looks great. Thanks for making this.

    edit: Works fine so far, thanks

    Last edited by William Travis Focker; 10-12-2010 at 21:19.
    William Travis Focker is offline
    mi123645
    Veteran Member
    Join Date: Feb 2009
    Old 10-13-2010 , 18:24   Re: [L4D/L4D2] All Bot Teams (1.2)
    Reply With Quote #8

    It appears OnClientDisconnect does not occur when all players leave to the lobby. I've added a failsafe to prevent this from happening now.
    mi123645 is offline
    siangc
    Senior Member
    Join Date: Mar 2010
    Old 10-17-2010 , 06:37   Re: [L4D/L4D2] All Bot Teams (1.2)
    Reply With Quote #9

    after the last update, this is crashing my server at mapchange
    __________________
    siangc is offline
    siangc
    Senior Member
    Join Date: Mar 2010
    Old 10-19-2010 , 11:46   Re: [L4D/L4D2] All Bot Teams (1.2)
    Reply With Quote #10

    Am I the only one with this problem? I really liked this plugin when it didn't crash my server..
    __________________
    siangc is offline
    Reply


    Thread Tools
    Display Modes

    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 06:12.


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