Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > C/C++
You last visited: Today at 05:45

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

Advertisement



help me for edit this code to readmemory from pointer

Discussion on help me for edit this code to readmemory from pointer within the C/C++ forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2013
Posts: 1
Received Thanks: 0
help me for edit this code to readmemory from pointer

my code using Dev C++


please help me thx before
nggebu is offline  
Old 03/21/2014, 10:41   #2
 
nerdsupreme's Avatar
 
elite*gold: 0
Join Date: Jan 2014
Posts: 103
Received Thanks: 55
Ahm,

Quote:
Important This function is obsolete and should not be used. Despite its name, it does not guarantee that the pointer is valid or that the memory pointed to is safe to use. For more information, see Remarks on this page.
But if you still want to use it:

Quote:
If the calling process has read access to all bytes in the specified memory range, the return value is zero.
So, first of all you check if the memoryregion from "ulBase" to the size of unsigned int is readable. Then you check if the memoryregion from "ulBase" + "iOffset" is readable.

So please change that in one If: If isbadreadptr(ulbase,sizeof(unsignedint)+ioffset)


Wow. I read "your" code now, and...:WTF

Quote:
if (dwReason == DLL_PROCESS_ATTACH)
{
DisableThreadLibraryCalls(hDll);
if (dwReason == DLL_PROCESS_ATTACH){
Whoever wrote this code, you didn't. So i decided to not help you with your problem.

Tip: Delete everything.

So at last there is only one thing to say:

Quote:
Greetings nggebu!

No.

Regards
nerdsupreme is offline  
Thanks
3 Users
Reply


Similar Threads Similar Threads
[HELP] DLL Pointer Hack C++ CODE!
02/07/2014 - C/C++ - 11 Replies
Leutsssss ist dringen ich will mich so ein bisschen an C++ versuchen wollte fragen ob jemand den code hat für einen dll hack wo ich die pointer reinschreiben muss so nach dem motto copy & paste ist nur für versuchszwecke bei metin2 wär echt nett wenn mir den jemand geben könnte! :)
ReadMemory C++
07/20/2012 - Dekaron Private Server - 4 Replies
i got everthing working please delete this thread thank you for all.
C++ ReadMemory in dll
04/01/2012 - C/C++ - 9 Replies
Ja hallo zsm :D Undzwar hab ich ne kleine dll geschrieben mit der ich ein spiel hacke sozusagen. Das Value schreiben funktioniert an sich perfekt nur das value auslesen nicht. Hab auch schon ein bisschen gegooglet aber nichts hilfreiches gefunden dafür. Ich weiß, ich kan ReadProcessMemory benutzten, jedoch wird rpm leider erkannt und somit funktioniert das ganze nichtmehr. Ich muss wie z.B memcpy fürs schreiben eine funktion fürs lesen herbekommen und da dachte ich das vllt ein paar...
[Help]C# ReadMemory Function
04/21/2010 - .NET Languages - 1 Replies
Hi! I am a newbie and trying to learn the C# ReadProcessMemory function! As a training I am trying to read the HP value in "Conquer Online" so please tell me is this code right or wrong and will it cause me problems? note: this is a console application the program should read the HP address then it shows the value of the address! using System; using System.Collections.Generic; using System.Text; using System.Runtime.InteropServices; using System.Text.RegularExpressions;
CheatEngine 5.5 Pointer to AutoIt3 Source-Code
02/22/2010 - 4Story Hacks, Bots, Cheats & Exploits - 9 Replies
Mir war gerade mal so danach und da habe ich einen Konverter geschrieben, weil manche sich damit schwer haben die Informationen aus CE in Autoit eintragen. Werden zwar eh die wenigsten brauchen, aber egal xD Funktionsweise: 1. in CE Rechtsklick auf den Pointer und auf "Copy" klicken 2. in meinem Programm auf "Code generieren" klicken 3. In euer Scite gehen und einfügen Hier ist der Source Code vom Programm:



All times are GMT +1. The time now is 05:46.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.