Jump to content

Munky

Members
  • Posts

    9
  • Joined

  • Last visited

Everything posted by Munky

  1. Any way to get around things like Lighting Effects and Transparencies?? basically trying to scan a pixel for a color but things like light effects and transparencies are getting in the way, cause the color to change slightly, causing my functions to return false when comparing... basically trying to create some functions for the game 'Eve Online', but the light effects and transparencies [even with opaques set to full some things are still slightly transparent] are getting in the way of color scanners -- as well i noticed sometimes a pixel will return a funky off color that the human eye may not notice, like a pixel scan recorder i made records same pixel over and over again, every now and again will return a 000000 or some other color, when in actuality its a white pixel... is this sort of an "anti-pixel scan" trick to prevent Macros? any help appreciated, Thanx
  2. Ok - so here's my work in progress... basically im making a 'pattern scanner' ... but im having some problems trying to thinking of how my loops would work... little brain dead now after completing the first part of it - the pattern array maker... first i'll explain the pattern maker - basically is scans a block of the screen you select and puts the color of the pixels in an array ($PixelArr[$Y][$X]) OK... so now my dilema is making the scanner... first i'll explain my theory for how i want it to work - you specify a box of searchable area - i'll select from 0,0 to 100,100 for this example. Basically the scanner should take the key pixel - (using $PixelArr[0][0]), compare it to the existing pixel at 0,0 - and if no match is found, proceed to scan next pixel to the right. HOWEVER - if a match should be found, it should take $PixelArr[0][1] and compare the pixel next to it, instead of [0][0], and continue to do this, incrementing each time it finds a match[when it reaches the 'width' if the pattern, it would increment the y 1, reset X, then begins search again] - if it finds one that does not match, then continue where it left off with the key pixel search location... the problem im having is making the loops to run such a scan. Any Help would be Appreciated.. Thanx
  3. Altho i hadnt thought about that -- VERY interesting, will have to incorporate it with my new idea begun developement on a pixel pattern 'writer' if you will - where it takes the info of where your mouse is, and on hotkey, records the info of pixels around that pixel and writes it to a file for use as Variables in array format. [if you dont understand what i mean, hopefully i can get a working version up soon] still working it out...
  4. Just wondering -- Has anyone created a script that searches for a specific pattern in pixels? what im looking for is - say you have a box, determine where that box is by searching for the pattern of pixels it has by locations and colors. im quite stumped myself on how i could make one of these...
  5. There we go must have been the while loop.... Thanx
  6. CODE HotKeySet("{Enter}", "Write") HotKeySet("{Escape}", "Kill") ;sets fileopen $file = FileOpen("test.txt", 1) ;writes Func Write() $pos = MouseGetPos() FileWrite($file, $pos[0] & " , " & $pos[1] & @CRLF) EndFunc ;kills Func Kill() Exit EndFunc
  7. Tried creating a script that uses a hotkey to grab the current mouse position then write it to a file, but all attempts failed, for some reason FileWrite and FileWriteLine werent working properly? even tried writing "BLAH" instead of the mouse positions, but that failed too... just wondering if anyone has any ideas?
  8. yea, after messing around for a bit, i found that it works like mouse drag - plus i found the help file.... still could use some more examples however
  9. ok, so here's some Q's: A) how to scan for text in a game, possibly using pixel scanning? is there a mousedrag function that does not click? i noticed in some reference scripts i have that it uses the MouseClickDrag(), but is there just a MouseDrag() without the click? i havent found anywhere i can look up functions that already exist... and i havent exactly been messing around with the scripts all too much just yet - getting the stupid stuff done first. [like locations, and basic function layouts] C) any good references and/or tutorials?
×
×
  • Create New...