I've got problem with interacting with npcs via memory writing
Code:
Func MoveTo($x, $y, $z, $t,$guid)
$main=0x011180B8
_MemoryWrite($main + 0x74, $WoWProcess, $x, 'float')
_MemoryWrite($main + 0x78, $WoWProcess, $y, 'float')
_MemoryWrite($main + 0x7C, $WoWProcess, $z, 'float')
_MemoryWrite(0x011180A0+0x20,$WoWProcess,$guid,'DWORD')
_MemoryWrite(0x11180BC, $WoWProcess, $t, 'int')
EndFunc
Using offsets from:
Click To Move - WoW.Dev Wiki
Simple move ($t=4) works ideally but if trying to set guid and use $t=5(interact and move)but aint working, cant find mistake, will be helpfull if someone solve my problem