Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Programming
You last visited: Today at 04:42

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

Advertisement



[Request]How to read memory address in c#?

Discussion on [Request]How to read memory address in c#? within the CO2 Programming forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2010
Posts: 121
Received Thanks: 7
[Request]How to read memory address in c#?

I just started learning C# i want to know how to read memory address of a certain application if anyone would be able to give this as an example i would be really thankful!
i want to read HP memory address then i want it to appear in label in my program!

note: Please no answers like ur lazy, google is ur friend or search for ""
Thanks for those who wants to help
shimo diaz is offline  
Old 03/29/2010, 21:19   #2
 
SaM.ThE.MaN's Avatar
 
elite*gold: 0
Join Date: Oct 2008
Posts: 828
Received Thanks: 427
how to find addresses use cheat engine and find it.
Example your char hp is 1000
go to cheat engine and choose exact value then new search and type 1000 and click search
Then decrease your hp to 800 (go get some damage) then type 800 and click next
There should be only 1 value available,if there is more than one increase your hp back to 1000
and type 1000 and click next and there should be 1 address
that is how you find addresses,how to apply it to C# sorry i cant help you with that since that is not the language i use or used!!
SaM.ThE.MaN is offline  
Thanks
1 User
Old 03/29/2010, 22:03   #3
 
elite*gold: 0
Join Date: Jan 2010
Posts: 121
Received Thanks: 7
Quote:
Originally Posted by SaM.ThE.MaN View Post
how to find addresses use cheat engine and find it.
Example your char hp is 1000
go to cheat engine and choose exact value then new search and type 1000 and click search
Then decrease your hp to 800 (go get some damage) then type 800 and click next
There should be only 1 value available,if there is more than one increase your hp back to 1000
and type 1000 and click next and there should be 1 address
that is how you find addresses,how to apply it to C# sorry i cant help you with that since that is not the language i use or used!!
Thanks but i already know that yet thanks for your concern
shimo diaz is offline  
Old 03/29/2010, 22:58   #4
 
elite*gold: 0
Join Date: Jun 2009
Posts: 787
Received Thanks: 314
_tao4229_ is offline  
Thanks
1 User
Old 03/29/2010, 23:19   #5
 
elite*gold: 0
Join Date: Jan 2007
Posts: 656
Received Thanks: 541
Quote:
Originally Posted by shimo diaz View Post
I just started learning C# i want to know how to read memory address of a certain application if anyone would be able to give this as an example i would be really thankful!
i want to read HP memory address then i want it to appear in label in my program!

note: Please no answers like ur lazy, google is ur friend or search for ""
Thanks for those who wants to help
Code:
[DllImport("user32.dll", EntryPoint="GetWindowThreadProcessId")]
			public static extern int GetWindowThreadProcessId(IntPtr hWnd, out int lpdwProcessId);

[DllImport("kernel32.dll", EntryPoint = "ReadProcessMemory")]
			public static extern Int32 ReadProcessMemory(IntPtr hProcess, int lpBaseAddress, out string buffer, int size, out int lpNumberOfBytesRead);
Use those functions.
Trigorio is offline  
Thanks
2 Users
Old 03/30/2010, 04:48   #6
 
Nullable's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 390
Received Thanks: 321
In addition to what both of the posters above me marked, note that you need to call before reading memory.
Nullable is offline  
Thanks
2 Users
Old 03/30/2010, 14:35   #7
 
elite*gold: 0
Join Date: Jan 2010
Posts: 121
Received Thanks: 7
Thanks for all of you
shimo diaz is offline  
Reply


Similar Threads Similar Threads
about memory address
09/13/2010 - CO2 Programming - 4 Replies
hello peeps i am trying to make a program that shows how much gold i have in my inventory without having to open it up all the time i have been searching on how to do this in vb6 and vb.net but i cant find anything that is what i am looking for so i came here to see if there was anyone that could point me in the right way on how to do this
[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
Memory Address
03/05/2010 - CO2 Programming - 10 Replies
Hey, when i find a memory adress for Example :name = 0x5AC45(Example) i add it to my bot and it shows my name but when i close co and open another one it doesnt show my name and when i search for the address it shows another address,i would like to know how to search for the Main address,som1 told me to look for the Pointer,am using cheat engine and idk how to look for the points i right click on the address and click search for pointer an empty box shows up plz help !!!
[REQUEST] [C#] Read/Write Memory
03/04/2010 - CO2 Programming - 2 Replies
Hi guys, I know C# (Simple). I try to search "how to read/write process memory" but there is not result. Please help me about this? Waiting your helps. Thank you. (if my English bad. I'm sorry :))
Memory Address
12/19/2007 - Conquer Online 2 - 0 Replies
Hello, I need help for making memory address's result based on what we need from MemAddr.ini. I.e: for C#/CSharp language:- // Declare the unmanaged functions. private static extern int GetPrivateProfileString(string lpAppName, string lpKeyName, string lpDefault, StringBuilder lpReturnedString, int nSize, string lpFileName);



All times are GMT +2. The time now is 04:42.


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.