Hey guys, been coding for 2 days now on this new project as i got a feeling honorbuddy will be going down with pirox also,
will be a fully automated mining / herb bot using NO waypoints.
all you will do is press 'start' and it will generate best way point.
but able to disable nodes by clicking on them via the maps and what not.
it will have the lines drawn on the map and all.
big project coming out soon.
as you can see by my pic i have gone heaps far in 2 days, now im facing a problem
it seems X and Y are mixed up,
from as far as i know
X is -> sideways
Y is Down
Z is Depth
for some reason in WOW im getting X and Y mixed up? Y is sideways?
from what i can see, my bot and Honorbuddy share same X Y
so is wow back to front ?
could some one give me some insight ?
Code:
enum eUnitOffsets
{
X = 0x790,
Y = X + 0x4,
Z = X + 0x8,
R = X + 0x10,
P = X + 0x014,
Speed = 0x800,
CastingSpellID = 0xA34,
ChannelingSpellID = 0xA48,
UnitName1 = 0x91C,
UnitName2 = 0x64,
}
enum eObjectOffset
{
X = 0x110,
Y = X + 0x4,
Z = X + 0x8,
Type = 0x14, // 0x4D
GUID = 0xC8, // 0xC8 //0x30
ObjectName1 = 0x1CC,
ObjectName2 = 0xB4,
}
My WoWMe.cs
Code:
public static float X
{
get { return ProcessManager.WoWProcess.ReadFloat((uint)ObjectManager.pPlayerBase + (uint)Addresses.eUnitOffsets.X); }
}
public static float Y
{
get { return ProcessManager.WoWProcess.ReadFloat((uint)ObjectManager.pPlayerBase + (uint)Addresses.eUnitOffsets.Y); }
}
public static float Z
{
get { return ProcessManager.WoWProcess.ReadFloat((uint)ObjectManager.pPlayerBase + (uint)Addresses.eUnitOffsets.Z); }
}
Objects
Code:
public float X
{
get { return ProcessManager.WoWProcess.ReadFloat((uint)base.BaseAddress + (uint)Addresses.eObjectOffset.X); }
}
public float Y
{
get { return ProcessManager.WoWProcess.ReadFloat((uint)base.BaseAddress + (uint)Addresses.eObjectOffset.Y); }
}
public float Z
{
get { return ProcessManager.WoWProcess.ReadFloat((uint)base.BaseAddress + (uint)Addresses.eObjectOffset.Z); }
}