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 


[C++] CreateDCW/LineTo For GunBound (Making An Aimbot)

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
FBIRyan
Newbie cheater
Reputation: 0

Joined: 31 Aug 2007
Posts: 13

PostPosted: Sat Feb 28, 2009 3:49 pm    Post subject: [C++] CreateDCW/LineTo For GunBound (Making An Aimbot) Reply with quote

EDIT:
Answered my own question. Smile
EDIT 2:
Scroll down and see if you can help me. ^_^
Thanks,
Ryan Smile


Last edited by FBIRyan on Sun Mar 01, 2009 2:21 pm; edited 4 times in total
Back to top
View user's profile Send private message
`unknown
Grandmaster Cheater
Reputation: 0

Joined: 20 Nov 2006
Posts: 658
Location: You lost the game.

PostPosted: Sat Feb 28, 2009 4:00 pm    Post subject: Reply with quote

For MapleStory I used this code when using GetPixel:

Code:
   HWND MShWnd = FindWindow( "MapleStoryClass", 0 );
   HDC hDC = GetDC( MShWnd ); // GetDC(0) for the whole screen


Hope that helps Razz
Back to top
View user's profile Send private message MSN Messenger
FBIRyan
Newbie cheater
Reputation: 0

Joined: 31 Aug 2007
Posts: 13

PostPosted: Sat Feb 28, 2009 4:50 pm    Post subject: Reply with quote

`unknown wrote:
For MapleStory I used this code when using GetPixel:

Code:
   HWND MShWnd = FindWindow( "MapleStoryClass", 0 );
   HDC hDC = GetDC( MShWnd ); // GetDC(0) for the whole screen


Hope that helps Razz

GetDC sadly doesn't work for GunBound, even with a 5 byte trampoline jump. There's something else that's hooked. Thanks any ways though. Smile
Back to top
View user's profile Send private message
`unknown
Grandmaster Cheater
Reputation: 0

Joined: 20 Nov 2006
Posts: 658
Location: You lost the game.

PostPosted: Sat Feb 28, 2009 6:23 pm    Post subject: Reply with quote

FBIRyan wrote:
`unknown wrote:
For MapleStory I used this code when using GetPixel:

Code:
   HWND MShWnd = FindWindow( "MapleStoryClass", 0 );
   HDC hDC = GetDC( MShWnd ); // GetDC(0) for the whole screen


Hope that helps Razz

GetDC sadly doesn't work for GunBound, even with a 5 byte trampoline jump. There's something else that's hooked. Thanks any ways though. Smile


Really? I didn't even need trampoline my GetDC for MS.
Back to top
View user's profile Send private message MSN Messenger
FBIRyan
Newbie cheater
Reputation: 0

Joined: 31 Aug 2007
Posts: 13

PostPosted: Sun Mar 01, 2009 2:07 pm    Post subject: Reply with quote

`unknown wrote:
FBIRyan wrote:
`unknown wrote:
For MapleStory I used this code when using GetPixel:

Code:
   HWND MShWnd = FindWindow( "MapleStoryClass", 0 );
   HDC hDC = GetDC( MShWnd ); // GetDC(0) for the whole screen


Hope that helps Razz

GetDC sadly doesn't work for GunBound, even with a 5 byte trampoline jump. There's something else that's hooked. Thanks any ways though. Smile


Really? I didn't even need trampoline my GetDC for MS.

Yup!
I have another question for everyone. Obviously anything you put on GunBound's Device Context it will only appear for a second, because GunBound overwrites it with it's own display. I hook hopped TextOut and put it in a loop. It works like a charm! Smile I hook hopped MoveToEx and LineTo and put it in a loop. It only works when GunBound isn't running though. It doesn't even appear for a second. It's in the same loop as the TextOut, by the way. Why don't the lines appear? Is there any way I can get it to work? If not, is there some other why I can draw lines through the Device Context?
Thanks Again,
Ryan Smile
P.S. By hook hopping, I'm referring to a 5 byte trampoline.


Last edited by FBIRyan on Sun Mar 01, 2009 2:10 pm; edited 1 time in total
Back to top
View user's profile Send private message
&Vage
Grandmaster Cheater Supreme
Reputation: 0

Joined: 25 Jul 2008
Posts: 1053

PostPosted: Sun Mar 01, 2009 2:08 pm    Post subject: Reply with quote

FBIRyan wrote:
`unknown wrote:
FBIRyan wrote:
`unknown wrote:
For MapleStory I used this code when using GetPixel:

Code:
   HWND MShWnd = FindWindow( "MapleStoryClass", 0 );
   HDC hDC = GetDC( MShWnd ); // GetDC(0) for the whole screen


Hope that helps Razz

GetDC sadly doesn't work for GunBound, even with a 5 byte trampoline jump. There's something else that's hooked. Thanks any ways though. Smile


Really? I didn't even need trampoline my GetDC for MS.

Yup!
I have another question for everyone. Obviously anything you put on the screen will only appear for a second, because GunBound overwrites it with it's own display. I hook hopped TextOut and put it in a loop. It works like a charm! Smile I hook hopped MoveToEx and LineTo and put it in a loop. It only works when GunBound isn't running though. It doesn't even appear for a second. It's in the same loop at the TextOut, by the way. Why don't the lines appear? Is there any way I can get it to work? If not, is there some other why I can draw lines through the Device Context?
Thanks Again,
Ryan Smile


Are you making an aimbot or something?
Back to top
View user's profile Send private message
FBIRyan
Newbie cheater
Reputation: 0

Joined: 31 Aug 2007
Posts: 13

PostPosted: Sun Mar 01, 2009 2:14 pm    Post subject: Reply with quote

_void_ wrote:
FBIRyan wrote:
`unknown wrote:
FBIRyan wrote:
`unknown wrote:
For MapleStory I used this code when using GetPixel:

Code:
   HWND MShWnd = FindWindow( "MapleStoryClass", 0 );
   HDC hDC = GetDC( MShWnd ); // GetDC(0) for the whole screen


Hope that helps Razz

GetDC sadly doesn't work for GunBound, even with a 5 byte trampoline jump. There's something else that's hooked. Thanks any ways though. Smile


Really? I didn't even need trampoline my GetDC for MS.

Yup!
I have another question for everyone. Obviously anything you put on the screen will only appear for a second, because GunBound overwrites it with it's own display. I hook hopped TextOut and put it in a loop. It works like a charm! Smile I hook hopped MoveToEx and LineTo and put it in a loop. It only works when GunBound isn't running though. It doesn't even appear for a second. It's in the same loop at the TextOut, by the way. Why don't the lines appear? Is there any way I can get it to work? If not, is there some other why I can draw lines through the Device Context?
Thanks Again,
Ryan Smile


Are you making an aimbot or something?

Yes, I am. Smile Me and a friend are working on it together. We started out with making a program that auto-dragged, and then we decided to make an aimbot. LineTo isn't working though.(If you can help, we also need a way to scan GunBound's memory, because we want our aimbot to be memory based. Although, our back up plan is to use GetPixel.) Can anyone help us? Smile
Back to top
View user's profile Send private message
&Vage
Grandmaster Cheater Supreme
Reputation: 0

Joined: 25 Jul 2008
Posts: 1053

PostPosted: Sun Mar 01, 2009 2:26 pm    Post subject: Reply with quote

Do you guys even have the constants and formulas? <.<
Back to top
View user's profile Send private message
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Sun Mar 01, 2009 4:03 pm    Post subject: Reply with quote

how did you auto-drag ? directinput hook ?
Back to top
View user's profile Send private message
FBIRyan
Newbie cheater
Reputation: 0

Joined: 31 Aug 2007
Posts: 13

PostPosted: Sun Mar 01, 2009 4:51 pm    Post subject: Reply with quote

_void_ wrote:
Do you guys even have the constants and formulas? <.<

Yes, we have a formula. We made an external aimbot which works perfectly. Wink
Slugsnack wrote:
how did you auto-drag ? directinput hook ?

If you have an instant messenger, I can tell you how. It didn't have anything to do with clicking though. Wink
Ryan
Back to top
View user's profile Send private message
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Sun Mar 01, 2009 5:10 pm    Post subject: Reply with quote

i offer you my help via MSN, PM me if you're interested
Back to top
View user's profile Send private message
FBIRyan
Newbie cheater
Reputation: 0

Joined: 31 Aug 2007
Posts: 13

PostPosted: Sun Mar 01, 2009 10:24 pm    Post subject: Reply with quote

Slugsnack wrote:
i offer you my help via MSN, PM me if you're interested

Thanks Slugsnack, we'd appreciate it. Smile
I added your MSN. Wink
Ryan
Back to top
View user's profile Send private message
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