Raised This Month: $51 Target: $400
 12% 

[TF2] Play Or Leave - a safer method of detecting AFKs [12/7/2014]


Post New Thread Reply   
 
Thread Tools Display Modes
robotortoise
Senior Member
Join Date: Nov 2013
Old 07-07-2014 , 04:33   Re: [TF2] Play Or Leave - a safer method of detecting AFKs [6/7/2014]
Reply With Quote #21

Can you add a cvar to only check Blu/Red for AFKs? This would be useful in Deathrun mode.
__________________
-Robotortoise [Palutena's Bro]

If you ever need help with Wii/Gamecube/DS sounds/music/ect., I'm your man!

Contact me via Steam

I don't bite.


How to loop and compress .wav files

Me and my friends' server
robotortoise is offline
sheo
SourceMod Donor
Join Date: Jul 2013
Location: Russia, Moscow
Old 07-07-2014 , 05:29   Re: [TF2] Play Or Leave - a safer method of detecting AFKs [6/7/2014]
Reply With Quote #22

Sorry, no. As i mentioned above, i will not maintain my plugin for third party game modes. More over, this is not good for server performance, because server receives buttons info up to 67 times per second per each client, and extra team check may result in a fps drop on old CPUs
__________________

Last edited by sheo; 07-07-2014 at 05:44.
sheo is offline
robotortoise
Senior Member
Join Date: Nov 2013
Old 07-07-2014 , 14:24   Re: [TF2] Play Or Leave - a safer method of detecting AFKs [6/7/2014]
Reply With Quote #23

Oh. Okay thanks.
__________________
-Robotortoise [Palutena's Bro]

If you ever need help with Wii/Gamecube/DS sounds/music/ect., I'm your man!

Contact me via Steam

I don't bite.


How to loop and compress .wav files

Me and my friends' server
robotortoise is offline
sheo
SourceMod Donor
Join Date: Jul 2013
Location: Russia, Moscow
Old 07-11-2014 , 23:09   Re: [TF2] Play Or Leave - a safer method of detecting AFKs [6/7/2014]
Reply With Quote #24

Plugin update
1.4
- Removed sm_kickafks command
- Added @afk/@afks and @notafk/@notafks/@active target filters
- A bit more of code optimization
__________________
sheo is offline
klausenbusk
AlliedModders Donor
Join Date: Jan 2011
Old 12-31-2014 , 08:05   Re: [TF2] Play Or Leave - a safer method of detecting AFKs [12/7/2014]
Reply With Quote #25

Isn't this ANY? or why do you have TF2 in the title?
klausenbusk is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 12-31-2014 , 09:05   Re: [TF2] Play Or Leave - a safer method of detecting AFKs [12/7/2014]
Reply With Quote #26

Why dont you just run a timer and cache all buttons every .5 seconds or something....
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 12-31-2014 , 09:13   Re: [TF2] Play Or Leave - a safer method of detecting AFKs [6/7/2014]
Reply With Quote #27

Quote:
Originally Posted by sheo View Post
Sorry, no. As i mentioned above, i will not maintain my plugin for third party game modes. More over, this is not good for server performance, because server receives buttons info up to 67 times per second per each client, and extra team check may result in a fps drop on old CPUs
Im curious why you denied him a team cvar, he said nothing about making it support deathrun.
Like frigram mentioned, caching the buttons every 0.5 seconds, and possibly caching the player's team when ever he changes wouldn't be a bad idea.
Mitchell is offline
sheo
SourceMod Donor
Join Date: Jul 2013
Location: Russia, Moscow
Old 12-31-2014 , 09:13   Re: [TF2] Play Or Leave - a safer method of detecting AFKs [12/7/2014]
Reply With Quote #28

Quote:
Originally Posted by klausenbusk View Post
Isn't this ANY? or why do you have TF2 in the title?
No, it`s for TF2 only
Quote:
Originally Posted by friagram View Post
Why dont you just run a timer and cache all buttons every .5 seconds or something....
It`s too high chance of having same buttons layout even if something has changed during the given time period.
__________________
sheo is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 12-31-2014 , 09:23   Re: [TF2] Play Or Leave - a safer method of detecting AFKs [12/7/2014]
Reply With Quote #29

Quote:
Originally Posted by sheo View Post
No, it`s for TF2 only

It`s too high chance of having same buttons layout even if something has changed during the given time period.
It's really not at all.. unless you are marking him as afk as soon as he doesn't do any input i don't see why he would have the same button layout 0.5 second later, unless he isn't doing anything.

EDIT: how does this work on players that aren't focused on their screen, as OnPlayerRunCmd is not a reliable timer solution.

Last edited by Mitchell; 12-31-2014 at 09:29.
Mitchell is offline
klausenbusk
AlliedModders Donor
Join Date: Jan 2011
Old 12-31-2014 , 09:28   Re: [TF2] Play Or Leave - a safer method of detecting AFKs [12/7/2014]
Reply With Quote #30

Quote:
Originally Posted by sheo View Post
No, it`s for TF2 only

It`s too high chance of having same buttons layout even if something has changed during the given time period.
Why? I can see you have adding many check, to add support for like CSS and other mods..
klausenbusk 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 13:18.


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