When I try to buy an NPC it asks for this ID number (otherwise it gives a very nasty error, at least someone should try to put a nice message there), so two questions:
1. How can I know that number? (For reference, I saw once a floating text with that number when I had the mouse over a room, over a city it doesn't happend)
2. If I want my NPC to be on a Terrain square outside a City this will be considered also a City?
1. To view the ID of a room you need to go to Position and place your mouse over one of the small room images and the ID should appear as a hint. a new way to view room IDs should be available soon(tm)
2. don't remember
3. patience. someone would answer although sometime noone answers my topics :P
1/ I've added a check to see if the locationID is a number, if not it'll error out. To find out the cityID talk to the owner, if you don't know who the owner is try talking to whoever controls the planet, they should be able to point you to the owner (if they themselves aren't the owner). It's a rather cumbersome system but I don't really want to do anymore work on it because it's only temporary until such time as planets generate NPCs and you have to go down to them, and into certain facilities, to hire the NPCs.
2/ Do you mean the 1 square wide border running around the outside of the city? If so, no, this is still considered as part of the city