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: 2
Joined: Sun Apr 29, 2018 2:13 am
Reputation: 0

Help to Make a script to change value automatically

Post by Heishin » Sun Apr 29, 2018 2:28 am

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=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)[/CODE]



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 Thu Jan 01, 1970 12:00 am, edited 1 time in total.

User avatar
TheyCallMeTim13
Administration
Administration
Posts: 980
Joined: Fri Mar 03, 2017 12:31 am
Reputation: 154
Contact:

Help to Make a script to change value automatically

Post by TheyCallMeTim13 » Sun Apr 29, 2018 11:39 am

[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: 2
Joined: Sun Apr 29, 2018 2:13 am
Reputation: 0

Help to Make a script to change value automatically

Post by Heishin » Sun Apr 29, 2018 3:45 pm

Thank u , worked perfectly.

Post Reply

Who is online

Users browsing this forum: No registered users