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

[CS:GO] Simple CSGO AntiAFK


Post New Thread Reply   
 
Thread Tools Display Modes
Spy1337
Member
Join Date: Aug 2011
Old 01-17-2016 , 08:55   Re: [CS:GO] Simple CSGO AntiAFK
Reply With Quote #41

how to change the time? 20 sec. are to low.. would like to set it to 60sec
__________________
Spy1337 is offline
VJScope
Senior Member
Join Date: Jul 2012
Location: Finland
Old 02-09-2016 , 04:21   Re: [CS:GO] Simple CSGO AntiAFK
Reply With Quote #42

Quote:
Originally Posted by Spy1337 View Post
how to change the time? 20 sec. are to low.. would like to set it to 60sec
CreateTimer(22.0, Timer_AntiAFK_DM, _, TIMER_REPEAT);
CreateTimer(21.0, Timer_AntiAFK);
Change those 21 and 22 to 60.0 and recompile.
__________________
Strange women lying in ponds distributing swords is no basis for a system of government. Supreme executive power derives from a mandate from the masses, not from some farcical aquatic ceremony.

Last edited by VJScope; 02-09-2016 at 04:23.
VJScope is offline
Puppetmaster
Senior Member
Join Date: Jun 2015
Location: Probably at a computer.
Old 02-09-2016 , 18:52   Re: [CS:GO] Simple CSGO AntiAFK
Reply With Quote #43

I should probably update this with more convars at some point ;)
__________________

GZS Servers

Last edited by Puppetmaster; 02-09-2016 at 18:53. Reason: The usual
Puppetmaster is offline
Koga73
Senior Member
Join Date: Mar 2011
Location: 🍩
Old 08-14-2016 , 12:37   Re: [CS:GO] Simple CSGO AntiAFK
Reply With Quote #44

Quote:
Originally Posted by Puppetmaster View Post
I should probably update this with more convars at some point ;)

When?
__________________
Koga73 is offline
Puppetmaster
Senior Member
Join Date: Jun 2015
Location: Probably at a computer.
Old 10-05-2016 , 00:10   Re: [CS:GO] Simple CSGO AntiAFK
Reply With Quote #45

Quote:
Originally Posted by Koga73 View Post
When?
Oh people actually want this? hmmk Ill add it to my short list.
__________________

GZS Servers
Puppetmaster is offline
Robin955
Veteran Member
Join Date: Jun 2013
Old 04-11-2017 , 13:13   Re: [CS:GO] Simple CSGO AntiAFK
Reply With Quote #46

also isn't the CFG File the afk_manager? its quite advanced, not a "simple afk manager if you ask me" but a good one.
CSGO - win10
PHP Code:
New RoundGetting players positions for AFK checking
L 04
/11/2017 19:10:44: [SMException reportedScript execution timed out
L 04
/11/2017 19:10:44: [SMBlamingsimplecsgoantiafk.smx
L 04
/11/2017 19:10:44: [SMCall stack trace:
L 04/11/2017 19:10:44: [SM]   [1Line 108simplecsgoantiafk.sp::updatePositions
L 04
/11/2017 19:10:44: [SM]   [2Line 90simplecsgoantiafk.sp::Timer_AntiAFK_DM 
Robin955 is offline
Obyboby
Veteran Member
Join Date: Sep 2013
Old 04-13-2017 , 08:18   Re: [CS:GO] Simple CSGO AntiAFK
Reply With Quote #47

Hey guys, I'm still a noob with plugins that don't have a separate cfg file... how do I set a higher time than 20 seconds? Will keep looking for the answer in the meantime. Thanks!
Btw sometimes I can't get back to the team before the current round has ended. It's kinda annoying. Is this intended?
Obyboby is offline
Agent Wesker
Senior Member
Join Date: Apr 2012
Old 04-17-2017 , 08:07   Re: [CS:GO] Simple CSGO AntiAFK
Reply With Quote #48

Can this detect users who spin in place to avoid afk?
Agent Wesker is offline
waylander3
Senior Member
Join Date: Sep 2015
Location: Russia, Norilsk
Old 04-17-2017 , 20:21   Re: [CS:GO] Simple CSGO AntiAFK
Reply With Quote #49

Can you add immune for admin, and able to set flag on config for immune?
waylander3 is offline
Robin955
Veteran Member
Join Date: Jun 2013
Old 04-22-2017 , 08:48   Re: [CS:GO] Simple CSGO AntiAFK
Reply With Quote #50

still getting it
ah didn't mean to repost, somewhy i cant delete my message.
L 04/22/2017 - 14:471: [SM] Exception reported: Script execution timed out
L 04/22/2017 - 14:471: [SM] Blaming: simplecsgoantiafk.smx
L 04/22/2017 - 14:471: [SM] Call stack trace:
L 04/22/2017 - 14:471: [SM] [1] Line 108, simplecsgoantiafk.sp::updatePositions
L 04/22/2017 - 14:471: [SM] [2] Line 90, simplecsgoantiafk.sp::Timer_AntiAFK_DM

This seems to be stalling / freezing the server aswell

actually turns out i had two afk managers installed at once, i deleted the other plugin and only ran with this one, turns out this one didn't work - win10 - latest sourcemod 1.8++
shows its running in the plugins list but nothing is happening in game at all.

turns out i was mainly using the other plugin over this one and this one reported errors once the other plugin put users to spectate

so your plugin might not be working in csgo or its just me, atleast the other one worked flawlessly when testing them individually.

Last edited by Robin955; 04-24-2017 at 11:35.
Robin955 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 03:32.


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