Problem when compiling..

Ask for Help on Using the Language With Memory Hacking Software

Moderators: g3nuin3, SpeedWing, WhiteHat, mezzo

Problem when compiling..

Postby qplazm » Mon Mar 12, 2007 8:09 am

Hi.

When trying to compile the minesweeper bot code, I get the following error:

Code: Select all
ERROR: Pos: 2438 Unable to declare variable “iSquareSize” (identifier already declared).  File: (null)


I'm not really sure how to fix this, any help?

Sorry for the potential newbishness.
qplazm
I Have A Few Questions
 
Posts: 2
Joined: Mon Mar 12, 2007 7:58 am

Postby L. Spiro » Mon Mar 12, 2007 10:19 am

You have another script already declaring “iSquareSize”.

Because the erroneous file is “null” it means iSquareSize is declared somewhere as a global—not inside a function.

You need to open all the script files in your project and search them for “iSquareSize”.
For each duplicate, change it to something else (also change all code that uses that duplicate).


If it still does not work, send me all script files in your project.
yogurtemperor (AT!) gmail (DOT!) com.


エル スパイロ
User avatar
L. Spiro
L. Spiro
 
Posts: 3129
Joined: Mon Jul 17, 2006 10:14 pm
Location: Tokyo, Japan

Postby qplazm » Tue Mar 13, 2007 4:20 am

Makes sense now, I've changed some things and got it to work.

Thanks.
qplazm
I Have A Few Questions
 
Posts: 2
Joined: Mon Mar 12, 2007 7:58 am


Return to Help

Who is online

Users browsing this forum: No registered users and 0 guests

cron