AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CSGO] Map Change Client Crash Fixer (v1.0.7 , 2019/06/23) (https://forums.alliedmods.net/showthread.php?t=310542)

BOT Benson 09-08-2018 10:23

[CSGO] Map Change Client Crash Fixer (v1.0.7 , 2019/06/23)
 
5 Attachment(s)
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.

https://i.ibb.co/5sFJkYf/image.png

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)

mug1wara 09-08-2018 10:54

Re: [CSGO] Map Change Client Crash Fixer (v1.0.0.6 , 2018/09/08)
 
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;
}


BOT Benson 09-08-2018 11:10

Re: [CSGO] Map Change Client Crash Fixer (v1.0.0.6 , 2018/09/08)
 
Quote:

Originally Posted by mug1wara (Post 2614258)
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)

Ejziponken 09-08-2018 11:24

Re: [CSGO] Map Change Client Crash Fixer (v1.0.0.7 , 2018/09/08)
 
Do i need mapchooser for this?

Vaggelis 09-08-2018 11:26

Re: [CSGO] Map Change Client Crash Fixer (v1.0.0.7 , 2018/09/08)
 
It's not actually fixing the problem, its just make clients reconnect before server change map.
Nice workaround (if it works).

BOT Benson 09-08-2018 11:27

Re: [CSGO] Map Change Client Crash Fixer (v1.0.0.7 , 2018/09/08)
 
Quote:

Originally Posted by Ejziponken (Post 2614261)
Do i need mapchooser for this?

optional

BOT Benson 09-08-2018 11:27

Re: [CSGO] Map Change Client Crash Fixer (v1.0.0.7 , 2018/09/08)
 
Quote:

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

yes working :D

cytrus224 09-08-2018 11:50

Re: [CSGO] Map Change Client Crash Fixer (v1.0.0.7 , 2018/09/08)
 
You should get rid of this.
#include <bbcolors>

BOT Benson 09-08-2018 11:52

Re: [CSGO] Map Change Client Crash Fixer (v1.0.0.7 , 2018/09/08)
 
Quote:

Originally Posted by cytrus224 (Post 2614266)
You should get rid of this.
#include <bbcolors>

yes removed (github)

SHUFEN 09-08-2018 14:51

Re: [CSGO] Map Change Client Crash Fixer (v1.0.0.7 , 2018/09/08)
 
1 Attachment(s)
Brushed up a little.


All times are GMT -4. The time now is 23:20.

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