Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Base address null after launch agian the game

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
0_yami_0
Newbie cheater
Reputation: 0

Joined: 07 May 2016
Posts: 13

PostPosted: Wed Jul 25, 2018 11:53 pm    Post subject: Base address null after launch agian the game Reply with quote

Hi,
I try to find the time value in the game Resident Evil Revelations 2, after some minutes I can find it, then I try to get the base address with all differrent way possible (pointer scan, find out what Read/Acess...), after some minutes I can get some base address (with two to five offset), but everytime I launch the again the game, all base address point to nothing.
Can someone help me with it please ?

PS: I'm using the 6.8.1 version, and I already found a fixe base address for others game (also for the time variable)
Back to top
View user's profile Send private message
0_yami_0
Newbie cheater
Reputation: 0

Joined: 07 May 2016
Posts: 13

PostPosted: Thu Jul 26, 2018 9:57 am    Post subject: Reply with quote

Someone ?
Back to top
View user's profile Send private message
FreeER
Grandmaster Cheater Supreme
Reputation: 53

Joined: 09 Aug 2013
Posts: 1091

PostPosted: Thu Jul 26, 2018 1:16 pm    Post subject: Reply with quote

I don't have the game but have you tried an injection copy? Hook some code that accesses the address you want and copy it into your own memory, essentially creating your own pointer to it rather than having to find a static base pointer and n levels of offsets.
_________________
https://github.com/FreeER/ has a few CE related repos
Back to top
View user's profile Send private message
0_yami_0
Newbie cheater
Reputation: 0

Joined: 07 May 2016
Posts: 13

PostPosted: Thu Jul 26, 2018 1:50 pm    Post subject: Reply with quote

I really don't understand what are you talking about, do you know a tutorial explaining that or something ?
Back to top
View user's profile Send private message
FreeER
Grandmaster Cheater Supreme
Reputation: 53

Joined: 09 Aug 2013
Posts: 1091

PostPosted: Thu Jul 26, 2018 1:53 pm    Post subject: Reply with quote

https://web.archive.org/web/20171019202636/http://forum.cheatengine.org/viewtopic.php?t=572465
and
https://www.youtube.com/results?search_query=injection+copy

_________________
https://github.com/FreeER/ has a few CE related repos
Back to top
View user's profile Send private message
0_yami_0
Newbie cheater
Reputation: 0

Joined: 07 May 2016
Posts: 13

PostPosted: Thu Jul 26, 2018 2:17 pm    Post subject: Reply with quote

Thanks, I will check this later
Back to top
View user's profile Send private message
0_yami_0
Newbie cheater
Reputation: 0

Joined: 07 May 2016
Posts: 13

PostPosted: Thu Jul 26, 2018 11:57 pm    Post subject: Reply with quote

So, I test with injection copy, it works but only when I active (check the box) the Auto Assemble script.
The probleme now is how to read this with my program, usualy I defined the time variable like this :

float time : "rerev2.exe", 0x73C638, 0x7C, 0x8, 0x16C, 0x10F0D4;

but if I replace by the pointer find with the Auto Assemble script, it should be this :

float time : "base", 0x10F0D4;

but doesn't works, not recognise I guess, so what is the good thing to do in order to make it work ?
Back to top
View user's profile Send private message
mbabo
Advanced Cheater
Reputation: 0

Joined: 30 Jul 2016
Posts: 74

PostPosted: Fri Jul 27, 2018 12:44 am    Post subject: Reply with quote

i dont have the game , but you could try find the op code that writes to the address . then make a code injection AOB to make it 99999 all the time or something like that .

i assume you have basic knowledge of assembly right ?
Back to top
View user's profile Send private message
0_yami_0
Newbie cheater
Reputation: 0

Joined: 07 May 2016
Posts: 13

PostPosted: Fri Jul 27, 2018 12:55 am    Post subject: Reply with quote

Absolutly not, all what I know about assembly is what I learned with CE,
so, when you tell me "make a code injection AOB to make it 99999 all the time ", I really don't know what do you mean.
Back to top
View user's profile Send private message
mbabo
Advanced Cheater
Reputation: 0

Joined: 30 Jul 2016
Posts: 74

PostPosted: Fri Jul 27, 2018 1:02 am    Post subject: Reply with quote

ok .basically you want to make infinite time right ?
could help you via team view or something like that .
Back to top
View user's profile Send private message
0_yami_0
Newbie cheater
Reputation: 0

Joined: 07 May 2016
Posts: 13

PostPosted: Fri Jul 27, 2018 1:32 am    Post subject: Reply with quote

No, actually I'm speedrunning this game, and I want to write an autosplit script to use with the Livesplit timer, I just want to see the in game time, more acurate than a real time.

You can download the game for free (not legal) on this site, if you want to test :
zone-telechargement1.org
Back to top
View user's profile Send private message
FreeER
Grandmaster Cheater Supreme
Reputation: 53

Joined: 09 Aug 2013
Posts: 1091

PostPosted: Fri Jul 27, 2018 9:09 am    Post subject: Reply with quote

0_yami_0 wrote:
So, I test with injection copy, it works but only when I active (check the box) the Auto Assemble script.
Yeah, that's how injection copies work, the hook has to be active to copy the address. In theory if it never changes during gameplay you could activate it once and deactivate it, just never deallocate/unregister the memory you copied the address to.
Quote:
The probleme now is how to read this with my program
if I replace by the pointer find with the Auto Assemble script, it should be this :
float time : "base", 0x10F0D4
Well once your script has copied the address into allocated memory and registered it as a symbol (so it can be accessed outside of that script), you just create a pointer and put the symbol you used as the base and as the offset either 0 (if the exact address was copied) or 0x10F0D4 if only the struct address was copied.
_________________
https://github.com/FreeER/ has a few CE related repos
Back to top
View user's profile Send private message
0_yami_0
Newbie cheater
Reputation: 0

Joined: 07 May 2016
Posts: 13

PostPosted: Fri Jul 27, 2018 10:02 am    Post subject: Reply with quote

Quote:
you just create a pointer and put the symbol you used as the base and as the offset either 0 (if the exact address was copied) or 0x10F0D4 if only the struct address was copied.


I don't see exactly what pointer I have to create in my script, is "float time : "base", 0x10F0D4;" should works ?
Can you show me an example or something please.
Back to top
View user's profile Send private message
FreeER
Grandmaster Cheater Supreme
Reputation: 53

Joined: 09 Aug 2013
Posts: 1091

PostPosted: Fri Jul 27, 2018 10:35 am    Post subject: Reply with quote



There's at least 2 videos on youtube and an article on here that explains injection copies (the ones I linked to earlier) so... those are your examples.

_________________
https://github.com/FreeER/ has a few CE related repos
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites