TheSorc3r3r Posted January 28, 2008 Posted January 28, 2008 Hello, I am trying to use PixelGetColor to test if a screen showed up. The code for it is: CODEIf PixelGetColor(601, 148) == 3362416 Then ExitLoop(2) I checked the color by putting a message box when the color was needed to be checked. Even when the message box says the color is correct, the execution never gets to exit loop. Any suggestions?
Thatsgreat2345 Posted January 28, 2008 Posted January 28, 2008 (edited) Hello,I am trying to use PixelGetColor to test if a screen showed up. The code for it is:CODEIf PixelGetColor(601, 148) == 3362416 Then ExitLoop(2)I checked the color by putting a message box when the color was needed to be checked. Even when the message box says the color is correct, the execution never gets to exit loop. Any suggestions?Post your other code. As there are no real problems with what you currently have. By the way just use code not codebox if you have a small amount of code. Edited January 28, 2008 by Thatsgreat2345
TheSorc3r3r Posted January 28, 2008 Author Posted January 28, 2008 CODEAutoItSetOption ( "ColorMode", 1 ) AutoItSetOption("WinTitleMatchMode", 3) AutoItSetOption("WinWaitDelay", 1000) AutoItSetOption ("PixelCoordMode", 0) AutoItSetOption ("MouseCoordMode", 0) $curpin = 0 $knownuser = "username" $knownpass = "password" $knownpin = "9999" $crackuser = "oldaccount" $crackpass = "oldpass" ;Run("C:\Nexon\MapleStory\dxwnd.exe") Sleep(1000) Run("C:\Nexon\MapleStory\good49ggless") Sleep(30000) HotKeySet("{f12}", "StopProgramz") While 1 MouseClick("left", 497,278, 2) Send($crackuser) Send("{tab}") For $i = 1 to 15 Send("{backspace}") Next Send($crackpass) Send("{enter}") For $i = 1 to 4 $lolzpin = PinToString($curpin) AutoItSetOption("MouseCoordMode", 1) SplashTextOn("Lolz Pin", "lolzpin = " & $lolzpin, 100, 50, 789, 623) WinActivate("MapleStory") AutoItSetOption("MouseCoordMode", 0) Send($lolzpin) Send("{enter}") Sleep(1000) If PixelGetColor(601, 148) = 3362416 Then ExitLoop(2) MsgBox(0, "Pin is: ", $lolzpin) EndIf $curpin = $curpin + 1 Next Sleep(1000) Send("{esc}") Sleep(1000) MouseClick("left", 497,278, 2) Send($knownuser) Send("{tab}") For $i = 1 to 15 Send("{backspace}") Next Send($knownpass) Send("{enter}") Sleep(1000) Send($knownpin) Send("{enter}") Sleep(1000) MouseClick("left", 70, 474) Send("{enter}") Sleep(1000) WEnd Func PinToString($pin) if $pin < 10 Then Return "000" & $pin ElseIf $pin < 100 Then Return "00" & $pin ElseIf $pin < 1000 Then Return "0" & $pin Else Return "" & $pin EndIf EndFunc Func StopProgramz() Exit EndFunc I'm using this to get an old maple story account back
Thatsgreat2345 Posted January 28, 2008 Posted January 28, 2008 (edited) It has gameguard, you can not use pixel functions on a game with gameguard. They might of made some changes so you can use pixel functions, but you won't be able to use Send/MouseClick Edited January 28, 2008 by Thatsgreat2345
TheSorc3r3r Posted January 28, 2008 Author Posted January 28, 2008 I have disabled GG. all keyboard/mouse functions work.
equilibrium Posted March 31, 2008 Posted March 31, 2008 I have disabled GG. all keyboard/mouse functions work.How do disable gameguard?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now