Code: Select all
crash 3 5,6,7 13,14,15 21,22,23 29,30,31 37,38,39 43,44,45,46,47
works 2 4 8,9,10,11,12 16,17,18,19,20 24,25,26,27,28 32,33,34,35,36 40,41,42 48,49,50,51,52...
Code: Select all
expUpdaterAddress = AOBScan("89 11 C7 05 B8 A1 3E 01 0C E3 20 00 A1")
if expUpdaterAddress == nil then
showMessage("Couldn't find the updater bytes!")
return 0
end
expUpdaterAddress = expUpdaterAddress[0]
autoAssemble([[
alloc(expMultiplier,32)
label(originalcode)
label(expMultiplierValue)
registersymbol(expMultiplierValue)
expMultiplier:
expMultiplierValue:
dd (int)10
code:
sub edx,[ecx] // Subtract the new EXP from the current one to get only the EXP just received.
imul edx,[expMultiplierValue] // Multiply the newly received EXP by the multiplier value.
add edx,[ecx] // Sum back the current EXP to the new one.
originalcode:
mov [ecx],edx
db C7 05 B8 A1 3E 01 0C E3 20 00
jmp return
]]..expUpdaterAddress..[[:
jmp expMultiplier
nop 7
return:
]])
Here's the custom input field:
I have no idea why this is happening. Can it be a game-specific problem or am I missing something?