Hi
Anyone an idea why this is not working, if i start it, i get no buff ids
Thats not my code, i only use it for learning!!
Global $pBase = _getpBase($hProcess)
Global $CurObject = $pBase
const $AURA_COUNT_1 = 0xDD0
const $AURA_COUNT_2 = 0xC54
const $AURA_TABLE_1 = 0xC50
const $AURA_TABLE_2 = 0xC58
const $AURA_SIZE = 0x18
const $AURA_SPELL_ID = 0x8
$auraTable = _BMReadMemory( $hProcess, $CurObject + $AURA_TABLE_1, "int")
$auraCount = _BMReadMemory( $hProcess, $CurObject + $AURA_COUNT_1, "int")
if $auraCount == -1 Then
$auraTable = _BMReadMemory( $hProcess, $CurObject + $AURA_TABLE_2, "int")
$auraCount = _BMReadMemory( $hProcess, $CurObject + $AURA_COUNT_2, "int")
EndIf
For $i = 0 To $auraCount
$spellId = _BMReadMemory($hProcess, $auraTable + $AURA_SIZE * $i + $AURA_SPELL_ID, "int")
msgbox(0,$i,$spellId)
Next
thx