Author Topic: Save crash after a few seconds  (Read 1599 times)

0 Members and 1 Guest are viewing this topic.

Offline ms61

Save crash after a few seconds
« on: August 21, 2016, 04:29:38 PM »
Hello people!

I play on simutrans 112.3 SDL and pak128.

My latest savegame suddenly keeps crashing after loading. Basically I load the save and a few seconds after the game crashes showing me an APPCRASH error.

I would like to use the log and debug command lines but I just can't seem to make it work.

Do I simply put -log 1 -debug 3 after simutrans on my simutrans.exe launcher such as simutrans -log 1 -debug 3.exe?

So far I tried this method and nothing works, I have no log file on the My Documents/Simutrans folder and other command line don't work too (I tried with the -res 1) but the resolution stays the same as in the simuconf file of my pak128 folder....

Thank you in advance for the advices!

ms61

Offline Frank

Re: Save crash after a few seconds
« Reply #1 on: August 21, 2016, 05:39:28 PM »
...
Do I simply put -log 1 -debug 3 after simutrans on my simutrans.exe launcher such as simutrans -log 1 -debug 3.exe?
...

simutrans.exe -log 1 -debug 3

Offline ms61

Re: Save crash after a few seconds
« Reply #2 on: August 21, 2016, 06:18:59 PM »
But then how do I launch simutrans, as its not considered an executable program anymore?

Offline Isaac.Eiland-Hall

  • Benevolent Dictator
  • Administrator
  • *
  • Posts: 3432
  • Total likes: 307
  • Helpful: 90
  • PanamaCityPC.com/support/
    • Facebook Profile
  • Languages: EN
Re: Save crash after a few seconds
« Reply #3 on: August 21, 2016, 06:29:48 PM »
But then how do I launch simutrans, as its not considered an executable program anymore?

I'm a Linux guy these days, so I'm a bit rusty on Windows. You mention a "launcher". Is this a shortcut? If so, in the properties of the shortcut, there's a text field for parameters - or it might be called something else. I forget.

If that doesn't help - you can always open up CLI and run Simutrans that way. Start → Run → "cmd". Change to where Simutrans is installed and run it from the command line. If you're not familiar with CLI, reply here and one of us will try to walk you through it.

Although if this is Steam, that might also make a difference.

Offline ms61

Re: Save crash after a few seconds
« Reply #4 on: August 21, 2016, 06:36:39 PM »
Thank you for your reply Isaac.

I'm talking about the simutrans.exe in the simutrans folder.

However I can try to do the CLI method if I have some guidelines.

Offline Isaac.Eiland-Hall

  • Benevolent Dictator
  • Administrator
  • *
  • Posts: 3432
  • Total likes: 307
  • Helpful: 90
  • PanamaCityPC.com/support/
    • Facebook Profile
  • Languages: EN
Re: Save crash after a few seconds
« Reply #5 on: August 21, 2016, 08:09:35 PM »
To run an executable with parameters requires making a shortcut and adding them there, or to run the executable in CLI.

Once you run "cmd", type "cd \directory\names\go\here" to get to the directory in which Simutrans is installed. Then simply run the command with the parameters: "simutrans.exe -log 1 -debug 3"

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 4804
  • Total likes: 191
  • Helpful: 108
  • Languages: EN, NO
Re: Save crash after a few seconds
« Reply #6 on: August 21, 2016, 08:25:12 PM »
Once you run "cmd", type "cd \directory\names\go\here" to get to the directory in which Simutrans is installed.

Or hold down shift while bringing up the popup menu for the directory Simutrans is in, and selecting "Open command prompt here". (Or whatever it is in the various translations. I might not have gotten the English one right.)

Offline ms61

Re: Save crash after a few seconds
« Reply #7 on: August 21, 2016, 08:49:34 PM »
Thank you very much Ters your instruction worked, I was able to open simutrans with the command line and get a simu.log file which hopefully explains why my save is crashing now after everything went well before.

So as I explained earlier, the latest savegame i'm using crashes a few seconds after loading everytime, however everything was ok until today.

It only happens on this particular.

I'm running Simutrans 112.3 SDL with Pak 128 on windows 7 64-bit

Here is my log file, so if someone could analyze it to detect what is wrong with the savegame?

Thanks in advance!

ms61

Offline DrSuperGood

Re: Save crash after a few seconds
« Reply #8 on: August 22, 2016, 03:15:45 AM »
The log does not really seem that helpful. Would it be possible to upload the save and explain how to reproduce the crash?

Offline ms61

Re: Save crash after a few seconds
« Reply #9 on: August 22, 2016, 07:42:38 PM »
Here is my savegame:

[link deleted]

Basically when you load the save, look at the time, when it reaches between 11:10 and 11:20 the game stops and I have an APPCRASH error message asking me to force close simutrans or find a solution online.....

It only started happening yesterday and I didn't do anything particular on this save other than creating a new busline and adding buses which are similar to those used on the existing lines.

I have another savegame with a much bigger network and huge bus/train/tram fleet on the map and they are running very smoothly, so I don't think its related to the sheer number of vehicles as they are lower than my biggest map...

Thanks in advance for all the help guys!

ms61
« Last Edit: August 23, 2016, 03:24:49 PM by ms61 »

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 4804
  • Total likes: 191
  • Helpful: 108
  • Languages: EN, NO
Re: Save crash after a few seconds
« Reply #10 on: August 22, 2016, 08:03:56 PM »
It appears that you have some add-ons. Without these, I can't load the game.

Offline ms61

Re: Save crash after a few seconds
« Reply #11 on: August 23, 2016, 03:24:28 PM »
Thank you for your reply Ters,

Actually I managed to make the save work again.

I loaded the save, then paused the game and I removed all the buses I assigned to the last line I created and then unpaused the game. Then it went smoothly past the point where the game usually crashes.

Afterwards I reassigned buses to the same bus line and here too it didn't cause any sort of crash.

So maybe it was something related to the vehicles, the schedule or simply an error with the calculations by the game?

Anyway, thanks everyone for the help!

ms61

Offline DrSuperGood

Re: Save crash after a few seconds
« Reply #12 on: August 23, 2016, 03:42:07 PM »
Quote
So maybe it was something related to the vehicles, the schedule or simply an error with the calculations by the game?
If we could re-create the crash then we could find out and fix it!