Broken savegame - referencing invalid vehicle

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
joostvdl
Engineer
Engineer
Posts: 4
Joined: 10 Sep 2012 20:44

Broken savegame - referencing invalid vehicle

Post by joostvdl »

Hi,
One of my savegames is broken. openttd refuses the load it and says there is a reference to an invalid vehicle.
The last modification that I made was with openttd 1.2.1

Can anyone help me to solve this issue with this savegame?
I also would like to know how to prevent this from happening. Would it be useful to replace all vehicles?

Thanks
Joost
Attachments
Linden Transport, Inc, 12th Dec 2082.zip
broken savegame
(141.74 KiB) Downloaded 112 times
Linden Transport, Inc, 29th Jul 2081.zip
before it broke
(140.62 KiB) Downloaded 93 times
Supercheese
Tycoon
Tycoon
Posts: 1660
Joined: 16 Dec 2007 22:24
Location: Idaho, USA

Re: Broken savegame - referencing invalid vehicle

Post by Supercheese »

joostvdl wrote:I also would like to know how to prevent this from happening.
Don't change GRFs in a running game?

(If that's what you did, anyway.)
Eyecandy Road Vehicles | Fake Subways | Supercheese's NewObjects

"Fashions and cultures change, but steam trains shall always be majestic."
-Professor Hershel Layton
Arie-
Director
Director
Posts: 593
Joined: 20 Jan 2009 16:07

Re: Broken savegame - referencing invalid vehicle

Post by Arie- »

If I open your 2081 save game and fast forward it to 2083 I don't run into any issues. So the question here is, what did you do/change between the two save games?
joostvdl
Engineer
Engineer
Posts: 4
Joined: 10 Sep 2012 20:44

Re: Broken savegame - referencing invalid vehicle

Post by joostvdl »

I cloned one of the trains few times, and I sold a train. I sold the engine first, after that I sold the wagons.
I can´t remember if it was one of the new trains or an old one.
I modified some of the stations. Also I used combo-signals (electric) for the first time.

I haven't changed any GRF's

Hope you can help.
frosch
OpenTTD Developer
OpenTTD Developer
Posts: 991
Joined: 20 Dec 2006 13:31
Location: Aschaffenburg

Re: Broken savegame - referencing invalid vehicle

Post by frosch »

Here's your savegame again. Somewhat fixed.
Please check whether there is something wrong with trains 4, 6, 10, 13, 22 or 24. Esp. wrt. their orders.

Did you use shared orders at any point?

Edit: The first fix was not quite correct. Uploaded a new fixed savegame.
Attachments
topic62607_fixed2.sav
fixed savegame
(141.49 KiB) Downloaded 106 times
⢇⡸⢸⠢⡇⡇⢎⡁⢎⡱⢸⡱⢸⣭⠀⢸⢜⢸⢸⣀⢸⣀⢸⣭⢸⡱⠀⢰⠭⡆⣫⠰⣉⢸⢸⠀⢰⠭⡆⡯⡆⢹⠁⠀⢐⠰⡁
frosch
OpenTTD Developer
OpenTTD Developer
Posts: 991
Joined: 20 Dec 2006 13:31
Location: Aschaffenburg

Re: Broken savegame - referencing invalid vehicle

Post by frosch »

Turns out the savegame is still corrupt.

Do you still have a savegame from before you switched from 0.6 to 1.2.1?
The game was either broken in that savegame conversion, or it was already broken before due to a bug fixed 5 years ago :p
⢇⡸⢸⠢⡇⡇⢎⡁⢎⡱⢸⡱⢸⣭⠀⢸⢜⢸⢸⣀⢸⣀⢸⣭⢸⡱⠀⢰⠭⡆⣫⠰⣉⢸⢸⠀⢰⠭⡆⡯⡆⢹⠁⠀⢐⠰⡁
joostvdl
Engineer
Engineer
Posts: 4
Joined: 10 Sep 2012 20:44

Re: Broken savegame - referencing invalid vehicle

Post by joostvdl »

Hi frosch,

Thanks for the repair. I was able to open the savegame, and I'll check the trains you mentioned.
If I want to fix the problems, can't I just delete the trains and make new ones with new orders?

I´m not familiar with shared orders, so I haven't used them unless by accident :-)
The attached savegame is the only savegame that I have prior to 1.2.1

The savegame was a created a long time ago with the original TTD

Thanks
Joost
Attachments
Linden Transport, Inc, 15th Oct 2070.zip
savegame from before 1.2.1
(141.3 KiB) Downloaded 98 times
frosch
OpenTTD Developer
OpenTTD Developer
Posts: 991
Joined: 20 Dec 2006 13:31
Location: Aschaffenburg

Re: Broken savegame - referencing invalid vehicle

Post by frosch »

Even that 0.6 savegame is already broken.

If you continue to play the "somewhat fixed" game, make sure to never sell or crash any vehicles. Or the problem will appear again. (unless you sell all vehicles)
⢇⡸⢸⠢⡇⡇⢎⡁⢎⡱⢸⡱⢸⣭⠀⢸⢜⢸⢸⣀⢸⣀⢸⣭⢸⡱⠀⢰⠭⡆⣫⠰⣉⢸⢸⠀⢰⠭⡆⡯⡆⢹⠁⠀⢐⠰⡁
joostvdl
Engineer
Engineer
Posts: 4
Joined: 10 Sep 2012 20:44

Re: Broken savegame - referencing invalid vehicle

Post by joostvdl »

I sold all vehicles, and that solved the issue for me.
balthazar3072
Engineer
Engineer
Posts: 3
Joined: 22 Sep 2012 23:57

Re: Broken savegame - referencing invalid vehicle

Post by balthazar3072 »

Hello Mr. Frosch

i have very big appeal. I have Big wish, I play this game, from the game start on market, its my favourite... Its long time ago, when game started :D

But now, i play 3 days in 1 cycle, and savimg and saving, but my save game is broken. I play about 100 year, and i can load 100 back, that is very bad for me and my nerv :-(

I can open it, classic fail . ¨ - referencing invalid vehicle . :( :( :(

Can you plese help me? You will be so kind, to help me repair it.


Thank you so much.

(save game is in attachement)

George
Attachments
N_W_R, 22. pro 2274.sav
(220.21 KiB) Downloaded 100 times
balthazar3072
Engineer
Engineer
Posts: 3
Joined: 22 Sep 2012 23:57

Re: Broken savegame - referencing invalid vehicle

Post by balthazar3072 »

im sorry i send it three times :-) im from czech, i dont speak english very well. sorry
User avatar
Hyronymus
Tycoon
Tycoon
Posts: 13235
Joined: 03 Dec 2002 10:36
Location: The Netherlands
Contact:

Re: Broken savegame - referencing invalid vehicle

Post by Hyronymus »

balthazar3072 wrote:im sorry i send it three times :-) im from czech, i dont speak english very well. sorry
No you haven't ;).
frosch
OpenTTD Developer
OpenTTD Developer
Posts: 991
Joined: 20 Dec 2006 13:31
Location: Aschaffenburg

Re: Broken savegame - referencing invalid vehicle

Post by frosch »

Looks like the same case as the other save. Somewhen broken and fixed before 0.6.
Attachments
topic62607_balthazar_fixed.sav
fixed save
(220.05 KiB) Downloaded 103 times
⢇⡸⢸⠢⡇⡇⢎⡁⢎⡱⢸⡱⢸⣭⠀⢸⢜⢸⢸⣀⢸⣀⢸⣭⢸⡱⠀⢰⠭⡆⣫⠰⣉⢸⢸⠀⢰⠭⡆⡯⡆⢹⠁⠀⢐⠰⡁
balthazar3072
Engineer
Engineer
Posts: 3
Joined: 22 Sep 2012 23:57

Re: Broken savegame - referencing invalid vehicle

Post by balthazar3072 »

frosch wrote:Looks like the same case as the other save. Somewhen broken and fixed before 0.6.
Thank you so much Frosch !!! . its working ! how do you like my very old game...

if you loaded, you see the train, 379 years old - i cant do anything with it. it say . train neet troley ... its stucked forever...

Can it happend in future again ?


what i can do fot fix ?


George
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: No registered users and 2 guests