Page 1 of 1

Help to Make a script to change value automatically

Posted: Sun Apr 29, 2018 2:28 am
by Heishin
Hi, I'm new here.

First of all I'm using google translate.



I need help in a script to swap characters in Tekken 7, my idea is to disable akuma, panda, kuma and eliza by switching to another character, Like Jin.

So,

This is the script I'm editing.


Code: Select all

[ENABLE]

aobscanmodule(characterswap,TekkenGame-Win64-Shipping.exe,89 51 10 89 91 34 74 00 00)

alloc(newmem,$100,characterswap)

registersymbol(characterswap)

label(code)

label(return)

newmem:

  cmp edx,20

  jne code

  mov [rcx+10],06

  mov [rcx+00007434],06

  jmp return

code:

  mov [rcx+10],edx

  mov [rcx+00007434],edx

  jmp return

characterswap:

  jmp newmem

  nop

  nop

  nop

  nop

return:

[DISABLE]

characterswap:

db 89 51 10 89 91 34 74 00 00

unregistersymbol(characterswap)

dealloc(newmem)


The value changes when the Akuma character(20) is chosen and goes automatically to the Jin(06), I want him to change also the number 21,22 and 24 in the same script, how do I do?

Help to Make a script to change value automatically

Posted: Sun Apr 29, 2018 11:39 am
by TimFun13
[CODE=cea][ENABLE]

aobscanmodule(characterswap,TekkenGame-Win64-Shipping.exe,89 51 10 89 91 34 74 00 00)

alloc(newmem,$100,characterswap)

registersymbol(characterswap)

label(code)

label(swapcode)

label(return)

newmem:

cmp edx,20

je swapcode

cmp edx,21

je swapcode

cmp edx,22

je swapcode

cmp edx,24

je swapcode

code:

mov [rcx+10],edx

mov [rcx+00007434],edx

jmp return

swapcode:

mov [rcx+10],06

mov [rcx+00007434],06

jmp return



characterswap:

jmp newmem

nop

nop

nop

nop

return:

[DISABLE]

characterswap:

db 89 51 10 89 91 34 74 00 00

unregistersymbol(characterswap)

dealloc(newmem)[/CODE]

Help to Make a script to change value automatically

Posted: Sun Apr 29, 2018 3:45 pm
by Heishin
Thank u , worked perfectly.