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 01-14-2017 , 03:25   Re: AFK Manager (Version 4.0.5 / Updated January 29th 2016)
Reply With Quote #1751

Quote:
Originally Posted by BoosterGold View Post
Hi guys,

Thanks for writing this. Is this the proper place to request functionality? I am using this for a Retakes server and I'd like it to be more aggressive versus players who are AFK that spawn with the bomb. Ideally they should drop it if they are detected to be AFK within like 3 seconds of spawning.

I know about sv_spawn_afk_bomb_drop_time, but that cvar has weird behavior. If you're afk, return before it triggers, then begin planting, it will throw the bomb anyway.

Thanks!
I don't know if I want to specifically add that functionality into the plugin, I am trying to make the plugin essentials only, however with the API options I have created, you should be able to achieve that fairly easily by making a timer on round start and then checking players AFK time or similar using AFKM_GetClientAFKTime()?

This is why the API's were created so people could create small sub-plugins for mod-specific functionality.

If you get stuck i can probably help review.
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 01-14-2017 , 03:26   Re: AFK Manager (Version 4.0.5 / Updated January 29th 2016)
Reply With Quote #1752

Quote:
Originally Posted by wolvez04 View Post
+left/right and +forward binds etc can avoid detection. I was wondering if it was easier to detect shooting or slashing knife (mouse1) as a method.
I have a new build which I believe fixes these issues I need someone to private message me so I can get someone to test the new version before I release. Obviously you should know how to create the binds if you are going to test.
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 01-14-2017 , 03:33   Re: AFK Manager (Version 4.0.5 / Updated January 29th 2016)
Reply With Quote #1753

Quote:
Originally Posted by Rothgar View Post
I have a new build which I believe fixes these issues I need someone to private message me so I can get someone to test the new version before I release. Obviously you should know how to create the binds if you are going to test.
PM sent!
__________________
sneaK is offline
BoosterGold
Member
Join Date: Nov 2016
Old 01-14-2017 , 15:57   Re: AFK Manager (Version 4.0.5 / Updated January 29th 2016)
Reply With Quote #1754

Quote:
Originally Posted by Rothgar View Post
I don't know if I want to specifically add that functionality into the plugin, I am trying to make the plugin essentials only, however with the API options I have created, you should be able to achieve that fairly easily by making a timer on round start and then checking players AFK time or similar using AFKM_GetClientAFKTime()?

This is why the API's were created so people could create small sub-plugins for mod-specific functionality.

If you get stuck i can probably help review.
Thank you Rothgar, I will look into it this week. I'm a very new scripter, but I'd love to give it a try myself before I ask for assistance
BoosterGold is offline
Rothgar
Veteran Member
Join Date: Nov 2007
Old 01-14-2017 , 17:31   Re: AFK Manager (Version 4.0.5 / Updated January 29th 2016)
Reply With Quote #1755

Quote:
Originally Posted by BoosterGold View Post
Thank you Rothgar, I will look into it this week. I'm a very new scripter, but I'd love to give it a try myself before I ask for assistance
No problem, I haven't officially put much documentation on the API's yet as I was waiting for feedback on what developers wanted but you will need to make your plugin with the afk_manager.inc and inside that file it has some information about how to use the various calls.
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 01-14-2017 , 20:16   Re: AFK Manager (Version 4.1.0 / Updated January 14th 2017)
Reply With Quote #1756

New version released, thanks to Psychonic & Asherkin for fixing mouse detection in SourceMod and blackhawk74 for testing the plugin before release.

This new version should fix Anti-AFK Macro's, I am not entirely sure of people TF2 problems, so once I have more details I can look at fixing that in a minor release.
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
Grainz
Junior Member
Join Date: Jan 2016
Old 01-20-2017 , 20:40   Re: AFK Manager (Version 4.1.0 / Updated January 14th 2017)
Reply With Quote #1757

Quote:
Originally Posted by Rothgar View Post
New version released, thanks to Psychonic & Asherkin for fixing mouse detection in SourceMod and blackhawk74 for testing the plugin before release.

This new version should fix Anti-AFK Macro's, I am not entirely sure of people TF2 problems, so once I have more details I can look at fixing that in a minor release.
I hope to test this out soon! A great update.
Grainz is offline
Andrey309a
Junior Member
Join Date: Feb 2017
Old 02-05-2017 , 15:33   Re: AFK Manager (Version 4.1.0 / Updated January 14th 2017)
Reply With Quote #1758

Error logs

L 02/05/2017 - 215:02: SourceMod error session started
L 02/05/2017 - 215:02: Info (map "am_aztec_v6") (file "errors_20170205.log")
L 02/05/2017 - 215:02: [SM] Exception reported: Language phrase "CSGO" not found
L 02/05/2017 - 215:02: [SM] Blaming: afk_manager4.smx
L 02/05/2017 - 215:02: [SM] Call stack trace:
L 02/05/2017 - 215:02: [SM] [0] LogAction
L 02/05/2017 - 215:02: [SM] [1] Line 1177, afk_manager4.sp::OnPluginStart
L 02/05/2017 - 215:02: [SM] Unable to load plugin "afk_manager4.smx": Error detected in plugin startup (see error logs)

72 <Error> "AFK Manager" (4.0.5) by Rothgar
Errors:
afk_manager4.smx (AFK Manager): Error detected in plugin startup (see error logs)

213:11 sm version
213:11 SourceMod Version Information:
SourceMod Version: 1.8.0.5970
SourcePawn Engine: SourcePawn 1.8, jit-x86 (build 1.8.0.5970)
SourcePawn API: v1 = 4, v2 = 11
Compiled on: Feb 3 2017 209:24
Built from: https://github.com/alliedmodders/sou...commit/9c67ad1
Build ID: 5970:9c67ad1
http://www.sourcemod.net/

213:23 meta version
213:23 Metamod:Source version 1.10.6
Built from: https://github.com/alliedmodders/met...commit/9fed12f
Build ID: 946:9fed12f
Loaded As: Valve Server Plugin
Compiled on: Sep 10 2015
Plugin interface version: 15:14
SourceHook version: 5:5
http://www.metamodsource.net/
Andrey309a is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 02-05-2017 , 16:24   Re: AFK Manager (Version 4.1.0 / Updated January 14th 2017)
Reply With Quote #1759

Quote:
Originally Posted by Andrey309a View Post
L 02/05/2017 - 215:02: [SM] Exception reported: Language phrase "CSGO" not found
Upload the latest translation file found in the first post.
__________________

Last edited by sneaK; 02-05-2017 at 16:25.
sneaK is offline
Aura89
Member
Join Date: Jan 2014
Old 02-12-2017 , 17:40   Re: AFK Manager (Version 4.1.0 / Updated January 14th 2017)
Reply With Quote #1760

Is there a way to disable !afk /afk?
Aura89 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 19:41.


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