<id>

Lux maps won't make themselves.
Post Reply
User avatar
SnyperEye
Anti-Holy Assgrabber
Posts: 6547
Joined: Fri Dec 03, 2004 9:57 am
Location: The Anti-Holy Church of Lux
Contact:

<id>

Post by SnyperEye » Sun Jan 02, 2005 7:49 pm

what does <id> mean?

User avatar
Preacherman
Semiholy Priest
Posts: 4496
Joined: Tue Feb 24, 2004 3:52 am
Location: Sweden (capital of Denmark, an island in Norway, southern Europe)
Contact:

Post by Preacherman » Sun Jan 02, 2005 7:54 pm

The id is a unique identifier for each country. It must start from 0 and be sequential. The id is used to determine which countries can attack/fortify to others, among other things.

You will get map errors if for example you miss a number id in your sequence, or if you make a reference to id's that don't exist, etc.

User avatar
SnyperEye
Anti-Holy Assgrabber
Posts: 6547
Joined: Fri Dec 03, 2004 9:57 am
Location: The Anti-Holy Church of Lux
Contact:

Post by SnyperEye » Sun Jan 02, 2005 8:18 pm

not sure how to find the error on that:

It only says:

java.lang.exception: Error in Country 'S1': You are using an <id> that is too high (104). Notethat the <id>s must start at 0, not 1.

User avatar
SnyperEye
Anti-Holy Assgrabber
Posts: 6547
Joined: Fri Dec 03, 2004 9:57 am
Location: The Anti-Holy Church of Lux
Contact:

Post by SnyperEye » Sun Jan 02, 2005 8:26 pm

SnyperEye wrote:not sure how to find the error on that:

It only says:

java.lang.exception: Error in Country 'S1': You are using an <id> that is too high (104). Notethat the <id>s must start at 0, not 1.
does that mean instead of starting as ex. Base 1, 2, 3 etc.. it should be Base 0, 1, 2, 3, etc...

User avatar
Preacherman
Semiholy Priest
Posts: 4496
Joined: Tue Feb 24, 2004 3:52 am
Location: Sweden (capital of Denmark, an island in Norway, southern Europe)
Contact:

Post by Preacherman » Mon Jan 03, 2005 8:28 am

Exactly...if you have 13 countries for example, you wil have id's from 0 to 12.

Post Reply