Syntax error blues (VE197 and other strange issues)

TrainGuy58

Your Average Trainzer
So the other day while playing Trainz, I found that spawning any and all content caused the game to abruptly crash for no warning. The strangest thing, however, is that this problem seems to affect all of the assets I have. After doing some checking I found the main culprits:
- <kuid:30501:1017> : VE197: Syntax error in script 'multiplayerlobbyservlet.gs' for asset <kuid:30501:1017> "Multiplayer Lobby Servlet"

- <kuid:30501:1017> : VE220: Could not read file multiplayersessionmanagerbase.gs.


I already attempted a few database repairs but they seem to have not done anything. Any potential solutions to this?
 
<kuid:30501:1017> is a builtin asset, and the status in ContentManager should show Base. If the status showing anything different, Revert to Original. If this doesn't fix the problem, check all dependencies of the asset. They should have a status of Base too. Revert to Original if they have any other status. The dependencies are:
<kuid:30501:1010> Multiplayer Lobby Library
<kuid:30501:1020> Multiplayer Session Manager Library
<kuid:30501:1012> iTrainz Servlet Support Library
<kuid:30501:1017> Multiplayer Lobby Servlet
<kuid:30501:100003> iTrainz Servlet Event Library

Peter
 
which-one-lt-cmdr-data.gif
 
<kuid:30501:1017> is a builtin asset, and the status in ContentManager should show Base. If the status showing anything different, Revert to Original. If this doesn't fix the problem, check all dependencies of the asset. They should have a status of Base too. Revert to Original if they have any other status. The dependencies are:
<kuid:30501:1010> Multiplayer Lobby Library
<kuid:30501:1020> Multiplayer Session Manager Library
<kuid:30501:1012> iTrainz Servlet Support Library
<kuid:30501:1017> Multiplayer Lobby Servlet
<kuid:30501:100003> iTrainz Servlet Event Library

Peter
Checked all the following plus the base asset and they all still show as Base, with no option to revert to original. I fear I may have to completely reinstall the game and lose my content in the process, which I hope things don't come to that.
 
Did another EDR and still nothing. This is ridiculous. Also attempted to force delete everything in cache\libraries so it had a chance to rebuild and guess what? No dice there either. I'm honestly at a loss. I apologize for my harsh and blunt tone but this is probably the most frustrating issue I've ever come across. Not giving up just yet, but my patience is being sorely tested.
 
Did another EDR and still nothing. This is ridiculous. Also attempted to force delete everything in cache\libraries so it had a chance to rebuild and guess what? No dice there either. I'm honestly at a loss. I apologize for my harsh and blunt tone but this is probably the most frustrating issue I've ever come across. Not giving up just yet, but my patience is being sorely tested.
Try this:

Create an empty folder.
Start Trainz.
At the Launcher, click on Trainz Settings.
Click on the Install tab.
Click on the ... on the right.

An Explorer window will open up...

Browse to your new folder.
Click on the folder and choose Select.

Trainz will want to restart so do so.

When it starts, it'll want to set up the graphics all over again. You can skip that.
Go into Trainz settings and Internet tab and put in your username and password as required.

Restart as required.

Run Trainz.

Does it work?

If it does, then it's something wrong with your data. If it does not, then it's something wrong with the program.

If it's something wrong with your program, you won't lose anything by reinstalling. After you reinstall, go through the motions of letting Trainz create a new data-folder.

Once everything is setup, click on Trainz Settings and the Install tab and browse to and select your data-folder.

The program will want to restart. Since you already have your login and graphics settings setup, you'll be up and running quickly.

As always, we more than recommend making a backup of your Trainz data-folder prior to doing anything and backups should be made on a frequent basis. Should something go wrong, a backup will make recovery an easily process.
 
Try this:

Create an empty folder.
Start Trainz.
At the Launcher, click on Trainz Settings.
Click on the Install tab.
Click on the ... on the right.

An Explorer window will open up...

Browse to your new folder.
Click on the folder and choose Select.

Trainz will want to restart so do so.

When it starts, it'll want to set up the graphics all over again. You can skip that.
Go into Trainz settings and Internet tab and put in your username and password as required.

Restart as required.

Run Trainz.

Does it work?

If it does, then it's something wrong with your data. If it does not, then it's something wrong with the program.

If it's something wrong with your program, you won't lose anything by reinstalling. After you reinstall, go through the motions of letting Trainz create a new data-folder.

Once everything is setup, click on Trainz Settings and the Install tab and browse to and select your data-folder.

The program will want to restart. Since you already have your login and graphics settings setup, you'll be up and running quickly.

As always, we more than recommend making a backup of your Trainz data-folder prior to doing anything and backups should be made on a frequent basis. Should something go wrong, a backup will make recovery an easily process.
Did this and there appears to have been no issues with the content afterwards. I have a lot of installed third party content I can't afford to lose, however. If I follow the instructions to get my stuff back as linked on the Trainz wiki, then in theory should I be able to get everything back?
 
Did this and there appears to have been no issues with the content afterwards. I have a lot of installed third party content I can't afford to lose, however. If I follow the instructions to get my stuff back as linked on the Trainz wiki, then in theory should I be able to get everything back?
Apparently, the program was corrupted somehow and your content is fine.

That's correct. Your content folder is separate from your program.

I recommend two things.

1) Rename your data-folder, meaning the build xxxxxx folder found in the C:Users/%profile%\App Data/N3V Games path to something else.

I call my TRS22 dat-folder TRS22_DATA, TRS-Plus data is PLUS_DATA. The reason for caps is so I don't delete it by mistake and it's obvious what it is.

2) Move your Trainz data folder to another hard drive if you can do that.

I have mine on my F: drive. The reason for this is in case something happens to your boot drive where the data is located you won't lose your Trainz data.

The program can always be reinstalled and content can be downloaded again from the DLS, but what hurts the most is losing your own creations such as routes and sessions that you've worked on for sometimes years. It's this reason too why backups are important. By placing your content folder in an easy-to-reach location, this makes backing up data much easier. An inexpensive external hard drive will go a long way for this and is worth more than its cost when you need to restore everything.
 
Apparently, the program was corrupted somehow and your content is fine.

That's correct. Your content folder is separate from your program.

I recommend two things.

1) Rename your data-folder, meaning the build xxxxxx folder found in the C:Users/%profile%\App Data/N3V Games path to something else.

I call my TRS22 dat-folder TRS22_DATA, TRS-Plus data is PLUS_DATA. The reason for caps is so I don't delete it by mistake and it's obvious what it is.

2) Move your Trainz data folder to another hard drive if you can do that.

I have mine on my F: drive. The reason for this is in case something happens to your boot drive where the data is located you won't lose your Trainz data.

The program can always be reinstalled and content can be downloaded again from the DLS, but what hurts the most is losing your own creations such as routes and sessions that you've worked on for sometimes years. It's this reason too why backups are important. By placing your content folder in an easy-to-reach location, this makes backing up data much easier. An inexpensive external hard drive will go a long way for this and is worth more than its cost when you need to restore everything.
Thank you very much for helping out. As a matter of fact, my content is actually located on an external drive where it’s all intact. I don’t have computer access until tomorrow, but I’ll reinstall the game. And fortunately, I don’t have any user-created sessions, so those are no big deal either.
 
Thank you very much for helping out. As a matter of fact, my content is actually located on an external drive where it’s all intact. I don’t have computer access until tomorrow, but I’ll reinstall the game. And fortunately, I don’t have any user-created sessions, so those are no big deal either.
You're welcome. Feel free to ask questions any time.
 
Back
Top