Jump to content

need help with conditional variables

Recommended Posts

now I know this is probably pretty simple, but Ive been unable to find any tutorials. I have been workign on a macro for a certain pokemon Indie game, Pokemon tower defense. the trading economy has locked and I plan to make a bot to help fix that. I have a simple mouse recording script to play the level over and over again, very simple, but I need help. I need to know how to make a script to do a pixel check and stop/pause the script whenever it detects a certain pixel. because, when a shiny or legendary pokemon appears in the wild in the game, it pauses and a pop-up comes up, and as its a tower defense game the pokemon will blindly march towards death and i won't be able to catch it. I need the script to detect this black popup box and stop the script the popup will then sit there til i walk by my computer and notice it, catch the pokemon, and restart the script. any help would be appreciated, and Im sure its a simple thing.



Link to comment
Share on other sites

Please read the forum rules, game automation discussion is prohibited.


If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Link to comment
Share on other sites

  • Developers

yeah, it says if it is on games which botting is prohibited, which it is not on PTD.

Dont care. None is allowed full stop.


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
Live for the present,
Dream of the future,
Learn from the past.

Link to comment
Share on other sites

This topic is now closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...