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
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 10-17-2014 , 09:01   Re: AFK Manager (Version 3.5.2 / Updated July 13th 2013)
Reply With Quote #1491

Quote:
Originally Posted by Rothgar View Post
Living spectator glitch???

VSH is VS Saxton Hale? If so I have heard about VSH but never really looked into it, what issues are in VSH?
Mind you, the living spectator glitch isn't exclusive to VSH. But when it does happen in VSH sometimes you can have a round where the boss is invisible, appears to be on his team, but the boss is stuck in spectate and can't fight anyone or be slayed. (The same happens to -anyone- who's stuck in iiving spectator really).
__________________
Chdata is offline
hamilton5
Veteran Member
Join Date: Oct 2012
Location: USA
Old 10-18-2014 , 15:31   Re: AFK Manager (Version 3.5.2 / Updated July 13th 2013)
Reply With Quote #1492

Rothgar - still players first connecting moved to AFK have you any idea about this? I manually switched the player to a team and he started playing, so I know he was not AFK...
Code:
sm_afk_admins_flag ""
sm_afk_admins_immune "1"
sm_afk_autoupdate "0"
sm_afk_enable "1"
sm_afk_exclude_bots "0"
sm_afk_exclude_dead "1"
sm_afk_kick_min_players "1"
sm_afk_move_min_players "1"
sm_afk_move_spec "1"
sm_afk_location_threshold "30.0"
sm_afk_move_time "60.0"
sm_afk_move_warn_time "30.0"
sm_afk_kick_players "1"
sm_afk_kick_time "180.0"
sm_afk_kick_warn_time "20.0"
sm_afk_spawn_time "30.0"
sm_afk_spawn_warn_time "20.0"
sm_afk_move_warn_unassigned "0"
sm_afk_prefix_color "1"
sm_afk_prefix_short "1"
sm_afk_log_days "10"
sm_afk_log_kicks "1"
sm_afk_log_moves "1"
sm_afk_log_warnings "0"

Last edited by hamilton5; 10-18-2014 at 18:46.
hamilton5 is offline
Rothgar
Veteran Member
Join Date: Nov 2007
Old 10-19-2014 , 05:35   Re: AFK Manager (Version 3.5.2 / Updated July 13th 2013)
Reply With Quote #1493

Quote:
Originally Posted by Chdata View Post
Mind you, the living spectator glitch isn't exclusive to VSH. But when it does happen in VSH sometimes you can have a round where the boss is invisible, appears to be on his team, but the boss is stuck in spectate and can't fight anyone or be slayed. (The same happens to -anyone- who's stuck in iiving spectator really).
Can you provide some more details on this? The only issue I have been aware of is in TF2 Arena mode where moving a player to spectator team did not 100% move them correctly, no-one has mentioned other issues of this regard? Is it just TF2 related and can it be replicated?

Quote:
Originally Posted by hamilton5 View Post
Rothgar - still players first connecting moved to AFK have you any idea about this? I manually switched the player to a team and he started playing, so I know he was not AFK...
The warn_unassigned should be the correct variable, have you made sure it's correctly showing as 0?

Keep in mind if you are forcing players to be on a team? but no class/model selection has been done this will void the "unassigned" variable as they will be detected as on a team, best to have them on team 0 AKA unassigned when they join the server? This should usually happen by default?
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 10-19-2014 , 05:48   Re: AFK Manager (Version 3.5.2 / Updated July 13th 2013)
Reply With Quote #1494

That's exactly what I'm talking about. In arena mode it doesn't move them to the spectate team correctly, thus you get stuck with a player who's team is spectate even though they're still in blu or red and IsPlayerAlive(client) can return true and the player can be slayed multiple times in a row without really killing them.
__________________

Last edited by Chdata; 10-19-2014 at 05:48.
Chdata is offline
DeathMaster
AlliedModders Donor
Join Date: Mar 2009
Old 10-19-2014 , 21:32   Re: AFK Manager (Version 3.5.2 / Updated July 13th 2013)
Reply With Quote #1495

Quote:
Originally Posted by hamilton5 View Post
@ deathmaster - spamming like that for a couple of years!? I too have been using for over a year on csgo server with no real problems... I would try to figure out when it started and figure out what you changed around that point.. are you running an older SM and MM ?
Looks like it started early august. The only thing iv really changed multiple times would have been to update SM and MM. When I say my logs are spammed I mean there massively spammed, here's a tiny exert:


L 10/19/2014 - 15:02:53: [SM] Native "CloseHandle" reported: Handle dc512d14 is invalid (error 1)
L 10/19/2014 - 15:02:53: [SM] Displaying call stack trace for plugin "afk_manager.smx":
L 10/19/2014 - 15:02:53: [SM] [0] Line 1259, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::UnInitializePlayer()
L 10/19/2014 - 15:02:53: [SM] [1] Line 1376, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::OnClientDisconnect()
L 10/19/2014 - 15:03:51: [SM] Native "CloseHandle" reported: Handle 49f92db2 is invalid (error 3)
L 10/19/2014 - 15:03:51: [SM] Displaying call stack trace for plugin "afk_manager.smx":
L 10/19/2014 - 15:03:51: [SM] [0] Line 1259, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::UnInitializePlayer()
L 10/19/2014 - 15:03:51: [SM] [1] Line 1376, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::OnClientDisconnect()
L 10/19/2014 - 15:04:07: [SM] Native "CloseHandle" reported: Handle d50e2cd1 is invalid (error 1)
L 10/19/2014 - 15:04:07: [SM] Displaying call stack trace for plugin "afk_manager.smx":
L 10/19/2014 - 15:04:07: [SM] [0] Line 1259, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::UnInitializePlayer()
L 10/19/2014 - 15:04:07: [SM] [1] Line 1376, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::OnClientDisconnect()
L 10/19/2014 - 15:04:28: [SM] Native "CloseHandle" reported: Handle 9b8b2cf8 is invalid (error 3)
L 10/19/2014 - 15:04:28: [SM] Displaying call stack trace for plugin "afk_manager.smx":
L 10/19/2014 - 15:04:28: [SM] [0] Line 1259, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::UnInitializePlayer()
L 10/19/2014 - 15:04:28: [SM] [1] Line 1376, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::OnClientDisconnect()
L 10/19/2014 - 15:04:53: [SM] Native "CloseHandle" reported: Handle dc512d14 is invalid (error 1)
L 10/19/2014 - 15:04:53: [SM] Displaying call stack trace for plugin "afk_manager.smx":
L 10/19/2014 - 15:04:53: [SM] [0] Line 1221, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::InitializePlayer()
L 10/19/2014 - 15:04:53: [SM] [1] Line 1366, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::OnClientPostAdminCheck()
L 10/19/2014 - 15:058: [SM] Native "CloseHandle" reported: Handle 23092dd4 is invalid (error 3)
L 10/19/2014 - 15:058: [SM] Displaying call stack trace for plugin "afk_manager.smx":
L 10/19/2014 - 15:058: [SM] [0] Line 1259, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::UnInitializePlayer()
L 10/19/2014 - 15:058: [SM] [1] Line 1376, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::OnClientDisconnect()
L 10/19/2014 - 15:05:53: [SM] Native "CloseHandle" reported: Handle 9d4f2d20 is invalid (error 3)
L 10/19/2014 - 15:05:53: [SM] Displaying call stack trace for plugin "afk_manager.smx":
L 10/19/2014 - 15:05:53: [SM] [0] Line 1259, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::UnInitializePlayer()
L 10/19/2014 - 15:05:53: [SM] [1] Line 1376, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::OnClientDisconnect()
L 10/19/2014 - 15:06:08: [SM] Native "CloseHandle" reported: Handle 49f92db2 is invalid (error 3)
L 10/19/2014 - 15:06:08: [SM] Displaying call stack trace for plugin "afk_manager.smx":
L 10/19/2014 - 15:06:08: [SM] [0] Line 1221, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::InitializePlayer()
L 10/19/2014 - 15:06:08: [SM] [1] Line 1366, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::OnClientPostAdminCheck()
L 10/19/2014 - 15:126: [SM] Native "CloseHandle" reported: Handle 9d4f2d20 is invalid (error 3)
L 10/19/2014 - 15:126: [SM] Displaying call stack trace for plugin "afk_manager.smx":
L 10/19/2014 - 15:126: [SM] [0] Line 1221, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::InitializePlayer()
L 10/19/2014 - 15:126: [SM] [1] Line 1366, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::OnClientPostAdminCheck()
L 10/19/2014 - 15:12:52: [SM] Native "CloseHandle" reported: Handle 9b8b2cf8 is invalid (error 3)
L 10/19/2014 - 15:12:52: [SM] Displaying call stack trace for plugin "afk_manager.smx":
L 10/19/2014 - 15:12:52: [SM] [0] Line 1221, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::InitializePlayer()
L 10/19/2014 - 15:12:52: [SM] [1] Line 1366, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::OnClientPostAdminCheck()
L 10/19/2014 - 15:13:53: [SM] Native "CloseHandle" reported: Handle d58a2d3c is invalid (error 3)
L 10/19/2014 - 15:13:53: [SM] Displaying call stack trace for plugin "afk_manager.smx":
L 10/19/2014 - 15:13:53: [SM] [0] Line 1259, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::UnInitializePlayer()
L 10/19/2014 - 15:13:53: [SM] [1] Line 1376, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::OnClientDisconnect()
L 10/19/2014 - 15:16:05: [SM] Native "CloseHandle" reported: Handle 3bae2d1d is invalid (error 3)
L 10/19/2014 - 15:16:05: [SM] Displaying call stack trace for plugin "afk_manager.smx":
L 10/19/2014 - 15:16:05: [SM] [0] Line 1221, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::InitializePlayer()
L 10/19/2014 - 15:16:05: [SM] [1] Line 1366, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::OnClientPostAdminCheck()
L 10/19/2014 - 15:20:46: [SM] Native "CloseHandle" reported: Handle e15d2d01 is invalid (error 3)
L 10/19/2014 - 15:20:46: [SM] Displaying call stack trace for plugin "afk_manager.smx":
L 10/19/2014 - 15:20:46: [SM] [0] Line 1259, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::UnInitializePlayer()
L 10/19/2014 - 15:20:46: [SM] [1] Line 1376, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::OnClientDisconnect()
L 10/19/2014 - 15:20:52: [SM] Native "CloseHandle" reported: Handle dc512d14 is invalid (error 1)
L 10/19/2014 - 15:20:52: [SM] Displaying call stack trace for plugin "afk_manager.smx":
L 10/19/2014 - 15:20:52: [SM] [0] Line 1259, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::UnInitializePlayer()
L 10/19/2014 - 15:20:52: [SM] [1] Line 1376, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::OnClientDisconnect()
L 10/19/2014 - 15:21:04: [SM] Native "CloseHandle" reported: Handle 9d4f2d20 is invalid (error 3)
L 10/19/2014 - 15:21:04: [SM] Displaying call stack trace for plugin "afk_manager.smx":
L 10/19/2014 - 15:21:04: [SM] [0] Line 1259, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::UnInitializePlayer()
L 10/19/2014 - 15:21:04: [SM] [1] Line 1376, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::OnClientDisconnect()
L 10/19/2014 - 15:21:21: [SM] Native "CloseHandle" reported: Handle 15a62d7c is invalid (error 3)
L 10/19/2014 - 15:21:21: [SM] Displaying call stack trace for plugin "afk_manager.smx":
L 10/19/2014 - 15:21:21: [SM] [0] Line 1259, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::UnInitializePlayer()
L 10/19/2014 - 15:21:21: [SM] [1] Line 1376, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::OnClientDisconnect()
L 10/19/2014 - 15:22:44: [SM] Native "CloseHandle" reported: Handle 49f92db2 is invalid (error 3)
L 10/19/2014 - 15:22:44: [SM] Displaying call stack trace for plugin "afk_manager.smx":
L 10/19/2014 - 15:22:44: [SM] [0] Line 1259, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::UnInitializePlayer()
L 10/19/2014 - 15:22:44: [SM] [1] Line 1376, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::OnClientDisconnect()
L 10/19/2014 - 15:24:26: [SM] Native "CloseHandle" reported: Handle 49f92db2 is invalid (error 3)
L 10/19/2014 - 15:24:26: [SM] Displaying call stack trace for plugin "afk_manager.smx":
L 10/19/2014 - 15:24:26: [SM] [0] Line 1221, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::InitializePlayer()
L 10/19/2014 - 15:24:26: [SM] [1] Line 1366, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::OnClientPostAdminCheck()
L 10/19/2014 - 15:26:17: [SM] Native "CloseHandle" reported: Handle f3942d76 is invalid (error 1)
L 10/19/2014 - 15:26:17: [SM] Displaying call stack trace for plugin "afk_manager.smx":
L 10/19/2014 - 15:26:17: [SM] [0] Line 1259, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::UnInitializePlayer()
L 10/19/2014 - 15:26:17: [SM] [1] Line 1376, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::OnClientDisconnect()
L 10/19/2014 - 15:26:54: [SM] Native "CloseHandle" reported: Handle dc512d14 is invalid (error 1)
L 10/19/2014 - 15:26:54: [SM] Displaying call stack trace for plugin "afk_manager.smx":
L 10/19/2014 - 15:26:54: [SM] [0] Line 1221, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::InitializePlayer()
L 10/19/2014 - 15:26:54: [SM] [1] Line 1366, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::OnClientPostAdminCheck()
L 10/19/2014 - 15:28:01: [SM] Native "CloseHandle" reported: Handle dc512d14 is invalid (error 3)
L 10/19/2014 - 15:28:01: [SM] Displaying call stack trace for plugin "afk_manager.smx":
L 10/19/2014 - 15:28:01: [SM] [0] Line 1259, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::UnInitializePlayer()
L 10/19/2014 - 15:28:01: [SM] [1] Line 1376, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::OnClientDisconnect()

Last edited by DeathMaster; 10-19-2014 at 21:35.
DeathMaster is offline
Rothgar
Veteran Member
Join Date: Nov 2007
Old 10-20-2014 , 03:28   Re: AFK Manager (Version 3.5.2 / Updated July 13th 2013)
Reply With Quote #1496

Quote:
Originally Posted by DeathMaster View Post
Looks like it started early august. The only thing iv really changed multiple times would have been to update SM and MM. When I say my logs are spammed I mean there massively spammed, here's a tiny exert
Either there are some more serious issues on your server or it may have been broken during an upgrade.

Have you tried sm_unload afk_manager and then reload it?

The error is basically reporting it fails to close non existing timers, either because or weird plugins or AI/bots or Source TV I have no idea. The only other way I could see that happening is a bugged SourceMod version or maybe during an update it got confused.
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 10-20-2014 , 03:46   Re: AFK Manager (Version 3.5.2 / Updated July 13th 2013)
Reply With Quote #1497

Quote:
Originally Posted by Chdata View Post
That's exactly what I'm talking about. In arena mode it doesn't move them to the spectate team correctly, thus you get stuck with a player who's team is spectate even though they're still in blu or red and IsPlayerAlive(client) can return true and the player can be slayed multiple times in a row without really killing them.
Ok so looking at the modified version you posted you have just added a suicide before move is this correct?

I would like to know if the plugin actually thinks it's on an arena mode map? Can you test this by adding a log or print to chat entry inside the "if (bTF2Arena)" block.

Half my battle is finding an accurate way of checking for arena mode maps. Last I checked which was a while back, that code block fixed the spectator issue for official TF2 Arena maps using proper arena 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
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 10-20-2014 , 03:51   Re: AFK Manager (Version 3.5.2 / Updated July 13th 2013)
Reply With Quote #1498

Powerlord made some snippet for detecting what gamemode is active. The suicide happens regardless of if it's arena mode or not though.

https://forums.alliedmods.net/showthread.php?t=226621

Also that timer glitch above?

https://sm.alliedmods.net/api/index....d=show&id=157&

You don't use TIMER_FLAG_NO_MAPCHANGE for these timers... but maybe setting the timerhandlearray to INVALID_HANDLE OnMapEnd would help? I've never gotten the spam shown above myself though.
__________________

Last edited by Chdata; 10-20-2014 at 04:10.
Chdata is offline
Rothgar
Veteran Member
Join Date: Nov 2007
Old 10-21-2014 , 04:51   Re: AFK Manager (Version 3.5.2 / Updated July 13th 2013)
Reply With Quote #1499

Quote:
Originally Posted by Chdata View Post
Powerlord made some snippet for detecting what gamemode is active. The suicide happens regardless of if it's arena mode or not though.

https://forums.alliedmods.net/showthread.php?t=226621
Ok great, if you are happy to do some testing with me, PM me and we can connect on Steam Chat and see if we can't fix this properly.
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
-BULL-
Member
Join Date: Jul 2010
Location: Sweden
Old 10-23-2014 , 14:56   Re: AFK Manager (Version 3.5.2 / Updated July 13th 2013)
Reply With Quote #1500

Hi, need help
I running a csgo surf server SM 1.6.2 MM 1.10.3

I have now tried all possible settings.
1. I want to only those who are AFK will be kicked after a certain time.
2. I want Spectatre not to be kicked at all.

However, the timer starts when I joins spec from game menu and I get kicked as afk.
I can avoid being kicked (resetting the timer) in the spec if I write something in chat or if I jump between different players whether sm_afk_move_spec "1" or "0"
I put on sm_afk_move_spec "1" and let the plugin move me to spec I do not get kicked.
Is it possible that the plugin can do what I want?
How do I do in that case?
__________________

Last edited by -BULL-; 10-23-2014 at 14:57.
-BULL- 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 23:49.


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