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 09-09-2011 , 19:08   Re: AFK Manager (Version 3.4.3 / Updated June 3rd 2011)
Reply With Quote #951

Quote:
Originally Posted by GrmL4D View Post
i installed the plugin but i have some questions about its behaviour with a linux L4D .
first thing is that the map is restarted when the player becomes a spectator
second is that if i touch mouse or keyboard i do not re-get control of player
third is that after few seconds being a spectator then the server kicks me ....
i mean it is nearly the same as if there was no plugin at all , no ?
Is this L4D or L4D2?

I have L4D and if you have a server I can test, L4D Spectator is much different from normal and I haven't really tested it. Because it uses Bots etc to take over it is a bit weird from what I gather.

I do not have L4D2
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
GrmL4D
Junior Member
Join Date: Sep 2011
Old 09-10-2011 , 06:55   Re: AFK Manager (Version 3.4.3 / Updated June 3rd 2011)
Reply With Quote #952

the server is L4D , i tested "[L4D(2)] AFK Manager" http://forums.alliedmods.net/showthr...4D+AFK+Manager and it acts a bit the same way as your manager .
at least for the map restarting when the player becomes afk or if i type /idle with the Matthias Vance 's plugin.
for the second point may be your plugin needs that the player type "/team" or "!team" to get back in the game ? like i learned with its .

i search an afk manager for my server , mostly to stop the internal valve one that kicks after 2 mns . i want to extend this limit to 5 or even 10 mn before the kick of player . thanks for quick help .

my server is named GRML4D and i am having same name
to connect simply use connect grml4d.dlinkddns.com:27015
server has Force Mission Changer 1.4.0 [may be you know what updated release i should use , my trouble is that video intro of maps are not displayed after map change ]
i have custom maps , i show the fms coop file
"ForceMissionChangerSettings"
{
"l4d_149_5"
{
"next mission map" "l4d_airport01_greenhouse"
"next mission name" "Dead Air"
}
"l4d_airport05_runway"
{
"next mission map" "l4d_city17_01"
"next mission name" "City 17"
}
"l4d_city17_05"
{
"next mission map" "l4d_river01_docks"
"next mission name" "The Sacrifice"
}
"l4d_river03_port"
{
"next mission map" "l4d_farm01_hilltop"
"next mission name" "Blood Harvest"
}
"l4d_farm05_cornfield"
{
"next mission map" "l4d_deadgetaway01_dam"
"next mission name" "Dead Getaway"
}
"l4d_deadgetaway_final"
{
"next mission map" "l4d_viennacalling_city"
"next mission name" "Vienna Calling"
}
"l4d_viennacalling_donauturm"
{
"next mission map" "l4d_deathaboard01_prison"
"next mission name" "Death Aboard"
}
"l4d_deathaboard05_light"
{
"next mission map" "l4d_stadium1_apartment"
"next mission name" "Suicide Blitz"
}
"l4d_stadium5_stadium"
{
"next mission map" "l4d_hospital01_apartment"
"next mission name" "No Mercy"
}
"l4d_hospital05_rooftop"
{
"next mission map" "l4d_noprecinct01_crash"
"next mission name" "Precinct 84"
}
"l4d_noprecinct04_precinct"
{
"next mission map" "l4d_smalltown01_caves"
"next mission name" "Death Toll"
}
"l4d_smalltown05_houseboat"
{
"next mission map" "l4d_darkblood01_tanker"
"next mission name" "Darkblood"
}
"l4d_darkblood04_extraction"
{
"next mission map" "l4d_garage01_alleys"
"next mission name" "Crash Course"
}
"l4d_garage02_lots"
{
"next mission map" "l4d_ihm01_forest"
"next mission name" "I Hate Mountains"
}
"l4d_ihm05_lakeside"
{
"next mission map" "l4d_dbd_citylights"
"next mission name" "Dead Before Dawn"
}
"l4d_dbd_new_dawn"
{
"next mission map" "l4d_149_1"
"next mission name" "One4Nine"
}

all missions are latests , i edited maps of "Vienna Calling" with pakrat to add them the dictionnary file so they are only playable with updated maps .
http://www.l4dmaps.com/details.php?f...cmd=addcomment
they are at http://www.megaupload.com/?d=QWC678R7
may be i can set the server to one of its maps so it is sure that it will be only me playing or no-else except some readers from here 8"]


the config for your plugin is

// This file was auto-generated by SourceMod (v1.3.
// ConVars for plugin "afk_manager.smx"

// Admin Flag for immunity? Leave Blank for any flag.
// -
// Default: ""
sm_afk_admins_flag "z"
// 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 "1"
// 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 "1"
// Minimum number of connected clients required for AFK kick to be enabled. [DEFAULT: 6]
// -
// Default: "6"
sm_afk_kick_min_players "0"
// 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 "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"
// How many days should we keep AFK manager log files. [0 = INFINITE, DEFAULT: 0]
// -
// Default: "0"
sm_afk_log_days "0"
// 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 "1"
// 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 "0"
// 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 "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"
// 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"

i can not wait to play with you

edit : after testing and found that noip2 linux client is not well working with my routers setup , i installed ddclient from dyndns that is as perfect as srcds_run to find my ip and report it correctly so now use connect grml4d.dlinkddns.com:27015 to join

Last edited by GrmL4D; 09-12-2011 at 06:34.
GrmL4D is offline
Argus
Junior Member
Join Date: Oct 2007
Location: Russia
Old 09-13-2011 , 12:22   Re: AFK Manager (Version 3.4.3 / Updated June 3rd 2011)
Reply With Quote #953

Quote:
Originally Posted by Rothgar View Post
I don't fully understand what you mean, but are you saying you think I should say in my comment brackets 0 is the default?

I don't know how I can make the variable any clearer while keeping the length down.
I have corrected my post. it had misprint. sorry.

Last edited by Argus; 09-13-2011 at 12:30.
Argus is offline
bottiger
AlliedModders Donor
Join Date: Dec 2010
Old 09-13-2011 , 16:26   Re: AFK Manager (Version 3.4.3 / Updated June 3rd 2011)
Reply With Quote #954

I'm also getting these errors.

Code:
Dropped Ze Russian Hoovy from server (Disconnect by user.)
L 09/13/2011 - 13:08:09: [SM] Native "CloseHandle" reported: Handle f06b06fa is invalid (error 1)
L 09/13/2011 - 13:08:09: [SM] Displaying call stack trace for plugin "afk_manager.smx":
L 09/13/2011 - 13:08:09: [SM]   [0]  Line 1221, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::InitializePlayer()
L 09/13/2011 - 13:08:09: [SM]   [1]  Line 1366, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::OnClientPostAdminCheck()
[hreserved_slots] no slot amount defined, using 1 hidden slots as reserved.
[hreserved_slots] public slot used (1/32)
L 09/13/2011 - 13:08:26: [SM] Native "CloseHandle" reported: Handle f06b06fa is invalid (error 1)
L 09/13/2011 - 13:08:26: [SM] Displaying call stack trace for plugin "afk_manager.smx":
L 09/13/2011 - 13:08:26: [SM]   [0]  Line 1259, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::UnInitializePlayer()
L 09/13/2011 - 13:08:26: [SM]   [1]  Line 1376, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::OnClientDisconnect()
__________________
bottiger is offline
Rothgar
Veteran Member
Join Date: Nov 2007
Old 09-13-2011 , 18:14   Re: AFK Manager (Version 3.4.3 / Updated June 3rd 2011)
Reply With Quote #955

Quote:
Originally Posted by bottiger View Post
I'm also getting these errors.

Code:
Dropped Ze Russian Hoovy from server (Disconnect by user.)
L 09/13/2011 - 13:08:09: [SM] Native "CloseHandle" reported: Handle f06b06fa is invalid (error 1)
L 09/13/2011 - 13:08:09: [SM] Displaying call stack trace for plugin "afk_manager.smx":
L 09/13/2011 - 13:08:09: [SM]   [0]  Line 1221, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::InitializePlayer()
L 09/13/2011 - 13:08:09: [SM]   [1]  Line 1366, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::OnClientPostAdminCheck()
[hreserved_slots] no slot amount defined, using 1 hidden slots as reserved.
[hreserved_slots] public slot used (1/32)
L 09/13/2011 - 13:08:26: [SM] Native "CloseHandle" reported: Handle f06b06fa is invalid (error 1)
L 09/13/2011 - 13:08:26: [SM] Displaying call stack trace for plugin "afk_manager.smx":
L 09/13/2011 - 13:08:26: [SM]   [0]  Line 1259, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::UnInitializePlayer()
L 09/13/2011 - 13:08:26: [SM]   [1]  Line 1376, /home/groups/alliedmodders/forums/files/3/2/0/9/1/86989.attach::OnClientDisconnect()
Well if you can provide any further information on how to replicate the issue it would help.

Otherwise I have a debug build I want to test with some people but no-one has messaged me.
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
GrmL4D
Junior Member
Join Date: Sep 2011
Old 09-14-2011 , 02:37   Re: AFK Manager (Version 3.4.3 / Updated June 3rd 2011)
Reply With Quote #956

does your new build take the hand on the l4d kick-system and sets its timer to a new value for kicking ?
i think your manager is mostly interresting for all games that valve did without this new thingy that is not mangeable at all , by now

edit : i found this one :
disable autokick
http://forums.alliedmods.net/showthread.php?p=665602

may be you can use parts of it to stop the l4d system and get the hand on the afk players
i ll try on my server by the end of week . by now i am rebuilding the nav files to make bots clevers

Last edited by GrmL4D; 09-14-2011 at 15:07.
GrmL4D is offline
Serenity
Junior Member
Join Date: Oct 2010
Old 09-18-2011 , 00:23   Re: AFK Manager (Version 3.4.3 / Updated June 3rd 2011)
Reply With Quote #957

Line 659, afk_manager-compat.sp::CheckForAFK()
L 09/17/2011 - 18:14:06: [SM] [1] Line 462, afk_manager-compat.sp::Timer_CheckPlaye


not working for me as of new update
Serenity is offline
Rothgar
Veteran Member
Join Date: Nov 2007
Old 09-20-2011 , 01:53   Re: AFK Manager (Version 3.4.3 / Updated June 3rd 2011)
Reply With Quote #958

Quote:
Originally Posted by Serenity View Post
Line 659, afk_manager-compat.sp::CheckForAFK()
L 09/17/2011 - 18:14:06: [SM] [1] Line 462, afk_manager-compat.sp::Timer_CheckPlaye


not working for me as of new update
Where is the full error?
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
BeaverKing
Junior Member
Join Date: Jul 2011
Old 10-04-2011 , 21:37   Re: AFK Manager (Version 3.4.3 / Updated June 3rd 2011)
Reply With Quote #959

Figured I'd post this here for you Roth, just in case it's helpful somehow, but... My co-leader of my servers couldn't get this plugin to install properly the other day and was getting a load error for the plugin in the sourcemod list. i looked into it and found that the plugin was failing to load because there was no log folder for sourcemod: \tf\addons\sourcemod\logs

i created the folder manually and restarted the server and the plugin loaded fine, it just couldnt auto-create the logs folder to dump the minimum player info and whatever that the plugin logs at loading. here's the entry from the sourcemod_fatal.log file in the TF root directoryL 10/04/2011 - 03:152: [SM] Unexpected fatal logging error (file "C:\servers\mit2\orangebox\tf\addons\sourcemo d\logs\L20111004.log")
L 10/04/2011 - 03:152: [SM] Platform returned error: "The system cannot find the path specified."
L 10/04/2011 - 03:152: [SM] Logging has been disabled.

Figured I'd share since she said she had contacted you (i guess) and couldn't get a solution. Don't know if it's a function of the plugin or sourcemod itself, but hope this is useful somehow. Cheers

P.S. Current mod versions: MetaMod v1.8.8-dev and SourceMod v1.3.9-dev

Last edited by BeaverKing; 10-04-2011 at 21:40.
BeaverKing is offline
Rothgar
Veteran Member
Join Date: Nov 2007
Old 10-05-2011 , 06:11   Re: AFK Manager (Version 3.4.3 / Updated June 3rd 2011)
Reply With Quote #960

Quote:
Originally Posted by BeaverKing View Post
Figured I'd post this here for you Roth, just in case it's helpful somehow, but... My co-leader of my servers couldn't get this plugin to install properly the other day and was getting a load error for the plugin in the sourcemod list. i looked into it and found that the plugin was failing to load because there was no log folder for sourcemod: \tf\addons\sourcemod\logs

i created the folder manually and restarted the server and the plugin loaded fine, it just couldnt auto-create the logs folder to dump the minimum player info and whatever that the plugin logs at loading. here's the entry from the sourcemod_fatal.log file in the TF root directoryL 10/04/2011 - 03:152: [SM] Unexpected fatal logging error (file "C:\servers\mit2\orangebox\tf\addons\sourcemo d\logs\L20111004.log")
L 10/04/2011 - 03:152: [SM] Platform returned error: "The system cannot find the path specified."
L 10/04/2011 - 03:152: [SM] Logging has been disabled.

Figured I'd share since she said she had contacted you (i guess) and couldn't get a solution. Don't know if it's a function of the plugin or sourcemod itself, but hope this is useful somehow. Cheers

P.S. Current mod versions: MetaMod v1.8.8-dev and SourceMod v1.3.9-dev
Thanks for the report.

I do log the AFK Manager logs now into the "logs" folder under SourceMod.

Is this not the default location for SourceMod logs? Did you change the default location or has it changed?

I'll make a copy and test with you if you are wanting to.

I can see if I can hook the SourceMod log location if it's non default otherwise I might just try create the folder if it does not exist.

Let me know if you are interested as I'd like to test in your environment since it's the first I have heard of it.
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 10:12.


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