View Single Post
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 12-02-2017 , 08:37   Re: [ANY] AFK Manager (Version 4.1.7 / Updated November 13th 2017)
Reply With Quote #1858

Quote:
Asherkin - For finding the CSGO team change limit offset.
is it refering to
PHP Code:
if (CSGO)
        
SetEntData(clientFindSendPropInfo("CCSPlayer""m_unMusicID") - 4501true); 
what exactly doe this fix @@?

even more questions

Quote:
* 3.4.0 -
Changed:
Hooking methods of say commands for chat AFK resets.
All AFK logging is now done in its own file separate from SourceMod and has a purge interval cvar to allow deleting of old logs.

Added:
Cvar for excluding bots from player counts.
i believe the cvar was sm_afk_exclude_bots

but looking at the code from current version it seems to be gone?

anyway what i want to know is how to stop moving the player from unsigned to spec

currently i have sm_afk_exclude_dead "1" but whenver i join my server and do nothing just idle i still get moved to spectator....

and what if i want the to kick spectators when server is about to be full (24 slots)?

currently i have

Code:
// Minimum number of connected clients required for AFK kick to be enabled. [DEFAULT: 6]
// -
// Default: "6"
sm_afk_kick_min_players "23"

// Should the AFK Manager kick AFK clients? [0 = DISABLED, 1 = KICK ALL, 2 = ALL EXCEPT SPECTATORS, 3 = SPECTATORS ONLY]
// -
// Default: "1"
sm_afk_kick_players "3"
will setting sm_afk_exclude_dead to 1 interfer with the kicking?

i'm asking because when afkmanager move me from unassigned to speci can't choose team anymore...stuck in spec (Game is CSGO)

below is the full debug minus the onplayerruncmd lines
Spoiler
__________________

Last edited by 8guawong; 12-02-2017 at 10:21.
8guawong is offline