View previous topic :: View next topic |
Author |
Message |
deusexmansin Newbie cheater
Reputation: 0
Joined: 19 Aug 2012 Posts: 11
|
Posted: Wed Oct 10, 2012 3:06 pm Post subject: Question about locking certain part of a value |
|
|
Hi guys, I'm playing a small game called Elona(not many people know about this game), and am trying to lock the potential value for my skill. However this game uses a different way to store the value of skill and its potential.
For example: If I have a skill at level 7 and 45.5% leveled, with 124% potential, then the value would be 7455124.
Now I just want to lock that 124 part of this value, can this be possibly done by using Cheat Engine? Thanks in advance.
|
|
Back to top |
|
 |
Gniarf Grandmaster Cheater Supreme
Reputation: 43
Joined: 12 Mar 2012 Posts: 1285
|
Posted: Wed Oct 10, 2012 7:29 pm Post subject: |
|
|
Assuming it's 124 in decimal (not hex), double click on "4 byte" in your cheat list and select "1 byte" in the type list. That will lock 8 bits (124 takes 7). If that doesn't fit your needs, switch to "binary" type select start bit=0, length=7.
|
|
Back to top |
|
 |
deusexmansin Newbie cheater
Reputation: 0
Joined: 19 Aug 2012 Posts: 11
|
Posted: Wed Oct 10, 2012 7:37 pm Post subject: |
|
|
Gniarf wrote: | Assuming it's 124 in decimal (not hex), double click on "4 byte" in your cheat list and select "1 byte" in the type list. That will lock 8 bits (124 takes 7). If that doesn't fit your needs, switch to "binary" type select start bit=0, length=7. |
Thank you for the reply, I now have a value 7000168 and I tried both ways you mentioned above, they both show a new value which is 104, I don't know whether I should lock it or not since I'm scared of crashing my game... And thanks again for replying me!
|
|
Back to top |
|
 |
Gniarf Grandmaster Cheater Supreme
Reputation: 43
Joined: 12 Mar 2012 Posts: 1285
|
Posted: Wed Oct 10, 2012 11:50 pm Post subject: Re: Question about locking certain part of a value |
|
|
Ah frak! I didn't understand that it was:
"For example: If I have a skill at level 7 and 45.5% leveled, with 124% potential, then the value would be 7455124."
Basically it's some sort of bitmask, except that it's for decimal digits... First time I ever see that...
Anyway, may someone correct me if I'm wrong, but as of CE 6.2 it is not possible to to only freeze the 3 least significant decimal digits with a custom type. So the only thing I could come up with was a custom lua script freezer.
-Download the tool table below.
-When opening it, if you get a message saying "do you want to execute the table's lus script?" say yes, otherwise press ctrl+alt+L and click "execute" ONCE.
-find your skill address as usual, add it, and name it "Elona skill potential 1" (name is important)
-activate "freeze skill potential"
-enjoy!
-reopen the lua script, learn, and modify it when/if you need to freeze more skills.
Description: |
tool table to freeze the 3 least significant decimal digits of elona skills |
|
 Download |
Filename: |
elona.CT |
Filesize: |
2 KB |
Downloaded: |
913 Time(s) |
|
|
Back to top |
|
 |
deusexmansin Newbie cheater
Reputation: 0
Joined: 19 Aug 2012 Posts: 11
|
Posted: Thu Oct 11, 2012 12:43 am Post subject: Re: Question about locking certain part of a value |
|
|
Gniarf wrote: | Ah frak! I didn't understand that it was:
"For example: If I have a skill at level 7 and 45.5% leveled, with 124% potential, then the value would be 7455124."
Basically it's some sort of bitmask, except that it's for decimal digits... First time I ever see that...
Anyway, may someone correct me if I'm wrong, but as of CE 6.2 it is not possible to to only freeze the 3 least significant decimal digits with a custom type. So the only thing I could come up with was a custom lua script freezer.
-Download the tool table below.
-When opening it, if you get a message saying "do you want to execute the table's lus script?" say yes, otherwise press ctrl+alt+L and click "execute" ONCE.
-find your skill address as usual, add it, and name it "Elona skill potential 1" (name is important)
-activate "freeze skill potential"
-enjoy!
-reopen the lua script, learn, and modify it when/if you need to freeze more skills. |
Again, thank you for your time and the reply however... The tool table doesnt really seem to work, it gives off a error message whenever I try to freeze the value. I have attached the picture of the error message.
Description: |
|
Filesize: |
32.17 KB |
Viewed: |
10244 Time(s) |

|
|
|
Back to top |
|
 |
Gniarf Grandmaster Cheater Supreme
Reputation: 43
Joined: 12 Mar 2012 Posts: 1285
|
Posted: Thu Oct 11, 2012 12:52 am Post subject: |
|
|
...And that's what you get for spellchecking your work just before posting...
Replace all AdressesToFreeze by AddressesToFreeze...
|
|
Back to top |
|
 |
deusexmansin Newbie cheater
Reputation: 0
Joined: 19 Aug 2012 Posts: 11
|
Posted: Thu Oct 11, 2012 1:00 am Post subject: |
|
|
Gniarf wrote: | ...And that's what you get for spellchecking your work just before posting...
Replace all AdressesToFreeze by AddressesToFreeze... |
Ummm... So what should I do now? Replace those "AdressesToFreeze" in the lua script to "AddressesToFreeze"? Gah I'm totally a noob in this kind of stuff... Sorry for wasting so much of your time, I kinda feel bad now...
|
|
Back to top |
|
 |
Gniarf Grandmaster Cheater Supreme
Reputation: 43
Joined: 12 Mar 2012 Posts: 1285
|
Posted: Thu Oct 11, 2012 1:26 am Post subject: |
|
|
deusexmansin wrote: | So what should I do now? |
Gniarf wrote: | Replace all AdressesToFreeze by AddressesToFreeze | *sigh*, in the lua script, yes, and I would have liked you to try before asking.
|
|
Back to top |
|
 |
deusexmansin Newbie cheater
Reputation: 0
Joined: 19 Aug 2012 Posts: 11
|
Posted: Thu Oct 11, 2012 1:42 am Post subject: |
|
|
Gniarf wrote: | deusexmansin wrote: | So what should I do now? |
Gniarf wrote: | Replace all AdressesToFreeze by AddressesToFreeze | *sigh*, in the lua script, yes, and I would have liked you to try before asking. |
D: Sorry I'm just too lazy... I've done changing those, and another message pops out...
Description: |
|
Filesize: |
39.98 KB |
Viewed: |
10223 Time(s) |

|
|
|
Back to top |
|
 |
Gniarf Grandmaster Cheater Supreme
Reputation: 43
Joined: 12 Mar 2012 Posts: 1285
|
Posted: Thu Oct 11, 2012 2:09 am Post subject: |
|
|
Did you set the type for "Elona skill potential 1" to "text" or display it in hexadecimal form?
I just noticed my script does not work if you use hex display mode.
If your "Elona skill potential 1" is neither a text nor in hex form, well, I don't know what you're doing wrong, but it works on my end (once you fix the address/adress thinggie).
|
|
Back to top |
|
 |
deusexmansin Newbie cheater
Reputation: 0
Joined: 19 Aug 2012 Posts: 11
|
Posted: Thu Oct 11, 2012 2:13 am Post subject: |
|
|
Gniarf wrote: | Did you set the type for "Elona skill potential 1" to "text" or display it in hexadecimal form?
I just noticed my script does not work if you use hex display mode.
If your "Elona skill potential 1" is neither a text nor in hex form, well, I don't know what you're doing wrong, but it works on my end (once you fix the address/adress thinggie). |
Okay then, thanks again for your help. I'll try a few times more to see what I did wrong.
|
|
Back to top |
|
 |
|