Raised This Month: $ Target: $400
 0% 

[CSGO] Map Change Client Crash Fixer (v1.0.7 , 2019/06/23)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
BOT Benson
Member
Join Date: Jun 2018
Location: Istanbul, Turkey
Plugin ID:
6249
Plugin Version:
1.0.7
Plugin Category:
Technical/Development
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    CSGO Map Change Client Crash Fixer
    Old 09-08-2018 , 11:23   [CSGO] Map Change Client Crash Fixer (v1.0.7 , 2019/06/23)
    Reply With Quote #1

    Description
    CSGO will correct the player crash when changing the map. I do not give a 100% guarantee.


    Install
    • smx file move to csgo/addons/sourcemod/plugins/


    Use
    • Now supported !sm_map
    • Now supported !sm_admin map change
    • Use mapchooser ( optional )
    • !changenextmap mapname and !mapend
    • the map changes automatically at the end of the round.


    Important Note: If you are looking for the full solution, do the following.(Maybe may not be the definitive solution)
    Make your maps in HDR based on some descriptions from the community and my own observations.



    Known Bugs

    Donate

    If you apreciate my work, you can donate me via steam trade offer.



    Main Github Repo

    Quote:
    Version 1.0.7
    - retry command, added "disconnect;"

    Version 1.0.6
    - ReConnectClient function To ClientCommand
    - ReplyToCommand informationa added.
    - Stable Version

    Version 1.0.5
    - Map change Bug fixed

    Version 1.0.4
    - !sm_map now support
    - !sm_admin map change now support

    Version 1.0.3
    - ReplyToCommand Information Message Removed
    - ClientCommand function to ReConnectClient

    Version 1.0.2
    - ReplyToCommand Information Message Added

    Version 1.0.1
    - initial deployment
    1 Day Results
    Quote:
    when the plugin is not used Client Crash =>286
    v1.0.3 => ReconnectClient Client Crash =>74
    v1.0.6 => ClientCommand Client Crash => 2 ( map did not crash when changing. time-out in the middle of the game)
    Attached Files
    File Type: smx mapcrashfixer-v1.0.2.smx (5.2 KB, 596 views)
    File Type: smx mapcrashfixer-v1.0.3.smx (5.1 KB, 530 views)
    File Type: smx mapcrashfixer-v1.0.5.smx (5.3 KB, 523 views)
    File Type: smx mapcrashfixer-v1.0.6.smx (5.4 KB, 1843 views)
    File Type: smx mapcrashfixer-v1.0.7.smx (5.4 KB, 2533 views)
    __________________

    Last edited by BOT Benson; 06-23-2019 at 17:47.
    BOT Benson is offline
    mug1wara
    AlliedModders Donor
    Join Date: Jun 2018
    Old 09-08-2018 , 11:54   Re: [CSGO] Map Change Client Crash Fixer (v1.0.0.6 , 2018/09/08)
    Reply With Quote #2

    good fucking job

    although there's safer ways to do this (SetIntCvar)
    Code:
    bool SetIntCvar(const char[] scvar, int alue) 
    {
    	ConVar cvar = FindConVar(scvar);
    	
    	if (cvar != null) 
    	{
    		cvar.SetInt(value);
    		return true;
    	}
    	
    	else
    		return false;
    }

    Last edited by mug1wara; 09-08-2018 at 11:56. Reason: the spaces are huge on the codeblocks, meh whatever
    mug1wara is offline
    BOT Benson
    Member
    Join Date: Jun 2018
    Location: Istanbul, Turkey
    Old 09-08-2018 , 12:10   Re: [CSGO] Map Change Client Crash Fixer (v1.0.0.6 , 2018/09/08)
    Reply With Quote #3

    Quote:
    Originally Posted by mug1wara View Post
    good fucking job

    although there's safer ways to do this (SetIntCvar)
    Code:
    bool SetIntCvar(const char[] scvar, int alue) 
    {
    	ConVar cvar = FindConVar(scvar);
    	
    	if (cvar != null) 
    	{
    		cvar.SetInt(value);
    		return true;
    	}
    	
    	else
    		return false;
    }
    This is not necessary for the plugin. There are 3 fixed cvars. corrected (Github)
    __________________
    BOT Benson is offline
    Ejziponken
    AlliedModders Donor
    Join Date: Apr 2008
    Old 09-08-2018 , 12:24   Re: [CSGO] Map Change Client Crash Fixer (v1.0.0.7 , 2018/09/08)
    Reply With Quote #4

    Do i need mapchooser for this?
    Ejziponken is offline
    Vaggelis
    Senior Member
    Join Date: May 2017
    Old 09-08-2018 , 12:26   Re: [CSGO] Map Change Client Crash Fixer (v1.0.0.7 , 2018/09/08)
    Reply With Quote #5

    It's not actually fixing the problem, its just make clients reconnect before server change map.
    Nice workaround (if it works).

    Last edited by Vaggelis; 09-08-2018 at 12:26.
    Vaggelis is offline
    BOT Benson
    Member
    Join Date: Jun 2018
    Location: Istanbul, Turkey
    Old 09-08-2018 , 12:27   Re: [CSGO] Map Change Client Crash Fixer (v1.0.0.7 , 2018/09/08)
    Reply With Quote #6

    Quote:
    Originally Posted by Ejziponken View Post
    Do i need mapchooser for this?
    optional
    __________________
    BOT Benson is offline
    BOT Benson
    Member
    Join Date: Jun 2018
    Location: Istanbul, Turkey
    Old 09-08-2018 , 12:27   Re: [CSGO] Map Change Client Crash Fixer (v1.0.0.7 , 2018/09/08)
    Reply With Quote #7

    Quote:
    Originally Posted by Vaggelis View Post
    It's not actually fixing the problem, its just make clients reconnect before server change map.
    Nice workaround (if it works).
    yes working
    __________________
    BOT Benson is offline
    cytrus224
    AlliedModders Donor
    Join Date: Apr 2017
    Location: Poland
    Old 09-08-2018 , 12:50   Re: [CSGO] Map Change Client Crash Fixer (v1.0.0.7 , 2018/09/08)
    Reply With Quote #8

    You should get rid of this.
    #include <bbcolors>
    cytrus224 is offline
    BOT Benson
    Member
    Join Date: Jun 2018
    Location: Istanbul, Turkey
    Old 09-08-2018 , 12:52   Re: [CSGO] Map Change Client Crash Fixer (v1.0.0.7 , 2018/09/08)
    Reply With Quote #9

    Quote:
    Originally Posted by cytrus224 View Post
    You should get rid of this.
    #include <bbcolors>
    yes removed (github)
    __________________

    Last edited by BOT Benson; 09-08-2018 at 12:54.
    BOT Benson is offline
    SHUFEN
    Senior Member
    Join Date: Jun 2014
    Location: Japan, Tokyo
    Old 09-08-2018 , 15:51   Re: [CSGO] Map Change Client Crash Fixer (v1.0.0.7 , 2018/09/08)
    Reply With Quote #10

    Brushed up a little.
    Attached Files
    File Type: sp Get Plugin or Get Source (mapcrashfixer.sp - 1393 views - 2.1 KB)
    __________________
    SHUFEN is offline
    Send a message via Skype™ to SHUFEN
    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 15:20.


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