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

[ANY] AFK Manager (Version 4.3.0 / Updated July 2nd 2018)


Post New Thread Reply   
 
Thread Tools Display Modes
Rothgar
Veteran Member
Join Date: Nov 2007
Old 01-06-2018 , 16:14   Re: [ANY] AFK Manager (Version 4.1.7 / Updated November 13th 2017)
Reply With Quote #1891

Quote:
Originally Posted by 8guawong View Post
sounds good
but what i'm worry about is will the "fix" break the team balance
like say you are in spec now and you want to join ct but without the fix the game will not allow you due to team is unbalanced
The way I've made it so far I don't think it should because it's working on the teamchange pending events so if Valve let those events fire I assume it would have already rejected if team limits were exceeded but I'll see if I can test that a bit more.
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
IcyF
Junior Member
Join Date: May 2017
Old 01-15-2018 , 13:30   Re: [ANY] AFK Manager (Version 4.1.7 / Updated November 13th 2017)
Reply With Quote #1892

Hello! Is there any plans about adding disable console all players idle kicking function?
Left 4 Dead have no this feature, and AFK Manager only adds new layer of kicking AFK players.
IcyF is offline
Rothgar
Veteran Member
Join Date: Nov 2007
Old 01-17-2018 , 05:44   Re: [ANY] AFK Manager (Version 4.1.7 / Updated November 13th 2017)
Reply With Quote #1893

Quote:
Originally Posted by IcyF View Post
Hello! Is there any plans about adding disable console all players idle kicking function?
Left 4 Dead have no this feature, and AFK Manager only adds new layer of kicking AFK players.
What you just want to stop the in-built idle kick in L4D?

Can you tell me how the normal idle kick method works and whether it's L4D or L4D2?

Have you checked sm_cvar mp_autokick ?
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
IcyF
Junior Member
Join Date: May 2017
Old 01-18-2018 , 06:20   Re: [ANY] AFK Manager (Version 4.1.7 / Updated November 13th 2017)
Reply With Quote #1894

Quote:
Originally Posted by Rothgar View Post
What you just want to stop the in-built idle kick in L4D?
Exactly.

Quote:
Originally Posted by Rothgar View Post
Can you tell me how the normal idle kick method works
When all players AFK server kicks everyone after 4-5 minutes. Server log:

Quote:
Dropped playername from server (Kicked by Console : All players idle)
I have little private server and sometimes need to get AFK for more than 4-5 min with all players.

Quote:
Originally Posted by Rothgar View Post
whether it's L4D or L4D2?
1st game, L4D.

Quote:
Originally Posted by Rothgar View Post
Have you checked sm_cvar mp_autokick ?
Yes, but it does not help.

Also L4D have not mp_autokick (without sm_cvar), only mp_disable_autokick command that need ID to be specified and entered every game.
IcyF is offline
Rothgar
Veteran Member
Join Date: Nov 2007
Old 01-19-2018 , 05:31   Re: [ANY] AFK Manager (Version 4.1.7 / Updated November 13th 2017)
Reply With Quote #1895

Quote:
Originally Posted by IcyF View Post
Exactly.



When all players AFK server kicks everyone after 4-5 minutes. Server log:



I have little private server and sometimes need to get AFK for more than 4-5 min with all players.



1st game, L4D.



Yes, but it does not help.

Also L4D have not mp_autokick (without sm_cvar), only mp_disable_autokick command that need ID to be specified and entered every game.
Reading around people say setting sb_all_bot_game to 1 might help, have you tried that?
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
Rothgar
Veteran Member
Join Date: Nov 2007
Old 01-19-2018 , 05:52   Re: [ANY] AFK Manager (Version 4.2.0 / Updated January 19th 2018)
Reply With Quote #1896

New Version of the AFK Manager released, thanks to Screwdriver for making some suggestions on new Natives/Forwards I was told would be useful for plugin developers and also to Majki for testing some CS:GO fixes & functions. I think it has been tested enough, hopefully there are no bugs but if there are any issues please let me know.

I will also be releasing a sub-plugin soon which will address some of the Team Change issues in CS:GO but there are a few more small items that need to be checked before I release. Hopefully I'll get that finished this weekend.

Last edited by Rothgar; 01-19-2018 at 05:52.
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 01-19-2018 , 07:32   Re: [ANY] AFK Manager (Version 4.2.0 / Updated January 19th 2018)
Reply With Quote #1897

Doubt, why do not you delete the old versions of the download plugin, leave only the recent version?

Another thing that would be nice if by default you already compiled the plugin with More Colors and Updater.

And thanks for this new version, I'll be seeing her any problem warning here.
paulo_crash is offline
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 01-19-2018 , 07:51   Re: [ANY] AFK Manager (Version 4.2.0 / Updated January 19th 2018)
Reply With Quote #1898

Quote:
Originally Posted by paulo_crash View Post
Doubt, why do not you delete the old versions of the download plugin, leave only the recent version?

Another thing that would be nice if by default you already compiled the plugin with More Colors and Updater.

And thanks for this new version, I'll be seeing her any problem warning here.
Quote:
Compiled Download with More Colors and Updater
If you are looking for a compiled download of the latest version of the AFK Manager which includes both "More Colors" and "Updater" include files, you can use the Updater download URL http://afkmanager.dawgclan.net/plugins/afk_manager4.smx
In the first post
__________________
8guawong is offline
yatchi
Member
Join Date: Feb 2011
Location: Brazil
Old 01-19-2018 , 08:57   Re: [ANY] AFK Manager (Version 4.2.0 / Updated January 19th 2018)
Reply With Quote #1899

I need some help with the AFKM_SetClientImmunity native, when my plugin tries to call it, it throws an error:

L 01/19/2018 - 11:51:57: [SM] Exception reported: Invalid Immunity Type (10)

(yes, why the f*** it says 10 when AFKImmunity_Kick stands for 2)

On the plugin:
PHP Code:
AFKM_SetClientImmunity(clientAFKImmunity_Kick); 
And I have compiled the plugin myself without any changes, because downloading the .smx auto-compiled throws this error:

[SM] failed to load: Native "AFKM_SetClientImmunity" was not found.

Last edited by yatchi; 01-19-2018 at 09:00.
yatchi is offline
Rothgar
Veteran Member
Join Date: Nov 2007
Old 01-19-2018 , 21:32   Re: [ANY] AFK Manager (Version 4.2.0 / Updated January 19th 2018)
Reply With Quote #1900

Quote:
Originally Posted by yatchi View Post
I need some help with the AFKM_SetClientImmunity native, when my plugin tries to call it, it throws an error:

L 01/19/2018 - 11:51:57: [SM] Exception reported: Invalid Immunity Type (10)

(yes, why the f*** it says 10 when AFKImmunity_Kick stands for 2)

On the plugin:
PHP Code:
AFKM_SetClientImmunity(clientAFKImmunity_Kick); 
And I have compiled the plugin myself without any changes, because downloading the .smx auto-compiled throws this error:

[SM] failed to load: Native "AFKM_SetClientImmunity" was not found.
I checked the downloaded compiled version was working but I have found the issue you faced and it has been fixed. It was picking up the immunity parameter as the client id.

Below is a test plugin I was using for testing if anyone cares:

Code:
#include <sourcemod>
#include <afk_manager>

#pragma semicolon 1

#pragma newdecls required

#define AFKM_TEST_VERSION				"1.0"

// Plugin Information
public Plugin myinfo =
{
    name = "AFK Manager - Test Plugin",
    author = "Rothgar",
    description = "Testing AFK Manager Include File",
    version = AFKM_TEST_VERSION,
    url = "http://www.dawgclan.net"
};

void RegisterCvars() // Cvar Registrations
{
}

void RegisterCmds() // Command Hook & Registrations
{
	RegAdminCmd("sm_afktest", Command_Test, ADMFLAG_ROOT);
}

public Action Command_Test(int client, int args)
{
	if (args < 1)
	{
		PrintToConsole(client, "Usage: sm_afktest <Immunity Int>");
		return Plugin_Handled;
	}

	char arg[5];
	GetCmdArg(1, arg, sizeof(arg));
	int iImmunity = StringToInt(arg);
	AFKM_SetClientImmunity(client, view_as<AFKImmunity>(iImmunity));
	return Plugin_Handled;
}

public void OnPluginStart()
{
	RegisterCvars(); // Register Cvars
	RegisterCmds(); // Register Commands
}

public void OnMapStart()
{
	AutoExecConfig(true, "afk_manager.csgo_teamchange"); // Execute Config
}
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
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 10:13.


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