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
Rothgar
Veteran Member
Join Date: Nov 2007
Old 07-22-2011 , 19:16   Re: AFK Manager (Version 3.4.3 / Updated June 3rd 2011)
Reply With Quote #921

It seems like one of the players did not disconnect properly or something along those lines and so the UnInitialize function did not clear the timer handle.

What was the first error in the sequence?
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 07-26-2011 , 07:34   Re: AFK Manager (Version 3.4.3 / Updated June 3rd 2011)
Reply With Quote #922

The list of errors i've found(Or at least types):

Code:
L 07/21/2011 - 20:29:24: [SM] Native "CloseHandle" reported: Handle a0390357 is invalid (error 1)
L 07/21/2011 - 20:29:24: [SM] Displaying call stack trace for plugin "afk_manager.smx":
L 07/21/2011 - 20:29:24: [SM]   [0]  Line 1221, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::InitializePlayer()
L 07/21/2011 - 20:29:24: [SM]   [1]  Line 1366, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::OnClientPostAdminCheck()
Code:
L 07/21/2011 - 20:35:20: [SM] Native "CloseHandle" reported: Handle a0390357 is invalid (error 1)
L 07/21/2011 - 20:35:20: [SM] Displaying call stack trace for plugin "afk_manager.smx":
L 07/21/2011 - 20:35:20: [SM]   [0]  Line 1221, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::InitializePlayer()
L 07/21/2011 - 20:35:20: [SM]   [1]  Line 1554, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::Event_PlayerSpawn()
Code:
L 07/21/2011 - 21:37:32: [SM] Native "CloseHandle" reported: Handle a0390357 is invalid (error 1)
L 07/21/2011 - 21:37:32: [SM] Displaying call stack trace for plugin "afk_manager.smx":
L 07/21/2011 - 21:37:32: [SM]   [0]  Line 1259, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::UnInitializePlayer()
L 07/21/2011 - 21:37:32: [SM]   [1]  Line 1376, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::OnClientDisconnect()
I just figured out something new, the errors do NOT appear on my other servers, only my VS Saxton Hale Mode server. Anything with that mod may interfere with this plugin? I don't see why it wouldn't but i don't see any of those errors with my other servers.

Last edited by Drixevel; 07-26-2011 at 07:38.
Drixevel is offline
WebNoob
Senior Member
Join Date: Jul 2008
Old 07-26-2011 , 08:51   Re: AFK Manager (Version 3.4.3 / Updated June 3rd 2011)
Reply With Quote #923

For some reason, this plugin is now completely ignoring the settings in the config file. Here is my config:

Code:
// This file was auto-generated by SourceMod (v1.3.8)
// ConVars for plugin "afk_manager.smx"


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

// Should admins be 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 automatic plugin update enabled or disabled? (Requires SourceMod Autoupdate plugin) [0 = FALSE, 1 = TRUE]
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_afk_autoupdate "0"

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

// Should the AFK manager exclude counting bots in player counts? [0 = FALSE, 1 = TRUE]
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_afk_exclude_bots "0"

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

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

// 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 "1"

// Time in seconds (total) client must be AFK before being kicked. [0 = DISABLED, DEFAULT: 120.0 seconds]
// -
// Default: "120.0"
sm_afk_kick_time "300.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"

// How many days should we keep AFK manager log files. [0 = INFINITE, DEFAULT: 0]
// -
// Default: "0"
sm_afk_log_days "1"

// Should the AFK manager log client kicks. [0 = FALSE, 1 = TRUE, DEFAULT: 1]
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_afk_log_kicks "1"

// Should the AFK manager log client moves. [0 = FALSE, 1 = TRUE, DEFAULT: 1]
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_afk_log_moves "0"

// Should the AFK manager log plugin warning messages. [0 = FALSE, 1 = TRUE, DEFAULT: 1]
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_afk_log_warnings "1"

// Minimum number of connected clients required for AFK move to be enabled. [DEFAULT: 4]
// -
// Default: "4"
sm_afk_move_min_players "20"

// Should the AFK Manager move AFK clients to spectator team? [0 = FALSE, 1 = TRUE]
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_afk_move_spec "1"

// Time in seconds (total) client must be AFK before being moved to spectator. [0 = DISABLED, DEFAULT: 60.0 seconds]
// -
// Default: "60.0"
sm_afk_move_time "120.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"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_afk_move_warn_unassigned "1"

// Time in seconds (total) that player should have moved from their spawn position. [0 = DISABLED, DEFAULT: 20.0 seconds]
// -
// Default: "20.0"
sm_afk_spawn_time "20.0"

// Time in seconds remaining, player should be warned for being AFK in spawn. [DEFAULT: 15.0 seconds]
// -
// Default: "15.0"
sm_afk_spawn_warn_time "15.0"
Here is what I see in the log:

Quote:
L 07/26/2011 - 05:47:44: [afk_manager.smx] AFK Manager Log File
L 07/26/2011 - 05:47:49: [afk_manager.smx] Minimum player count for AFK move has not been reached, feature is now disabled: sm_afk_move_min_players = 4 Current Players = 0
L 07/26/2011 - 05:47:49: [afk_manager.smx] Minimum player count for AFK kick has not been reached, feature is now disabled: sm_afk_kick_min_players = 6 Current Players = 0
Did the update break something?
WebNoob is offline
nineteeneleven
Veteran Member
Join Date: Nov 2010
Old 07-26-2011 , 16:18   Re: AFK Manager (Version 3.4.3 / Updated June 3rd 2011)
Reply With Quote #924

Quote:
Originally Posted by r3dw3r3w0lf View Post
The list of errors i've found(Or at least types):

Code:
L 07/21/2011 - 20:29:24: [SM] Native "CloseHandle" reported: Handle a0390357 is invalid (error 1)
L 07/21/2011 - 20:29:24: [SM] Displaying call stack trace for plugin "afk_manager.smx":
L 07/21/2011 - 20:29:24: [SM]   [0]  Line 1221, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::InitializePlayer()
L 07/21/2011 - 20:29:24: [SM]   [1]  Line 1366, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::OnClientPostAdminCheck()
Code:
L 07/21/2011 - 20:35:20: [SM] Native "CloseHandle" reported: Handle a0390357 is invalid (error 1)
L 07/21/2011 - 20:35:20: [SM] Displaying call stack trace for plugin "afk_manager.smx":
L 07/21/2011 - 20:35:20: [SM]   [0]  Line 1221, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::InitializePlayer()
L 07/21/2011 - 20:35:20: [SM]   [1]  Line 1554, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::Event_PlayerSpawn()
Code:
L 07/21/2011 - 21:37:32: [SM] Native "CloseHandle" reported: Handle a0390357 is invalid (error 1)
L 07/21/2011 - 21:37:32: [SM] Displaying call stack trace for plugin "afk_manager.smx":
L 07/21/2011 - 21:37:32: [SM]   [0]  Line 1259, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::UnInitializePlayer()
L 07/21/2011 - 21:37:32: [SM]   [1]  Line 1376, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::OnClientDisconnect()
I just figured out something new, the errors do NOT appear on my other servers, only my VS Saxton Hale Mode server. Anything with that mod may interfere with this plugin? I don't see why it wouldn't but i don't see any of those errors with my other servers.
i have the exact same thing
__________________
nineteeneleven is offline
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 07-26-2011 , 23:11   Re: AFK Manager (Version 3.4.3 / Updated June 3rd 2011)
Reply With Quote #925

I think there's an integration problem with both plugins so i'm gonna go ahead and uninstall this plugin on my VSH Server just so we don't have to deal with it since it seems silly to make it compatible. I'll use the built-in kick system.
Drixevel is offline
Rothgar
Veteran Member
Join Date: Nov 2007
Old 08-01-2011 , 21:42   Re: AFK Manager (Version 3.4.3 / Updated June 3rd 2011)
Reply With Quote #926

Quote:
Originally Posted by r3dw3r3w0lf View Post
The list of errors i've found(Or at least types):

Code:
L 07/21/2011 - 20:29:24: [SM] Native "CloseHandle" reported: Handle a0390357 is invalid (error 1)
L 07/21/2011 - 20:29:24: [SM] Displaying call stack trace for plugin "afk_manager.smx":
L 07/21/2011 - 20:29:24: [SM]   [0]  Line 1221, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::InitializePlayer()
L 07/21/2011 - 20:29:24: [SM]   [1]  Line 1366, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::OnClientPostAdminCheck()
Code:
L 07/21/2011 - 20:35:20: [SM] Native "CloseHandle" reported: Handle a0390357 is invalid (error 1)
L 07/21/2011 - 20:35:20: [SM] Displaying call stack trace for plugin "afk_manager.smx":
L 07/21/2011 - 20:35:20: [SM]   [0]  Line 1221, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::InitializePlayer()
L 07/21/2011 - 20:35:20: [SM]   [1]  Line 1554, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::Event_PlayerSpawn()
Code:
L 07/21/2011 - 21:37:32: [SM] Native "CloseHandle" reported: Handle a0390357 is invalid (error 1)
L 07/21/2011 - 21:37:32: [SM] Displaying call stack trace for plugin "afk_manager.smx":
L 07/21/2011 - 21:37:32: [SM]   [0]  Line 1259, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::UnInitializePlayer()
L 07/21/2011 - 21:37:32: [SM]   [1]  Line 1376, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::OnClientDisconnect()
I just figured out something new, the errors do NOT appear on my other servers, only my VS Saxton Hale Mode server. Anything with that mod may interfere with this plugin? I don't see why it wouldn't but i don't see any of those errors with my other servers.
Not sure, I'll take a quick look. I assume you have stopped the server and started it completely fresh before? The Handle it references is the same ID.

Do you run any bots or anything weird etc in that server/mode?
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 08-01-2011 , 21:43   Re: AFK Manager (Version 3.4.3 / Updated June 3rd 2011)
Reply With Quote #927

Quote:
Originally Posted by nineteeneleven View Post
i have the exact same thing
Are you running the same plugin?
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 08-02-2011 , 03:27   Re: AFK Manager (Version 3.4.3 / Updated June 3rd 2011)
Reply With Quote #928

Quote:
Originally Posted by WebNoob View Post
For some reason, this plugin is now completely ignoring the settings in the config file. Here is my config:

Here is what I see in the log:



Did the update break something?
Can you give me some access to the server to look at this? Send me a message.
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
Mev
Senior Member
Join Date: Apr 2011
Old 08-07-2011 , 07:02   Re: AFK Manager (Version 3.4.3 / Updated June 3rd 2011)
Reply With Quote #929

L 08/07/2011 - 20:50:24: [SM] Displaying call stack trace for plugin "afk_manager.smx":
L 08/07/2011 - 20:50:24: [SM] [0] Line 1221, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::InitializePlayer()
L 08/07/2011 - 20:50:24: [SM] [1] Line 1554, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::Event_PlayerSpawn()


*GETTING ALOT OF THESE*

Love this plugin but its occasionally crashing my server now
Mev is offline
Rothgar
Veteran Member
Join Date: Nov 2007
Old 08-07-2011 , 07:06   Re: AFK Manager (Version 3.4.3 / Updated June 3rd 2011)
Reply With Quote #930

Quote:
Originally Posted by Mev View Post
L 08/07/2011 - 20:50:24: [SM] Displaying call stack trace for plugin "afk_manager.smx":
L 08/07/2011 - 20:50:24: [SM] [0] Line 1221, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::InitializePlayer()
L 08/07/2011 - 20:50:24: [SM] [1] Line 1554, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::Event_PlayerSpawn()


*GETTING ALOT OF THESE*

Love this plugin but its occasionally crashing my server now
Can you get me the full log, how do you know it's this plugin crashing the server?
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 04:50.


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