Jump to content

TnTProductions

Active Members
  • Posts

    113
  • Joined

  • Last visited

Profile Information

  • Location
    somewhere
  • WWW
    http://www.freewebs.com/wisecrackjokes.com

TnTProductions's Achievements

Adventurer

Adventurer (3/7)

0

Reputation

  1. if you want to exit the message box you could use the exit function hotkeyset("{ESC}","Terminate" Func Terminate() Exit 0 that removes evrything terminating it?
  2. So are you making this to make registration codes for a game you made or another game already made or what is it for basicly that would help
  3. I didnt have to compile and it worked fine i have a Vista Home Basic Ps: i also found a problem with the mouse clicking off the screen onto advertisements when it was throwing man into the air or finding it happened a couple times
  4. Ok i tried that i didnt notice you posted that ill make sure to read the FULL post before i say anything lol
  5. nice work! You could add useful things to this like a quick note writer with the paint being on your desktop ( easy place to remember)
  6. 1 funtion that your forgot to place was very important something to let people exit out of your script! I had problems getting out of the script with the mouseclicks so add this at the top: hotkeyset("{ESC}", "Terminate") function Terminate() Exit Ps: this may not be in correct functions so just check up on it i havent used this func in a while
  7. nice work i tried to make a bot for the same game a while ago!
  8. sorry i found even more errors but now its fixed so here is finished code #include <GUIConstants.au3> Opt("GUIOnEventMode", 1); Change to OnEvent mode #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 293, 117, 301, 284) $Input1 = GUICtrlCreateInput("", 67, 24, 150, 21) $Button1 = GUICtrlCreateButton("OK", 104, 72, 81, 25, 0) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### GUISetState() While 1 $nMsg = GUIGetMsg() Select Case $nMsg = $GUI_EVENT_CLOSE ExitLoop GUIDelete() Run ("C:\Program Files\Mozilla Firefox\firefox.exe") Sleep (5000) Send ("{TAB 2}") Case $nMsg = $button1 $ReadInput1 = GUICtrlRead($Input1) Send($ReadInput1);Its not working. Sending only the number "0". EndSelect WEnd P.S add an exit functions its real annoying not being able to exit your script!!!
  9. ill get working on that but it may take a while thanks for response
  10. yea thats fine i was using casing so it chooses from the options but i frgot to make the pixel searches a variable
  11. have mouseclick() with the cordinates of the url inside the quotes..
  12. ex: $coord = PixelSearch( 20, 300, 700, 850, 0x02F000, 10 ) $coord2 = PixelSearch(your second pixel search cordinates) $color = PixelSearch() Select Case $color = PixelSearch(20, 300, 700, 850, 0x02F000, 10 ) ;;add function you want here;; Case $color = PixelSearch(second pixel search coordinates) ;;add function you want here;; EndSelect use case for events like urs
  13. Just have two pixel searches in will make things simpler let me get this strait you want it to do this: If the 1 pixel search returns true then do a certian function but if another pixel search is true then do another function?
  14. also stop using the send function that doesnt display messages for you thats a key function try this: $coord = PixelSearch( 20, 300, 700, 850, 0x02F000) If Not @error Then MsgBox("Color Found!","Color found at: & $coord[0] & $coord[1]" ) Else MsgBox("Color not Found..","Color wasn't found") EndIf
  15. i found 1 error in your script after color dont have anything else its fine before you have something after it
×
×
  • Create New...