| View previous topic :: View next topic |
| Author |
Message |
LongBeardedLion Expert Cheater
Reputation: 0
Joined: 10 Apr 2020 Posts: 173
|
Posted: Thu Jun 11, 2020 3:26 pm Post subject: Random free memory addresses for storing specific values |
|
|
I need to write a new value into memory that will be used in a function. Are there any rules that i should follow?
Let me see if i can explain better:
I have a bunch of colors references that i need my game to use in a function depending on the situation. So i need my game to register on random free addresses somewhere in its memory, the references for these colors, so that they can be called from a function.
Should i use a random free address? Those ones that are way below? And hope they will never be used by the game? How do i know that those addresses wont be overwritten or used by the game at some point?
Is this the correct way to do this?
|
|
| Back to top |
|
 |
PtitSerpent How do I cheat?
Reputation: 0
Joined: 17 Jun 2020 Posts: 9 Location: France, Normandy
|
Posted: Fri Jun 19, 2020 8:30 am Post subject: |
|
|
Sorry for this false hope, i haven't answers
But this subject is interesting so I want to be there
|
|
| Back to top |
|
 |
LongBeardedLion Expert Cheater
Reputation: 0
Joined: 10 Apr 2020 Posts: 173
|
Posted: Sat Jun 20, 2020 11:02 am Post subject: |
|
|
Ok i will try to answer my own question. Or at least tell you what i know and what i have been doing, since moderators must be busy all the time with all our questions. And maybe they will confirm or disagree with me.
From what i understood for now, you can use the chunks that are unused in the unexplored area. Just open it in IDA pro and look in the upper bar, the parts that are light green/olive color, that says Unexplored. Thats what i have been using and had no problems. I write the values i need to use or register there.
https://i.ytimg.com/vi/PcRr17tGJfA/maxresdefault.jpg
|
|
| Back to top |
|
 |
Csimbi I post too much
Reputation: 97
Joined: 14 Jul 2007 Posts: 3327
|
Posted: Sat Jun 20, 2020 2:40 pm Post subject: |
|
|
| CE can find code caves. You can use those caves to store vars, too.
|
|
| Back to top |
|
 |
LongBeardedLion Expert Cheater
Reputation: 0
Joined: 10 Apr 2020 Posts: 173
|
Posted: Sun Jun 21, 2020 1:11 am Post subject: |
|
|
That sounds more accurate and more "official". However i cant find any Code Caveman command in cheat engine. If there is any?
How do i do it?
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25807 Location: The netherlands
|
Posted: Sun Jun 21, 2020 1:59 am Post subject: |
|
|
| Code: |
alloc(name,size, adresstoallocatenearby)
registersymbol(name)
|
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
Csimbi I post too much
Reputation: 97
Joined: 14 Jul 2007 Posts: 3327
|
Posted: Sun Jun 21, 2020 3:52 pm Post subject: |
|
|
| LongBeardedLion wrote: | That sounds more accurate and more "official". However i cant find any Code Caveman command in cheat engine. If there is any?
How do i do it? |
It's in the Tools Menu, second from top.
|
|
| Back to top |
|
 |
LongBeardedLion Expert Cheater
Reputation: 0
Joined: 10 Apr 2020 Posts: 173
|
Posted: Mon Jun 22, 2020 6:35 am Post subject: |
|
|
Awesome. Found code caveman. Will be using it all the time now
|
|
| Back to top |
|
 |
|