Page 1 of 1

Tsection 40 throws out TS Tools II

Posted: Wed Oct 21, 2009 3:58 pm
by SDtrains
When I try to load TS Tools II with global TSection version 40 present, I get a Javascript failure. I have reverted to Tesection 38 to get TS Tools II going again.

Re: Tsection 40 throws out TS Tools II

Posted: Wed Oct 21, 2009 7:31 pm
by ianmanson
Hi SDTrains,

I was trying to figure out why tstools wasnt working anymore. Is there any chance you can send me build 38 as i deleted mine?

Re: Tsection 40 throws out TS Tools II

Posted: Thu Oct 22, 2009 11:14 am
by phill70
Just found this :oops:

If need be, (but only if there is no other way of solving this problem) I could upload V38 again, for the time being, if you need a copy of V38 PM me with your email address, and I will send it to you.

Glyn

Re: Tsection 40 throws out TS Tools II

Posted: Thu Oct 22, 2009 11:37 am
by jbilton

Re: Tsection 40 throws out TS Tools II

Posted: Thu Oct 22, 2009 11:44 am
by phill70
Thanks Jon

But I get a 404
Not Found

The requested URL /asw/tsection38.zip was not found on this server.
Apache/2.2.3 (CentOS) Server at download.apsfi.org Port 80

Re: Tsection 40 throws out TS Tools II

Posted: Thu Oct 22, 2009 3:06 pm
by terrycunliffe
I too have found the same problem. :(

Glyn, I'd suggest re-uploading v38 in place of V40 until someone with a knowledge of Java can figure out a solution.

Re: Tsection 40 throws out TS Tools II

Posted: Thu Oct 22, 2009 3:28 pm
by phill70
Uploaded V38, awaiting approval.

 Click to view more informationMSTS Standardized global tsection.dat file Build 00042UK [325489 bytes] - Tsection42UK.zip
File ID: 13758 Date: 05 Jan 2012 - 25066 Downloads


Glyn

Re: Tsection 40 throws out TS Tools II

Posted: Thu Oct 22, 2009 3:29 pm
by phill70
PS
If anyone wants a copy of V40 do as I said above.

Re: Tsection 40 throws out TS Tools II

Posted: Thu Oct 22, 2009 9:11 pm
by jbilton
Hi
Sorry about that seems the French server is down

You can get V37 here

http://www.europeanbahn.co.uk/eb_downloads.htm

or V38 here

http://www.thetrain.de/de/downloadarea/ ... ction-dat/

Cheers
Jon

Re: Tsection 40 throws out TS Tools II

Posted: Fri Oct 23, 2009 12:18 am
by krausyao
I have identified the change in build 40 of tsection.dat that is causing the error with TsTools. The error on startup is java.lang.NullPointerException which is caused by a missing space before a right parenthesis.

find

TrackSection ( 25235
SectionSize ( 1.435 0 )
SectionCurve ( 252.780 4.76)
)

and change to

TrackSection ( 25235
SectionSize ( 1.435 0 )
SectionCurve ( 252.780 4.76 )
)

by adding a space after 4.76.

Jeffrey Kraus-Yao

Re: Tsection 40 throws out TS Tools II

Posted: Fri Oct 23, 2009 11:52 am
by phill70
Thanks Jeff

Just awaiting confirmation that has fixed it.

Re: Tsection 40 throws out TS Tools II

Posted: Fri Oct 23, 2009 12:59 pm
by Buckeye
Hi all
Thanks to krausyao for sorting the tsection.dat V40.
Open tsection 40 and search for shape number 25235 which looks like

TrackSection ( 25235
SectionSize ( 1.435 0 )
SectionCurve ( 252.780 4.76)
)
It should look like this:
TrackSection ( 25235
SectionSize ( 1.435 0 )
SectionCurve ( 252.780 4.76 )
)
Make the change and save, walla TsTools 2 works again.
Although all other versions of TsTools worked fine 1.5 & 1.7
Have fun
Buckeye.

Re: Tsection 40 throws out TS Tools II

Posted: Sat Oct 24, 2009 11:05 am
by phill70
It seems there were a few other errors like that one, I have V41 that will be uploaded today.