[Include] Smart AFKTabbing (Detect AFK, Alt-Tab, and Macro)
#1

Smart AFKTabbing

V1
Bug list:
Nothing so far.

V1 Features:
pawn Код:
//Change x
#define AltTabbing x//Interval to check player is Alt-Tabbing
#define AFKing x//Interval to check player is AFKing
#define Range x//Range to set Macroing

IsPlayerAltTabbing{playerid}
IsPlayerAFKing{playerid}
IsPlayerMacroing{playerid}
I don't know how to explain what is macroing, but some people call it "Boting" to Avoid AFK System (Kicking AFK'er).

Note
  1. IsPlayerAFKing only applied if player isn't Alt-Tabbing.
  2. Use "{" instead "(".
Installation
Download Smart AFKTabbing V1 (Click skip on top right of your screen)
No mirror, please.
Copy SmartAFKTabbing.inc to your server folder /pawno/include
Put this on top of your script:
pawn Код:
#include <SmartAFKTabbing>
You have any question/suggestion/bug? Put them here!!!
Please put any feedback.

Okay folks have fun.
Reply
#2

My antivirus is detecting a virus
Reply
#3

Quote:
Originally Posted by Anthony_prince
Посмотреть сообщение
My antivirus is detecting a virus
Woot? No it isn't.
Reply
#4

I just scanned this with Norton 360 and it appears to have a Trojan virus. Actually, that's a joke. It's clean!
Reply
#5

Quote:
Originally Posted by RealCop228
Посмотреть сообщение
I just scanned this with Norton 360 and it appears to have a Trojan virus. Actually, that's a joke. It's clean!
Tested with nod32 and kaspesky 2011 internet security and it seems have virus. Norton must die.
Reply
#6

scanned with microsoft security essentials and it seems to be fine, thank you
Reply
#7

This file does not have virus i scanned it with 4 virus scanners this file is safe.
Reply
#8

Please put a pastebin link :P Wanna take a look to the code
Reply
#9

lol everyone talking about the viruses in it in place of the code
Reply
#10

It's Smart AFKTabbing, not Smart Virus.
Reply
#11

Maybe they were idiots and clicked "Download Now" on the ad bit, instead of clicking "Skip Ad".
Reply
#12

Quote:
Originally Posted by Jack_Leslie
Посмотреть сообщение
Anyway, for those retards, here's a pastebin (hope you don't mind varth):
I am.
Reply
#13

Really nice Varth mate, very useful too.
Reply
#14

adf.ly hm?. I won't click it because I hate those links >.<. Lol all your links in your signature are adf links -.-.
However, it seems to be nice.
Reply
#15

There is no viruses, awesome job, I suggest you to use y_hooks for hooking callback
Reply
#16

Quote:
Originally Posted by Anthony_prince
Посмотреть сообщение
Tested with nod32 and kaspesky 2011 internet security and it seems have virus. Norton must die.
Scanned with Kaspersky 2012, found nothing
Reply
#17

It's actually bullshit how you're putting everything into cash earning links. I can code one for the community for free instead of them having to hassle to go through heaps of links to get the see the source.



nice anyway.
Reply
#18

Quote:
Originally Posted by Lorenc_
Посмотреть сообщение
It's actually bullshit how you're putting everything into cash earning links. I can code one for the community for free instead of them having to hassle to go through heaps of links to get the see the source.



nice anyway.
Yeah, whatever.

Thanks anyway.
Reply
#19

I won't click because it's adf.ly

Please someone give me the pastebin link ? (i probably wont use the script anyways)
Reply
#20

There are more efficient ways to do it(for the alttabing). Btw it shouldn't be called alt-tabbing, because it returns true even if you pressed the pause key(ESC).
pawn Код:
new PlayerTick[MAX_PLAYERS];
#define IsPlayerAfk(%0) (PlayerTick[%0]+1000 < GetTickCount())
public OnPlayerUpdate(playerid)
{
    PlayerTick[playerid]=GetTickCount();
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)