Starter_But Advanced Cheater
Reputation: 0
Joined: 26 Oct 2021 Posts: 53
|
Posted: Wed Jul 05, 2023 9:43 am Post subject: assembler script |
|
|
Hello everyone again, I have come again with my problems, hoping to understand the solution.
I have a script written in assembler, when it is activated, three subfunctions pop up, the problem is that they are activated all at once when Damage is enabled (this is shown in the picture), and I cannot separate them (I do not know how to do this),I tried to remove unnecessary bytes,remove everythingwhich is unrelated to meleeDamage (I only need it to be enabled), but nothing comes out
here is the code itself that I tried to change
| Code: |
define(address, Test.Player::ResetEffects+18B)
define(bytes, D9 E8 D9 9E 64 04 00 00 D9 E8 D9 9E 6C 04 00 00 D9 E8 D9 9E 70 04 00 00 D9 E8 D9 9E 68 04 00 00 D9 E8 D9 9E 84 04 00 00)
[ENABLE]
assert(address, bytes)
alloc(newmem, 1)
label(code)
label(return)
label(meleeDamage)
label(rangedDamage)
label(rangedMultDamage)
label(magicDamage)
label(minionDamage)
registersymbol(meleeDamage)
newmem:
code:
fld dword ptr [meleeDamage]
fstp dword ptr [esi+464]
fld dword ptr [rangedDamage]
fstp dword ptr [esi+46C]
fld dword ptr [rangedMultDamage]
fstp dword ptr [esi+470]
fld dword ptr [magicDamage]
fstp dword ptr [esi+468]
fld dword ptr [minionDamage]
fstp dword ptr [esi+484]
jmp return
meleeDamage:
dd (float)100
rangedDamage:
dd (float)100
rangedMultDamage:
dd (float)100
magicDamage:
dd (float)100
minionDamage:
dd (float)100
address:
jmp long newmem
nop 23
return:
[DISABLE]
address:
db bytes
//fld1
//fstp dword ptr [esi+460]
//fld1
//fstp dword ptr [esi+468]
//fld1
//fstp dword ptr [esi+46C]
//fld1
//fstp dword ptr [esi+464]
//fld1
//fstp dword ptr [esi+480]
unregistersymbol(*)
dealloc(*)
|
| Description: |
|
| Filesize: |
5.62 KB |
| Viewed: |
1350 Time(s) |

|
|
|