Tutor

Posts 1–9 of 9 · Page 1 of 1
Tutor
Hello, I'm wondering if anyone here is kind enough to show me some pointers on coding hacks with c++. (Trainers)
Specifically for maplestory but any game will do I just want to learn.
Quote Originally Posted by Arystar Krory View Post
Hello, I'm wondering if anyone here is kind enough to show me some pointers on coding hacks with c++. (Trainers)
Specifically for maplestory but any game will do I just want to learn.
Well.. I have some stuff for MW3, might help you as well

Heres a version using Multiple pointers to ensure the right one is "hit". It also Writes a String to the pointer
Its a kind of messy, never mind :P
 
CODE
Code:
Memorys Fake = new Memorys("iw5mp");
        private uint AddOffset(uint Address, uint[] Offset)
        {
            foreach(uint i in Offset){
                Address = (uint)Fake.ReadPointer(Address) + i;
            }
            return Address;
        }

        private void fake_Click(object sender, EventArgs e)
        {
            try
            {
                uint BA1 = Fake.baseaddress("steam_api.dll"); //Get the Base Address
                BA1 = BA1 + 0x0001824C; //Add the Offset
                uint address = new uint();
                uint[] Offsets1 = { 0x30, 0x00, 0x10, 0x42 }; //Arrays of Offsets for every pointer
                uint[] Offsets2 = { 0x00, 0x10, 0x42 };
                uint[] Offsets3 = { 0x64, 0x00, 0x10, 0x42 };
                uint[] Offsets4 = { 0x84, 0x00, 0x10, 0x42 };
                uint[] Offsets5 = { 0xA4, 0x00, 0x10, 0x42 };
                

                address = (uint)Fake.ReadPointer(BA1) + 0x20; //Read the previous value from the address
                address = AddOffset(address, Offsets1); //Add the new Offset from the array
                FakeName(address); //Write the String with name

                address = (uint)Fake.ReadPointer(BA1) + 0x24;
                address = AddOffset(address, Offsets1);
                FakeName(address);

                address = (uint)Fake.ReadPointer(BA1) + 0x28;
                address = AddOffset(address, Offsets1);
                FakeName(address);

                address = (uint)Fake.ReadPointer(BA1) + 0x50;
                address = AddOffset(address, Offsets2);
                FakeName(address);

                address = (uint)Fake.ReadPointer(BA1) + 0x08;
                address = AddOffset(address, Offsets3);
                FakeName(address);

                address = (uint)Fake.ReadPointer(BA1) + 0x58;
                address = AddOffset(address, Offsets4);
                FakeName(address);

                address = (uint)Fake.ReadPointer(BA1) + 0x04;
                address = AddOffset(address, Offsets5);
                FakeName(address);

                MessageBox.Show("Done :D");
            }
            catch {
                MessageBox.Show("Something Bad has occured o0.\nBut don't worry, you'll not get banned :P");
            }
        }

        private void FakeName(uint address)
        {
            int Name;
            foreach (char a in name.Text)
            {
                Name = Convert.ToInt32(a);
                Fake.Write(address, Name);
                address++;
            }
        }


Her's a simpler version using just one pointer and writing a Integer...

 
CODE
Code:
Memorys mem = new Memorys("iw5mp");
private void fake_Click(object sender, EventArgs e)
{
            uint base_address = mem.baseaddress("steam_api.dll");
            base_address += 0x0001824C;
            uint address = (uint)mem.ReadPointer(base_address) + 0x0; //Add the Offsets
            address = (uint)mem.ReadPointer(base_address) + 0x4;
            address = (uint)mem.ReadPointer(base_address) + 0x8;
            address = (uint)mem.ReadPointer(base_address) + 0x10;
            address = (uint)mem.ReadPointer(base_address) + 0x6A;
            mem.Write(address, 1); //Write an Int to the address
}


Both version use the DLL from this thread => http://www.mpgh.net/forum/31-c-c-pro...ry-editor.html
You know this is the C++/C Section?
SOmething I found:

example

DWORD physxcore = (DWORD)GetModuleHandleA("physxcore.2.8.1.dll");

DWORD pointer = physxcore + 0x00065098;

(I didn't write it)
Quote Originally Posted by Jorndel View Post
You know this is the C++/C Section?
I know... but someone here once said that we are allowed to post C# things here as well, since C# section is almost dead... And its not that hard to translate C# to C++, and the codes I've posted could help him, so why not?
Quote Originally Posted by MarkHC View Post

I know... but someone here once said that we are allowed to post C# things here as well, since C# section is almost dead... And its not that hard to translate C# to C++, and the codes I've posted could help him, so why not?
Why do we even have the two sections then?
Meh, I just post it here. Just because more code in C++ I will bother them with my C# stuff

No ty.


It might be helpful yeah, but C++ and C# is a bit of a huge difference.
(Most are the same names and functions tho... Just some other set-ups)
I think maybe I wasn't clear enough...
I'm looking for a tutor to teach me. Also when I said pointers, I didn't mean the pointers as in coding, I mean tips and tricks.
As of right now, the only coding I know is visual basic, and even that is a little rusty. I also know nothing about editing memory.
Please, I've been trying to learn for a while but I really need a teacher.
Quote Originally Posted by Arystar Krory View Post
I think maybe I wasn't clear enough...
I'm looking for a tutor to teach me. Also when I said pointers, I didn't mean the pointers as in coding, I mean tips and tricks.
As of right now, the only coding I know is visual basic, and even that is a little rusty. I also know nothing about editing memory.
Please, I've been trying to learn for a while but I really need a teacher.
I know a good Teacher.. He's name is Google.com Try to talk to it
Quote Originally Posted by MarkHC View Post

I know a good Teacher.. He's name is Google.com Try to talk to it
This. Google your questions before creating a new thread people.
I don't have a specific question or anything... Never mind I guess.
Posts 1–9 of 9 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us