 |
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
XaneXXXX Expert Cheater
Reputation: 0
Joined: 29 Nov 2012 Posts: 212
|
Posted: Mon Sep 21, 2015 8:45 pm Post subject: Combine two different scripts into one? |
|
|
So let's say that i have two completely different scripts. One for no recoil and one for no spread. How can i combine these two into one?
Thanks!
Script 1:
Code: | [ENABLE]
aobscanmodule(Accuracy,mgsvtpp.exe,F3 0F 11 4E 3C 0F B7 46 20 66 0F 6E C0 0F 5B C0 * * * * C0 48 FF C9 75) // should be unique
alloc(newmem,$100,"mgsvtpp.exe"+3D4B945)
label(code)
label(return)
newmem:
code:
mov [rsi+3C],(float)0
jmp return
Accuracy:
jmp code
return:
registersymbol(Accuracy)
[DISABLE]
Accuracy:
db F3 0F 11 4E 3C
unregistersymbol(Accuracy)
dealloc(newmem) |
Script2:
Code: | [ENABLE]
aobscanmodule(accuracywalk,mgsvtpp.exe,F3 0F 58 F3 F3 41 0F 11 98 9C 00 00 00) // should be unique
alloc(newmem,$100,"mgsvtpp.exe"+3D4E2AF)
label(code)
label(return)
newmem:
code:
mov [r8+0000009C],0
jmp return
accuracywalk:
jmp code
nop
nop
nop
nop
nop
nop
nop
nop
return:
registersymbol(accuracywalk)
[DISABLE]
accuracywalk:
db F3 0F 58 F3 F3 41 0F 11 98 9C 00 00 00
unregistersymbol(accuracywalk)
dealloc(newmem) |
|
|
Back to top |
|
 |
STN I post too much
Reputation: 43
Joined: 09 Nov 2005 Posts: 2676
|
Posted: Tue Sep 22, 2015 6:25 am Post subject: |
|
|
Merge them both, the enable part of script 1 goes with enable part of script 2 and the same for disable. Rename labels so they are different for each script. Like this
[ENABLE]
aobscanmodule(Accuracy,mgsvtpp.exe,F3 0F 11 4E 3C 0F B7 46 20 66 0F 6E C0 0F 5B C0 * * * * C0 48 FF C9 75) // should be unique
alloc(newmema,$100,"mgsvtpp.exe"+3D4B945)
label(codea)
label(returna)
aobscanmodule(accuracywalk,mgsvtpp.exe,F3 0F 58 F3 F3 41 0F 11 98 9C 00 00 00) // should be unique
alloc(newmemb,$100,"mgsvtpp.exe"+3D4E2AF)
label(codeb)
label(returnb)
newmema:
codea:
mov [rsi+3C],(float)0
jmp returna
Accuracy:
jmp codea
returna:
registersymbol(Accuracy)
newmemb:
codeb:
mov [r8+0000009C],0
jmp returnb
accuracywalk:
jmp codeb
nop
nop
nop
nop
nop
nop
nop
nop
returnb:
registersymbol(accuracywalk)
[DISABLE]
accuracywalk:
db F3 0F 58 F3 F3 41 0F 11 98 9C 00 00 00
Accuracy:
db F3 0F 11 4E 3C
unregistersymbol(Accuracy)
dealloc(newmema)
unregistersymbol(accuracywalk)
dealloc(newmemb)
_________________
|
|
Back to top |
|
 |
XaneXXXX Expert Cheater
Reputation: 0
Joined: 29 Nov 2012 Posts: 212
|
Posted: Wed Sep 23, 2015 2:32 am Post subject: |
|
|
THank you very much! Got it
|
|
Back to top |
|
 |
BadCake How do I cheat?
Reputation: 0
Joined: 08 May 2023 Posts: 7
|
Posted: Mon May 08, 2023 4:20 am Post subject: Thanks. |
|
|
Thanks, it works for my table too.
|
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|