View previous topic :: View next topic |
Author |
Message |
Grizzlyadamz How do I cheat?
Reputation: 0
Joined: 18 Nov 2013 Posts: 8
|
Posted: Tue Nov 15, 2016 10:08 pm Post subject: Looking for Addresses with known Values & Offsets |
|
|
Alright, so I'm doing a Byte search and I have three addresses I'm looking for.
A which = 1
B which = 2
C which = 3
Now, I don't know what A, B, or C's addresses are, (they change all the freaking time), but I DO know B's address is A + 1A4 & C's address is B+44C.
So, is it possible to find everything with this knowledge alone?
That is, could I check the offset addresses of all A's initial search results for matching values down the line?
|
|
Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Tue Nov 15, 2016 10:38 pm Post subject: |
|
|
Set the scan type to Grouped and search for: Code: | 1:1 w:419 1:2 w:1099 1:3 |
1-byte value of 1. Skip 419 bytes (0x1A3). 1-byte value of 2. Skip 1099 bytes (0x44B). 1-byte value of 3.
Or if you've simply found address A, you can drag and drop a new entry over top of it as a child.
Give that entry an address of "+1A4" and it will use address A as its base.
|
|
Back to top |
|
 |
Grizzlyadamz How do I cheat?
Reputation: 0
Joined: 18 Nov 2013 Posts: 8
|
Posted: Wed Nov 16, 2016 12:08 am Post subject: |
|
|
That..seems like exactly what I was looking for thank you!
|
|
Back to top |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Wed Nov 16, 2016 7:57 am Post subject: |
|
|
Next time you can use "dissect data" ("structure dissect").
There is special feature which can help generate groupscan command.
Example:
at offset 0 - playerID (0 - NPC , 1 - you, 2 - enemy )
at offset C - health (float)
at offset 10 - health max (integer)
at offset 24 - armor (float)
at offset 28 - armor max (integer)
let's say armor is a rare thing. So, skip current armor value, but, use max armor in scan.
Select those and rightclick and choose generate groupscan:
You will get:
Press OK.
You will see this:
4:1 w:8 f:100 4:100 w:20 4:100
_________________
|
|
Back to top |
|
 |
Grizzlyadamz How do I cheat?
Reputation: 0
Joined: 18 Nov 2013 Posts: 8
|
Posted: Wed Nov 16, 2016 10:23 am Post subject: |
|
|
Thanks, that saved me a headache- couldn't seem to type up the group command right.
If you want to see the end-results, it's in the Battle Brothers thread under Single Player Cheat Requests.
I'd post a link but my post count's too low.
Anyway, Thanks again!
|
|
Back to top |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Thu Nov 17, 2016 8:18 am Post subject: |
|
|
The "skip nr of bytes" part is tricky. Formula is: decimal(offset2-offset1-valuebytesizeatoffset1 )
at offset 0 - playerID
at offset C - health (float)
at offset 10 - health max (integer)
at offset 28 - armor max (integer)
Creating command:
4:1
w:8 (C-0-4 = 8 hex = 8 dec)
f:100
(10-C-4 = 0, so, we do not use skip)
4:100
w:20 (28-10-4 = 14 hex = 20 dec)
4:100
It is much simpler to just use "generate groupscan command" from dissect structure.
I also recommend "out of order" feature (with "must be type aligned"). You can easily find a lot of useful structures.
I successfully used for weapon statistics. If we can see what exact stats are, example:
You can try some values.
Block size - with trial and error, sometimes 128 is good, and sometimes you need 512 or even bigger
BS:128 OOO:A f:16759 f:4.2 4:6 4:38029
_________________
|
|
Back to top |
|
 |
|