The International Simutrans Forum

PakSets and Customization => Pak128.Britain => Pak128.Britain Bug Reports => Topic started by: jamespetts on July 08, 2009, 10:29:20 pm

Title: [Bug] Faulty town halls
Post by: jamespetts on July 08, 2009, 10:29:20 pm
I have noticed that the town halls in the release version do not work: the graphics do not show in the game: instead there is a void where the town hall should be.
Title: Re: [Bug] Faulty town halls
Post by: The Hood on July 09, 2009, 07:31:38 am
Is that on new maps only or also on demo.sve?  I'm pretty it was working when I tested it... Strange
Title: Re: [Bug] Faulty town halls
Post by: jamespetts on July 09, 2009, 08:31:06 am
Also on demo.sve.
Title: Re: [Bug] Faulty town halls
Post by: The Hood on July 09, 2009, 08:32:48 am
Do they work if you build them from SVN? (although I noticed the dimensions should be 2,2,1 not 2,2,4 in SVN, but that isn't the case on my local copy...
Title: Re: [Bug] Faulty town halls
Post by: jamespetts on July 09, 2009, 08:51:23 am
No, the same problem arises if they are built from the SVN. An older version worked, but I am not at home now, and cannot check what the difference is between the older and newer versions...
Title: Re: [Bug] Faulty town halls
Post by: The Hood on July 09, 2009, 09:12:52 am
I suspect it's something to do with the rotations (I experimented with 4 rotations, but it produced some very strange alignments with roads so I dropped it, but obviously that hasn't been changed fully).  Again I am at work now so can't check properly.
Title: Re: [Bug] Faulty town halls
Post by: The Hood on July 09, 2009, 04:12:57 pm
I cannot reproduce this.  Is anyone else experiencing this problem?
Title: Re: [Bug] Faulty town halls
Post by: sanna on July 09, 2009, 05:12:26 pm
I have empty spaces for town halls as well, at least for the 1x1.
(http://simutrans-germany.com/files/upload/simscr02_thumb.png) (http://simutrans-germany.com/files/upload/simscr02.png)
The 2x2 are sometimes there and sometimes not...  In some rotations part of the town hall is visible, but then the square is not clickable to open the info window (which it is non-rotated).
(http://simutrans-germany.com/files/upload/simscr05_thumb.png) (http://simutrans-germany.com/files/upload/simscr05.png)

 I have also experienced a great number of segfaults during map creation at the stage:
Code: [Select]
Message: stadt_t::check_bau_rathaus():	add townhall (bev=180, ptr=0xb7af848)
which might be related to this issue or not.... If I put the number of cities real high, I can provoke this almost every time.
Title: Re: [Bug] Faulty town halls
Post by: Frank on July 09, 2009, 06:27:25 pm
all townhalls have dat errors

dims is wrong

is: Dims=2,2,4

must: Dims=2,2,1
Title: Re: [Bug] Faulty town halls
Post by: The Hood on July 09, 2009, 07:05:44 pm
AFAIK the ones in the release were built from sources with Dims=2,2 (i.e. not the SVN which I've now corrected).  I am just releasing a new version so we will see if that fixes the problem (it definitely works on my setup, Linux with r2569).