Jump to content

Irrelixier

Members
  • Posts

    8
  • Joined

  • Last visited

Irrelixier's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Hi Michael I know, but its a GUI support related kind of thing. I've got the script up and running anyways. ><
  2. need to do pixel searches since i need to see the monsters floating around >< and bash them
  3. Hi All! I'm wanting to make a GUI out of my simple script that I made, however there are few stuff that I need to understand first. HotKeySet("{End}", "End") HotKeySet("{Home}", "Start") While 1 Sleep(5000) WEnd ;;heals Func Start() ; command to start While 1 $pixel = PixelSearch (245, 214, 812, 566, 0x8C2A3) $Attack = 2 If Not @error Then Send($Attack) ; send attack Send($Attack) Send($Attack) EndIf Sleep(100) ;;mana $pixelmana = PixelSearch (227, 146, 227, 146, 0x000000) $mana = 5 If Not @error Then Send ($mana) Send ($mana) Send ($mana) EndIf Sleep(100) ;;hp $pixelhp = PixelSearch (242, 119, 242, 119, 0x000000) $hp = 6 If Not @error Then Send ($hp) Send ($hp) Send ($hp) EndIf WEnd EndFunc Func End() ; command to kill Exit EndFunc I'm wanting to make a very simple GUI for the script, esp for pixel search functions (location, and colours) also for the $ variables >< Unsure where to start I'm new to GUIs, thanks before!
  4. @Realm Works like a charm. Haha I didn't realize we have up and down function @^ I wanted to create random movements from the mouseclickdrag it's not possible since it can only alters speed and if I wanted to make it randomly move to the right it'll be lots of headache thinking the variables .____.
  5. Hi all! I'd like ask a question to find ways or alternatives pretty much for my MouseClick section Do MouseClick("left", $x1, $y1) $x1 = $x1 + Random(0, Random(0, 5), 1) Until $x1 >= Random(450, 550, 1) As you can see the code will progress to the right randomly using the variable random +'s and will stop when it hits the Until variable. So can someone kindly advise whether there is a way instead of mouseclicking this i'd like it to be dragged, with the random +s over time as well, and with a Until section as well. I'm kinda new to this, and I've realize i cant just simply change the mouseclick to mouseclickdrag, since it will ask the two pin points destinations and I can only alter speed there.
  6. @John Yea it worked, but looks weird lol. Since its a research to determine the randomness of judge assessing the sample against a computer I absolutely have no programming lesson in my life and had to do this programming randomisation thing.
  7. ^ yeah i placed that its not the "error" that i was wondering im wanting to make a graph and using the scale like this what i was wanting is a mouse movement on the scale to create something close like that graph, first inclining, then declining.
  8. Hi all, I'm pretty new to AutoIT to be honest, and am still wondering to make my program to work. I was wondering to make a script that makes a mouse to moves inclining (to the right) without going declining (to the left) I created this Do $x = random(311,424) ;;obviously here to pick the value 311~424 $y = 320 mousemove ($x, $y,50) $i +=1 Until $i = 15 ;;repeat 15x What I want is that the value randomly goes up without going down, is such thing possible using the random function or do I need to change anything else? Since my aim is to make the mouse move to the right, then to the left later on
×
×
  • Create New...