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
Chaosxk
Veteran Member
Join Date: Aug 2010
Location: Westeros
Old 08-20-2012 , 20:20   Re: AFK Manager (Version 3.4.3 / Updated June 3rd 2011)
Reply With Quote #1121

Quote:
Originally Posted by DanK. View Post
Code:
L 07/19/2012 - 17:04:45: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 07/19/2012 - 17:04:45: [SM] Native "LogAction" reported: Language phrase "TF2" not found
L 07/19/2012 - 17:04:45: [SM] Displaying call stack trace for plugin "afk_manager.smx":
L 07/19/2012 - 17:04:45: [SM]   [0]  Line 436, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::OnPluginStart()
Also had this error, for future reference for people who also get this error, i fixed it by renaming the translation file without the "_" without quotes and edit "TF2" in the translation file to "tf". Then i edit the plugin to rename the translation file to the new name and edited

"LogAction(0, -1, "[AFK Manager] %T", "TF2", LANG_SERVER);" to "LogAction(0, -1, "[AFK Manager] %T", "tf", LANG_SERVER);"
__________________

Last edited by Chaosxk; 08-20-2012 at 20:30.
Chaosxk is offline
Rothgar
Veteran Member
Join Date: Nov 2007
Old 08-21-2012 , 05:15   Re: AFK Manager (Version 3.4.3 / Updated June 3rd 2011)
Reply With Quote #1122

Quote:
Originally Posted by Chaosxk View Post
Also had this error, for future reference for people who also get this error, i fixed it by renaming the translation file without the "_" without quotes and edit "TF2" in the translation file to "tf". Then i edit the plugin to rename the translation file to the new name and edited

"LogAction(0, -1, "[AFK Manager] %T", "TF2", LANG_SERVER);" to "LogAction(0, -1, "[AFK Manager] %T", "tf", LANG_SERVER);"
What? Is this really a problem or a bug or what?

The Translation's are set to afk_manager and I have not heard of "TF2" causing any problems in translation definitions...

What version of SourceMod and is this reproducible?
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
karil
SourceMod Donor
Join Date: Jan 2010
Old 08-22-2012 , 11:43   Re: AFK Manager (Version 3.4.3 / Updated June 3rd 2011)
Reply With Quote #1123

This plugin works in CS:GO so far. Moves, kicks, respects immunity OK.
karil is offline
karil
SourceMod Donor
Join Date: Jan 2010
Old 08-22-2012 , 13:50   Re: AFK Manager (Version 3.4.3 / Updated June 3rd 2011)
Reply With Quote #1124

Actually I just found something. It moved me to spectators for being AFK then after some time I wanted to play. This is what happened (it threw me back to spectators twice)

Server log:
Quote:
L 08/22/2012 - 18:20:07: "Karil<5><STEAM_1:1:2200156><Spectator>" joined team "CT"
L 08/22/2012 - 18:20:09: "Karil<5><STEAM_1:1:2200156><CT>" joined team "Spectator"
L 08/22/2012 - 18:20:21: "Karil<5><STEAM_1:1:2200156><Spectator>" joined team "CT"
L 08/22/2012 - 18:20:24: "Karil<5><STEAM_1:1:2200156><CT>" joined team "Spectator"
L 08/22/2012 - 18:200: "Karil<5><STEAM_1:1:2200156><Spectator>" joined team "CT"
AFK manager log:
Quote:
L 08/22/2012 - 18:20:09: [afk_manager.smx] Karil<5><STEAM_1:1:2200151><> was moved to spectate for being AFK too long.
L 08/22/2012 - 18:20:24: [afk_manager.smx] Karil<5><STEAM_1:1:2200151><> was moved to spectate for being AFK too long.
So as you can see I successfully joined the match in the 3rd try.

Last edited by karil; 08-22-2012 at 13:51.
karil is offline
Rothgar
Veteran Member
Join Date: Nov 2007
Old 08-22-2012 , 17:39   Re: AFK Manager (Version 3.4.3 / Updated June 3rd 2011)
Reply With Quote #1125

Quote:
Originally Posted by karil View Post
Actually I just found something. It moved me to spectators for being AFK then after some time I wanted to play. This is what happened (it threw me back to spectators twice)

Server log:
AFK manager log:
So as you can see I successfully joined the match in the 3rd try.
I have heard this happening, I will look into this, seems a bit strange and not happening all the time.

Actually maybe it's CS:GO firing Player_Spawn each time a player changes team like CS:S

Can you look at running the tests from the last page.

I will be away for about a week but will look to fix the bug if I can track down the problem when I can.

Last edited by Rothgar; 08-22-2012 at 17:43.
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
PAL-18
AlliedModders Donor
Join Date: Jul 2010
Old 08-22-2012 , 18:03   Re: AFK Manager (Version 3.4.3 / Updated June 3rd 2011)
Reply With Quote #1126

This plugin doesnt work anymore in TF2. Players get moved to spectator (even though i dont have that configured) and they never get kicked.
PAL-18 is offline
Rothgar
Veteran Member
Join Date: Nov 2007
Old 08-22-2012 , 18:10   Re: AFK Manager (Version 3.4.3 / Updated June 3rd 2011)
Reply With Quote #1127

Quote:
Originally Posted by PAL-18 View Post
This plugin doesnt work anymore in TF2. Players get moved to spectator (even though i dont have that configured) and they never get kicked.
Are there any errors? What are your settings?

When do they get moved to spectator?

More details would be useful... >_<
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
PAL-18
AlliedModders Donor
Join Date: Jul 2010
Old 08-22-2012 , 18:43   Re: AFK Manager (Version 3.4.3 / Updated June 3rd 2011)
Reply With Quote #1128

NM, i didnt notice you updated the plugin. I was using an old version :S

One thing i did notice, the new version creates a config with the cvars of the old version.

Last edited by PAL-18; 08-22-2012 at 18:43.
PAL-18 is offline
karil
SourceMod Donor
Join Date: Jan 2010
Old 08-23-2012 , 13:56   Re: AFK Manager (Version 3.4.3 / Updated June 3rd 2011)
Reply With Quote #1129

Quote:
Originally Posted by Rothgar View Post
There should be a sm_afk_test command to manually move people to spectator team.
Can you try this command on the last person alive on the team and see if the round ends properly.
Also while we are doing this maybe test and see if you use the command on the player with the bomb, that the bomb drops?
I used that command with RCON, otherwise it was unknown.

I used it on the last person with bomb alive on the team and the result was:


rcon sm_afk_test Merel
L 08/23/2012 - 199:14: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 08/23/2012 - 199:14: [SM] Native "PrintToChat" reported: Language phrase "Move_Announce" not found
L 08/23/2012 - 199:14: [SM] Displaying call stack trace for plugin "cstrike-test.smx":
L 08/23/2012 - 199:14: [SM] [0] Line 221, /home/groups/alliedmodders/forums/files/3/2/0/9/1/106656.attach::MoveAFKClient()
L 08/23/2012 - 199:14: [SM] [1] Line 183, /home/groups/alliedmodders/forums/files/3/2/0/9/1/106656.attach::Command_Spec()
L 08/23/2012 - 199:14: rcon from "myip": command "sm_afk_test Merel"

I have afk_manager.phrases in translations from the first post and they do have "Move_Announce"....

Quote:
Originally Posted by Rothgar View Post
The other test is that I have hooked the player_spawn event and it should print a message to chat that the event has fired.

Can you get someone to join the server and see what happens when:
  1. The player joins and is on the Unassigned team.
  2. When a player joins the spectator team.
  3. When a player joins one of the main teams.
player_spawn obviously should not be firing for these and then lastly maybe make sure that when a player actually spawns it fires...
  1. Event_PlayerSpawn - Client 2 (Merel) spawned
  2. doesn't fire
  3. fires only when the round was restarted because we played 1v1 so this is also the answer to your last question if it fires when player actually spawns


One more thing in AFKmanager. I reenabled it today for a few minutes. When I joined the server and a team and was of course dead waiting for next round it started to warn me if I don't leave spawn I will be put to spec. I moved the mouse a couple of times and it was Ok then.
karil is offline
PAL-18
AlliedModders Donor
Join Date: Jul 2010
Old 08-23-2012 , 16:33   Re: AFK Manager (Version 3.4.3 / Updated June 3rd 2011)
Reply With Quote #1130

New version isint working either somehow some players in spectator arent getting kicked. And they've been idling for hours.

I have sm_afk_kick_time set to 300 and players are getting kicked after around 25 seconds of idling while on a team (in CSS).

I managed to sort of fix it by setting sm_afk_kick_warn_time to 300. But every 5 seconds it tells the user they're going to be kicked if they dont move.

Last edited by PAL-18; 08-25-2012 at 16:13.
PAL-18 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 06:08.


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