Jump to content

Greenyoda

Members
  • Posts

    16
  • Joined

  • Last visited

Everything posted by Greenyoda

  1. Thanks a bunch Xcal!!! Works Perfectly:) Any way to make it delete the spaces?
  2. #include <file.au3> ;Variables $search = "found" $file = FileOpenDialog ( "findme", "c:/", "" ) ; Check if file opened for reading OK If $file = -1 Then MsgBox(0, "Error", "Unable to open file.") Exit EndIf $x = 1 $numbers = 0 ;read the file While 1 $line = FileReadLine( $file, $x ) $isittheir = StringInStr( $line, $search ) if $isittheir > 0 Then _FileWriteToLine($file, $x, "", 1) TrayTip("The number of lines deleted",$numbers , 5) $x = $x + 1 $numbers = $numbers + 1 ElseIf $line = -1 Then FileClose ( $file ) MsgBox( 0, "Done", "We are done" ) EndIf WEnd I changed it out but it didnt seem to work:(
  3. Nope, Still not deleting it:(
  4. Hmm I tried but their is still something Wrong. can someone look over the code and point out errors?
  5. Ok I worked on it some, Got a whole lot of code done. Then I realized that replace string would be better. So now I have: Is their anyway to Have it Delete the line?
  6. Is their a command to Read a line from a text file and search the line for a word? Then maybe delete the line?
  7. So im guessing no?
  8. Hmm... is their a tutorial for memory reading?
  9. Such as read a game process to find out whats happening. Like instead of a pixel search, the script would read the game process and find out if a certain event happened.
  10. Can auto-it Read process, or intercept packets? I looked in the help-file and used the search button but I couldn't find anything.
  11. so Opt("SendKeyDownDelay", 1) send( "87" ) would send w with a one second delay?
  12. Hey guys, Im trying to send a key to a game. I have a few questions: I already Know im going to use the Send() comand. How do I get that to hold fo X amount of seconds? And how to I get the ACSII values for keys like W. Thanks:)
  13. Will the variables $ycoord and such return the value thats inputed? Because it doesnt seem like its doing that:(
  14. Omg thank you so much, now i get what it does, got it to work! Thanks for the fast replys:)
  15. I want the box it searches in to start from (546, 460) though, wouldnt having the 100's first start it at (100, 100) ?
  16. So Im making a bot in wow (I know:)) Anyways what this script is doing is moving back and forth and checking a region for red pixels. unfortunatley it doesn't work. do controlsend("World of Warcraft", "", "", "{UP}") sleep(9000) controlsend("World of Warcraft", "", "", "{DOWN}") sleep(9000) $coord = Pixelsearch( 546, 460, 100, 100, 0xCE0F01, 20, 2 ) if not @error then sleep(100) MsgBox(0, "found", "Abled" ) Sleep(10) mousemove( $coord[0], $coord[1], 2 ) sleep(100) mouseclick( "left" ) ExitLoop EndIf sleep(3000) until $check = 0 I can not figure out why It wouldnt be working, except for maybe I have it searching in the wrong area. Please help:(
×
×
  • Create New...