Need help with route database

Use this forum if you need help using TSRE.
Archimage
Posts: 118
Joined: 19 Feb 2019, 12:17
Once you told me that if you have time you are able to check the route database for errors in order to help fix the errors if its possible. After my friend placed signals, limits and speedposts in my route some critical bugs with the signal system and some other errors (2-3 tiles are crashing with errors while loading in MSRE but still work in TSRE) appeared. We are not able to find why that happening. Do you have time for that now? And what files do you need? Only tdb or tit too?

User avatar
Goku
Site Admin
Posts: 363
Joined: 15 Jan 2019, 18:10
Location: Poland
Contact:
If it crashes MSRE but not TSRE then complete route is required. Otherwise it won't load in MSRE.

Archimage
Posts: 118
Joined: 19 Feb 2019, 12:17
Goku wrote: 10 Jun 2019, 14:29 If it crashes MSRE but not TSRE then complete route is required. Otherwise it won't load in MSRE.
It loads in MSRE! But if you go or teleport to some tiles it will crash while loading them. So whats needed then?

Archimage
Posts: 118
Joined: 19 Feb 2019, 12:17
Goku wrote: 10 Jun 2019, 14:29 If it crashes MSRE but not TSRE then complete route is required. Otherwise it won't load in MSRE.
I send you an e-mail (from arnorking@mail.ru) with the download link. You can download the whole route and take all the files you need.

User avatar
Goku
Site Admin
Posts: 363
Joined: 15 Jan 2019, 18:10
Location: Poland
Contact:
Thanks. I will check it in the next days.

User avatar
Goku
Site Admin
Posts: 363
Joined: 15 Jan 2019, 18:10
Location: Poland
Contact:
Did your friend used TSRE for placing signals or MSRE?

Can you provide me a coordinates where it crashes MSRE? This route is very big.

User avatar
Goku
Site Admin
Posts: 363
Joined: 15 Jan 2019, 18:10
Location: Poland
Contact:
With TSRE it is easy to destroy route database while placing interactives and removing tracks because TSRE has no error checking tools. If you remove track by mistake with interactives on it, track items will be removed but no world object. If you don't notice it and place more new interactives, it can be bad in the next days.
Next day you will notice this broken world object and remove it, but because now it points to new track items, removing it will destroy another world objects. So this error can propagate like wildfire.
So it is important to be very careful while removing tracks where interactives are placed.

In MSRE it is easier to see this kind of errors because it will simply crash after save or next load.

This topic was discussed on ET but can't find it now. I've made a solution to prevent this wildfire from happening by using this option in settings.txt:

Code: Select all

useTdbEmptyItems = false
With this option it is possible to much easier fix TDB <-> W file sync errors using TSRE.

But first you have to know where these errors are. I've run "TsUtils checkroute" tool and I see that your route has really broken TDB <-> W file synchronization. It looks like it was this way for months or longer and definitely it is not caused only by TSRE.

TSUtil log is a huge mess, but for us the only interesting part is:

Code: Select all

"World-file-integrity of route 'f:\Train Simulator\routes\Odessa_v1.5.1' will be checked and restored!"
In this part only ---> lines are interesting for us, like this one:

Code: Select all

    Integrity of 'w-004926+014683.w' will be checked / established!
 ---> 'Signal(11888)': TrItem-Reference to 'SidingItem'(4327) not allowed!
As you can see, signal world object points to a siding TDB item. So this signal has to be removed. It may be required to remove this siding too.

So, here is the complete list that may cause MSRE to crash or make signals not working:

Code: Select all

    Integrity of 'w-004926+014683.w' will be checked / established!
 ---> 'Signal(11888)': TrItem-Reference to 'SidingItem'(4327) not allowed!

    Integrity of 'w-004937+014674.w' will be checked / established!
 ---> 'Platform(10691)': Reference-Options of TrItemId(1359) contain error! '-1' expected. (ID-Pos=1)
    0 Track-/Road-object-definitions have been modified.

    Integrity of 'w-004938+014673.w' will be checked / established!
 ---> 'Platform(10691)': Reference-Options of TrItemId(1371) contain error! '-1' expected. (ID-Pos=1)
    0 Track-/Road-object-definitions have been modified.

    Integrity of 'w-004940+014670.w' will be checked / established!
 ---> 'Siding(10915)': Reference-Options of TrItemId(1525) contain error! '-1' expected. (ID-Pos=1)
 ---> 'Siding(10916)': Reference-Options of TrItemId(1527) contain error! '-1' expected. (ID-Pos=1)
 ---> 'Siding(10917)': Reference-Options of TrItemId(1529) contain error! '-1' expected. (ID-Pos=1)
 ---> 'Siding(10919)': Reference-Options of TrItemId(1533) contain error! '-1' expected. (ID-Pos=1)
 ---> 'Siding(10920)': Reference-Options of TrItemId(1535) contain error! '-1' expected. (ID-Pos=1)
    0 Track-/Road-object-definitions have been modified.

    Integrity of 'w-004943+014653.w' will be checked / established!
      'Siding(12220)': World-Reference replaced to TrItem with Id(4327)!
    0 Track-/Road-object-definitions have been modified.

    Integrity of 'w-004946+014654.w' will be checked / established!
 ---> 'Siding(10805)': Reference-Options of TrItemId(2204) contain error! '-1' expected. (ID-Pos=1)
 
    Integrity of 'w-004946+014681.w' will be checked / established!
 ---> 'Siding(468)': Reference-Options of TrItemId(4112) contain error! '-1' expected. (ID-Pos=1)
    0 Track-/Road-object-definitions have been modified.

    Integrity of 'w-004949+014657.w' will be checked / established!
 ---> 'Siding(11434)': Reference-Options of TrItemId(3117) contain error! '-1' expected. (ID-Pos=1)
 ---> 'Siding(11430)': Reference-Options of TrItemId(3109) contain error! '-1' expected. (ID-Pos=1)

    Integrity of 'w-004950+014657.w' will be checked / established!
 ---> 'Platform(11408)': Reference-Options of TrItemId(3076) contain error! '-1' expected. (ID-Pos=1)
 
    Integrity of 'w-004963+014667.w' will be checked / established!
      'Speedpost(15836)': World-Reference replaced to TrItem with Id(452)!
      'Speedpost(15838)': World-Reference replaced to TrItem with Id(454)!
      'Speedpost(15839)': World-Reference replaced to TrItem with Id(455)!


    Integrity of 'w-004964+014667.w' will be checked / established!
 ---> 'Platform(15843)': Reference-Options of TrItemId(471) contain error! '-1' expected. (ID-Pos=1)
      'Speedpost(15837)': World-Reference replaced to TrItem with Id(450)!
      'Speedpost(15838)': World-Reference replaced to TrItem with Id(451)!
      'TrackObj(9)': 'JNodePosN' was NOT specified although junction 'A1tPnt3dBLft.s' found!
      'TrackObj(13421)': 'JNodePosN' was NOT specified although junction 'A1tPnt3dBRgtMnl.s' found!
    0 Track-/Road-object-definitions have been modified.

    Integrity of 'w-004964+014668.w' will be checked / established!
      'Speedpost(15836)': World-Reference replaced to TrItem with Id(449)!
      'TrackObj(1)': 'JNodePosN' was NOT specified although junction 'A1tPnt3dBRgt.s' found!
    0 Track-/Road-object-definitions have been modified.

    Integrity of 'w-004964+014669.w' will be checked / established!
    0 Track-/Road-object-definitions have been modified.

    Integrity of 'w-004964+014670.w' will be checked / established!
    0 Track-/Road-object-definitions have been modified.

    Integrity of 'w-004964+014672.w' will be checked / established!
    0 Track-/Road-object-definitions have been modified.

    Integrity of 'w-004964+014673.w' will be checked / established!
    0 Track-/Road-object-definitions have been modified.

    Integrity of 'w-004964+014674.w' will be checked / established!
    0 Track-/Road-object-definitions have been modified.

    Integrity of 'w-004965+014669.w' will be checked / established!
 ---> 'Platform(15831)': Reference-Options of TrItemId(432) contain error! '-1' expected. (ID-Pos=1)

    Integrity of 'w-004965+014670.w' will be checked / established!
      'Speedpost(15823)': World-Reference replaced to TrItem with Id(422)!

    Integrity of 'w-004966+014670.w' will be checked / established!
      'CarSpawner(14840)': World-Reference replaced to TrItem with Id(94)!
      'CarSpawner(14840)': World-Reference replaced to TrItem with Id(95)!
 ---> 'Platform(15844)': Reference-Options of TrItemId(418) contain error! '-1' expected. (ID-Pos=1)
    0 Track-/Road-object-definitions have been modified.

    Integrity of 'w-004966+014671.w' will be checked / established!
      'CarSpawner(13530)': World-Reference replaced to TrItem with Id(92)!
      'CarSpawner(13530)': World-Reference replaced to TrItem with Id(93)!
      'Speedpost(15822)': World-Reference replaced to TrItem with Id(421)!
    0 Track-/Road-object-definitions have been modified.

    Integrity of 'w-004966+014672.w' will be checked / established!
    0 Track-/Road-object-definitions have been modified.

Sound-file-integrity of route 'f:\Train Simulator\routes\Odessa_v1.5.1' will be checked and restored!
    Integrity of 'w-004948+014658.ws' will be checked / established!
 ---> 'Soundregion(100000)': TrItem-Reference to 'SignalItem'(2079) not allowed!
      'Soundregion(100000)': World-Reference replaced to TrItem with Id(2079)!
 ---> 'Soundregion(100000)': TrItem-Reference to 'SignalItem'(2078) not allowed!
      'Soundregion(100000)': World-Reference replaced to TrItem with Id(2078)!
 ---> 'Soundregion(100001)': TrItem-Reference to 'SignalItem'(2081) not allowed!
      'Soundregion(100001)': World-Reference replaced to TrItem with Id(2081)!
 ---> 'Soundregion(100001)': TrItem-Reference to 'SignalItem'(2080) not allowed!
      'Soundregion(100001)': World-Reference replaced to TrItem with Id(2080)!
 ---> 'Soundregion(100002)': TrItem-Reference to 'SignalItem'(2083) not allowed!
      'Soundregion(100002)': World-Reference replaced to TrItem with Id(2083)!
 ---> 'Soundregion(100002)': TrItem-Reference to 'SignalItem'(2082) not allowed!
      'Soundregion(100002)': World-Reference replaced to TrItem with Id(2082)!
 ---> 'Soundregion(100003)': TrItem-Reference to 'SignalItem'(2085) not allowed!
      'Soundregion(100003)': World-Reference replaced to TrItem with Id(2085)!
 ---> 'Soundregion(100003)': TrItem-Reference to 'SignalItem'(2084) not allowed!
      'Soundregion(100003)': World-Reference replaced to TrItem with Id(2084)!
 ---> 'Soundregion(100004)': TrItem-Reference to 'SignalItem'(2087) not allowed!
      'Soundregion(100004)': World-Reference replaced to TrItem with Id(2087)!
 ---> 'Soundregion(100004)': TrItem-Reference to 'SignalItem'(2086) not allowed!
      'Soundregion(100004)': World-Reference replaced to TrItem with Id(2086)!
 ---> 'Soundregion(100005)': TrItem-Reference to 'SignalItem'(2089) not allowed!
      'Soundregion(100005)': World-Reference replaced to TrItem with Id(2089)!
 ---> 'Soundregion(100005)': TrItem-Reference to 'SignalItem'(2088) not allowed!
      'Soundregion(100005)': World-Reference replaced to TrItem with Id(2088)!
 ---> 'Soundregion(100006)': TrItem-Reference to 'SignalItem'(2091) not allowed!
      'Soundregion(100006)': World-Reference replaced to TrItem with Id(2091)!
 ---> 'Soundregion(100006)': TrItem-Reference to 'SignalItem'(2090) not allowed!
      'Soundregion(100006)': World-Reference replaced to TrItem with Id(2090)!
 ---> 'Soundregion(100007)': TrItem-Reference to 'SignalItem'(2093) not allowed!
      'Soundregion(100007)': World-Reference replaced to TrItem with Id(2093)!
 ---> 'Soundregion(100007)': TrItem-Reference to 'SignalItem'(2092) not allowed!
      'Soundregion(100007)': World-Reference replaced to TrItem with Id(2092)!
 ---> 'Soundregion(100008)': TrItem-Reference to 'SignalItem'(2094) not allowed!
      'Soundregion(100008)': World-Reference replaced to TrItem with Id(2094)!
 ---> 'Soundregion(100009)': TrItem-Reference to 'SignalItem'(2095) not allowed!
      'Soundregion(100009)': World-Reference replaced to TrItem with Id(2095)!
 ---> 'Soundregion(100010)': TrItem-Reference to 'SignalItem'(2096) not allowed!
      'Soundregion(100010)': World-Reference replaced to TrItem with Id(2096)!
 ---> 'Soundregion(100011)': TrItem-Reference to 'SignalItem'(2097) not allowed!
      'Soundregion(100011)': World-Reference replaced to TrItem with Id(2097)!
    Integrity of 'w-004958+014664.ws' will be checked / established!
 ---> 'Soundregion(100002)': TrItem-Reference to 'SignalItem'(1044) not allowed!
      'Soundregion(100002)': World-Reference replaced to TrItem with Id(1044)!
 ---> 'Soundregion(100007)': TrItem-Reference to 'SignalItem'(1043) not allowed!
      'Soundregion(100007)': World-Reference replaced to TrItem with Id(1043)!
 ---> 'Soundregion(100008)': TrItem-Reference to 'SignalItem'(1042) not allowed!
      'Soundregion(100008)': World-Reference replaced to TrItem with Id(1042)!
 ---> 'Soundregion(100009)': TrItem-Reference to 'SignalItem'(1803) not allowed!
      'Soundregion(100009)': World-Reference replaced to TrItem with Id(1803)!
 ---> 'Soundregion(100010)': TrItem-Reference to 'SignalItem'(1045) not allowed!
      'Soundregion(100010)': World-Reference replaced to TrItem with Id(1045)!
    Integrity of 'w-004959+014673.ws' will be checked / established!
 ---> 'Soundregion(100000)': TrItem-Reference to 'SignalItem'(2107) not allowed!
      'Soundregion(100000)': World-Reference replaced to TrItem with Id(2107)!
 ---> 'Soundregion(100001)': TrItem-Reference to 'SignalItem'(2108) not allowed!
      'Soundregion(100001)': World-Reference replaced to TrItem with Id(2108)!
 ---> 'Soundregion(100002)': TrItem-Reference to 'SignalItem'(2109) not allowed!
      'Soundregion(100002)': World-Reference replaced to TrItem with Id(2109)!
 ---> 'Soundregion(100003)': TrItem-Reference to 'SignalItem'(2110) not allowed!
      'Soundregion(100003)': World-Reference replaced to TrItem with Id(2110)!
    Integrity of 'w-004966+014670.ws' will be checked / established!
 ---> 'Soundregion(100003)': TrItem-Reference to 'SignalItem'(1176) not allowed!
      'Soundregion(100003)': World-Reference replaced to TrItem with Id(1176)!
 ---> 'Soundregion(100004)': TrItem-Reference to 'SignalItem'(1175) not allowed!
      'Soundregion(100004)': World-Reference replaced to TrItem with Id(1175)!
 ---> 'Soundregion(100005)': TrItem-Reference to 'SignalItem'(1174) not allowed!
      'Soundregion(100005)': World-Reference replaced to TrItem with Id(1174)!
 ---> 'Soundregion(100006)': TrItem-Reference to 'LevelCrItem'(1173) not allowed!
      'Soundregion(100006)': World-Reference replaced to TrItem with Id(1173)!
 ---> 'Soundregion(100007)': TrItem-Reference to 'SignalItem'(1799) not allowed!
      'Soundregion(100007)': World-Reference replaced to TrItem with Id(1799)!
 ---> 'Soundregion(100008)': TrItem-Reference to 'SignalItem'(1800) not allowed!
      'Soundregion(100008)': World-Reference replaced to TrItem with Id(1800)!
 ---> 'Soundregion(100009)': TrItem-Reference to 'SignalItem'(1801) not allowed!
      'Soundregion(100009)': World-Reference replaced to TrItem with Id(1801)!
 ---> 'Soundregion(100010)': TrItem-Reference to 'SignalItem'(1802) not allowed!
      'Soundregion(100010)': World-Reference replaced to TrItem with Id(1802)!
    Integrity of 'w-004966+014671.ws' will be checked / established!
 ---> 'Soundregion(100000)': TrItem-Reference to 'SignalItem'(2053) not allowed!
      'Soundregion(100000)': World-Reference replaced to TrItem with Id(2053)!
 ---> 'Soundregion(100000)': TrItem-Reference to 'SignalItem'(2052) not allowed!
      'Soundregion(100000)': World-Reference replaced to TrItem with Id(2052)!
 ---> 'Soundregion(100000)': TrItem-Reference to 'SignalItem'(2051) not allowed!
      'Soundregion(100000)': World-Reference replaced to TrItem with Id(2051)!
 ---> 'Soundregion(100001)': TrItem-Reference to 'SignalItem'(2056) not allowed!
      'Soundregion(100001)': World-Reference replaced to TrItem with Id(2056)!
 ---> 'Soundregion(100001)': TrItem-Reference to 'SignalItem'(2055) not allowed!
      'Soundregion(100001)': World-Reference replaced to TrItem with Id(2055)!
 ---> 'Soundregion(100001)': TrItem-Reference to 'SignalItem'(2054) not allowed!
      'Soundregion(100001)': World-Reference replaced to TrItem with Id(2054)!
 ---> 'Soundregion(100002)': TrItem-Reference to 'SignalItem'(2059) not allowed!
      'Soundregion(100002)': World-Reference replaced to TrItem with Id(2059)!
 ---> 'Soundregion(100002)': TrItem-Reference to 'SignalItem'(2058) not allowed!
      'Soundregion(100002)': World-Reference replaced to TrItem with Id(2058)!
 ---> 'Soundregion(100002)': TrItem-Reference to 'SignalItem'(2057) not allowed!
      'Soundregion(100002)': World-Reference replaced to TrItem with Id(2057)!
 ---> 'Soundregion(100003)': TrItem-Reference to 'SignalItem'(2062) not allowed!
      'Soundregion(100003)': World-Reference replaced to TrItem with Id(2062)!
 ---> 'Soundregion(100003)': TrItem-Reference to 'SignalItem'(2061) not allowed!
      'Soundregion(100003)': World-Reference replaced to TrItem with Id(2061)!
 ---> 'Soundregion(100003)': TrItem-Reference to 'SignalItem'(2060) not allowed!
      'Soundregion(100003)': World-Reference replaced to TrItem with Id(2060)!
    Integrity of 'w-004966+014672.ws' will be checked / established!
 ---> 'Soundregion(100000)': TrItem-Reference to 'SignalItem'(2047) not allowed!
      'Soundregion(100000)': World-Reference replaced to TrItem with Id(2047)!
 ---> 'Soundregion(100001)': TrItem-Reference to 'SignalItem'(2048) not allowed!
      'Soundregion(100001)': World-Reference replaced to TrItem with Id(2048)!
 ---> 'Soundregion(100002)': TrItem-Reference to 'SignalItem'(2049) not allowed!
      'Soundregion(100002)': World-Reference replaced to TrItem with Id(2049)!
 ---> 'Soundregion(100003)': TrItem-Reference to 'SignalItem'(2050) not allowed!
      'Soundregion(100003)': World-Reference replaced to TrItem with Id(2050)!
There are some other important errors, but I think that they will be fixed when these errors above will be fixed.

User avatar
Goku
Site Admin
Posts: 363
Joined: 15 Jan 2019, 18:10
Location: Poland
Contact:
I have hecked all the tiles with important errors in TsUtils but MSRE does not crash for me there.
Please tell me where it crash.

Archimage
Posts: 118
Joined: 19 Feb 2019, 12:17
Hello! MSRE crashes on -4946, 14680 OR -4946, 14681 dont know exactly at which of them. Also MSRE does not want to normally save -4933, 14681 tile with "error db saving", also dont know why.
And can you give me some of your useful route-fixing tools like "TsUtils checkroute" tool? It will be much faster if i do all the needed things by myself and ask you only those i cant do at all.

User avatar
Goku
Site Admin
Posts: 363
Joined: 15 Jan 2019, 18:10
Location: Poland
Contact:
This tool is available here:
https://www.digital-rails.com/route_riter.html

I think that OR log may be more useful. TsUtils shows too much irrelevant errors.

Also for me, MSRE just won't save your route after modifications. Never saw this kind of a bug.

Post Reply