include("settings.lua"); DEBUGADDR = false addresses = { targetnamebase = 0xA71B08, -- I can offset this to find the location but it's not an active one, so I didn't bother (we need a better target name) targetnamebase_offset = 0x8, targetname_offset = 0xDC, targetname_offset1 = 0x0, --baseAddress = 0xA6C90C, baseAddress = 0xA7594C, --= Level 1 offsets =-- X_offset = 0x24, Y_offset = 0x28, combatbase_offset = 0x1C, pawndata_offset = 0x8, --[[ Offset from base (deprecated) playerX_offset = 0x2E94, playerY_offset = 0x2E98, targetX_offset = 0x88, targetY_offset = 0x8C, targetZ_offset = 0x90,--]] --= Level 2 offsets =-- -- Offset from combatbase combat_offset = 0x3C, -- Offset from pawndata Gold_offset = 0xC, lvl_offset = 0x18, xp_offset = 0x14, HP_offset = 0x4, MAXHP_offset = 0x48, MP_offset = 0x8, MAXMP_offset = 0x4C, skillcharges_offset = 0xC4, targettype_offset = 0xA710C, -- what is this? -- I didn't touch any sprite, mouse, or camera pointers - MiesterMan (also, I saw the login info but didn't itqw qw qw qw qw qw qw) --=== sprites ===-- sprite1baseAddress = 0xA74490, sprite3baseAddress = 0xA7448C, spriteAddress_offset = 0xEC, spritestamina_offset = 0x1A4, --=== mouse and camera ===-- mouseX = 0xA71B54, mouseY = 0xA71B58, --=== misc ===-- windowsaddress = 0xA71AD4, -- number of windows on screen windowsaddress_offset = 0x38, accountname = 0xA6CE60, accountpass = 0xA6CE7C, servername = 0xA6CE98, -- possible table 0x93673C, 0x931548 --playercasting_offset = memoryReadRepeat("int", getProc(), playerAddress - 0x13D28 ) -- needs work } --= Level 0 offsets =-- (I wanted to use the base addr so I put this after the initial declaration) addresses.targetbase = addresses.baseAddress + 0x70; addresses.havetarget = addresses.baseAddress + 0x84; addresses.playerName = addresses.baseAddress + 0x5A8; if DEBUGADDR then for i,v in pairs(addresses) do tmpstr = "" for j=0,1,(math.floor(string.len(i)/8)) do tmpstr = tmpstr .. "\t" end if string.len(i) < 8 then tmpstr = "\t\t\t" end printf(i .. tmpstr .. "= 0x%x \n",v) end end