|
You last visited: Today at 22:45
Advertisement
Help with auto login
Discussion on Help with auto login within the Mabinogi forum part of the MMORPGs category.
08/19/2009, 05:35
|
#1
|
elite*gold: 0
Join Date: Feb 2008
Posts: 21
Received Thanks: 1
|
Help with auto login
Hi I'm new to this AutoIT stuff and I was trying to make a simple bot that autologin with a gui.in the gui there is an input section where i want the user to input their username and password, after that you press launch and it autologin for you ^^. I seem to get it until its time to do the send function. here's the script.
#include <GUIConstants.au3>
$widthCell=70
GUICreate(" My GUI input acceptfile", 220,120, @DesktopWidth/2-160, @DesktopHeight/2-45, -1, 0x00000018)
GUICtrlCreateLabel ("Username: ", 6, 10, $widthCell)
GUICtrlCreateLabel ("Password: ", 5, 40, $widthCell)
$username = GUICtrlCreateInput ( "", 70, 5, 100, 20)
$password = GUICtrlCreateInput ("", 70, 35, 100, 20)
$Button1 = GUICtrlCreateButton ("Mabinogi", 100, 75, 60, 20)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
Run("C:\Nexon\Mabinogi\Mabinogi.exe")
MouseMove (805, 620)
MouseClick ("left")
WinWaitActive ("Mabinogi G7")
Sleep (30000)
MouseMove (567, 510)
Sleep (1000)
MouseClick ("left")
Send (WTF do i do?) ; <================= this part is where i dont get it X_X
Sleep (2000)
MouseMove(571, 539)
Sleep (1000)
MouseClick ("left")
Send(GUICtrlRead) ; <==================== and this part i've already tried putting ($Username)
EndSwitch
WEnd
Please help me as i said i'm pretty new to this and don't understand much. I've also tried Google and many many other hacking forum sites, and of course the search button please tell me what to do at this part and pls don't flame X_X
|
|
|
08/19/2009, 05:56
|
#2
|
elite*gold: 0
Join Date: Nov 2008
Posts: 3,695
Received Thanks: 891
|
Next time, post a Download-Link for the au3 and for which resolution you coded it (Also Window Mode/Fullscreen)...
EDIT:
And because I don't want to be mean...
Code:
#include <GUIConstants.au3>
$widthCell=70
GUICreate("Dark Raccoon is nice, isn't he?", 220,120, @DesktopWidth/2-160, @DesktopHeight/2-45, -1, 0x00000018)
GUICtrlCreateLabel ("Username: ", 6, 10, $widthCell)
GUICtrlCreateLabel ("Password: ", 5, 40, $widthCell)
$username = GUICtrlCreateInput ( "", 70, 5, 100, 20)
$password = GUICtrlCreateInput ("", 70, 35, 100, 20)
$Button1 = GUICtrlCreateButton ("Mabinogi", 100, 75, 60, 20)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
; The Form2(...) Functions let you resize, minimize, and close the Window using the "X"-Button.
Func Form2Close()
Exit
EndFunc
Func Form2Maximize()
EndFunc
Func Form2Minimize()
EndFunc
Func Form2Restore()
EndFunc
GUICtrlRead ($username)
GUICtrlRead ($password)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
WinWaitActive ("Mabinogi G7")
MouseMove (567, 510)
Sleep (1000)
MouseClick ("left")
Send (GUICtrlRead ($username)) ; <================= To send a input box, write Send (GUICtrlRead ($yourvariable)).
Sleep (2000)
MouseMove(571, 539)
Sleep (1000)
MouseClick ("left")
Send (GUICtrlRead ($password)) ; <==================== To send a input box, write Send (GUICtrlRead ($yourvariable)).
EndSwitch
WEnd
au3 and .exe Download:
Have Fun.
|
|
|
Similar Threads
|
Wie Speichert man die Login daten und macht nen Auto Login
07/15/2010 - Metin2 Private Server - 5 Replies
Souh ma wieder ne "Blöde Frage"... wie speichert man die login daten und macht nen autologin für den client wie es hier gemacht worden ist: http://www.elitepvpers.com/forum/metin2-pserver-dis cussions-questions/616285-my-new-client.html
Über ne antwort würde ich mich freuen...
|
Auto Login Bot
01/18/2009 - Perfect World - 2 Replies
Hi Guys :)
Does anybody have auto login bot? I mean, if I disconnected, my char login again and then botting for monster..
Sory for my bad english.. :D
|
auto LOGIN
01/09/2008 - CO2 Bots & Macros - 13 Replies
mother, are u sicking tired of the message full server?
if yes, good
here is the program that helps u keep trying to login
and will tell u when u login
download link
known issue: CO can be work as background, but cant be minimize
WinGet,id, ID,
|
All times are GMT +1. The time now is 22:46.
|
|