Jump to content

alanakko

Members
  • Posts

    11
  • Joined

  • Last visited

Everything posted by alanakko

  1. great, thanks for the replys guys
  2. how would i write that , like this Func WarpCheck1() Do PixelSearch(537,746,537,746,0x959595,20) until @error=0 Sleep(200) EndFunc as in ,20 after 0x959595 and does that give me 20 shades above and 20 shades below 0x959595?
  3. hey guys can anyone suggest the way to add colour varitaion to this pixel search Func WarpCheck1() Do PixelSearch(537,746,537,746,0x959595) until @error=0 Sleep(200) EndFunc like 0x959595 (grey) or any shade of grey thanks
  4. crickey thats an answer and a half lol ,a huge thanks for the help m8,
  5. thanks m8, ill try that, the only thing there i dont quite understand is $pixel = hex($pixel, 6) as in why ,6? thanks
  6. hey guys anyone out there know a way to code this, or if its even possible? question is can you do a do - until-- ie. Func nowdocked1() Do Until PixelGetColor(22,759) = 0xFFD742 EndFunc and then add a default pause time in case of a pixel colour miss so do untill get colour or after say 20 seconds ,i,m having a bit of trouble with translucent backgrounds etc , pixel colour search sometimes misses which then halts the whole script any ideas greatly appriciated
  7. ok thanks for the help guys,will try to work with that method, and try to clean up my scripts and typos, lol am a noob what,d you expect!! cheers
  8. code is an ice mining macro for the game eve online and what i really need is , to run master loop, ie---- (undock, warp to belt, start mining, SCAN FOR HOSTILES, fill cargo, warp to station, unload, start over again) all working correctly, SCAN FOR HOSTILES is done with If (PixelGetColor(380,741)=0x4a4d4a ) Then warp back to station and dock for timer amount but then i need to somehow exit master loop and then resart the master loop from the first line cheers for the help!! line 84 is the runaway function that breaks from the main loop of the script ???---MY HEAD---------->>BRICK WALL FINAL.au3
  9. does anybody know the answer to my problem cause i,m banging my head against the wall atm lol i have a script running fine, over and over again , in the script i have a pixel search function and if that triggers the script changes, then a changable pausetime what i cant do is this, once triggered and after the pause time, make the script exit or exit from the masterloop, and then restart from the first line of the masterloop i am thinking this should be easy, but its like learning japanese to me, heh please help
  10. hey guys thanks very much for the fast replys, i tried the code suggested and thats good as the timer function works well, problem is that after the timer has run out the script is then continueing from where it left off, half way through the script what i really need is , to run master loop, ie---- (undock, warp to belt, start mining, SCAN FOR HOSTILES, fill cargo, warp to station, unload, start over again) all working correctly, SCAN FOR HOSTILES is done with If (PixelGetColor(380,741)=0x4a4d4a ) Then warp back to station and dock for timer amount but then i need to somehow exit master loop and then resart the master loop from the first line cheers for the help!!
  11. hey guys any chance one of you clever folks can take a look at my eve online ice miner script? i got it all working fine, i wanted to add in a pixel scan to search for potential threats and managed this but the question is how do i tell it to exit the loop, after a certain amount of time, then resart the main loop over again?? my guess is this is pretty easy, but i am soooo green to this autoit language any help would be greatly appriciated cheers line 85, function runaway() is the event that strays from the master loop, i,e if pixel colour= etc then runaway, but then i need to pause or sleep for set amount of time then restart master loop, cant fiqure it out for the life of me hope this makes sense to someone FINAL.au3
×
×
  • Create New...