AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY] AFK Manager (Version 4.3.0 / Updated July 2nd 2018) (https://forums.alliedmods.net/showthread.php?t=79904)

Smofly 12-28-2008 04:55

Re: AFK Manager (Any Mod)
 
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..

Rothgar 12-28-2008 08:07

Re: AFK Manager (Any Mod)
 
Quote:

Originally Posted by Smofly (Post 734358)
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.

Rothgar 12-28-2008 19:26

Re: AFK Manager (Any Mod)
 
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.

Alderman [3rd MD] 12-29-2008 18:28

Re: AFK Manager (Any Mod)
 
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.

Rothgar 12-29-2008 22:17

Re: AFK Manager (Any Mod)
 
Quote:

Originally Posted by Alderman [3rd MD] (Post 735219)
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 12-30-2008 01:35

Re: AFK Manager (Any Mod)
 
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

racer 12-30-2008 01:40

Re: AFK Manager (Any Mod)
 
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?

Alderman [3rd MD] 12-30-2008 03:06

Re: AFK Manager (Any Mod)
 
Quote:

Originally Posted by racer (Post 735338)
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.

Rothgar 12-30-2008 03:57

Re: AFK Manager (Any Mod)
 
Quote:

Originally Posted by racer (Post 735338)
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.

Alderman [3rd MD] 12-30-2008 04:55

Re: AFK Manager (Any Mod)
 
10-4, hopefully sometime tomorrow.


All times are GMT -4. The time now is 07:40.

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