mike21 Posted February 19, 2007 Share Posted February 19, 2007 You are in a maze right. that looks like this That image is just pixels no actual file for it, and it changes everyday. Now you are the red dot, the tan are walls, white are like the paths u can take and the green dots are what I need to get to. The north, south, east, and west can be controlled by keypad or mouse. When you move you move one "space" at a time, with a space being the size of the dots.Now how would I write a script to get to those green dots efficiently, because i tried a script that randomly moved the player around till it got to a green dot and that didn't work at all. Fyi u don't need to write the actually script for me but any ideas on how it would work would be greatly appreciated. Link to comment Share on other sites More sharing options...
Paulie Posted February 19, 2007 Share Posted February 19, 2007 You are in a maze right. that looks like this That image is just pixels no actual file for it, and it changes everyday. Now you are the red dot, the tan are walls, white are like the paths u can take and the green dots are what I need to get to. The north, south, east, and west can be controlled by keypad or mouse. When you move you move one "space" at a time, with a space being the size of the dots.Now how would I write a script to get to those green dots efficiently, because i tried a script that randomly moved the player around till it got to a green dot and that didn't work at all. Fyi u don't need to write the actually script for me but any ideas on how it would work would be greatly appreciated.Does the size of the maze change? or is it always that big?If it is always that size, how many "spaces" in total do you think are in the maze? maybe 100?if so, you can pixel check the whole maze and have a script that will create a copy of the maze using labels, and then use those labels to use the wall hugging technque to beat the maze.(Always cling to the left/right side. you will eventual either find you way out, or cover the entire maze. Link to comment Share on other sites More sharing options...
mike21 Posted February 19, 2007 Author Share Posted February 19, 2007 Does the size of the maze change? or is it always that big?If it is always that size, how many "spaces" in total do you think are in the maze? maybe 100?if so, you can pixel check the whole maze and have a script that will create a copy of the maze using labels, and then use those labels to use the wall hugging technque to beat the maze.(Always cling to the left/right side. you will eventual either find you way out, or cover the entire maze.yes it is always that big, and i would say much more that 100 but i do agree with your point its a great idea Link to comment Share on other sites More sharing options...
mike21 Posted February 19, 2007 Author Share Posted February 19, 2007 umm one quick q will it still work if the red dot hits a dead end? Link to comment Share on other sites More sharing options...
Paulie Posted February 19, 2007 Share Posted February 19, 2007 umm one quick q will it still work if the red dot hits a dead end?yesIt would not be easy, and would require alot of work to do, and probably wouldn't be very fast at solving the maze, but in theory it works.Thats how you get through mazes in real life, just keep on hand on one wall at all times, ans you will eventually get out. Link to comment Share on other sites More sharing options...
rush4hire Posted February 19, 2007 Share Posted February 19, 2007 What are you trying to do? You just doing this to goof around? lol? Decompilable game code manager for Dark Deeds 6 for Warcraft IIIA web broadcast TiVo like thing.. (this example is for 3abn.org)Finally.. AutoIt Pac-Man Digital Hymn Player Link to comment Share on other sites More sharing options...
mike21 Posted February 19, 2007 Author Share Posted February 19, 2007 What are you trying to do? You just doing this to goof around? lol?im trying to get all of the green space things Link to comment Share on other sites More sharing options...
Simucal Posted February 19, 2007 Share Posted February 19, 2007 Any chance you could link us to this website? AutoIt Scripts:Aimbot: Proof of Concept - PixelSearching Aimbot with several search/autoshoot/lock-on techniques.Sliding Toolbar - Add a nice Sliding Toolbar to your next script. Click the link to see an animation of it in action!FontInfo UDF - Get list of system fonts, or search to see if a particular font is installed.Get Extended Property UDF - Retrieve a files extended properties (e.g., video/image dimensions, file version, bitrate of song/video, etc) Link to comment Share on other sites More sharing options...
WeMartiansAreFriendly Posted February 20, 2007 Share Posted February 20, 2007 Any chance you could link us to this website?is this the site http://www.iec.ch ??? Don't bother, It's inside your monitor!------GUISetOnEvent should behave more like HotKeySet() Link to comment Share on other sites More sharing options...
Paulie Posted February 20, 2007 Share Posted February 20, 2007 is this the site http://www.iec.ch ???wtf? Link to comment Share on other sites More sharing options...
WeMartiansAreFriendly Posted February 20, 2007 Share Posted February 20, 2007 wtf? ?? Don't bother, It's inside your monitor!------GUISetOnEvent should behave more like HotKeySet() Link to comment Share on other sites More sharing options...
rush4hire Posted February 20, 2007 Share Posted February 20, 2007 (edited) im trying to get all of the green space thingsWell, this will be the goal of your life. I would help, but it would take away the satisfaction.But, does the maze keep changing?Where can we play this maze?Is it like this maze? --> http://www.winterrowd.com/maze/ Edited February 20, 2007 by rush4hire Decompilable game code manager for Dark Deeds 6 for Warcraft IIIA web broadcast TiVo like thing.. (this example is for 3abn.org)Finally.. AutoIt Pac-Man Digital Hymn Player Link to comment Share on other sites More sharing options...
Shevilie Posted February 20, 2007 Share Posted February 20, 2007 I just love that maze Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit Link to comment Share on other sites More sharing options...
SadBunny Posted February 20, 2007 Share Posted February 20, 2007 (edited) /edit sorry, for 2 minutes there was a huge spoiler here, sorry Edited February 20, 2007 by SadBunny Roses are FF0000, violets are 0000FF... All my base are belong to you. Link to comment Share on other sites More sharing options...
Shevilie Posted February 20, 2007 Share Posted February 20, 2007 :clap: I Got it by mail Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit Link to comment Share on other sites More sharing options...
mike21 Posted February 21, 2007 Author Share Posted February 21, 2007 Ok ive been having a problem making a 2d array to work with auto it... is it even possible? Link to comment Share on other sites More sharing options...
Paulie Posted February 21, 2007 Share Posted February 21, 2007 Ok ive been having a problem making a 2d array to work with auto it... is it even possible?Yes. I might be able to help if i had some code though. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now