Monthly Target: $400 Donations: $126
 31% 

[L4D] Survivor AI Trigger Fixes


Post New Thread Reply   
 
Thread Tools Display Modes
Author
AtomicStryker
Veteran Member
Join Date: Apr 2009
Location: Teutonia!!
Plugin ID:
1120
Plugin Version:
1.1.0
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    15 
    Plugin Description:
    Fixes All Bot Teams not triggering Crescendos, Finales, or not closing Safe Rooms
    Old 08-25-2009 , 10:41   [L4D] Survivor AI Trigger Fixes
    Reply With Quote #1

    After quite some work my newest plugin is done. This kicks in if it detects an all-Bot Survivor Team (enabling sb_all_bot_team itself) and then triggers Crescendos and Finales as they should have by themselves. This also shuts Safe Room Doors if an All Bot Team refuses to do it.

    Be advised this does NOTHING if there is a single human Player in the Survivor team.


    Big thanks go to mi123645 for helping me with triggering non-networkable stuff and to javalia for pointing out where Entity Names are hidden.



    This also features an extensive Toolkit for finding and manipulating Entities in L4D ...


    sm_findentitybyclass - find an entity by classname and starting index.
    sm_findentitybyname - find an entity by name and starting index.
    sm_listentities - server console dump of all valid entities
    sm_findnearentities <radius> - find all Entities in a radius around you.
    sm_entityinput <entity id> <input string> - sends an Input to said Entity.
    sm_findentprop <property string> - returns an entity property value in yourself.


    Changelog:

    1.0.0 - Initial release.
    1.0.1 - NM4 Elevator fixing
    1.0.2 - DA5 and BH3 fixing
    1.0.3 - Fix in case the Trigger Bot died
    1.0.4 - removed misfiring chatstrings
    1.0.5 - improved All Bot team detection accuracy
    1.0.6 - added NM3 Gas Station and DT5 Finale Triggers
    1.0.7 - bug fixes against error log floodings
    1.0.8 - more minor fixing
    1.0.9 - error log fix
    1.1.0 - added fix for the Crash Course 02 stucking place
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_survivorai_triggerfix.sp - 7852 views - 25.4 KB)

    Last edited by AtomicStryker; 11-04-2009 at 16:16.
    AtomicStryker is offline
    HateMeh
    Junior Member
    Join Date: Jul 2009
    Old 08-25-2009 , 11:40   Re: [L4D] Survivor AI Trigger Fixes
    Reply With Quote #2

    wow really nice ill try this out on my server soon
    HateMeh is offline
    Frus
    Senior Member
    Join Date: Aug 2009
    Old 08-25-2009 , 13:42   Re: [L4D] Survivor AI Trigger Fixes
    Reply With Quote #3

    Looks amazing, I'll definitely be using it for testing.
    Frus is offline
    olj
    Veteran Member
    Join Date: Jun 2009
    Old 08-26-2009 , 08:55   Re: [L4D] Survivor AI Trigger Fixes
    Reply With Quote #4

    GJ
    __________________
    olj is offline
    mi123645
    Veteran Member
    Join Date: Feb 2009
    Old 08-26-2009 , 11:16   Re: [L4D] Survivor AI Trigger Fixes
    Reply With Quote #5

    With this released, some of you may have figured out that my infected bots plugin's release is eminent.
    mi123645 is offline
    Number Six
    Senior Member
    Join Date: Dec 2008
    Old 08-26-2009 , 16:10   Re: [L4D] Survivor AI Trigger Fixes
    Reply With Quote #6

    L 08/26/2009 - 17:54:00: SourceMod error session started
    L 08/26/2009 - 17:54:00: Info (map "l4d_hospital05_rooftop_rev1") (file "errors_20090826.log")
    L 08/26/2009 - 17:54:00: [SM] Native "FakeClientCommand" reported: Client index 0 is invalid
    L 08/26/2009 - 17:54:00: [SM] Displaying call stack trace for plugin "l4d_survivorai_triggerfix.smx":
    L 08/26/2009 - 17:54:00: [SM] [0] Line 665, /home/groups/alliedmodders/forums/files/5/2/2/3/3/48476.attach::UnflagAndExecuteCommand()
    L 08/26/2009 - 17:54:00: [SM] [1] Line 341, /home/groups/alliedmodders/forums/files/5/2/2/3/3/48476.attach::FinaleStart()
    L 08/26/2009 - 18:01:54: Error log file session closed.
    __________________


    Number Six is offline
    AtomicStryker
    Veteran Member
    Join Date: Apr 2009
    Location: Teutonia!!
    Old 08-26-2009 , 17:02   Re: [L4D] Survivor AI Trigger Fixes
    Reply With Quote #7

    Added 1.0.3 which wont have that error anymore.
    AtomicStryker is offline
    DaNi0
    Junior Member
    Join Date: Jul 2005
    Old 08-26-2009 , 17:37   Re: [L4D] Survivor AI Trigger Fixes
    Reply With Quote #8

    I get the following message when all (4 humans) players reach the saferoom:

    [BOTFIX] All Bot Survivors in Safe Room. Force Shutting Door.

    Surely it shouldn't give that message unless the whole team consists of bots, right?

    EDIT: I'm running 1.0.2.
    DaNi0 is offline
    AtomicStryker
    Veteran Member
    Join Date: Apr 2009
    Location: Teutonia!!
    Old 08-26-2009 , 18:25   Re: [L4D] Survivor AI Trigger Fixes
    Reply With Quote #9

    That is about cruelly shoddy L4D events. If you've ever watched them: On round end entered_checkpoint and left_checkpoint are fired, like, ten times. Since these are the hooks for my Plugin it causes these misfiring Chatstrings.

    Ill whip up a solution for that .. but its harmless.


    Edit: 1.0.4 for your convenience.

    Last edited by AtomicStryker; 08-26-2009 at 18:34.
    AtomicStryker is offline
    Number Six
    Senior Member
    Join Date: Dec 2008
    Old 08-26-2009 , 18:53   Re: [L4D] Survivor AI Trigger Fixes
    Reply With Quote #10

    Quote:
    Originally Posted by AtomicStryker View Post
    That is about cruelly shoddy L4D events. If you've ever watched them: On round end entered_checkpoint and left_checkpoint are fired, like, ten times. Since these are the hooks for my Plugin it causes these misfiring Chatstrings.

    Ill whip up a solution for that .. but its harmless.


    Edit: 1.0.4 for your convenience.
    just adverts removed ?? No problem if keep 1.03 , not other fix in 1.04 ?
    __________________


    Number Six 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 02:10.


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