4.0.3 Pointers.cs:
Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using MBot.Library;
namespace MBot.Data
{
public static class Pointers
{
/// <summary>
/// Updated for 4.0.3
/// </summary>
public static unsafe class ObjectManagerPointers
{
public static uint
PlayerGUID = 0xB8,
GUID = 0x30,
Type = 0x14,
FirstObject = 0xB4,
NextObject = 0x3C,
CurrMgr = 0x008A5C20,
CurrMgrEx = 0x4618;
}
/// <summary>
/// Updated for 4.0.3
/// </summary>
public static unsafe class GeneralPointers
{
public static uint
PlayerName = 0x8B2FB0,
CurrentSpell = 0xB24,
CurrentChannelSpell = 0xB38,
GlueScreen = 0xB6A9E0,
LootWindow = 0x9FCA60,
MouseOverGUID = 0x009816A0,
TargetGUID = 0x9906B8,
ComboPoints = 0x98F759,
GlobalCooldown = 0xD3F5AC,
InGame = 0x98F69A,
ZoneText = 0x990690,
SubZoneText = 0x99068C,
WorldMap = 0xB22398;
}
/// <summary>
/// Updated for 4.0.3
/// </summary>
public static unsafe class AuraPointers
{
public static uint
AURA_COUNT_1 = 0xF98,
AURA_COUNT_2 = 0xD1C,
AURA_TABLE_1 = 0xD18,
AURA_TABLE_2 = 0xD20,
AURA_SIZE = 0x28,
AURA_SPELL_ID = 0x8;
}
/// <summary>
/// Updated for 4.0.3
/// </summary>
public static class PositionPointers
{
public static uint
UNIT_X = 0x110,
UNIT_Y = UNIT_X + 0x4,
UNIT_Z = UNIT_X + 0x8,
UNIT_ROT = UNIT_X + 0xA,
OBJECT_X = 0x110,
OBJECT_Y = OBJECT_X + 0x4,
OBJECT_Z = OBJECT_X + 0x8,
OBJECT_ROT = OBJECT_X + 0xA;
}
/// <summary>
/// Updated for 4.0.3
/// </summary>
public static class NamePointers
{
public static uint
UNIT_NAME_1 = 0xA24,
UNIT_NAME_2 = 0x60,
GAMEOBJECT_NAME_1 = 0x1CC,
GAMEOBJECT_NAME_2 = 0x94,
NAME_STORE = 0x881988 + 0x8,
NAME_MASK = 0x24,
NAME_BASE = 0x1C,
NAME_STRING = 0x20;
}
}
}
But the "MBot" wont work :S?