Page 1 of 1

Won't start third party routes

Unread postPosted: Tue May 28, 2019 10:59 pm
by buzz456
Anyone have any idea what this obscure message is and what to do to fix it?
2019/05/28 22:54:57.053 - [RunTimeError] - Duplicate Scenario GUID in SerializeDatabase
2019/05/28 22:54:57.053 - [RunTimeError] -
2019/05/28 22:54:57.053 - [RunTimeError] - ASSERT(mScenarioMap.find( scenario->getScenarioID() ) == mScenarioMap.end());
2019/05/28 22:54:57.053 - [RunTimeError] -
2019/05/28 22:54:57.053 - [RunTimeError] - cScenarioDatabase::SerializeDatabase()
2019/05/28 22:54:57.053 - [RunTimeError] -
2019/05/28 22:54:57.053 - [RunTimeError] - cScenarioDatabase.cpp : 1244
2019/05/28 22:54:57.053 - [RunTimeError] - Duplicate Scenario GUID in SerializeDatabase
2019/05/28 22:54:57.053 - [RunTimeError] -
2019/05/28 22:54:57.053 - [RunTimeError] - ASSERT(mScenarioMap.find( scenario->getScenarioID() ) == mScenarioMap.end());
2019/05/28 22:54:57.053 - [RunTimeError] -
2019/05/28 22:54:57.053 - [RunTimeError] - cScenarioDatabase::SerializeDatabase()
2019/05/28 22:54:57.053 - [RunTimeError] -
2019/05/28 22:54:57.053 - [RunTimeError] - cScenarioDatabase.cpp : 1244
2019/05/28 22:54:57.053 - [RunTimeError] - Duplicate Scenario GUID in SerializeDatabase
2019/05/28 22:54:57.053 - [RunTimeError] -
2019/05/28 22:54:57.053 - [RunTimeError] - ASSERT(mScenarioMap.find( scenario->getScenarioID() ) == mScenarioMap.end());
2019/05/28 22:54:57.053 - [RunTimeError] -
2019/05/28 22:54:57.053 - [RunTimeError] - cScenarioDatabase::SerializeDatabase()
2019/05/28 22:54:57.053 - [RunTimeError] -
2019/05/28 22:54:57.053 - [RunTimeError] - cScenarioDatabase.cpp : 1244
2019/05/28 22:54:57.053 - [RunTimeError] - Duplicate Scenario GUID in SerializeDatabase
2019/05/28 22:54:57.053 - [RunTimeError] -
2019/05/28 22:54:57.053 - [RunTimeError] - ASSERT(mScenarioMap.find( scenario->getScenarioID() ) == mScenarioMap.end());
2019/05/28 22:54:57.053 - [RunTimeError] -
2019/05/28 22:54:57.053 - [RunTimeError] - cScenarioDatabase::SerializeDatabase()
2019/05/28 22:54:57.053 - [RunTimeError] -
2019/05/28 22:54:57.053 - [RunTimeError] - cScenarioDatabase.cpp : 1244
2019/05/28 22:54:57.053 - [RunTimeError] - Duplicate Scenario GUID in SerializeDatabase
2019/05/28 22:54:57.053 - [RunTimeError] -
2019/05/28 22:54:57.053 - [RunTimeError] - ASSERT(mScenarioMap.find( scenario->getScenarioID() ) == mScenarioMap.end());
2019/05/28 22:54:57.053 - [RunTimeError] -
2019/05/28 22:54:57.053 - [RunTimeError] - cScenarioDatabase::SerializeDatabase()
2019/05/28 22:54:57.053 - [RunTimeError] -
2019/05/28 22:54:57.053 - [RunTimeError] - cScenarioDatabase.cpp : 1244
2019/05/28 22:54:57.053 - [RunTimeError] - Duplicate Scenario GUID in SerializeDatabase
2019/05/28 22:54:57.053 - [RunTimeError] -
2019/05/28 22:54:57.053 - [RunTimeError] - ASSERT(mScenarioMap.find( scenario->getScenarioID() ) == mScenarioMap.end());
2019/05/28 22:54:57.053 - [RunTimeError] -
2019/05/28 22:54:57.053 - [RunTimeError] - cScenarioDatabase::SerializeDatabase()
2019/05/28 22:54:57.053 - [RunTimeError] -
2019/05/28 22:54:57.053 - [RunTimeError] - cScenarioDatabase.cpp : 1244
2019/05/28 22:54:57.053 - [RunTimeError] - Duplicate Scenario GUID in SerializeDatabase
2019/05/28 22:54:57.053 - [RunTimeError] -
2019/05/28 22:54:57.053 - [RunTimeError] - ASSERT(mScenarioMap.find( scenario->getScenarioID() ) == mScenarioMap.end());
2019/05/28 22:54:57.053 - [RunTimeError] -
2019/05/28 22:54:57.053 - [RunTimeError] - cScenarioDatabase::SerializeDatabase()
2019/05/28 22:54:57.053 - [RunTimeError] -
2019/05/28 22:54:57.053 - [RunTimeError] - cScenarioDatabase.cpp : 1244

Re: Won't start third party routes

Unread postPosted: Tue May 28, 2019 11:18 pm
by Chacal
Looks like you installed a route which has scenarios that are duplicates of existing scenarios.
Hence the game is complaining about duplicate scenario IDs. Scenario IDs are the long string of numbers and letters making the name of scenario folders.
Maybe you installed a new version of a route and both versions have the same scenarios?
In any case, you have to get rid of the duplicates. There can be only one!

It may be difficult to find the duplicates. I published a script for this here:
http://railworksamerica.com/index.php/l ... dup_script

The script is harmless, it doesn't make any changes.

Re: Won't start third party routes

Unread postPosted: Wed May 29, 2019 2:41 am
by BoostedFridge
This pops up when loading a scenario?

Re: Won't start third party routes

Unread postPosted: Wed May 29, 2019 8:07 am
by buzz456
BoostedFridge wrote:This pops up when loading a scenario?

Yes.

Re: Won't start third party routes

Unread postPosted: Wed May 29, 2019 6:54 pm
by buzz456
Chacal wrote:Looks like you installed a route which has scenarios that are duplicates of existing scenarios.
Hence the game is complaining about duplicate scenario IDs. Scenario IDs are the long string of numbers and letters making the name of scenario folders.
Maybe you installed a new version of a route and both versions have the same scenarios?
In any case, you have to get rid of the duplicates. There can be only one!

It may be difficult to find the duplicates. I published a script for this here:
http://railworksamerica.com/index.php/l ... dup_script

The script is harmless, it doesn't make any changes.


I'm getting this message.
system.jpg

Re: Won't start third party routes

Unread postPosted: Wed May 29, 2019 9:02 pm
by Chacal
Make sure the vbs file has been [url]extracted[/url] to the folder, a real folder, not a zip that looks like a folder.
If it is, please post the log file somewhere and send me a link. I'll have a look at it.

Re: Won't start third party routes

Unread postPosted: Thu May 30, 2019 9:30 am
by buzz456
Chacal wrote:Make sure the vbs file has been [url]extracted[/url] to the folder, a real folder, not a zip that looks like a folder.
If it is, please post the log file somewhere and send me a link. I'll have a look at it.


I'll do that but problem solved somehow. First I created and new content folder and only put one route in there. One of the ones that wouldn't load. Started TS went to open a scenario in that route and TS froze up annd gave me the "You are Dead" message we've all seen a hundred times. So I went in and wiped out everything in the content folder except the route folder and the PlayerProfiles.bin and then re-acquired those files through the verify local folders. It said I had 1801 files missing but only took a few minutes to re-acquire.
I put the original route file back in started the game and Zhazaam ! everything is fine again.

Re: Won't start third party routes

Unread postPosted: Thu May 30, 2019 10:41 am
by mindenjohn
My wife (the font of all wisdom (so she tells me)) says that everything happens for a reason(!). Very true but the problem is usually that we don’t know the reason!!

Re: Won't start third party routes

Unread postPosted: Thu May 30, 2019 3:22 pm
by Chacal
Good detective work.
Probably the route you deleted was the one with the duplicate scenarios.

Re: Won't start third party routes

Unread postPosted: Thu May 30, 2019 4:58 pm
by buzz456
Chacal wrote:Good detective work.
Probably the route you deleted was the one with the duplicate scenarios.

Yes but as far as content I stuck the original route folder back in when I got done so I think it was something goofed up in the content folder other than the routes themselves. Maybe not so good a detective as a good trial and error. :D

Re: Won't start third party routes

Unread postPosted: Thu May 30, 2019 6:54 pm
by BoostedFridge
buzz456 wrote:
Chacal wrote: Maybe not so good a detective as a good trial and error. :D


That is still part of the scientific process !!det!!