opy and paste code to your offsets file and hook file. should work fine now.
Offsets file
(!empty($user->lang['CODE'])) ? $user->lang['CODE'] : ucwords(strtolower(str_replace('_', ' ', 'CODE'))):
Code:
-- ; offsets
--; temp solution from woody while outlaw away
-- ; WoW 1.6.0
_WOW_VERSION = "1, 6, 0, 4500"
-- ; NPC HOOK
_npc_hook_addr = "46FBA6"
-- ; FUNCTIONS
_function_GetPlayerPtr = "45D940"
-- ; PLAYER OFFSETS
_player_unit_struct = "8"
_player_hitpoints = "1F80"
_player_mana = "1F84"
_player_maxmana = "18"
_player_maxhp = "18"
_player_current_xp = "27B0"
_player_max_xp = "27B4"
-- // _player_alive = "20F5" -- // does not work
-- // _player_form = "2096" -- // does not work
-- // _player_combo = "2FB1" -- // does not work
-- // _player_level = "1EC8" -- // works but not needed
_player_rage = "4"
_player_energy = "8"
_player_facing = "93C"
_player_internal_z = "4"
_player_internal_y = "4"
_player_internal_x = "4"
_player_targetID = "94C3A0"
_player_playerID = "941000"
-- ; NPC OFFSETS
_npc_id = "4D0"
_npc_id2 = "4D4"
_npc_hp = "354"
_npc_level = "558"
_npc_faction = "54C"
_npc_x = "10"
_npc_y = "14"
_npc_z = "18"
_npc_facing = "1C"
Hook File
(!empty($user->lang['CODE'])) ? $user->lang['CODE'] : ucwords(strtolower(str_replace('_', ' ', 'CODE'))):
Code:
-- ; Hook
--; temp solution from woody while outlaw away
function Sense_Hook(hWnd,hook)
h = hook
ret = HexAdd(h,"6")
-- ; .DATA
hook = {
clear = Asm.AllocateMemory(hWnd,4),
loops = Asm.AllocateMemory(hWnd,4),
npc_count = Asm.AllocateMemory(hWnd,4),
npc_array = Asm.AllocateMemory(hWnd,1024)
}
-- ; .CODE
asm = #ASM_START
; START
@sense_hack:
push ecx
push eax
cmp dword *(hook.clear),1
je @empty_data
cmp dword *(hook.loops),0
je @end
dec dword *(hook.loops)
add ecx,354h
cmp dword [ecx],64h
jg @end
cmp dword [ecx],1h
jl @end
add ecx,204h
cmp dword [ecx],1h
jl @end
cmp dword [ecx],50h
jg @end
sub ecx,558h
mov eax, &(hook.npc_array)
@check_if_new:
cmp dword [eax],0
je @add_npc
cmp dword [eax],ecx
je @end
add eax,4h
jmp @check_if_new
@add_npc:
mov dword [eax],ecx
inc dword *(hook.npc_count)
jmp @end
@empty_data:
mov eax, &(hook.npc_array)
mov dword *(hook.clear),0
mov dword *(hook.npc_count),0
mov dword *(hook.loops),0
@empty_loop:
cmp dword [eax],0
je @end
mov dword [eax],0
add eax,4h
jmp @empty_loop
@end:
pop eax
pop ecx
mov eax, dword [ecx+38h]
mov ecx, dword [ecx+3Ch]
jmp dword &(ret)
; end
#ASM_END
code = Asm.AllocateMemory(hWnd,Asm.OpCodeSize(asm))
Asm.Write(hWnd,code,asm)
-- ; .HOOK
Asm.WriteJmp(hWnd,h,code,1)
return hook
end
Then after you do that update the newest offsets which are these for 1.6.2
(!empty($user->lang['CODE'])) ? $user->lang['CODE'] : ucwords(strtolower(str_replace('_', ' ', 'CODE'))):
-- ; offsets
-- ; WoW 1.6.1
_WOW_VERSION = "1, 6, 1, 4544"
-- ; NPC HOOK
_npc_hook_addr = "46FBC6"
-- ; FUNCTIONS
_function_GetPlayerPtr = "45D960"
-- ; PLAYER OFFSETS
_player_unit_struct = "8"
_player_hitpoints = "1F80"
_player_mana = "1F84"
_player_maxmana = "18"
_player_maxhp = "18"
_player_current_xp = "27B0"
_player_max_xp = "27B4"
-- _playerLevel= "1FB0" -- whoever needs it
_player_rage = "4"
_player_energy = "8"
_player_facing = "93C"
_player_internal_z = "4"
_player_internal_y = "4"
_player_internal_x = "4"
_player_targetID = "94C3A0"
_player_playerID = "941000"
_corpseLocX = "94C358"
_corpseLocY = "94C35C"
_corpseLocZ = "94C360"
_petID = "950EC8"
-- ; NPC OFFSETS
_npc_id = "4D0"
_npc_id2 = "4D4"
_npc_hp = "354"
_npc_level = "558"
_npc_faction = "54C"
_npc_x = "10"
_npc_y = "14"
_npc_z = "18"
_npc_facing = "1C"
After you edit everything it should work 100%
