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

[TF2] Bot Crash Avoider


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Benoist3012
Veteran Member
Join Date: Mar 2014
Location: CWave::ForceFinish()
Plugin ID:
6074
Plugin Version:
0.1
Plugin Category:
General Purpose
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Destroys any bots present on the server before a map change in a attempt to avoid a crash.
    Old 04-02-2018 , 15:53   [TF2] Bot Crash Avoider
    Reply With Quote #1

    This plugin is not really a fix but more a method to avoid a crash with bots upon changing level.
    Your server MAY STILL CRASH, this is a pseudo fix. But it should reduce the chances of your server crashing from that issue.

    Issue reference: https://github.com/alliedmodders/sourcemod/issues/748

    How to install:
    Click on get plugin, and drop the .smx file inside your plugins folder.
    Download and drop the bot_crash_fix.txt inside your gamedata folder.
    Attached Files
    File Type: sp Get Plugin or Get Source (bot_crash_fix.sp - 1160 views - 3.0 KB)
    File Type: txt bot_crash_fix.txt (138 Bytes, 643 views)
    __________________

    Last edited by Benoist3012; 04-02-2018 at 15:54.
    Benoist3012 is offline
    AI_
    Member
    Join Date: Oct 2014
    Location: Canada
    Old 04-02-2018 , 16:53   Re: [TF2] Bot Crash Avoider
    Reply With Quote #2

    Nice work. Unfortunately, there's no way to handle all level change situations, especially when other plugins call ForceChangeLevel, including Sourcemod's sm_map command.

    Sadly, I've had to resort to editing and recompiling every plugin I have that calls that function to kick all bots beforehand.
    __________________
    AI_ is offline
    Benoist3012
    Veteran Member
    Join Date: Mar 2014
    Location: CWave::ForceFinish()
    Old 04-02-2018 , 17:56   Re: [TF2] Bot Crash Avoider
    Reply With Quote #3

    Yeah this one detects normal map change I guess I could also make an ext and detour the level change function but no idea if it will be too late. I'll try that tomorrow.
    __________________
    Benoist3012 is offline
    Sharkmaw
    New Member
    Join Date: Jun 2020
    Old 06-24-2023 , 22:16   Re: [TF2] Bot Crash Avoider
    Reply With Quote #4

    this plugin recently started causing crashes in the server lol
    Sharkmaw 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 18:24.


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