What's new

Help to Make a script to change value automatically

Heishin

What is cheating?
Joined
Apr 29, 2018
Messages
2
Likes
0
Points
1
#1
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.

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(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?
 

TheyCallMeTim13

Wiki Monster
Talents
Fearless Donors
Joined
Mar 3, 2017
Messages
508
Likes
117
Points
43
#2
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)
 

Heishin

What is cheating?
Joined
Apr 29, 2018
Messages
2
Likes
0
Points
1
#3
Thank u , worked perfectly.
 

Top Bottom