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
Smofly
Junior Member
Join Date: Aug 2008
Location: Denmark
Old 12-28-2008 , 04:55   Re: AFK Manager (Any Mod)
Reply With Quote #111

sure here it is.. and i use the lastet sourcemod 1.1 snap

// This file was auto-generated by SourceMod (v1.1.0-dev)
// ConVars for plugin "afk_manager-compat.smx"


// Admins immune to being kicked? [0 = FALSE, 1 = TRUE]
// -
// Default: "1"
sm_afk_admins_immune "1"

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

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

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

// Time in seconds before kicking an AFK client.
// -
// Default: "120.0"
sm_afk_kick_time "120.0"

// Minimum amount of connected clients needed to move clients to spectator.
// -
// Default: "4"
sm_afk_move_min_players "4"

// Move AFK clients to spec before kicking them? [0 = FALSE, 1 = TRUE]
// -
// Default: "0"
sm_afk_move_spec "1"

// Time in seconds before moving an AFK client.
// -
// Default: "60.0"
sm_afk_move_time "30.0"

and it just move and kick peopel there is dead and not afk..
Smofly is offline
Rothgar
Veteran Member
Join Date: Nov 2007
Old 12-28-2008 , 08:07   Re: AFK Manager (Any Mod)
Reply With Quote #112

Quote:
Originally Posted by Smofly View Post
sure here it is.. and i use the lastet sourcemod 1.1 snap

// This file was auto-generated by SourceMod (v1.1.0-dev)
// ConVars for plugin "afk_manager-compat.smx"


// Admins immune to being kicked? [0 = FALSE, 1 = TRUE]
// -
// Default: "1"
sm_afk_admins_immune "1"

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

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

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

// Time in seconds before kicking an AFK client.
// -
// Default: "120.0"
sm_afk_kick_time "120.0"

// Minimum amount of connected clients needed to move clients to spectator.
// -
// Default: "4"
sm_afk_move_min_players "4"

// Move AFK clients to spec before kicking them? [0 = FALSE, 1 = TRUE]
// -
// Default: "0"
sm_afk_move_spec "1"

// Time in seconds before moving an AFK client.
// -
// Default: "60.0"
sm_afk_move_time "30.0"

and it just move and kick peopel there is dead and not afk..
Have you got a server I can get access to?

I see a potential problem with setting the move time to 30 seconds? The warnings start 30 seconds and below? So that would probably explain your spam because it would always start at saying "You have 30 seconds to move or you will be moved."

Why would you want to set it lower than 60 seconds?

Also if you want you can compile with the DEBUG option enabled which is at the top of the file, then paste some output of the SourceMod logs.

Are you running the latest version? You might be but just haven't added the new cvar like immunity flag.

Last edited by Rothgar; 12-28-2008 at 08:10.
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 12-28-2008 , 19:26   Re: AFK Manager (Any Mod)
Reply With Quote #113

Uploaded a new version with modular warning times, you can now set the time before players should be warned or 0 should be off.

Remember the warning time is in 5 second intervals just like the eye checking.

Also removed a log message that was printed to all clients on kick which was redundant due to the fact kick messages are printed to chat as well.
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
Alderman [3rd MD]
Member
Join Date: May 2008
Old 12-29-2008 , 18:28   Re: AFK Manager (Any Mod)
Reply With Quote #114

Hey Roth im using the plugin you currently have posted on the first post. Seems to be fine besides for the admins immune is not working anymore. :p

Admins are getting kicked.
__________________

Captain Alderman

Commanding Officer
Alpha Company
1st Battalion / 3rd Marines
3rd Marine Division
Alderman [3rd MD] is offline
Rothgar
Veteran Member
Join Date: Nov 2007
Old 12-29-2008 , 22:17   Re: AFK Manager (Any Mod)
Reply With Quote #115

Quote:
Originally Posted by Alderman [3rd MD] View Post
Hey Roth im using the plugin you currently have posted on the first post. Seems to be fine besides for the admins immune is not working anymore. :p

Admins are getting kicked.
I need you to compile the plugin with debug enabled and get me the message for waves.

I also posted a plugin a few posts back which was compiled with debug enabled for testing.

As for the admins being immune. Post your cvars you are using.
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 12-30-2008 , 01:35   Re: AFK Manager (Any Mod)
Reply With Quote #116

I think I found the admin check error was missing an "!" have re-structured the admin check now and it should be ok in the new upload 3.0.4
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
racer
Member
Join Date: Jul 2008
Location: Bay Area, CA
Old 12-30-2008 , 01:40   Re: AFK Manager (Any Mod)
Reply With Quote #117

Any chance on adding a popup for when people are spectating? If not do you mind if I have someone else add it to your code for my server?
racer is offline
Alderman [3rd MD]
Member
Join Date: May 2008
Old 12-30-2008 , 03:06   Re: AFK Manager (Any Mod)
Reply With Quote #118

Quote:
Originally Posted by racer View Post
Any chance on adding a popup for when people are spectating? If not do you mind if I have someone else add it to your code for my server?
This would really be a good way to fix the problem for sure.
__________________

Captain Alderman

Commanding Officer
Alpha Company
1st Battalion / 3rd Marines
3rd Marine Division
Alderman [3rd MD] is offline
Rothgar
Veteran Member
Join Date: Nov 2007
Old 12-30-2008 , 03:57   Re: AFK Manager (Any Mod)
Reply With Quote #119

Quote:
Originally Posted by racer View Post
Any chance on adding a popup for when people are spectating? If not do you mind if I have someone else add it to your code for my server?
I could see this getting annoying for spectators who are watching but not AFK. I would need more people to want this option in order to add it.

If you want to get someone to add it feel free to but please don't post it. Also if there are other things you get added please let me know beforehand to see if I make new feature official, thanks.

Alderman:

Are you going to test this Insurgency wave stuff? All you need is to load the plugin I posted a few posts ago as a "test" or compile the latest version with "debug" set to 1 in the code.

Then get a few people together. probably 3 people would be enough maybe.
Die and have no more "waves" left and have one person dead. It should start logging in the SourceMod logs the message and ocne I have that I can post a few more releases until I have the required info and then the wave problem can hopefully be fixed.
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
Alderman [3rd MD]
Member
Join Date: May 2008
Old 12-30-2008 , 04:55   Re: AFK Manager (Any Mod)
Reply With Quote #120

10-4, hopefully sometime tomorrow.
__________________

Captain Alderman

Commanding Officer
Alpha Company
1st Battalion / 3rd Marines
3rd Marine Division
Alderman [3rd MD] 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 12:30.


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