The International Simutrans Forum

PakSets and Customization => Pak128 Bug Reports => Pak128 => Pak128 Solved Bug Reports => Topic started by: sdog on December 14, 2012, 06:08:02 AM

Title: [r1099] crash when loading
Post by: sdog on December 14, 2012, 06:08:02 AM
built with pakmak.py and makeobj 55

looks like an input string from a dat file can't be read (seen screenshot)
Title: Re: [r1099] crash when loading
Post by: greenling on December 14, 2012, 02:07:17 PM
sdog
I think that's in the Dats and in the pakmak.py a typing error it.
Title: Re: [r1099] crash when loading
Post by: VS on December 14, 2012, 02:24:00 PM
Xref error = a reference to object from object fails. Most likely related to Fabio's new rails, I think - tunnel tracks perhaps? Investigating...



Yes, it was indeed so. Fixed in r1102.
Title: Re: [r1099] crash when loading
Post by: Fabio on December 14, 2012, 06:14:12 PM
Crap, sorry for the inconvenience!  :-[
Title: Re: [r1099] crash when loading
Post by: VS on December 14, 2012, 07:00:52 PM
Well, it's a team effort ;-)
Title: Re: [r1099] crash when loading
Post by: sdog on December 14, 2012, 09:36:17 PM
Code: [Select]
With such a large number of new content a few typos in dats are unavoidable. Overall they are surprisingly rare.

VS found it already:
[code]
base/rail_tunnels/rail_track_080b_tunnel.dat
@@ -3,7 +3,7 @@ obj=tunnel
 name=Rail_Track_080B_Tunnel
 copyright=Fabio Gonella
 waytype=track
-way=Rail_Track_80B
+way=Rail_Track_080B
 cost=85000
 maintenance=1300
 topspeed=80
sorry i looked at exactly this section of code last night, and didn't see it.
Title: Re: [r1099] crash when loading
Post by: sdog on December 16, 2012, 06:39:49 AM
r1106 works flawlessly.

development snapshot: pak128.r1106.7z (http://simutrans.github.com/simutrans-github-project-page/pak128builds/pak128.r1106.7z)