Page 1 of 1

Bot code help!

PostPosted: Tue Nov 24, 2009 1:06 pm
by wannabehacker
...I tried the minesweeper bot thing that i think l.spiro made but it wouldnt work. its the one at http://www.woodmann.com/forum/archive/i ... -9704.html

it says: ERROR: Line: 3 Syntax error. File: C:\Documents and Settings\Owner\My Documents\Minesweeper.lss
ERROR: Line: 5 Syntax error. File: C:\Documents and Settings\Owner\My Documents\Minesweeper.lss (when i try to compile it.)
any help would be appreciated.

Re: Bot code help!

PostPosted: Tue Nov 24, 2009 4:18 pm
by L. Spiro
Use the code in the MHS Help file.


L. Spiro

Re: Bot code help!

PostPosted: Wed Nov 25, 2009 9:34 am
by wannabehacker
k thx i will try that!

Re: Bot code help!

PostPosted: Wed Nov 25, 2009 11:42 am
by wannabehacker
Sry i am a newbie and i cant figure out how to get it to work...

Re: Bot code help!

PostPosted: Wed Nov 25, 2009 1:04 pm
by wannabehacker
L. Spiro wrote:Use the code in the MHS Help file.


L. Spiro

I tried to use the code in the help file but it wouldnt let me compile that either...it says:ERROR: Preprocessor failed. Compilation is still possible if no macros or includes are used.

Re: Bot code help!

PostPosted: Wed Nov 25, 2009 2:04 pm
by L. Spiro
Remove all script files (Ctrl-R on each file in the Script Editor) and then add them again (Ctrl-D on each file).


L. Spiro

Re: Bot code help!

PostPosted: Thu Nov 26, 2009 2:01 am
by wannabehacker
L. Spiro wrote:Remove all script files (Ctrl-R on each file in the Script Editor) and then add them again (Ctrl-D on each file).


L. Spiro

OK Thank You! That worked! Do you have working code for the SolveMineSweeperBoard one? I got the ShowMineSweeperBoard code to work but i need code for the one that solves it on its own and moves the pointer autonomously.

Re: Bot code help!

PostPosted: Thu Nov 26, 2009 2:53 am
by wannabehacker
wannabehacker wrote:
L. Spiro wrote:Remove all script files (Ctrl-R on each file in the Script Editor) and then add them again (Ctrl-D on each file).


L. Spiro

OK Thank You! That worked! Do you have working code for the SolveMineSweeperBoard one? I got the ShowMineSweeperBoard code to work but i need code for the one that solves it on its own and moves the pointer autonomously.

NVM I found your code for the bot and it works so thanks a bunch for your prompt responses!