What's new
  • Visit Rebornbuddy
  • Visit Resources
  • Visit API Documentation
  • Visit Downloads
  • Visit Portal
  • Visit Panda Profiles
  • Visit LLamamMagic

Anti afk?

^I need this too!! I can only log in at 6am after work, but too tired to play. Would be nice if something could keep my character online until i wake up again in mid day when the servers are full.
 
Dummys dont work, after 5 min you will go afk anyway ><
Some also say to go in RFC/Stockades and let mobs hit you and you wont go afk - but i havent tested that myself yet
 
I would prefer a code so that even if the bots get stuck or so - it wont go afk and kick you into a 6 hour queue ><
 
Last edited:
Dummys dont work, after 5 min you will go afk anyway ><
Some also say to go in RFC/Stockades and let mobs hit you and you wont go afk - but i havent tested that myself yet

This is confirmed. My brother uses this and he doesn't bot.

The botbase works as well and if you use it in your garrison, rested XP plus no one to see you just sitting there.
 
Questing profile:


PHP:
<HBProfile>
<QuestOrder>

	<CustomBehavior File="Hooks\DoWhen" ActivityName="AntiAFK" UseWhen="Me.IsAFKFlagged" >
		<CustomBehavior File="WaitTimer" WaitTime="1000" VariantTime="10000" />
		<CustomBehavior File="RunCode" Code="StyxWoW.ResetAfk;"/>
		<CustomBehavior File="WaitTimer" WaitTime="1000" />
	</CustomBehavior>

	<While Condition="true" >
		<CustomBehavior File="WaitTimer" WaitTime="300000" TerminateWhen="Me.IsAFKFlagged" />
	</While>

</QuestOrder>
</HBProfile>

Notice the first WaitTimer with the VariantTime tunable added to it.
This will randomize how long the bot will wait before the anti-AFK code is ran.
With the current setting we have 1000 to 10000. This will make the bot wait anywhere from 1 second to 10 seconds.

The method we're using to remove AFK is a built-in method that the bot uses to keep AFK off.
Of course you can use any sort of code here to replace it, jumping - etc.

The second wait timer is there to lag the bot to make sure your AFK flag is removed so that the DoWhen won't attempt to run twice.

And the While Condition="true" with the third wait timer that is endlessly looped until the bot is stopped. It's just lag-time to make the bot stand idle while you're not AFK.
This will of course terminate when your character goes AFK so that the DoWhen (anti-AFK) code will run.
If you're writing your own profile, then do not include this section.
 
Last edited:
Questing profile:


PHP:
<HBProfile>
<QuestOrder>
	<CustomBehavior File="Hooks\DoWhen" ActivityName="AntiAFK" UseWhen="Me.IsAFKFlagged" >
		<CustomBehavior File="WaitTimer" WaitTime="1000" VariantTime="10000" />
		<CustomBehavior File="RunCode" Code="WoWMovement.ClickToMove(Me.Location);"/>
		<CustomBehavior File="WaitTimer" WaitTime="1000" />
	</CustomBehavior>
	<While Condition="true" >
		<CustomBehavior File="WaitTimer" WaitTime="300000" TerminateWhen="Me.IsAFKFlagged" />
	</While>
</QuestOrder>
</HBProfile>

Notice the first WaitTimer with the VariantTime tunable added to it.
This will randomize how long the bot will wait before the anti-AFK code is ran.
With the current setting we have 1000 to 10000. This will make the bot wait anywhere from 1 second to 10 seconds.

The method we're using to remove AFK is to have the bot nudge the character a slight bit.
Of course you can use any sort of code here to replace it, jumping - etc.

The second wait timer is there to lag the bot to make sure your AFK flag is removed so that the DoWhen won't attempt to run twice.

And the While Condition="true" with the third wait timer is just lag-time to make the bot stand idle while you're not AFK.
This will of course terminate when your character goes AFK so that the DoWhen (anti-AFK) code will run.

Gonna test it, thank you vm!
 
Some also say to go in RFC/Stockades and let mobs hit you and you wont go afk - but i havent tested that myself yet
Blizzard is actually temp banning people for this. Quite lame, but they consider it an exploit.
Why not just log them off and have them endure a queue? It's longer than most bans anyway :D
 
going rfc let the mobs hit you i did that while i slept last night lol!
 
Back
Top