Code:
using System;
using System.Diagnostics;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Magic;
namespace ConsoleApplication2
{
class Program
{
static void Main(string[] args)
{
Console.Write("WoW PID: ");
int pid = Convert.ToInt16(Console.ReadLine());
BlackMagic wowReader = new BlackMagic(pid);
Random rd = new Random();
int nb = 0;
while (true)
{
System.Threading.Thread.Sleep(rd.Next(3000));
wowReader.WriteInt((uint)wowReader.MainModule.BaseAddress + 0xAD7428, Environment.TickCount);
nb++;
Console.WriteLine("#{0} AFK-Reset", nb);
}
}
}
}
or
Code:
using System;
using System.Diagnostics;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Magic;
namespace ConsoleApplication2
{
class Program
{
static void Main(string[] args)
{
Console.Write("WoW PID: ");
int pid = Convert.ToInt16(Console.ReadLine());
BlackMagic wowReader = new BlackMagic(pid);
Random rd = new Random();
int nb = 0;
while (true)
{
System.Threading.Thread.Sleep(rd.Next(3000));
wowReader.WriteInt((uint)wowReader.MainModule.BaseAddress + 0xAD7428, wow.Reader.ReadInt((uint)wowReader.MainModule.BaseAddress + 0xBBD354));
nb++;
Console.WriteLine("#{0} AFK-Reset", nb);
}
}
}
}
This is my Anti-AFK Code.