Please someone direct me to anywhere that might have any sort of information and resources on the construction of a bot, preferably in C++. Looking for any Reverse engineering information(finding the Base addr for say player) and locating the offsets ptrs for Cur health etc. I would also love to see a simple example source in C++ of putting those addresses and offsets into action. I'm sure I have the basic idea down on how to do this but I'm not 100% sure how to get it setup correctly.
If someone that has a good understanding off C++ could just post a simple example of something along the lines of: Reading from a the addr + offset of say the current health or something else useful, into a pointer and using that pointer to simply log the current health into a log txt file that example would help me out a lot to get started.
My basic idea of what to do here is this:
Setup an empty variable that will hold the currenthealth value later. Using ReadProcessMemory and reading from the PlayerPtrAddr + CurHealthOffset(450?) and store that into currenthealth variable. Then just setup a log that will log what the value of the currenthealth variable is. I have a basic idea of what this would like but I have limited knowledge of C++ and coding and it has been a while Since I have done anything like this. I used to use this type of setup in a lot of FPS games I played but I have since lost all sources and documents that I had regarding this and can't seem to fully remember how to set it all up correctly.
Just need a detailed example of how to setup the empty currenthealth variable and then reading the value from the baseaddr + offset into that variable and then executing the log of that into a .txt log file.
Thanks for any information you can give me.






