View previous topic :: View next topic |
Author |
Message |
JaPeyK How do I cheat? Reputation: 0
Joined: 12 Jan 2018 Posts: 8
|
Posted: Thu Jan 18, 2018 9:11 pm Post subject: Changing Group scan values into lua script |
|
|
good day everyone, can someone help me out on making a script to work as cheat table that i can enable or disable? I have few and i just want i single sample that i can start on and i will add others my self..
here's what i need to scan on the game
f:0.8 f:0.776 f:0.737
and i need to replace 0.8 and 0.776 into 3.4e38
and 0.737 into -3.4e38
is it possible by group scan?
coz i only saw aobscan how about groupscan?
Code: | [ENABLE]
aobscan(chams, CD CC 4C 3F B4 C8 46 3F B1 BF 3C 3F 00 00 80 3F 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 CD CC 4C 3F B4 C8 46 3F B1 BF 3C 3F 00 00 80 3F)
label(_chams)
registersymbol(_chams)
chams:
_chams:
db 00 40 1C C6 00 40 1C C6 00 40 1C C6
[DISABLE]
_chams:
db CD CC 4C 3F B4 C8 46 3F B1 BF 3C 3F
unregistersymbol(_chams) |
|
|
Back to top |
|
|
TheyCallMeTim13 Wiki Contributor Reputation: 50
Joined: 24 Feb 2017 Posts: 976 Location: Pluto
|
Posted: Thu Jan 18, 2018 10:11 pm Post subject: |
|
|
I haven't really messed with it much but if you select "Grouped" as a scan type then "Generate group scan string" opens a form to help generate them.
_________________
|
|
Back to top |
|
|
JaPeyK How do I cheat? Reputation: 0
Joined: 12 Jan 2018 Posts: 8
|
Posted: Thu Jan 18, 2018 11:14 pm Post subject: |
|
|
TheyCallMeTim13 wrote: | I haven't really messed with it much but if you select "Grouped" as a scan type then "Generate group scan string" opens a form to help generate them. |
nevermind i manage to find its array of bytes but my problem now is how do i freeze the value when i enable the script?
Code: | <AssemblerScript>[ENABLE]
aobscan(parachute, 00 00 E1 43 CA 16 DB 42 00 00 A0 41 92 0A 86 3F)
label(_parachute)
registersymbol(_parachute)
parachute:
_parachute:
db 00 40 1C 45
[DISABLE]
_parachute:
db 00 00 E1 43
unregistersymbol(_parachute)
</AssemblerScript> |
|
|
Back to top |
|
|
TheyCallMeTim13 Wiki Contributor Reputation: 50
Joined: 24 Feb 2017 Posts: 976 Location: Pluto
|
Posted: Thu Jan 18, 2018 11:20 pm Post subject: |
|
|
You would need to either create a pointer in your script, and freeze that on the address list, or change your injections to jump to your own code change the value(s) and jump back, you may want to have a look at the Cheat Engine Tutorial in the Help menu. This goes over the basics of code injection.
_________________
|
|
Back to top |
|
|
JaPeyK How do I cheat? Reputation: 0
Joined: 12 Jan 2018 Posts: 8
|
Posted: Fri Jan 19, 2018 3:55 am Post subject: |
|
|
TheyCallMeTim13 wrote: | You would need to either create a pointer in your script, and freeze that on the address list, or change your injections to jump to your own code change the value(s) and jump back, you may want to have a look at the Cheat Engine Tutorial in the Help menu. This goes over the basics of code injection. |
can you hook me up on my script about freezing? can do it for me? thanks
|
|
Back to top |
|
|
|