Page 1 of 1

Building name length

Posted: Thu Sep 02, 2010 7:51 pm
by Rusalka
What is maximum length of a building name? And what about secondary name?

Re: Building name length

Posted: Thu Sep 02, 2010 8:37 pm
by Arenti
You could try to find that out in game.

Re: Building name length

Posted: Thu Sep 02, 2010 9:02 pm
by SekoETC
255 but special characters might take more than one character.

Re: Building name length

Posted: Fri Sep 03, 2010 6:25 am
by Rusalka
Ok thanks :)

I'm trying to use 2nd name as a discription field, that is why i'm asking :)

Re: Building name length

Posted: Wed Sep 08, 2010 11:55 am
by Rusalka
Are You sure Seko?

I just set up a project with a building name (2nd position) which is 265 chars (probably even more, cause I used polish letters) and it looks like it's working.

Just wondering if I'm going to generate some error when I finish this project...

Re: Building name length

Posted: Wed Sep 08, 2010 12:48 pm
by SekoETC
No, I'm not sure. That's just the number mentioned in the db, it might not correspond to the actual amount of letters. I'm never sure of how those things work.

Re: Building name length

Posted: Wed Sep 08, 2010 1:31 pm
by Rusalka
Ok, we'll see. I will post the result here then.

Re: Building name length

Posted: Wed Sep 08, 2010 1:32 pm
by Doug R.
Rusalka wrote:Are You sure Seko?

I just set up a project with a building name (2nd position) which is 265 chars (probably even more, cause I used polish letters) and it looks like it's working.

Just wondering if I'm going to generate some error when I finish this project...


The letters might be truncated upon completion. I made an over-limit sign that read correctly on the project, and even read correctly upon completion, but when I viewed it a second time, it had truncated.

Re: Building name length

Posted: Wed Sep 08, 2010 1:36 pm
by Rusalka
Well, I just checked how it works for new buildings and there is an error message when it's more the 255 chars. However there is no error message when I try to change name of existing building.

I will risk my character's work to check what will happen ;)

Re: Building name length

Posted: Wed Sep 08, 2010 1:40 pm
by Doug R.
It can be changed manually in the DB, so if it's messed up, perhaps someone would be kind enough to manually change it so you don't waste your time again.

Re: Building name length

Posted: Wed Sep 08, 2010 1:45 pm
by EchoMan
The details of a project is max 512 chars. This contains the descriptive text for the resulting object as well as its type, initiator and some more stuff.

The descriptive text of an object is max 256 chars.

This means you could probably enter some 450+ characters into the project, but it would only use the 256 first characters when the project completes and the object is created.

Re: Building name length

Posted: Fri Sep 10, 2010 11:51 am
by Rusalka
Well, I finished my project and the name has been cut into 239 chars. I guess polish letters eat more space then I expected.

BTW, the name entered to be a 1st sign, jumped into 2nd position (Building extension) Does it mean that I can't change the first name of an extension? Ther is no option for that in the menu (I used paintbrush)

Re: Building name length

Posted: Fri Sep 10, 2010 12:57 pm
by SekoETC
It sounds pretty weird if changing the name isn't possible... I don't think it should be like that.

Re: Building name length

Posted: Fri Sep 10, 2010 1:33 pm
by Rusalka
I guess I know what is going on here. I renamed "schowek" into "schowek" and then when I tried to change name from "schowek" into something else, the new name is shown only as a sign, and primary name is still "schowek".

Is there a way to clear the field so it shows a dynamic name?

EDIT: Nevermind. I figured it out myself ;)