[Help] Can't get custom building to register

Discuss Millénaire in English
Post Reply
Astrodude1789
Posts: 2
Joined: Fri Jul 21, 2017 8:02 pm

[Help] Can't get custom building to register

Post by Astrodude1789 » Fri Jul 21, 2017 8:09 pm

I'm currently trying to replace the Norman Guildhouse with a custom version. According to the Wiki and game files, I've written the "guildhouse_A.txt" correctly but it refuses to compile with this error:

Code: Select all

6.0.0 21-07-2017 14:59:21 Exception when loading guildhouse_A.txt plan set in culture norman:
6.0.0 21-07-2017 14:59:21 org.millenaire.common.MLN$MillenaireException: guildhouse_A0: Expected length is 0 but file height is 20
My "guildhouse_A.txt":

Code: Select all

max:0;priority:2000;native:Hall de la Guilde;around:5;startLevel:-1;orientation:3;signs:5,3,1,2,4,6,8,7,0;shop:townhall;width:13;length:20;male:GuildMaster;tag:leasure

startLevel:-1
startLevel:-1
startLevel:-1
startLevel:-6
startLevel:-6


User avatar
felinoel
Posts: 974
Joined: Sun Jun 09, 2013 6:02 pm

Re: [Help] Can't get custom building to register

Post by felinoel » Thu Apr 12, 2018 2:00 pm

The error says that the code says the length is zero but the code clearly says 20, maybe try fixing your spacing in the code?

Post Reply