Register for your free account! | Forgot your password?

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

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

Advertisement



C# Memory Framework.

Discussion on C# Memory Framework. within the CO2 Programming forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2008
Posts: 20
Received Thanks: 3
C# Memory Framework.

Hi, so i was taking a look around the whole memory hacks here, and well they pretty much all seemed to be in VB6, since i purposely forgot VB6 i wrote an easy to use framework for C# users if they ever wanted to make there own hacks.

It uses Java naming conventions as i'm mainly a Java programmer, its a habit.

I didn't see any other open source C# projects, so take this as a "starter kit"

Example/Usage:

Here is an example of a method (which all your methods will go in the Client class)

public string getCharName()
{
return getString((IntPtr)0x0056D134);
}

Client class extends MemoryHandler which has methods to actually set/get the int/string to/from the selected memory address.

In the main Form1.cs (with the GUI designer) is where you may use the methods that i have in there (which is only a few) or create your own.

textBox1.Text = client.getCharName();

now that would display your selected textbox with your character name.

Usages for setting (example)

public void setCharacterName(string name)
{
setString((IntPtr)0x0056D134, name);
}

so in Form1 i could do something like

private void button1_Click(object sender, EventArgs e)
{
client.setCharacterName(textBox2.Text);
}

Which would set it to whatever you wrote in textBox2.

Enjoy

Had to use Uppit, would not let me upload internally.
`xEnt is offline  
Thanks
2 Users
Old 09/22/2008, 14:17   #2
 
elite*gold: 0
Join Date: Apr 2006
Posts: 23
Received Thanks: 4
Thx, may come in useful
Leo_2 is offline  
Old 10/18/2008, 18:12   #3
 
elite*gold: 0
Join Date: Dec 2006
Posts: 25
Received Thanks: 0
thanks, gonna use that in my project
masteryoda1047 is offline  
Old 10/20/2008, 15:31   #4
 
elite*gold: 0
Join Date: Jan 2008
Posts: 20
Received Thanks: 3
i was looking for it DD
z3oN is offline  
Old 10/20/2008, 15:49   #5
 
elite*gold: 0
Join Date: Jun 2006
Posts: 965
Received Thanks: 576
is it just me or will your get/set string not work past 4 bytes?
high6 is offline  
Old 10/21/2008, 04:39   #6
 
iliveoncaffiene's Avatar
 
elite*gold: 0
Join Date: Oct 2005
Posts: 332
Received Thanks: 69
Quote:
Originally Posted by high6 View Post
is it just me or will your get/set string not work past 4 bytes?
What do you mean? I don't know exactly how getString is defined or what that specific address points to..... in fact, I'm not sure if that IntPtr is to a char*, or to the actual string data.

In either case, why would it be restricted to 4 bytes?
iliveoncaffiene is offline  
Old 10/21/2008, 20:20   #7
 
elite*gold: 0
Join Date: Dec 2006
Posts: 25
Received Thanks: 0
has anyone the complete memory adresses for the lastest client version?

edit:
i use this to read the characters name:

IntPtr iCharnameAddress = (IntPtr)0x0057B604;
int iChar,iCharclass;
uint Charlenght = 20;
byte[] memory = new byte[20];
memory = pReader.ReadProcessMemory((IntPtr)iClassAddress, Charlenght, out bytesReaded);
for (int i = 0; i < memory.Length; i++)
{
iCharclass = memory[i];
string sChar = ((char)iCharclass).ToString();
tbClass.Text += sChar;
}
masteryoda1047 is offline  
Old 10/21/2008, 20:32   #8
 
elite*gold: 0
Join Date: Jun 2006
Posts: 965
Received Thanks: 576
Quote:
Originally Posted by iliveoncaffiene View Post
What do you mean? I don't know exactly how getString is defined or what that specific address points to..... in fact, I'm not sure if that IntPtr is to a char*, or to the actual string data.

In either case, why would it be restricted to 4 bytes?
public string getString(IntPtr Address)
{
try
{
if (!Client.PROCESS_FOUND)
return null;

ReadProcessMemory(hProc, Address, ByteBuffer, 4, out Bytes);
return System.Text.Encoding.ASCII.GetString(ByteBuffer);
}
catch (Exception e)
{
Debug.Print(e.Message);
return null;
}
}

The 4 is how many bytes it is reading.

and it isn't reading a char*.
high6 is offline  
Old 10/21/2008, 20:53   #9
 
elite*gold: 0
Join Date: Nov 2006
Posts: 35
Received Thanks: 14
could you make this same in console application? i dont really like playing with windows applications and some how cant turn it myself to console :/
zarut is offline  
Old 10/23/2008, 00:30   #10
 
lostsolder05's Avatar
 
elite*gold: 20
Join Date: Jan 2006
Posts: 890
Received Thanks: 240
lol, wow im pretty sure i released mt memoryprocessor.cs so it can be used for this exact thing. Plus its 10x easier
lostsolder05 is offline  
Reply


Similar Threads Similar Threads
[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
Net Framework
03/17/2010 - WarRock - 6 Replies
Hi , hab n problem bei meinem pc... wenn ich irgendeien hack starten will kommt : Net Framework initialization Error... und ich müsste die nächste version von Net framework 2.0.50727 installieren die is aber nich auf meine pc vorhanden..-.- was soll ich tun????
Quick Memory Editor - Alternative Memory Hacking Software
11/21/2009 - Cabal Hacks, Bots, Cheats, Exploits & Macros - 11 Replies
This might be detected or not by GameGuard, I have not tested this on Official servers however it worked perfectly fine on other private servers. http://imagenic.net/images/x0jxwzwpg2zxmkdtcf36.p ng This is just an alternative memory editing tool. Press thanks if this helps. Remember, scan before using this. Cause its 5.5MB.
Fragen Zur Memory!!!(Auslesen von Spawn/Memory)
12/31/2008 - Guild Wars - 3 Replies
hey leute, ich wollte mal einen bot schreiben und nun bin ich ganz verwirrt. könnte mir jmd bitte schritt für schritt erklären wie das mit Memory auslesen, benutzen und der Spawnpointer funktioniert. Ich wär sehr dankbar wenn jmd kontakt mit mir aufnehmen würde... und sobald der bot fertig ist bekommt der ihn natürlicherweise umsonst:D ICQ: 481799773 oder hier im forum
Sample of memory search in PW for memory bot learner
02/25/2008 - Perfect World - 6 Replies
im learning how to make a memory bot as of know.. im expirience in pixel botin but the mob seacrh for it is quite slow.. ill be using au3 and the include nomadmemory.au3 from nomad in au3 forum. credits to him... this is my sample of my memory script: it will be good for who wants to learn memory botin and has no available bot in their respective server #include <Memory.au3> Global $Pointer = d pointer in 4bytes in whch its store the modId when clicked just search in hex format in 4bytes...



All times are GMT +2. The time now is 16:09.


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.