View previous topic :: View next topic |
Author |
Message |
sti228 Newbie cheater
Reputation: 0
Joined: 24 Jan 2015 Posts: 14 Location: Georgia/Tbilisi
|
Posted: Thu Feb 25, 2016 5:55 am Post subject: How to find Float and Byte values ? |
|
|
Hi. I'm interested to find Float and Byte values. For example look this picture:
http : // www . picz.ge /img/s4/1602/25/e/e7e07105b440.jpg
You see Fload and value: 0.1430000067 witch mean 140 bhp power in game. I want to find (don't know how it's name in English) something like this:
D9 47 28 D8 4E 28 D8 4C 24 14 D8 4C 24 10 D9 5E
for this function. How i can do that ? If i change original power - 0.1430000067 to 0.3430000067 in game i have 397 bhp but how this address will change ?
In short i want to know how i can get addresses like this:
D9 47 28 D8 4E 28 D8 4C 24 14 D8 4C 24 10 D9 5E
One for original 140 bhp and one for modified version 397 bhp
0.1430000067 =
D9 47 28 D8 4E 28 D8 4C 24 14 D8 4C 24 10 D9 5E (in game original car power 140bhp)
0.3430000067 = ? (in game changed car power - 397 bhp)
|
|
Back to top |
|
 |
hhhuut Grandmaster Cheater
Reputation: 6
Joined: 08 Feb 2015 Posts: 607
|
Posted: Thu Feb 25, 2016 6:09 am Post subject: |
|
|
So, do you want to convert the float value to an AOB pattern, or do you just want to find an address that access this value?
|
|
Back to top |
|
 |
sti228 Newbie cheater
Reputation: 0
Joined: 24 Jan 2015 Posts: 14 Location: Georgia/Tbilisi
|
Posted: Thu Feb 25, 2016 7:03 am Post subject: |
|
|
hhhuut wrote: | So, do you want to convert the float value to an AOB pattern, or do you just want to find an address that access this value? |
Both If i convert Fload or Byte will this work ?
|
|
Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Thu Feb 25, 2016 2:24 pm Post subject: |
|
|
Code: | local bytes = floatToByteTable(0.1430000067)
for i=1, #bytes do
print(string.format("%02X", bytes[i]))
end |
|
|
Back to top |
|
 |
sti228 Newbie cheater
Reputation: 0
Joined: 24 Jan 2015 Posts: 14 Location: Georgia/Tbilisi
|
Posted: Fri Feb 26, 2016 6:10 am Post subject: |
|
|
Zanzer wrote: | Code: | local bytes = floatToByteTable(0.1430000067)
for i=1, #bytes do
print(string.format("%02X", bytes[i]))
end |
|
Thanks but i want to get addresses like this one: D9 47 28 D8 4E 28 D8 4C 24 14 D8 4C 24 10 D9 5E
|
|
Back to top |
|
 |
hhhuut Grandmaster Cheater
Reputation: 6
Joined: 08 Feb 2015 Posts: 607
|
Posted: Fri Feb 26, 2016 6:12 am Post subject: |
|
|
Just to clarify: That's not an address but just an AOB (array of byte) pattern (which can tell you where a specific address is located in the memory).
|
|
Back to top |
|
 |
sti228 Newbie cheater
Reputation: 0
Joined: 24 Jan 2015 Posts: 14 Location: Georgia/Tbilisi
|
Posted: Fri Feb 26, 2016 8:45 am Post subject: |
|
|
hhhuut wrote: | Just to clarify: That's not an address but just an AOB (array of byte) pattern (which can tell you where a specific address is located in the memory). |
Ok. I will explain what i want to do. Making trainer using CE is very hard for me. So i use program Creator Trainer Studio v2 beta and there is only AOB lines. I have no idea how i can type there Float or Bytes... That's the reason i need to get this AOB.
http : // www . picz.ge / img/s4/1602/26/3/375f1aa97093.jpg
|
|
Back to top |
|
 |
|