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

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


Post New Thread Reply   
 
Thread Tools Display Modes
Indarello
Senior Member
Join Date: Nov 2015
Location: Russia
Old 01-04-2019 , 01:31   Re: [CSGO] Map Change Client Crash Fixer (v1.0.6 , 2018/09/11)
Reply With Quote #81

FIX for rtv plugin:
mapcrashfixer.sp
Code:
public Action OnLogAction(Handle source, Identity ident,int client,int target, const char[] message)
{
	if( StrContains( message , "changed map to" ) != -1)
	{
		CreateTimer( 2.9 , Timer_RetryPlayers , _ , TIMER_FLAG_NO_MAPCHANGE );
	}
	else if( StrContains( message , "change map in 4.0" ) != -1)
	{
		CreateTimer( 3.9 , Timer_RetryPlayers , _ , TIMER_FLAG_NO_MAPCHANGE );
	}
	else if( StrContains( message , "change map in 2.0" ) != -1)
	{
		CreateTimer( 1.9 , Timer_RetryPlayers , _ , TIMER_FLAG_NO_MAPCHANGE );
	}
}
then you need to add logging to your mapchooser plugins each time it change map
if you use standart mapchooser:
add logging all cases where you find:
Code:
CreateTimer(2.0, Timer_ChangeMap ...
or
CreateDataTimer(2.0, Timer_ChangeMap ...

make like this

LogAction(-1, -1, "change map in 2.0");
CreateTimer(2.0, Timer_ChangeMap ...
or
LogAction(-1, -1, "change map in 2.0");
CreateDataTimer(2.0, Timer_ChangeMap ...
if you use mapchooser_extended:
make the same like in mapchooser but there is one timer with 4.0 sec
Code:
LogAction(-1, -1, "change map in 2.0");
CreateTimer(2.0, Timer_ChangeMap..

LogAction(-1, -1, "change map in 4.0");
CreateDataTimer(4.0, Timer_ChangeMap, data);

Last edited by Indarello; 01-30-2019 at 03:19.
Indarello is offline
PwnK
Junior Member
Join Date: Aug 2018
Old 01-13-2019 , 06:25   Re: [CSGO] Map Change Client Crash Fixer (v1.0.6 , 2018/09/11)
Reply With Quote #82

Quote:
Originally Posted by Indarello View Post
FIX for rtv plugin:
mapcrashfixer.sp
Code:
public Action OnLogAction(Handle source, Identity ident,int client,int target, const char[] message)
{
	if( StrContains( message , "changed map to" ) != -1)
	{
		CreateTimer( 2.9 , Timer_RetryPlayers , _ , TIMER_FLAG_NO_MAPCHANGE );
	}
	else if( StrContains( message , "change map in 4.0" ) != -1)
	{
		CreateTimer( 3.9 , Timer_RetryPlayers , _ , TIMER_FLAG_NO_MAPCHANGE );
	}
	else if( StrContains( message , "change map in 2.0" ) != -1)
	{
		CreateTimer( 1.9 , Timer_RetryPlayers , _ , TIMER_FLAG_NO_MAPCHANGE );
	}
}
then you need to add logging to your mapchooser plugins each time it change map
if you use standart mapchooser:
add logging all cases where you find:
Code:
CreateTimer(2.0, Timer_ChangeMap ...


LogAction(-1, -1, "change map in 2.0");
CreateTimer(2.0, Timer_ChangeMap ...
if you use mapchooser_extended:
make the same like in mapchooser but there is one timer with 4.0 sec
Code:
LogAction(-1, -1, "change map in 2.0");
CreateTimer(2.0, Timer_ChangeMap..

LogAction(-1, -1, "change map in 4.0");
CreateDataTimer(4.0, Timer_ChangeMap, data);
Wouldn't it be better to use global forwards?
PwnK is offline
Kashinoda
Member
Join Date: Dec 2017
Old 01-16-2019 , 17:21   Re: [CSGO] Map Change Client Crash Fixer (v1.0.6 , 2018/09/11)
Reply With Quote #83

Does this work when using vanilla (source) map voting mid round?
Kashinoda is offline
aykocity
Member
Join Date: Sep 2017
Old 01-24-2019 , 22:45   Re: [CSGO] Map Change Client Crash Fixer (v1.0.6 , 2018/09/11)
Reply With Quote #84

Quote:
Originally Posted by Indarello View Post
I found that -0.3 better then -0.1 (with 0.1 there rare case when server reject connection)
https://forums.alliedmods.net/showpo...8&postcount=81
Code:
public Action OnLogAction(Handle source, Identity ident,int client,int target, const char[] message)
{
	if( StrContains( message , "changed map to" ) != -1)
	{
		CreateTimer( 2.7 , Timer_RetryPlayers , _ , TIMER_FLAG_NO_MAPCHANGE );
	}
	else if( StrContains( message , "change map in 4.0" ) != -1)
	{
		CreateTimer( 3.7 , Timer_RetryPlayers , _ , TIMER_FLAG_NO_MAPCHANGE );
	}
	else if( StrContains( message , "change map in 2.0" ) != -1)
	{
		CreateTimer( 1.7 , Timer_RetryPlayers , _ , TIMER_FLAG_NO_MAPCHANGE );
	}
}
.smx file pls
aykocity is offline
Indarello
Senior Member
Join Date: Nov 2015
Location: Russia
Old 01-25-2019 , 10:23   Re: [CSGO] Map Change Client Crash Fixer (v1.0.6 , 2018/09/11)
Reply With Quote #85

Quote:
Originally Posted by aykocity View Post
.smx file pls
mapchooser? mapchooser extended?
Indarello is offline
Sajmooooon
Senior Member
Join Date: Nov 2018
Location: Slovakia
Old 01-29-2019 , 14:09   Re: [CSGO] Map Change Client Crash Fixer (v1.0.6 , 2018/09/11)
Reply With Quote #86

Quote:
Originally Posted by Indarello View Post
mapchooser? mapchooser extended?
Both
Sajmooooon is offline
aykocity
Member
Join Date: Sep 2017
Old 01-29-2019 , 20:17   Re: [CSGO] Map Change Client Crash Fixer (v1.0.6 , 2018/09/11)
Reply With Quote #87

Quote:
Originally Posted by Indarello View Post
mapchooser? mapchooser extended?

mapchooser pls
aykocity is offline
Rale
AlliedModders Donor
Join Date: Sep 2010
Old 01-30-2019 , 02:45   Re: [CSGO] Map Change Client Crash Fixer (v1.0.6 , 2018/09/11)
Reply With Quote #88

These are for mapchoser extended.
Attached Files
File Type: sp Get Plugin or Get Source (mapcrashfixer.sp - 514 views - 2.7 KB)
File Type: sp Get Plugin or Get Source (mapchooser_extended.sp - 218 views - 59.8 KB)
Rale is offline
Sajmooooon
Senior Member
Join Date: Nov 2018
Location: Slovakia
Old 01-30-2019 , 02:58   Re: [CSGO] Map Change Client Crash Fixer (v1.0.6 , 2018/09/11)
Reply With Quote #89

Quote:
Originally Posted by Rale View Post
These are for mapchoser extended.
Thanks
Sajmooooon is offline
Indarello
Senior Member
Join Date: Nov 2015
Location: Russia
Old 01-30-2019 , 03:21   Re: [CSGO] Map Change Client Crash Fixer (v1.0.6 , 2018/09/11)
Reply With Quote #90

mapchooser
Still looking for better number for timer because in rare cases server reject connection for client (say: you can connect only from lobby) in mapcrashfixer.sp
CreateTimer( 2.9 , Timer_RetryPlayers
Attached Files
File Type: sp Get Plugin or Get Source (mapchooser.sp - 432 views - 33.5 KB)

Last edited by Indarello; 01-30-2019 at 03:24.
Indarello is offline
Reply



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 21:34.


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