Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > C/C++
You last visited: Today at 18:27

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[c++]Read dynamic memory after program restart

Discussion on [c++]Read dynamic memory after program restart within the C/C++ forum part of the Coders Den category.

Reply
 
Old   #1
 
Dagamer123's Avatar
 
elite*gold: 0
Join Date: Jan 2016
Posts: 2
Received Thanks: 0
[c++]Read dynamic memory after program restart

With cheat engine it is possible to locate the adress of values inside a program or game, lets say wood. But it will only stay as long as the program is running. So if you wanted to program a trainer , to change these values in a nice and easy cheat program for singleplayer game, you need to locate memory after each time the game restarted, finding the changed adresses for the same values again.
I have not seen anything online that gave me a clue on how to do it , so if anyone knows how to analyse these structures e.g. tracing the pointer chain from a static variable up to the heap address please post some reference or tutorials here.
Dagamer123 is offline  
Old 10/20/2017, 18:37   #2

 
kovuus's Avatar
 
elite*gold: 0
Join Date: Apr 2013
Posts: 6,303
Received Thanks: 1,584
Arrow General Gaming Discussion -> C/C++

moved.
Please feel free to contact me for any questions regarding this moderation action.
kovuus is offline  
Old 10/20/2017, 19:35   #3
 
Dagamer123's Avatar
 
elite*gold: 0
Join Date: Jan 2016
Posts: 2
Received Thanks: 0
Already notice my question is a really noob one, so I guess some tutorials or aynthing about memory related stuff would work except wikipedia.
Dagamer123 is offline  
Old 10/27/2017, 10:15   #4
Trade Restricted
 
elite*gold: LOCKED
Join Date: Oct 2016
Posts: 321
Received Thanks: 79
You read the memory on c++ according to what you need, in c++ you can get the process running and get the pid and also track the pdi memory log so yes you can create pointers for that stack and change it.
Underfisk is offline  
Old 10/28/2017, 23:05   #5
 
cookie69's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 627
Received Thanks: 686
Quote:
Originally Posted by Dagamer123 View Post
With cheat engine it is possible to locate the adress of values inside a program or game, lets say wood. But it will only stay as long as the program is running. So if you wanted to program a trainer , to change these values in a nice and easy cheat program for singleplayer game, you need to locate memory after each time the game restarted, finding the changed adresses for the same values again.
I have not seen anything online that gave me a clue on how to do it , so if anyone knows how to analyse these structures e.g. tracing the pointer chain from a static variable up to the heap address please post some reference or tutorials here.
You can use cheat engine to find a pointer so the next time you run the game you can find the address of "wood".
To find a pointer, you can use these features:
- pointer scan
- find out what accesses/writes to the address
- dissect data/structure
- signature scan
....

Many examples can be found in youtube, just use the correct keywords in your search.
Good luck.
cookie69 is offline  
Old 10/30/2017, 18:28   #6
 
alxstorm-trainer's Avatar
 
elite*gold: 0
Join Date: Oct 2017
Posts: 62
Received Thanks: 13
Cheat engine itself contains a tutorial. It's a good point to start. Go Cheat Engine > Help > Cheat Engine Tutorial. Complete it.
alxstorm-trainer is offline  
Reply

Tags
c++, hack, memory allocation, trainer, tutorials


Similar Threads Similar Threads
Memory Addressing and Dynamic memory
01/04/2016 - CO2 Programming - 3 Replies
Good evening. Lately I have been messing around with trying to read as much information I can from the client without injecting or hooking anything. I am trying to read whatever I can with a simple memory read. To avoid any issues with any protection TQ may have implemented (if any) against cheat engine and olly I decided to download a working 5017 client and source. I have been searching the forums for any information I can find and it appears the possibility are endless for what can be...
[VB]Write Memory bzw Read Memory
06/26/2010 - .NET Languages - 8 Replies
Hi Ich hab das TuT von *Guidman* benütz um einen hack zu machen. So aber nun hab ihc ein paar fragen könnte man memory teil kürzer machen und am besten wie kann man das selber machen weil ich will nihct immer C&P machen. Und zu Read Memory kann man das auch machen das ein Label immer die Bestimmte Ahnzahl angiebt von dem Pointer?.(Wenn das Read Memory ist ?) Bitte helf mir Danke
d2nt bluebird - restart restart restart
06/15/2010 - Diablo 2 - 7 Replies
yo, ich hab schon länger 4 bots am laufen, hat auch immer alles relativ gut geklappt, auf 50 runs meist so 3-4 restarts, also ganz in ordnung, und wie ichs so mitbekommen hab waren die meist eh schon gegen ende des games (ja gut, kein baal kill,aber was solls) seit 2 tagen allerdings funktioniert da überhaupt nix mehr einer läuft "ziemlich" normal, 8 runs 2 restarts der nächste 9 runs 7 restarts dann 19 runs 19 restarts und 47 runs 47 restarts dann is natürlich realm down bei allen,...
AoCheat survives the patch with dynamic memory
05/28/2008 - General Gaming Discussion - 1 Replies
A principle feature of AoCheat is that it located AgeOfConan's memory dynamically (except for structure offsets). This means that AoCheat will break only if AgeOfConan's internal code changes significantly. This eliminates almost all of the downtime that other programs experience between updates. ;) additionally: Age of Conan Forums
[TUT REQUEST] Dynamic Memory Editing via dll injection
01/09/2008 - General Coding - 2 Replies
Hi there im trying to edit the memory of a game via dll injection .. but the adresses arent static, they are dynamic, what means that they change every restart.. and i dont know how to edit dynamic adresses with a dll injection.. could anyone post a tutorial how i could do that?? thanks beforehand greetz eMale



All times are GMT +1. The time now is 18:27.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.