View previous topic :: View next topic |
Author |
Message |
bheesham Advanced Cheater
Reputation: 0
Joined: 08 Nov 2006 Posts: 88 Location: ::1
|
Posted: Mon Oct 08, 2007 7:45 am Post subject: attaching to process in VB 6.0? |
|
|
hey... im new to vb 6.0... I recently made a bot for maplestory... it only has autoloot and autoclick right now... but i dont know how to make it able to attach to processes. Please help me out here.... the bot is attatched
the password is
"nopasswordlol"
|
|
Back to top |
|
 |
Trow Grandmaster Cheater
Reputation: 2
Joined: 17 Aug 2006 Posts: 957
|
Posted: Tue Oct 09, 2007 2:48 am Post subject: |
|
|
I don't know if I should try this on my own computer but, I have very little hope of your autoloot working over gameguard.
unless you coded your own in VB-ASM, which does exist.
_________________
Get kidnapped often. |
|
Back to top |
|
 |
atlantis Advanced Cheater
Reputation: 0
Joined: 16 Jun 2007 Posts: 69
|
Posted: Tue Oct 09, 2007 3:09 am Post subject: |
|
|
When attack in vb you can do something like this(if you mean attach to process) or do you just mean attach so you bot is over maplestory and visible?
Code: |
Private Declare Function GetWindowThreadProcessId Lib "user32" (ByVal hWnd As Long, lpdwProcessId As Long) As Long
Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Private Declare Function OpenProcess Lib "kernel32" (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal dwProcessId As Long) As Long
Private Declare Function CloseHandle Lib "kernel32" (ByVal hObject As Long) As Long
Private Const PROCESS_ALL_ACCESS As Long = (&HF0000 Or &H100000 Or &HFFF)
Dim windowname as string
Dim nPID as long, gHandle as long
windowname="Maplestory"
If FindWindow(vbNullString, windowname) <> 0 Then
GetWindowThreadProcessId FindWindow(vbNullString, windowname), nPID
End If
If nPID <> 0 Then
gHandle = OpenProcess(PROCESS_ALL_ACCESS, False, nPID)
If gHandle <> 0 Then
Msgbox "Successfully attached to Maplestory!"
else
CloseHandle gHandle
End If
end if
|
But since GG hooks readprocessmemory I see no use of attach?
|
|
Back to top |
|
 |
HomerSexual Grandmaster Cheater Supreme
Reputation: 5
Joined: 03 Feb 2007 Posts: 1657
|
Posted: Tue Oct 09, 2007 4:12 am Post subject: |
|
|
that code just made me throw up a little.
c++ might actually be EASIER in this case.
but you can inject it by the uh uh, the name that people name .dll trainers to hook in. I forget it but im sure that would work. Except your functions will prolly not work :S
_________________
|
|
Back to top |
|
 |
Trow Grandmaster Cheater
Reputation: 2
Joined: 17 Aug 2006 Posts: 957
|
Posted: Tue Oct 09, 2007 6:58 am Post subject: |
|
|
Yeah. In this case Visual Complicated or Complicated++ will do an Easier job...
_________________
Get kidnapped often. |
|
Back to top |
|
 |
MegaForum Grandmaster Cheater
Reputation: 0
Joined: 20 Aug 2007 Posts: 558
|
Posted: Tue Oct 09, 2007 12:14 pm Post subject: |
|
|
blankrider wrote: | that code just made me throw up a little.
c++ might actually be EASIER in this case.
but you can inject it by the uh uh, the name that people name .dll trainers to hook in. I forget it but im sure that would work. Except your functions will prolly not work :S |
PCOMDebug.dll?
|
|
Back to top |
|
 |
HomerSexual Grandmaster Cheater Supreme
Reputation: 5
Joined: 03 Feb 2007 Posts: 1657
|
Posted: Tue Oct 09, 2007 1:52 pm Post subject: |
|
|
yeah, that could be a way to get it to hook, right?
_________________
|
|
Back to top |
|
 |
bheesham Advanced Cheater
Reputation: 0
Joined: 08 Nov 2006 Posts: 88 Location: ::1
|
Posted: Tue Oct 09, 2007 2:49 pm Post subject: |
|
|
atlantis wrote: |
Code: |
windowname="Maplestory"
|
|
that part of your code doesnt work in VB 6.0....
I want it to be able to work in MapleStory.. because when i tried it noting happens in it.
as in when i put the AC on and go back to maple it doesnt click.... and i want it to click......
It also has hot keys.. which probably wont work in maple either....
but thnx... lots of suggestions here... but i dont know C++ :'(
|
|
Back to top |
|
 |
Flyte Peanuts!!!!
Reputation: 6
Joined: 19 Apr 2006 Posts: 1887 Location: Canada
|
Posted: Tue Oct 09, 2007 5:42 pm Post subject: |
|
|
blankrider wrote: | yeah, that could be a way to get it to hook, right? |
You cannot make a proper dll in VB. It won't work.
|
|
Back to top |
|
 |
atom0s Moderator
Reputation: 204
Joined: 25 Jan 2006 Posts: 8579 Location: 127.0.0.1
|
Posted: Tue Oct 09, 2007 5:43 pm Post subject: |
|
|
Flyte wrote: | blankrider wrote: | yeah, that could be a way to get it to hook, right? |
You cannot make a proper dll in VB. It won't work. |
With a modded linker and custom addon's you can
|
|
Back to top |
|
 |
Trow Grandmaster Cheater
Reputation: 2
Joined: 17 Aug 2006 Posts: 957
|
Posted: Tue Oct 09, 2007 8:42 pm Post subject: |
|
|
really? got a tut on that? (vb6)
_________________
Get kidnapped often. |
|
Back to top |
|
 |
atom0s Moderator
Reputation: 204
Joined: 25 Jan 2006 Posts: 8579 Location: 127.0.0.1
|
|
Back to top |
|
 |
bheesham Advanced Cheater
Reputation: 0
Joined: 08 Nov 2006 Posts: 88 Location: ::1
|
Posted: Wed Oct 10, 2007 3:05 pm Post subject: |
|
|
i didnt get it to work....
wasnt MsPro made in Visual Basics? how did that guy get it to attach to maplestory?? I hve the source... but its kind of hard for me.. im a noob programmer... D'=
|
|
Back to top |
|
 |
|