Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[HELP] [C++] ~ Changing Maple storys address.

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
AlbanainRetard
Master Cheater
Reputation: 0

Joined: 02 Nov 2008
Posts: 494
Location: Canada eh?

PostPosted: Fri Dec 19, 2008 11:39 pm    Post subject: [HELP] [C++] ~ Changing Maple storys address. Reply with quote

Well after looking at a post Kitterz, made I tried to make it, but I am having trouble, I think I need to jump bytes by moving the adress up. But I really dont know.

Code:

void SaveVacOn(HWND hWnd)
{
   SetDlgItemText(hWnd, IDC_SVT, "On" );
   SAVEVAC_EXIT = FALSE;
   while( SAVEVAC_EXIT != TRUE )
   {
      DWORD SaveVacA = *(DWORD*)0;
      memcpy ((void*)SaveVacA, (void*)SaveVac, 8);
      Sleep(1000);
      memcpy ((void*)0x005E90B1, (void*)SaveVac, 8);
   }
   memcpy ((void*)0x005E90B1, (void*)SaveVac, 8);
}


That's it, but it closes, Maple. So Kitterz HALP MEH!!!!11!!!1

Or any one else.

Like a snippet:

*(BYTE*)BlinkAddy = 0xE9;
*(DWORD*)(BlinkAddy + 1) = JMP(BlinkAddy, Blink);
*(DWORD*)(BlinkAddy + 5) = 0x90909090; //NOP Bytes
*(BYTE*)(BlinkAddy + 9) = 0x90;

See he is jumping 1-5-9 ( NOP ). Maybe i need to use AoB.

HALP!

Update:

Code:

DWORD SaveVacA = *(DWORD*)0X005E90B1;
      *(DWORD*)(SaveVacA + 5) = 0x90909090; //NOP TODO:CHECK


That wont work... I think I need to use addys... and codecaves. T.T[/code]

_________________
Back to top
View user's profile Send private message Send e-mail
Zerith
Master Cheater
Reputation: 1

Joined: 07 Oct 2007
Posts: 468

PostPosted: Fri Dec 19, 2008 11:55 pm    Post subject: Re: [HELP] [C++] ~ Changing Maple storys address. Reply with quote

AlbanainRetard wrote:
Well after looking at a post Kitterz, made I tried to make it, but I am having trouble, I think I need to jump bytes by moving the adress up. But I really dont know.

Code:

void SaveVacOn(HWND hWnd)
{
   SetDlgItemText(hWnd, IDC_SVT, "On" );
   SAVEVAC_EXIT = FALSE;
   while( SAVEVAC_EXIT != TRUE )
   {
      DWORD SaveVacA = *(DWORD*)0;
      memcpy ((void*)SaveVacA, (void*)SaveVac, 8);
      Sleep(1000);
      memcpy ((void*)0x005E90B1, (void*)SaveVac, 8);
   }
   memcpy ((void*)0x005E90B1, (void*)SaveVac, 8);
}


That's it, but it closes, Maple. So Kitterz HALP MEH!!!!11!!!1

Or any one else.

Like a snippet:

*(BYTE*)BlinkAddy = 0xE9;
*(DWORD*)(BlinkAddy + 1) = JMP(BlinkAddy, Blink);
*(DWORD*)(BlinkAddy + 5) = 0x90909090; //NOP Bytes
*(BYTE*)(BlinkAddy + 9) = 0x90;

See he is jumping 1-5-9 ( NOP ). Maybe i need to use AoB.

HALP!

Update:

Code:

DWORD SaveVacA = *(DWORD*)0X005E90B1;
      *(DWORD*)(SaveVacA + 5) = 0x90909090; //NOP TODO:CHECK


That wont work... I think I need to use addys... and codecaves. T.T[/code]


You're trying to access the address 0x00000000.
What's 'SaveVac'?
You're trying to assign bytes to address 0x00000000.
You're sleep()ing too much for no reason.

Don't just copy/paste codes, learn what they do, how they do it.
Back to top
View user's profile Send private message MSN Messenger
slippppppppp
Grandmaster Cheater
Reputation: 0

Joined: 08 Aug 2006
Posts: 929

PostPosted: Sat Dec 20, 2008 12:17 am    Post subject: Reply with quote

Code:
DWORD SaveVacA = *(DWORD*)0X005E90B1;
*(DWORD*)(SaveVacA + 5) = 0x90909090;


If your just trying to nop, there is no codecave needed.
DWORD SaveVacA = 0x005E90B1;
*(DWORD*)(SaveVacA + 5) = 0x90909090;
So your trying to write 4 nops to the 5th address after SaveVacA?
Back to top
View user's profile Send private message AIM Address MSN Messenger
AlbanainRetard
Master Cheater
Reputation: 0

Joined: 02 Nov 2008
Posts: 494
Location: Canada eh?

PostPosted: Sat Dec 20, 2008 12:45 am    Post subject: Reply with quote

slippppppppp wrote:
Code:
DWORD SaveVacA = *(DWORD*)0X005E90B1;
*(DWORD*)(SaveVacA + 5) = 0x90909090;


If your just trying to nop, there is no codecave needed.
DWORD SaveVacA = 0x005E90B1;
*(DWORD*)(SaveVacA + 5) = 0x90909090;
So your trying to write 4 nops to the 5th address after SaveVacA?


I didn't ask for flaming, I just asked for a nudge in the right direction.
If you look at my code:

That address is : 0X005E90B1

Now like kitterz said :

//Save old mem
DWORD SaveVac = *(DWORD*)0x005E90B1;

//On
*(DWORD*)0x005E90B1 = 0;

//Off
*(DWORD*)0x005E90B1 = SaveVac;

So i believe my code is right.

Update:

Also, you said Address 0, That is the value that kitterz mentiond.

_________________
Back to top
View user's profile Send private message Send e-mail
kitterz
Grandmaster Cheater Supreme
Reputation: 0

Joined: 24 Dec 2007
Posts: 1268

PostPosted: Sat Dec 20, 2008 7:58 am    Post subject: Reply with quote

*(BYTE*)BlinkAddy = 0xE9; ----> Writes a "jmp"
*(DWORD*)(BlinkAddy + 1) = JMP(BlinkAddy, Blink); ----> writes the jump to the asm
*(DWORD*)(BlinkAddy + 5) = 0x90909090; ----> Part of the originals script, to nop 6 bytes in total
*(BYTE*)(BlinkAddy + 9) = 0x90;

you don't need a codecave.

DWORD SaveVacA = *(DWORD*)0;

this just assigns SaveVac the value at the address 0. you need to save the value at address 0x005E90B1

_________________
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites