but i googled and find alot of thing such as PostMessageX,PostMessageA and alot of things,whats difference of those?
And i googled,some of them uses user32.dll
so whats correct API declare for maple story bot?
edit:noticed FindWindow not in user32,is findwindowA.
i uses VB(nice intellence)...slow coding in C#...noob in C++..
I uses Long istead of hwnd(google)
so those are the APIs..
Code: Select all
Public Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Code: Select all
Private Declare Function PostMessage Lib "user32.dll" Alias "PostMessageA" (ByVal hwnd As Integer, ByVal wMsg As Integer, ByVal wParam As Integer, ByVal lParam As Integer) As Integer
i googled itandthey have user32.dll...but when debugging it says function not found(PostMessageA)
after i change to XMP.dll(i copied XMP .dll to local debug directory) ,after that nothing happened...no errors,nothing happened..
im making a pyramid pq most suitable for me..iMax macro bluescreen for me ==
.i lazy uses multithread so i spam timers..
Code: Select all
Public Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Private Declare Function PostMessage Lib "user32.dll" Alias "PostMessageA" (ByVal hwnd As Integer, ByVal wMsg As Integer, ByVal wParam As Integer, ByVal lParam As Integer) As Integer
dim hwnd = FindWindow(vbnullstring,"MapleStory")
Dim VK_RETURN as integer = 0x0D
Private sub timer1_tick(byval sender as system.object,byval e as system.eventargs) handles timer1.tick
PostMessage(hwnd,VK_RETURN,0,0)
end sub