Extra demolitions done by town

Got a problem with TTDPatch? Get help here.

Moderator: TTDPatch Moderators

User avatar
Szappy
Chief Executive
Chief Executive
Posts: 689
Joined: 29 Mar 2004 14:35
Location: Budapest, Hungary
Contact:

Post by Szappy »

TTRS is safe to add later tho, because Csaba coded it in a way, that 1x2, 2x1 and 2x2 houses have corresponding substitute types, so they are removed correctly.
Csaba may decide to fix this, but I think this 'bug' can be prevented, with proper grf coding.
I mean, you should only use substitute types of the same size, as the building you're coding.
Image please use email instead of PM
User avatar
Csaboka
Tycoon
Tycoon
Posts: 1202
Joined: 25 Nov 2002 16:30
Location: Tiszavasvári, Hungary
Contact:

Post by Csaboka »

I've just hunted down the bug and it turns out to be an error in the coding of the alpine GRF. Hotels are erroneously marked as 2x2 buildings, and since they have only two tiles defined, TTD regards the next two buildings to belong to the hotel. The unlucky two are the statue and the fountain; removing those will clear a 2x2 area since TTD thinks the rest of the building is around.

Until a fixed version comes out, the only way to fix the problem is to disable that GRF altogether.
Reality is that which, when you stop believing in it, doesn't go away.—Philip K. Dick
User avatar
cmd_srui
Traffic Manager
Traffic Manager
Posts: 189
Joined: 16 Dec 2002 02:34
Location: Lisbon, Portugal
Contact:

savegame

Post by cmd_srui »

here's a savegame with a strange thing waiting to happen. On the town of Fonnville, in early september, the town will dellet two pieces of track+station. I hope this helps ptchman to see what the problem is!
Attachments
TRP10.SV1
(554.09 KiB) Downloaded 87 times
Live long and Prosper
Mek
TTDPatch Developer
TTDPatch Developer
Posts: 417
Joined: 13 Apr 2004 13:35
Location: Eindhoven, Netherlands
Contact:

Re: savegame

Post by Mek »

cmd_srui wrote:here's a savegame with a strange thing waiting to happen. On the town of Fonnville, in early september, the town will dellet two pieces of track+station. I hope this helps ptchman to see what the problem is!
haven't you read the post just above your posts? it clearly states the bug is already hunted down, and is not a bug in the patch at all.
User avatar
cmd_srui
Traffic Manager
Traffic Manager
Posts: 189
Joined: 16 Dec 2002 02:34
Location: Lisbon, Portugal
Contact:

Post by cmd_srui »

I read it... I just thought that this savegame might help a bit more because it erased track section... and that was not mentioned to happened in anything I read... :!:
Live long and Prosper
User avatar
denwong
Engineer
Engineer
Posts: 47
Joined: 14 Nov 2003 10:59
Location: Hong Kong

Post by denwong »

cmd_srui wrote:I read it... I just thought that this savegame might help a bit more because it erased track section... and that was not mentioned to happened in anything I read... :!:
The town indeed erase anything that is next to the building to be demolished. The point is to find out why the town pull things down this way, not what kind of things they remove. Thus the type of object affected is not important. :wink:
AL57 EY4088
michael blunck
Tycoon
Tycoon
Posts: 5954
Joined: 27 Apr 2005 07:09
Contact:

Post by michael blunck »

I´ve uploaded a bug fix on

http://www.ttdpatch.de/download.html

AlpineClimate v0.1

- fixed bug in Hotel building flags, resulting in additional tiles removal,
- new ID remapping for buildings to allow proper usage of old arctic savegames,
- added snowline height parameter

regards
Michael
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post by krtaylor »

It sounds like maybe the Patch should add a check for this, and sound an error on startup - Error in GRF file (whatever) sprite (whatever). Wouldn't it be able to tell this, if a building was flagged as the wrong size, by doing a size compare?
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
User avatar
cmd_srui
Traffic Manager
Traffic Manager
Posts: 189
Joined: 16 Dec 2002 02:34
Location: Lisbon, Portugal
Contact:

Post by cmd_srui »

I've tried the new bug fixed version of the alpine climate.
Now I have a new problem. I do not know how... but some pieces of track just start converting from rail to maglev.... I convert them back but after a While it converts back to maglev.
Live long and Prosper
User avatar
Csaboka
Tycoon
Tycoon
Posts: 1202
Joined: 25 Nov 2002 16:30
Location: Tiszavasvári, Hungary
Contact:

Post by Csaboka »

krtaylor: It's not so simple to tell, since multi-tile buildings need to be coded in a special way. Making the long story short, the check would be too expensive compared to the benefits (slowing things down every startup just to rarely find a bug because of wrong GRF coding).
Reality is that which, when you stop believing in it, doesn't go away.—Philip K. Dick
Post Reply

Return to “Problems with TTDPatch”

Who is online

Users browsing this forum: No registered users and 15 guests