Here is some offsets, enjoy
Code:
namespace Offsets
{
namespace ObjectManager
{
//credit to Master674
enum ObjectManager
{
s_currentManager = 0x81BD60,
FirstUnit = 0x5C7C, //start of the units linked list
LocalPlayer = 0x5610
};
}
namespace Unit
{
enum Unit
{
GUID = 0x4,
Gender = 0x30,
Level = 0x34,
Health = 0x3C,
Shield = 0x44,
NextUnit = 0x54, //pointer to the next unit in the linked list
Type = 0x64, //see Global.h enum UnitType
TargetGUID = 0xD8,
isDead = 0x1C8, //boolean
isInCombat = 0x25C, //boolean
Position = 0xF30, //in memory position is a vec3
isCasting = 0x12DC //isCasting > 0 ? true : false
};
}
}
Offsets of ObjectManager enum are rebased, to get absolute address you need to add the base address of WildStar32.exe like this :
Code:
DWORD ret = 0;
SolarMem::Read(SolarMem::getBaseAddress(L"calling process") + Offsets::ObjectManager::s_currentManager, &ret);
and enum
Code:
namespace Globals
{
namespace UnitType
{
enum UnitType
{
NonPlayer = 0,
Chest,
Destructible,
Vehicule,
Door,
Harvest,
Corpse,
Mount,
Collectible,
Taxi,
Simple,
Platform,
Mailbox,
Turret,
InstancePortal,
Plug,
Residence,
StructuredPlug,
PinataLoot,
BindPoint,
Player,
Hiddespell,
Trigger,
Ghost,
Pet,
Esper_Pet,
World_Object,
Scanner,
Camera,
Trap,
DestructibleDoor,
Pickup,
SimpleCollidable,
HousingMannequin,
Unknown // UnitType > 33 ? Unknown : Known
};
}
}
Anyone interested of IDB ? I can upload it