Raised This Month: $ Target: $400
 0% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
EvilLinux
Member
Join Date: Dec 2004
Location: San Diego, CA
Old 07-09-2010 , 17:08   Re: AFK Manager (Any Mod) (Version 3.2.9 / Updated May 29 2010)
Reply With Quote #641

Quote:
Originally Posted by Rothgar View Post
Well the Log File line will be getting removed next patch as it relates to Debug logging so will only print now when Debug is enabled.

There is a new version which needs to be tested but is pending on suggestions for this:

http://forums.alliedmods.net/showpos...&postcount=611

I am not sure if it's worth adding an extra cvar just to reduce those log messages or whether I should add them as Debug messages or otherwise. the problem is people unfamiliar will probably not know to edit the plugin to enable Debug.

Unless maybe I post 2 versions on the front page.
I'd suggest a cvar that control "Log on" or "Log off" functionality of it, so people who want to see endless logs of stuff can and those of us who run servers that don't need it writing every 5seconds ;).

If you need testers for the new version let me know, we'd be more than happy to test on our sysdev box at N00bSalad.
__________________
N00bSalad Gaming Community
www.n00bsalad.net
CERKSystems - IT Management/Consulting
http://www.cerksystems.com
EvilLinux is offline
Send a message via AIM to EvilLinux Send a message via MSN to EvilLinux Send a message via Yahoo to EvilLinux Send a message via Skype™ to EvilLinux
Rothgar
Veteran Member
Join Date: Nov 2007
Old 07-11-2010 , 11:09   Re: AFK Manager (Any Mod) (Version 3.2.9 / Updated May 29 2010)
Reply With Quote #642

Ok well I'll look at fixing that in the next version as well.

Can some people give feedback on this:

http://forums.alliedmods.net/showpos...&postcount=611

So I can fix that for next release as well? Once I have some ideas on decreasing the Spawn AFK Messages for deathmatch servers I can probably get a new version out in a few days.
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
toString
Senior Member
Join Date: Jun 2009
Old 07-13-2010 , 17:41   Re: AFK Manager (Any Mod) (Version 3.2.9 / Updated May 29 2010)
Reply With Quote #643

Thanks I'd really appreciate it

Currently my daily SM logs are condemned to being unreadable because of this plugin
toString is offline
SaintK
Veteran Member
Join Date: Mar 2004
Old 07-21-2010 , 09:26   Re: AFK Manager (Any Mod) (Version 3.2.9 / Updated May 29 2010)
Reply With Quote #644

Quote:
Originally Posted by Rothgar View Post
Er can you post your full file?

It reads the config file on load and after every map change?
Code:
// This file was auto-generated by SourceMod (v1.4.0-dev)
// ConVars for plugin "afk_manager.smx"


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

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

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

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

// Time in seconds (total) client must be AFK before being kicked.
// -
// Default: "120.0"
sm_afk_kick_time "240.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 "160.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 "12"

// 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 "70.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 "10.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"

// Current version of the AFK Manager
// -
// Default: "3.2.9"
sm_afkm_version "3.2.9"
As said in IRC, it does pick up the setting now, but it randomly works. Sometimes you get a warning 10 sec ahead (as configured), sometimes you get a warning 10 secs from the start of the check (warns you get moved in 60sec)
SaintK is offline
dimetrius
New Member
Join Date: Aug 2010
Location: Ukraine
Old 08-15-2010 , 07:06   Re: AFK Manager (Any Mod) (Version 3.2.9 / Updated May 29 2010)
Reply With Quote #645

Can I turn off the notification in the chat?
dimetrius is offline
Rothgar
Veteran Member
Join Date: Nov 2007
Old 08-15-2010 , 16:33   Re: AFK Manager (Any Mod) (Version 3.2.9 / Updated May 29 2010)
Reply With Quote #646

Quote:
Originally Posted by dimetrius View Post
Can I turn off the notification in the chat?
Like what?
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
dimetrius
New Member
Join Date: Aug 2010
Location: Ukraine
Old 08-15-2010 , 18:30   Re: AFK Manager (Any Mod) (Version 3.2.9 / Updated May 29 2010)
Reply With Quote #647

Sorry, maybe I do not understand that question.

But ...
In the chat games constantly appear line available to all players:
"Forced player (1) to join the spectator team."
"(1) was moved to spectate for being AFK too long."
"(1) was kicked for being AFK too long."

I want to disable these lines only for those players to whom they are not needed.
Sorry for my English
dimetrius is offline
Rothgar
Veteran Member
Join Date: Nov 2007
Old 08-16-2010 , 19:14   Re: AFK Manager (Any Mod) (Version 3.2.9 / Updated May 29 2010)
Reply With Quote #648

"Forced player (1) to join the spectator team." << I assume this if for the afk_spectate command which takes from your normal SourceMod Admin Notification option.

As for the normal move and kick messages, why would you want to disable these?
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
santaclaus
Senior Member
Join Date: Dec 2008
Old 08-20-2010 , 03:53   Re: AFK Manager (Any Mod) (Version 3.2.9 / Updated May 29 2010)
Reply With Quote #649

Hi,

I have these erros in my logs :

Code:
L 08/20/2010 - 00:01:55: [SM] Native "CloseHandle" reported: Handle 56c903d5 is invalid (error 1)
L 08/20/2010 - 00:01:55: [SM] Displaying call stack trace for plugin "afk_manager.smx":
L 08/20/2010 - 00:01:55: [SM]   [0]  Line 612, afk_manager.sp::UnInitializePlayer()
L 08/20/2010 - 00:01:55: [SM]   [1]  Line 684, afk_manager.sp::OnClientDisconnect()
L 08/20/2010 - 00:01:55: [SM] Native "CloseHandle" reported: Handle 7489073d is invalid (error 3)
L 08/20/2010 - 00:01:55: [SM] Displaying call stack trace for plugin "afk_manager.smx":
L 08/20/2010 - 00:01:55: [SM]   [0]  Line 612, afk_manager.sp::UnInitializePlayer()
L 08/20/2010 - 00:01:55: [SM]   [1]  Line 684, afk_manager.sp::OnClientDisconnect()
I don't know how to fix it .

Info :
Code:
meta version
Metamod:Source version 1.8.4-dev
Build ID: 736:8e96a701d761-dev
Loaded As: Valve Server Plugin
Compiled on: Jul 28 2010
Plugin interface version: 15:14
SourceHook version: 5:5
http://www.metamodsource.net/
sm version
 SourceMod Version Information:
    SourceMod Version: 1.3.5-dev
    SourcePawn Engine: SourcePawn 1.1, jit-x86 (build 1.3.5-dev)
    SourcePawn API: v1 = 4, v2 = 3
    Compiled on: Jul 28 2010 05:53:21
    Build ID: 3026:2696462effe3-dev
    http://www.sourcemod.net/
sm plugins list
[SM] Listing 31 plugins:
  01 "Admin File Reader" (1.3.5-dev) by AlliedModders LLC
  02 "Admin Help" (1.3.5-dev) by AlliedModders LLC
  03 "Admin Menu" (1.3.5-dev) by AlliedModders LLC
  04 "Advertisements" (0.5.5) by Tsunami
  05 "AFK Manager" (3.2.9) by Rothgar
  06 "Anti-Flood" (1.3.5-dev) by AlliedModders LLC
  07 "Basic Chat" (1.3.5-dev) by AlliedModders LLC
  08 "Basic Comm Control" (1.3.5-dev) by AlliedModders LLC
  09 "Basic Commands" (1.3.5-dev) by AlliedModders LLC
  10 "Basic Info Triggers" (1.3.5-dev) by AlliedModders LLC
  11 "Basic Votes" (1.3.5-dev) by AlliedModders LLC
  12 "Client Preferences" (1.3.5-dev) by AlliedModders LLC
  13 "Fun Commands" (1.3.5-dev) by AlliedModders LLC
  14 "GameCron" (1.0.3) by Otstrel.ru Team modified version
  15 "GamerFM Request/Shoutout" (1.0) by Lethal (uknemesis-server.net)
  16 "Kigen's Anti-Cheat" (1.2.1.2) by CodingDirect LLC
  17 "MapChooser" (1.3.5-dev) by AlliedModders LLC
  18 "Nextmap" (1.3.5-dev) by AlliedModders LLC
  19 "Map Nominations" (1.3.5-dev) by AlliedModders LLC
  20 "Player Commands" (1.3.5-dev) by AlliedModders LLC
  21 "Players Votes" (1.5.0) by The Resident, pZv!
  22 "SourceMod Radio" (1.0.0.12) by dubbeh
  23 "Reserved Slots" (1.3.5-dev) by AlliedModders LLC
  24 "Rock The Vote" (1.3.5-dev) by AlliedModders LLC
  25 "Simple SourceMod Plugins Core Plugin" (1.0.$Revision: 90 $) by Simple SourceMod Plugins
  26 "Simple Spectate" (1.2.1) by Simple Plugins
  27 "Sound Commands" (1.3.5-dev) by AlliedModders LLC
  28 "SourceBans" (1.4.6) by InterWave Studios Development Team
  29 "Spray Tracer" (5.8) by Nican132, CptMoore, Lebson506th
  30 "Stop HintText Sound" (1.0.0) by Tauphi, exvel
  31 "Zombie:Reloaded" (3.0.0-b2) by Greyscale | Richard Helgeby
__________________

santaclaus is offline
Rothgar
Veteran Member
Join Date: Nov 2007
Old 08-20-2010 , 21:45   Re: AFK Manager (Any Mod) (Version 3.2.9 / Updated May 29 2010)
Reply With Quote #650

Is Zombie Reloaded with Bots?

Or does your server run bots?
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 16:11.


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