The International Simutrans Forum

 

Author Topic: (solved) r2184 SDL: crash when city grows  (Read 6902 times)

0 Members and 1 Guest are viewing this topic.

Offline gauthier

  • Moderator
  • *
  • Posts: 3628
    • SNFOS'website (in both FR and EN)
  • Languages: FR, EN, JP
(solved) r2184 SDL: crash when city grows
« on: December 26, 2008, 07:21:19 PM »
I can't continue all of my savegames because of this bug appearing when certain cities grow.

I have tried to manually make a city grow by public services tools and it crashed.
But the city doesn't need me to grow so 3 months later, building a new high speed passengers line, this bug again.
« Last Edit: May 26, 2010, 07:06:46 PM by VS »

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9568
  • Languages: De,EN,JP
Re: r2184 SDL
« Reply #1 on: December 26, 2008, 07:37:40 PM »
There was a monument with rotations but not definition for those rotations, is my best guess. Which pak?

Offline VS

  • Senior Plumber (Devotee)
  • Devotee
  • *
  • Posts: 4855
  • Vladimír Slávik
    • VS's Simutrans site
  • Languages: CS,EN
Re: r2184 SDL
« Reply #2 on: December 26, 2008, 07:43:53 PM »
From the visible parts I guess 128...

Offline DirrrtyDirk

  • Devotees (Inactive)
  • *
  • Posts: 1253
  • JR 700 Series Shinkansen
  • Languages: EN,DE
Re: r2184 SDL
« Reply #3 on: December 26, 2008, 09:47:23 PM »
I'd also say pak128, since gauthier seems to be playing (and developing) only for that.

Offline gauthier

  • Moderator
  • *
  • Posts: 3628
    • SNFOS'website (in both FR and EN)
  • Languages: FR, EN, JP
Re: r2184 SDL
« Reply #4 on: December 26, 2008, 10:01:15 PM »
Yes it's pak128 (pak64 is too small for me :D ).

I don't know if it's a monument but when certain cities grow up I have this ???
Seeing the error message, I guess the problem is in the programm, not in the pak but I may be mistaked.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9568
  • Languages: De,EN,JP
Re: r2184 SDL
« Reply #5 on: December 30, 2008, 10:56:33 PM »
Without further information most likely a bug around pak128.

Offline gauthier

  • Moderator
  • *
  • Posts: 3628
    • SNFOS'website (in both FR and EN)
  • Languages: FR, EN, JP
Re: r2184 SDL
« Reply #6 on: January 01, 2009, 07:45:26 PM »
I can't get more informations :(

but the runtime error message says you the line of the programm which makes the problem, doesn't it ?

Offline VS

  • Senior Plumber (Devotee)
  • Devotee
  • *
  • Posts: 4855
  • Vladimír Slávik
    • VS's Simutrans site
  • Languages: CS,EN
Re: r2184 SDL
« Reply #7 on: January 01, 2009, 08:32:28 PM »
How big is the city? I clicked "grow" until the starting map was covered, added land, continued, and still nothing...

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9568
  • Languages: De,EN,JP
Re: r2184 SDL
« Reply #8 on: January 01, 2009, 09:36:10 PM »
Probably broken frensh translation? Then is shoudl be pak independent.

Offline gauthier

  • Moderator
  • *
  • Posts: 3628
    • SNFOS'website (in both FR and EN)
  • Languages: FR, EN, JP
Re: r2184 SDL
« Reply #9 on: January 01, 2009, 10:32:59 PM »
Note by mod (whoami): please do not double-post. Posts merged:

it happens only in some cities ...
I'm uploading a savegame.

It appears in English too.

Try to grow the city named "Esthar".

important : you'll need a bus I created for myself (from the long bus which looks like PMNV cruiser) donwloadable here :
=> http://files.filefront.com/vehiclesSNFOS+doublemidipak/;12838363;/fileinfo.html

the savegame :
=> http://files.filefront.com/Reseau+modernesve/;12838333;/fileinfo.html

You'll need : trolley buses, chrysler building, joker roads, SNFOS stations (contained in MLM dev.), SNFOS High buildings.
« Last Edit: January 02, 2009, 02:06:03 PM by whoami »

Offline z9999

  • Devotees (Inactive)
  • *
  • Posts: 848
Re: r2184 SDL
« Reply #10 on: January 02, 2009, 11:51:31 PM »
Result of my test.

If I didn't add "Chrysler Building", it didn't crash.
But if I add "Chrysler Building", simutrans quit without any error dialog. (assert)

And I heard similar quit problem in our Japanese forum, he said "In r2195, simutrans quits without any error dialog after 2 or 3 minutes from loading game".

I think this is a problem of program.
"Chrysler Building" is 3*3 monument, which dims=3,3,1 and data has no problem.
http://archive.forum.simutrans.com/topic/05246.0/index.html

@prissi

I tested like this, and same problem happened.
So, you don't need to download other paks.

1. Add building.Chrysler Building.pak to normal pak128 folder.
2. Start simutrans.
3. Do one of two listed below
 (1) Set timeline off and start new game
 (2) Open "curiosity building tool" window and build "Chrysler Building".


Result:
Quit without any error dialog.
« Last Edit: January 03, 2009, 01:15:19 AM by z9999 »

Offline gauthier

  • Moderator
  • *
  • Posts: 3628
    • SNFOS'website (in both FR and EN)
  • Languages: FR, EN, JP
Re: r2184 SDL
« Reply #11 on: January 03, 2009, 11:00:50 AM »
Thanks very much z9999  ;D , I'm removing Chrysler building until the bug is fixed.

EDIT : I removed chrysler building but I have this problem again.

EDIT² : I had the Alte Oper too :p finally it works again, thanks a lot.
« Last Edit: January 03, 2009, 11:09:56 AM by gauthier »

Offline z9999

  • Devotees (Inactive)
  • *
  • Posts: 848
Re: r2184 SDL: crash when city grows
« Reply #12 on: January 04, 2009, 05:38:32 PM »
Should I make a new topic on "Bug Reports" board or ... ?

Offline Frank

  • Inactive/Retired
  • *
  • Posts: 1431
  • Languages: DE
Re: r2184 SDL: crash when city grows
« Reply #13 on: January 04, 2009, 05:48:28 PM »
...
I think this is a problem of program.
"Chrysler Building" is 3*3 monument, which dims=3,3,1 and data has no problem.
http://archive.forum.simutrans.com/topic/05246.0/index.html

...

sorry this is not correct

Quote
Obj=building
name=Chrysler Building
copyright=Joker
intro_year=1930
intro_month=9
retire_year=2050
retire_month=12
level=50   
type=mon
location=city
build_time=250
chance=100
Dims=3,3,1

type mon is on field limited

Code: [Select]
location=city
build_time=250
chance=100
this not parameter for mon, this is cur
« Last Edit: January 04, 2009, 05:54:46 PM by Frank »

Offline z9999

  • Devotees (Inactive)
  • *
  • Posts: 848
Re: r2184 SDL: crash when city grows
« Reply #14 on: January 04, 2009, 06:07:56 PM »
Thanks, Frank. But that is not related to crash problem.
Joker's monuments had no problem until 100.0.

location=city ... This is only for makeobj, and igonred by makeobj.
build_time=250 .. This is ignored by makeobj and not stored in pak file.
chance=100 .. Chance is also possible for monument and default value 100 is always stored by makeobj.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9568
  • Languages: De,EN,JP
Re: r2184 SDL: crash when city grows
« Reply #15 on: January 04, 2009, 08:32:07 PM »
Fixed in r2214

Offline gauthier

  • Moderator
  • *
  • Posts: 3628
    • SNFOS'website (in both FR and EN)
  • Languages: FR, EN, JP
Re: r2184 SDL: crash when city grows
« Reply #16 on: January 05, 2009, 05:43:17 PM »
 :) :D ;D 8) :-*

thanks a lot !