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

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


Post New Thread Reply   
 
Thread Tools Display Modes
MisterNine
Member
Join Date: Jan 2010
Old 05-04-2010 , 09:22   Re: AFK Manager (Any Mod) (Version 3.2.7 / Updated April 12 2010)
Reply With Quote #581

Code:
L 05/04/2010 - 08:18:34: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 05/04/2010 - 08:18:34: [SM] Native "LogAction" reported: Language phrase "TF2" not found
L 05/04/2010 - 08:18:34: [SM] Displaying call stack trace for plugin "afk_manager.smx":
L 05/04/2010 - 08:18:34: [SM]   [0]  Line 172, /home/groups/alliedmodders/forums/files/3/2/0/9/1/63609.attach::OnPluginStart()
Running latest snapshots.
MisterNine is offline
Rothgar
Veteran Member
Join Date: Nov 2007
Old 05-04-2010 , 19:22   Re: AFK Manager (Any Mod) (Version 3.2.7 / Updated April 12 2010)
Reply With Quote #582

Quote:
Originally Posted by MisterNine View Post
Code:
L 05/04/2010 - 08:18:34: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 05/04/2010 - 08:18:34: [SM] Native "LogAction" reported: Language phrase "TF2" not found
L 05/04/2010 - 08:18:34: [SM] Displaying call stack trace for plugin "afk_manager.smx":
L 05/04/2010 - 08:18:34: [SM]   [0]  Line 172, /home/groups/alliedmodders/forums/files/3/2/0/9/1/63609.attach::OnPluginStart()
Running latest snapshots.
Er I don't know what is happening with your file path there?

In any case have you got the latest translation file?
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 05-04-2010 , 19:32   Re: AFK Manager (Any Mod) (Version 3.2.7 / Updated April 12 2010)
Reply With Quote #583

I have just been advised by pred that the filepath is like that because of the automatic web compiler, so that is file just check your running the latest translation file.
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
mryoung
Junior Member
Join Date: Feb 2008
Location: Reims, France
Old 05-05-2010 , 17:43   Re: AFK Manager (Any Mod) (Version 3.2.7 / Updated April 12 2010)
Reply With Quote #584

Same issue here ... Since the latest TF2 update

2 differents things:
When moved to spec, player is kicked 2 seconds after... (and not 60 as defined in the configuration file)
The afk counter is started as soon as a player join the server (and not as soon as a player is fully connected).

Disabled the plugin until a fix is provided ...

Thanks in advance for your answer.

Cya!
__________________
:: mRyOuNg ::
mryoung is offline
Send a message via ICQ to mryoung Send a message via MSN to mryoung Send a message via Skype™ to mryoung
Rothgar
Veteran Member
Join Date: Nov 2007
Old 05-05-2010 , 18:16   Re: AFK Manager (Any Mod) (Version 3.2.7 / Updated April 12 2010)
Reply With Quote #585

Quote:
Originally Posted by mryoung View Post
Same issue here ... Since the latest TF2 update

2 differents things:
When moved to spec, player is kicked 2 seconds after... (and not 60 as defined in the configuration file)
The afk counter is started as soon as a player join the server (and not as soon as a player is fully connected).

Disabled the plugin until a fix is provided ...

Thanks in advance for your answer.

Cya!
Versions? Also please post your AFK Manager config.

Last edited by Rothgar; 05-05-2010 at 18:21.
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
mryoung
Junior Member
Join Date: Feb 2008
Location: Reims, France
Old 05-06-2010 , 01:49   Re: AFK Manager (Any Mod) (Version 3.2.7 / Updated April 12 2010)
Reply With Quote #586

I'm using the latest version (3.2.7) compiled by myself with 1.3.2 spcomp ...

The afk_manager.cfg I'm using is the following:
Code:
// This file was auto-generated by SourceMod (v1.3.2)
// ConVars for plugin "afk_manager.smx"


// Admin Flag for immunity? Leave Blank for any flag.
// -
// Default: ""
sm_afk_admins_flag "a"

// Are Admins immune to the AFK Manager? [0 = DISABLED, 1 = COMPLETE IMMUNITY, 2 = KICK IMMUNITY, 3 = MOVE IMMUNITY]
// -
// Default: "1"
sm_afk_admins_immune "2"

// Is the AFK manager enabled or disabled? [0 = FALSE, 1 = TRUE]
// -
// Default: "1"
sm_afk_enable "1"

// Should the AFK manager exclude checking dead players? [0 = FALSE, 1 = TRUE]
// -
// Default: "0"
sm_afk_exclude_dead "0"

// Minimum amount of connected clients needed to kick AFK clients.
// -
// Default: "6"
sm_afk_kick_min_players "6"

// Should the AFK manager kick clients? [0 = DISABLED, 1 = KICK ALL, 2 = ALL EXCEPT SPECTATORS, 3 = SPECTATORS ONLY]
// -
// Default: "1"
sm_afk_kick_players "1"

// Time in seconds (total) client must be AFK before being kicked.
// -
// Default: "120.0"
sm_afk_kick_time "120.0"

// Time in seconds remaining, player should be warned before being kicked for AFK. [DEFAULT: 30.0 seconds]
// -
// Default: "30.0"
sm_afk_kick_warn_time "30.0"

// Threshold for amount of movement required to mark a player as AFK. [0 = NONE, DEFAULT: 30.0]
// -
// Default: "30.0"
sm_afk_location_threshold "30.0"

// Minimum amount of connected clients needed to move clients to spectator.
// -
// Default: "4"
sm_afk_move_min_players "4"

// Move AFK clients to spec before kicking them? [0 = FALSE, 1 = TRUE]
// -
// Default: "0"
sm_afk_move_spec "1"

// Time in seconds (total) client must be AFK before being moved to spectator.
// -
// Default: "60.0"
sm_afk_move_time "60.0"

// Time in seconds remaining, player should be warned before being moved for AFK. [DEFAULT: 30.0 seconds]
// -
// Default: "30.0"
sm_afk_move_warn_time "30.0"

// Should the AFK manager warn team 0 (Usually unassigned) players? (Disabling may not work for some games) [0 = FALSE, 1 = TRUE, DEFAULT: 1]
// -
// Default: "1"
sm_afk_move_warn_unassigned "1"

// Time in seconds, player should have moved from spawn before being flagged AFK. [0 = DISABLED, DEFAULT: 20.0 seconds]
// -
// Default: "20.0"
sm_afk_spawn_time "20.0"
Any idea ?

Thanks in advance for your answer.

Cya
__________________
:: mRyOuNg ::
mryoung is offline
Send a message via ICQ to mryoung Send a message via MSN to mryoung Send a message via Skype™ to mryoung
Rothgar
Veteran Member
Join Date: Nov 2007
Old 05-06-2010 , 06:33   Re: AFK Manager (Any Mod) (Version 3.2.7 / Updated April 12 2010)
Reply With Quote #587

Quote:
Originally Posted by mryoung View Post
I'm using the latest version (3.2.7) compiled by myself with 1.3.2 spcomp ...

The afk_manager.cfg I'm using is the following:
Code:
// This file was auto-generated by SourceMod (v1.3.2)
// ConVars for plugin "afk_manager.smx"


// Admin Flag for immunity? Leave Blank for any flag.
// -
// Default: ""
sm_afk_admins_flag "a"

// Are Admins immune to the AFK Manager? [0 = DISABLED, 1 = COMPLETE IMMUNITY, 2 = KICK IMMUNITY, 3 = MOVE IMMUNITY]
// -
// Default: "1"
sm_afk_admins_immune "2"

// Is the AFK manager enabled or disabled? [0 = FALSE, 1 = TRUE]
// -
// Default: "1"
sm_afk_enable "1"

// Should the AFK manager exclude checking dead players? [0 = FALSE, 1 = TRUE]
// -
// Default: "0"
sm_afk_exclude_dead "0"

// Minimum amount of connected clients needed to kick AFK clients.
// -
// Default: "6"
sm_afk_kick_min_players "6"

// Should the AFK manager kick clients? [0 = DISABLED, 1 = KICK ALL, 2 = ALL EXCEPT SPECTATORS, 3 = SPECTATORS ONLY]
// -
// Default: "1"
sm_afk_kick_players "1"

// Time in seconds (total) client must be AFK before being kicked.
// -
// Default: "120.0"
sm_afk_kick_time "120.0"

// Time in seconds remaining, player should be warned before being kicked for AFK. [DEFAULT: 30.0 seconds]
// -
// Default: "30.0"
sm_afk_kick_warn_time "30.0"

// Threshold for amount of movement required to mark a player as AFK. [0 = NONE, DEFAULT: 30.0]
// -
// Default: "30.0"
sm_afk_location_threshold "30.0"

// Minimum amount of connected clients needed to move clients to spectator.
// -
// Default: "4"
sm_afk_move_min_players "4"

// Move AFK clients to spec before kicking them? [0 = FALSE, 1 = TRUE]
// -
// Default: "0"
sm_afk_move_spec "1"

// Time in seconds (total) client must be AFK before being moved to spectator.
// -
// Default: "60.0"
sm_afk_move_time "60.0"

// Time in seconds remaining, player should be warned before being moved for AFK. [DEFAULT: 30.0 seconds]
// -
// Default: "30.0"
sm_afk_move_warn_time "30.0"

// Should the AFK manager warn team 0 (Usually unassigned) players? (Disabling may not work for some games) [0 = FALSE, 1 = TRUE, DEFAULT: 1]
// -
// Default: "1"
sm_afk_move_warn_unassigned "1"

// Time in seconds, player should have moved from spawn before being flagged AFK. [0 = DISABLED, DEFAULT: 20.0 seconds]
// -
// Default: "20.0"
sm_afk_spawn_time "20.0"
Any idea ?

Thanks in advance for your answer.

Cya
Out of curiosity are you getting moved by the Spawn AFK manager and then kicked straight away or is it a normal move?

Have you tried setting the spawn AFK to 0?

I know things were broken by the latest TF2 update so it might be good to update to Metamod 1.8.1 and SourceMod latest snapshot.
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 05-07-2010 , 20:43   Re: AFK Manager (Any Mod) (Version 3.2.7 / Updated April 12 2010)
Reply With Quote #588

Ok everyone having issues I have now found a few issues after being able to load up my test server.

It seems Valve is fucking up. The Spectator team now fires the "Player_spawn" event which was causing the Spawn AFK to kick in which is why people were complaining of short kick times on connect I assume.

I now have to check if the player is a spectator when they spawn

I also fixed an oversight of the Spawn AFK system which did not mark the player as not "Spawn AFK" after moving then which caused them to get kicked straight afterward.

I will be updating shortly after I look into the TF2 Wait events a bit more and I might check to see if the TF2 Arena Spectator issues have been fixed since it seems like they have overhauled a bit.

Last edited by Rothgar; 05-07-2010 at 23:09.
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 05-07-2010 , 22:50   Re: AFK Manager (Any Mod) (Version 3.2.8 / Updated May 7 2010)
Reply With Quote #589

3.2.8 Released.

Fixed Valve Issue of firing player_spawn on Spectator team causing the Spawn AFK to kick in.

I changed the "Waiting for player" hooking a bit, let me know if you run into any issues with this, hard to hook this with the way valve have their game events

Also fixed a bug with not marking a player as no longer "Spawn AFK" after moving them, causing a kick straight afterwards.

Valve have not fixed the Arena Spectator issues so the fix is still in place.


I noticed in some cases the "Spawn AFK" might not work in TF2, possibly to do with round restarts causing a different spawn position, not entirely sure didn't class this as a big enough bug to look into. If you find any additional details feel free to let me know.

I ran my tests on 1.3.2 SourceMod with Metamod 1.8.1

Last edited by Rothgar; 05-07-2010 at 23:16.
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
borli
Member
Join Date: Dec 2009
Old 05-14-2010 , 16:51   Re: AFK Manager (Any Mod) (Version 3.2.8 / Updated May 7 2010)
Reply With Quote #590

I have installed the newest version of this plugin, but I have a problem with this plugin, which forces me to uninstall it. When I connect to the server, immediately it tells me that I am afk, and have 30 seconds to start moving, even if I switch to spectators, it is counting down, but I have set in cvars, that spectators and dead players should be excluded from afk kicking. The only way to stop counting down is to switch to ct or t. This is useless because sometimes I need to connect to server and switch to spectators first, when for example alleged cheater is on the server and i need to spec him for a while. Second problem is, when I am playing for a while as a ct or t, someone might look like suspicious then I must go to spectators, to spec him for a while and it is kicking me again after few minutes.
This is my cfg:
Quote:
// This file was auto-generated by SourceMod (v1.3.1)
// ConVars for plugin "afk_manager.smx"

// Admin Flag for immunity? Leave Blank for any flag.
// -
// Default: ""
sm_afk_admins_flag ""
// Are Admins immune to the AFK Manager? [0 = DISABLED, 1 = COMPLETE IMMUNITY, 2 = KICK IMMUNITY, 3 = MOVE IMMUNITY]
// -
// Default: "1"
sm_afk_admins_immune "0"
// Is the AFK manager enabled or disabled? [0 = FALSE, 1 = TRUE]
// -
// Default: "1"
sm_afk_enable "1"
// Should the AFK manager exclude checking dead players? [0 = FALSE, 1 = TRUE]
// -
// Default: "0"
sm_afk_exclude_dead "1"
// Minimum amount of connected clients needed to kick AFK clients.
// -
// Default: "6"
sm_afk_kick_min_players "6"
// Should the AFK manager kick clients? [0 = DISABLED, 1 = KICK ALL, 2 = ALL EXCEPT SPECTATORS, 3 = SPECTATORS ONLY]
// -
// Default: "1"
sm_afk_kick_players "2"
// Time in seconds (total) client must be AFK before being kicked.
// -
// Default: "120.0"
sm_afk_kick_time "120.0"
// Time in seconds remaining, player should be warned before being kicked for AFK. [DEFAULT: 30.0 seconds]
// -
// Default: "30.0"
sm_afk_kick_warn_time "30.0"
// Threshold for amount of movement required to mark a player as AFK. [0 = NONE, DEFAULT: 30.0]
// -
// Default: "30.0"
sm_afk_location_threshold "30.0"
// Minimum amount of connected clients needed to move clients to spectator.
// -
// Default: "4"
sm_afk_move_min_players "4"
// Move AFK clients to spec before kicking them? [0 = FALSE, 1 = TRUE]
// -
// Default: "0"
sm_afk_move_spec "0"
// Time in seconds (total) client must be AFK before being moved to spectator.
// -
// Default: "60.0"
sm_afk_move_time "60.0"
// Time in seconds remaining, player should be warned before being moved for AFK. [DEFAULT: 30.0 seconds]
// -
// Default: "30.0"
sm_afk_move_warn_time "30.0"
// Should the AFK manager warn team 0 (Usually unassigned) players? (Disabling may not work for some games) [0 = FALSE, 1 = TRUE, DEFAULT: 1]
// -
// Default: "1"
sm_afk_move_warn_unassigned "1"
// Time in seconds, player should have moved from spawn before being flagged AFK. [0 = DISABLED, DEFAULT: 20.0 seconds]
// -
// Default: "20.0"
sm_afk_spawn_time "30.0"
borli 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 00:18.


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