Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» ~=?{The future is here, TastyExploit officially open to the public}?=~
Tue Mar 02, 2010 11:00 pm by Dami

» My first aa script
Tue Mar 02, 2010 7:00 am by wafflemaster

» the real story behind Maverin
Tue Mar 02, 2010 1:33 am by SoundOfDeat

» Random spam
Mon Mar 01, 2010 11:52 pm by Danny1994

» [Request] EMS v56 Exe
Mon Mar 01, 2010 12:39 am by Dami

» [Blacklist] NX-Trading Blacklist.
Mon Mar 01, 2010 12:38 am by Danny1994

» I have a question regarding the meso farmer
Sat Feb 27, 2010 10:30 pm by Dami

» What are you listening to now?
Sat Feb 27, 2010 7:57 pm by Noname111111

» Video(s) Of The Day
Sat Feb 27, 2010 7:37 pm by Noname111111

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
Affiliates
free forum
 



Need abit help with c++

View previous topic View next topic Go down

Need abit help with c++

Post by Nipasd on Tue Feb 16, 2010 3:56 am

Well I know how to put AA script into c++ trainer now, but i only know how to put the ones with a codecaves.

So how can i put in simple hacks like "bgm" or something like that?

~thx in advice pig

Nipasd
New member
New member

Posts : 39
Join date : 2009-11-19

Back to top Go down

Re: Need abit help with c++

Post by wafflemaster on Tue Feb 16, 2010 4:52 am

Rapidly enable/disable it at the play screen. See which bytes change.

BGM is supposed to be "sub edi,1e" -> "add edi,1e", so it will probably be a 1 byte change. But I don't like to do 1-byte changes because I'm a faggot.

Enable: *(DWORD*)BGMAddy = changed bytes at the address
Disable: *(DWORD*)BGMAddy = Original bytes at the address

wafflemaster
V.I.P
V.I.P

Posts : 123
Join date : 2009-10-27

Back to top Go down

Re: Need abit help with c++

Post by Nipasd on Tue Feb 16, 2010 11:24 pm

Hmm..
I tought it had to be like this (or somehow like this)

Code:
      DWORD SpeedWalkB[]={0x76};
      DWORD Speedwalksize=sizeof (SpeedWalkB);
      WriteProcessMemory( (LPVOID)SpeedWalkAddy, &SpeedWalkB, Speedwalksize, 0);

And for Disable same thing BUT just
Code:
   DWORD SpeedWalkA[]={0x77};
    DWORD SpeedwalksizeA=sizeof (SpeedWalkA);
   WriteProcessMemory( (LPVOID)SpeedWalkAddy, &SpeedWalkA, SpeedwalksizeA, 0);

Nipasd
New member
New member

Posts : 39
Join date : 2009-11-19

Back to top Go down

Re: Need abit help with c++

Post by wafflemaster on Wed Feb 17, 2010 1:44 am

why are you using wpm? the nt api it's wrapping is hooked in ring 0. Unless you load a dll into ms to read/write and relay information, there is no other way to read/write memory without a driver/a lot of hooking.

Anyway, if it's a dll, you should have access to maple's memory, so just do what I said before. Add the bgm address in ce as a 4 byte value. Store this value as the original mem. Then edit the opcode. The value will change; store this as the original memory.

dis: *(DWORD*)dwBlink = dwOriginal;
en: *(DWORD*)dwBlink = dwChanged;

wafflemaster
V.I.P
V.I.P

Posts : 123
Join date : 2009-10-27

Back to top Go down

Re: Need abit help with c++

Post by Nipasd on Wed Feb 17, 2010 4:30 am

oh ofc! =) dummy me Very Happy

Thx got it working now Smile

Nipasd
New member
New member

Posts : 39
Join date : 2009-11-19

Back to top Go down

Re: Need abit help with c++

Post by Dami on Wed Feb 17, 2010 9:17 pm

wafflemaster wrote:why are you using wpm?

Because he is a nublet who doesnt know anything about c++ ?
avatar
Dami
Dragon
Dragon

Posts : 1414
Join date : 2009-08-10
Age : 28
Location : Finland

Back to top Go down

Re: Need abit help with c++

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum