View previous topic :: View next topic |
Author |
Message |
YaYaBinks3 How do I cheat? Reputation: 0
Joined: 30 Nov 2013 Posts: 2
|
Posted: Sat Nov 30, 2013 11:47 am Post subject: Noob question on trainers |
|
|
Hi everyone,
I've been learning some CE Lua right now, however I'm a bit confused on how to do basic CE things.
I want to 4 Byte, Exact Value scan a value and be returned with a table of all of this in the address list.
I then want to change ALL of them at a time.
It's a nooby question, however, if i know how to get a table of all the scanned items from a 4 Byte, Exact Value scan, then I can probably be able to change them by looking at some wiki pages.
If this doesn't make sense, then I'll try rephrase.
All I'm asking for is some functions to do what I'm trying to do, because looking at the lua wiki page is confusing.
|
|
Back to top |
|
|
Rawing Cheater Reputation: 0
Joined: 01 May 2010 Posts: 42 Location: Austria
|
Posted: Mon Dec 02, 2013 10:17 am Post subject: |
|
|
Have a look at the AOBScan function.
Basically, it works like this:
Code: | local results = AOBScan("FF 23 7B 67") |
You'll have to adjust the value of the four bytes, of course. Make sure you put them in the correct order - I couldn't figure out why it didn't work until I noticed the value I'm looking for is saved as big endian. The easiest way is probably to look at the value in CE's memory browser.
_________________
Game over! Die again! |
|
Back to top |
|
|
YaYaBinks3 How do I cheat? Reputation: 0
Joined: 30 Nov 2013 Posts: 2
|
Posted: Sat Dec 07, 2013 5:53 pm Post subject: |
|
|
How can I next scan? Just AOBScan again?
|
|
Back to top |
|
|
Rawing Cheater Reputation: 0
Joined: 01 May 2010 Posts: 42 Location: Austria
|
Posted: Tue Dec 10, 2013 5:07 am Post subject: |
|
|
Good question. Probably not. Take a look at the MemScan class; that looks promising, since it has a firstScan and a nextScan function. I've never used it, though.
PS: You can find info about the available classes and functions in the main.lua file.
_________________
Game over! Die again! |
|
Back to top |
|
|
DaSpamer Grandmaster Cheater Supreme Reputation: 52
Joined: 13 Sep 2011 Posts: 1578
|
Posted: Wed Dec 11, 2013 9:27 am Post subject: |
|
|
I've used many C.E functions but actually never used the MemScan class..
Let me check it out.
and I'll post an example for you.
_________________
|
|
Back to top |
|
|
|