Help to Make a script to change value automatically

Memory scanning, code injection, debugger internals and other gamemodding related discussion
Post Reply
Heishin
What is cheating?
What is cheating?
Posts: 4
Joined: Sun Apr 29, 2018 2:13 am
Reputation: 0

Help to Make a script to change value automatically

Post 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?
Last edited by Heishin on Sun Jan 31, 2021 5:19 am, edited 2 times in total.

TimFun13
Expert Cheater
Expert Cheater
Posts: 1353
Joined: Fri Mar 03, 2017 12:31 am
Reputation: 7

Help to Make a script to change value automatically

Post 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]

Heishin
What is cheating?
What is cheating?
Posts: 4
Joined: Sun Apr 29, 2018 2:13 am
Reputation: 0

Help to Make a script to change value automatically

Post by Heishin »

Thank u , worked perfectly.

Post Reply

Who is online

Users browsing this forum: No registered users