Raised This Month: $32 Target: $400
 8% 

GameUI Crash Fix


Post New Thread Reply   
 
Thread Tools Display Modes
Author
GoD-Tony
Veteran Member
Join Date: Jul 2005
Plugin ID:
4588
Plugin Version:
1.0.0
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    14 
    Plugin Description:
    Fixes a crash in game_ui entities
    Old 04-07-2015 , 10:02   GameUI Crash Fix
    Reply With Quote #1

    GameUI Crash Fix

    Prevents a server crash when maps are using game_ui entities. More information about the crash can be found in the original thread.

    If your game is missing from the gamedata file, you can probably add it yourself from SDK Tools. Otherwise let me know here and I'll add it to the zip.

    Installation:
    • Install DHooks2. Make sure any previous versions of DHooks 1.0 are removed first.
    • Extract gameuifix.zip to your SourceMod directory.
    Changelog:
    Quote:
    GameUI Crash Fix 1.0.0
    - Initial release
    Attached Files
    File Type: zip gameuifix.zip (6.9 KB, 1155 views)
    __________________

    Last edited by GoD-Tony; 04-10-2015 at 14:33.
    GoD-Tony is offline
    Nolongerinthegame
    AlliedModders Donor
    Join Date: Sep 2005
    Old 04-09-2015 , 17:04   Re: GameUI Crash Fix
    Reply With Quote #2

    Worth adding for Windows servers too?
    Nolongerinthegame is offline
    Oshizu
    Veteran Member
    Join Date: Nov 2012
    Location: Warsaw
    Old 04-09-2015 , 17:44   Re: GameUI Crash Fix
    Reply With Quote #3

    Quote:
    Originally Posted by nelioneil View Post
    Worth adding for Windows servers too?
    Yeah,

    The issue appears on windows servers aswell. If your hosting server with maps that use game_ui it'd be quite quite userful, since it saves your server from crashes afterall
    __________________
    ...
    Oshizu is offline
    WildCard65
    Veteran Member
    Join Date: Aug 2013
    Location: Canada
    Old 04-09-2015 , 21:03   Re: GameUI Crash Fix
    Reply With Quote #4

    Couldn't you just load the appropriate sdktools gamedata file?
    __________________
    WildCard65 is offline
    GoD-Tony
    Veteran Member
    Join Date: Jul 2005
    Old 04-10-2015 , 03:12   Re: GameUI Crash Fix
    Reply With Quote #5

    Quote:
    Originally Posted by WildCard65 View Post
    Couldn't you just load the appropriate sdktools gamedata file?
    SourceMod's gamedata files could change at any time, which is why they recommend not loading theirs directly.
    __________________

    Last edited by GoD-Tony; 04-10-2015 at 03:12.
    GoD-Tony is offline
    4bdul
    AlliedModders Donor
    Join Date: Dec 2011
    Location: United Kingdom
    Old 04-12-2015 , 03:21   Re: GameUI Crash Fix
    Reply With Quote #6

    Is there a way to find out if our server crashes because of game_ui? I'm not sure if my server crashes are related
    __________________
    4bdul is offline
    GoD-Tony
    Veteran Member
    Join Date: Jul 2005
    Old 04-12-2015 , 03:28   Re: GameUI Crash Fix
    Reply With Quote #7

    Quote:
    Originally Posted by 4bdul View Post
    Is there a way to find out if our server crashes because of game_ui? I'm not sure if my server crashes are related
    If you're running Accelerator, your crashes will look like these:
    Quote:
    Originally Posted by asherkin View Post
    More crashes: 1 2
    __________________
    GoD-Tony is offline
    ejik03
    AlliedModders Donor
    Join Date: Feb 2009
    Location: Moscow, Russia
    Old 08-27-2015 , 05:15   Re: GameUI Crash Fix
    Reply With Quote #8

    The usage of your plugin on ze_harry_potter_v1_3 map cause a server crash.

    As I found out the server is crashing when map removes several game_ui entities.
    You can check it on 3rd stage of ze_harry_potter_v1_3 map. Server crash appears after everybody got teleported to the blue circle from the Kwidich arena. Probably you will need to take a broomstick...

    CS:S, Linux, MM:S 1.10.5, SM 1.7.3-dev+5231
    ejik03 is offline
    GoD-Tony
    Veteran Member
    Join Date: Jul 2005
    Old 08-27-2015 , 07:27   Re: GameUI Crash Fix
    Reply With Quote #9

    Quote:
    Originally Posted by ejik03 View Post
    As I found out the server is crashing when map removes several game_ui entities.
    I wonder if this is a bug with dhooks not automatically unhooking the removed entity. I'll take a look, thanks.
    __________________
    GoD-Tony is offline
    soaro
    New Member
    Join Date: Feb 2017
    Old 02-12-2017 , 16:34   Re: GameUI Crash Fix
    Reply With Quote #10

    Hey,

    I love this plugin, but I have an issue. This deactivates game_ui, and that works just fine; however, none of the PlayerOff outputs are triggered. When the player jumps or uses +use, PlayerOff is triggered. This plugin does not do this, but it makes sure that game_ui is deactivated. I'm not familiar with SP; is there any chance you can have PlayerOff triggered on death and disconnect?
    soaro 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 20:47.


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