MQ2AutoAfk

htw

Developer
Joined
Aug 27, 2006
Messages
13,194
Reaction score
374
Points
83
Location
Albuquerque, NM
Ok, finally got this done.

Code:
[SIZE=3][COLOR=#ffffff][SIZE=3][COLOR=#ffffff][/COLOR][/SIZE][/COLOR][/SIZE][SIZE=3][COLOR=#00ff00][SIZE=3][COLOR=#00ff00]- Shows help screen: /autoafk help[/COLOR][/SIZE][/COLOR][/SIZE]
[SIZE=3][COLOR=#ffffff][SIZE=3][COLOR=#ffffff][/COLOR][/SIZE][/COLOR][/SIZE][SIZE=3][COLOR=#00ff00][SIZE=3][COLOR=#00ff00]- Shows plugin status: /autoafk status[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=3][COLOR=#ffffff][SIZE=3][COLOR=#ffffff]
[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=3][COLOR=#00ff00][SIZE=3][COLOR=#00ff00]- Saves options to INI file: /autoafk save[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=3][COLOR=#ffffff][SIZE=3][COLOR=#ffffff]
[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=3][COLOR=#00ff00][SIZE=3][COLOR=#00ff00]- Loads options from INI file: /autoafk load[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=3][COLOR=#ffffff][SIZE=3][COLOR=#ffffff]
[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=3][COLOR=#00ff00][SIZE=3][COLOR=#00ff00]- Sets ## seconds idle before away: /autoafk time ##[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=3][COLOR=#ffffff][SIZE=3][COLOR=#ffffff]
[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=3][COLOR=#00ff00][SIZE=3][COLOR=#00ff00]- Sets AFK auto reply: /autoafk reason "reason"[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=3][COLOR=#ffffff][SIZE=3][COLOR=#ffffff]
[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=3][COLOR=#00ff00][SIZE=3][COLOR=#00ff00]- Sets autoafk mode on or off: /autoafk on|off[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=3][COLOR=#ffffff][SIZE=3][COLOR=#ffffff]
[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=3][COLOR=#00ff00][SIZE=3][COLOR=#00ff00]- Toggles silent mode (logging only): /autoafk silent[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=3][COLOR=#ffffff][SIZE=3][COLOR=#ffffff]
[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=3][COLOR=#00ff00][SIZE=3][COLOR=#00ff00]- Toggles auto return from AFK: /autoafk return[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=3][COLOR=#ffffff][SIZE=3][COLOR=#ffffff]
[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=3][COLOR=#00ff00][SIZE=3][COLOR=#00ff00]- Toggles stopping tribute when AFK engaged: /autoafk triboff[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=3][COLOR=#ffffff][SIZE=3][COLOR=#ffffff]
[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=3][COLOR=#00ff00][SIZE=3][COLOR=#00ff00]- Toggles starting tribute when return from AFK: /autoafk tribon[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=3][COLOR=#ffffff][SIZE=3][COLOR=#ffffff]
[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=3][COLOR=#00ff00][SIZE=3][COLOR=#00ff00]- Toggles unequipping powersource when AFK engaged: /autoafk psoff[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=3][COLOR=#ffffff][SIZE=3][COLOR=#ffffff]
[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=3][COLOR=#00ff00][SIZE=3][COLOR=#00ff00]- Toggles equipping powersource when return from AFK: /autoafk pson[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=3][COLOR=#ffffff][SIZE=3][COLOR=#ffffff]
[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=3][COLOR=#00ff00][SIZE=3][COLOR=#00ff00]- Toggles pausing macro when AFK engaged: /autoafk pause[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=3][COLOR=#ffffff][SIZE=3][COLOR=#ffffff]
[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=3][COLOR=#00ff00][SIZE=3][COLOR=#00ff00]- Toggles resuming macro when return from AFK: /autoafk resume[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=3][COLOR=#ffffff][SIZE=3][COLOR=#ffffff]
[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=3][COLOR=#00ff00][SIZE=3][COLOR=#00ff00]- Toggles stopping macro when AFK engaged: /autoafk end[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=3][COLOR=#ffffff][SIZE=3][COLOR=#ffffff]
[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=3][COLOR=#ffffff][SIZE=3][COLOR=#ffffff] 
[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=3][COLOR=#00ff00][SIZE=3][COLOR=#00ff00]/awaynow = Sets timer so that automatic away engages NOW, if mode is on[/COLOR][/SIZE][/COLOR][/SIZE]
[SIZE=3][COLOR=#ffffff][SIZE=3][COLOR=#ffffff]
[/COLOR][/SIZE][/COLOR][/SIZE]

htw


 

Attachments

  • MQ2AutoAFK.dll
    157.5 KB · Views: 10
i was waiting for this from when i first heard about it.. i am curious tho, what will trigger the "/autoafk return" and what is the silent mode for? i use eqwatcher so i have loggin on all the time.
 
i was waiting for this from when i first heard about it.. i am curious tho, what will trigger the "/autoafk return" and what is the silent mode for? i use eqwatcher so i have loggin on all the time.

Ok, if auto return from AFK is on, it watches through a LL keyboard hook & mouse position monitoring, for the EQ client only. In other words, if mouse movement or keyboard activity is seen (in the specific instance of EQ the plugin is loaded in... i.e., each instance will have independent monitoring), then it returns from AFK in those cases (if option is active).

Silent means to do the things you want to happen when AFK (logging, macro pause, etc.), but not to actually activate /afk in the EQ client.

htw
 
That is so sweet HTW, i cant say how may times i've afk and let Trib running. Once again, you amaze.