Jump to content

MAJORSAM

Active Members
  • Posts

    30
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

MAJORSAM's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. ohh....ty:) i think thats a liitle bit to high 4 me but thanks for ur help....i thought it might be a little bit easier...doesn´t matter, maybe i try it in a few months when ißm more expirienced in auto it
  2. hi i scripted a bot wich looks for colours and picks it when found, now my question...can it find and pick it when the iexplore window runs in hidden mode? thx in advance:)
  3. Have you bothered opening the helpfile and checking the syntax for the While statement? i don´t know which syntax...it says just syntax error...how to look which one...doesn´t matter....i can´t explain better what i mean...works as it is right now....not so comfortable, but still ok! thx 4 ur help!
  4. my question is how to get a "sleep" or anything else into my script, until color changes, because While Not PixelGetColor($Coord0[0], $Coord0[1]) = "FFFF00" Then is not working
  5. thats the place where i always copied the errors...or i did s.th wrong! here´s the copy: >"C:\Program Files\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /prod /ErrorStdOut /in "C:\Users\Major\Desktop\SF-Scripts\SF\schatzglitz.au3" /autoit3dir "C:\Program Files\AutoIt3" /UserParams +>20:24:44 Starting AutoIt3Wrapper v.2.0.0.1 Environment(Language:0407 Keyboard:00000407 OS:WIN_VISTA/ CPU:X64 OS:X86) >Running AU3Check (1.54.10.0) from:C:\Program Files\AutoIt3 C:\Users\Major\Desktop\SF-Scripts\SF\schatzglitz.au3(37,65) : ERROR: syntax error While Not PixelGetColor($Coord0[0], $Coord0[1]) = "FFFF00" Then ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Users\Major\Desktop\SF-Scripts\SF\schatzglitz.au3 - 1 error(s), 0 warning(s) !>20:24:44 AU3Check ended.rc:2 +>20:24:48 AutoIt3Wrapper Finished >Exit code: 0 Time: 3.770
  6. sry, but my english is not that good! if i start au3check. exe i get a short black window...so short that i can´t see anything in it, thats all! and i try always before i post here, but if i have no suggestion, i post here in hope of getting help!
  7. i don´t understand what 2 do now?
  8. still error: (33,64) : ERROR: syntax error While Not PixelGetColor($Coord0[0], $Coord0[1]) = 0xFFFF00 Then
  9. i tried that: WARNING: $Coord0: possibly used before declaration. While Not PixelGetColor($Coord0[0]
  10. hi...i got a little problem...don´t know how i can fix it i got a aimbot on a window and one on another window all in one browser...and when it finds a color, it should wait until the color is away or changes...here my test: HotKeySet("y", "MyExit") Sleep(10000) Func schatz() $Coord0 = PixelSearch(690,555,766,620, 0xFFFF00) if Not @error Then Sleep(100) Mouseclick("left", $Coord0[0]+3, $Coord0[1]+5,1) Sleep(500) EndIf EndFunc Func glitz() $coord1 = PixelSearch(200,100,770,500, 0xFFD050) if Not @error Then Sleep(100) Mouseclick("left", $Coord1[0] , $Coord1[1],1) Sleep(1000) EndFunc ;Func wait() ; While 1 ; if not PixelGetColor($Coord0[0] , $Coord0[1]) = 0xFFFF00 Then ExitLoop ; Sleep(100) ; Wend ;EndFunc Func MyExit() Exit EndFunc While 1 schatz() glitz() ;wait() WEnd would be nice if the function glitz just starts, when func schatz found something, is it makeable? thx in advance
  11. ok...ty....works now thx all for help
  12. the size is the same because Greenbrowser just makes 2 tabs....i switch by sending F2 / F3! should be same size --- as i see its the same!
  13. it does not work it always runs different coordinates...anything is wrong this is the last i tried: #include <Misc.au3> Global $paused = FALSE $dll = DllOpen("user32.dll") WinWait("GreenBrowser - [www.seafight.com]","") If Not WinActive("GreenBrowser - [www.seafight.com]","") Then WinActivate("GreenBrowser - [www.seafight.com]","") WinWaitActive("GreenBrowser - [www.seafight.com]","") While 1 Sleep (9) If _IsPressed("01", $dll) Then $pos = MouseGetPos() ;MsgBox(0, "Mouse x,y:", $pos[0] & "," & $pos[1]) Sleep(9) Send("{F3}") Sleep(9) Mouseclick("left",$pos[0],$pos[1],1,1) Sleep(9) Send("{F2}") ;ExitLoop EndIf WEnd DllClose($dll) Func TogglePause() $paused = Not $paused While $paused WEnd EndFunc anyone knows another(better) way?
  14. ok, but why 9 and not 10?
×
×
  • Create New...