I spent hours working on updating a script file for the <kuid2:124017:5006:8> Mill Gondola, 52', WL&G (5700 series), and I got the script updated , and removed the obsolete issues and it works perfectly until I clone it or even make a new asset from it.
I also tried just making a new asset from the original with no changes to the any of the files.
The original will be working perfectly, and when it is cloned it becomes broken creating the RED Bug error warning.
The Trainz 2019, & 2022 will not allow a clone, or new asset to be created with the script files, acts like it is doing a DRM stop issue that disables the scripts.
Her is the result of making a new exact asset! The script gets broken. RED Bug error
---------------------------------------------------
I Did not put the smiley faces in this report. When I saved this to the forum the smiley faces appeared.
The Faces are replacing the Playsound lines and the DecoupleHoses
- <kuid2:95230:120989:3> : empty string at parameter 2 (file world.gs)
; <kuid2:95230:120989:3> : Script class: FCA52Gondola
; <kuid2:95230:120989:3> : MeshObject: <kuid2:95230:120989:3> "Mill Gondola,52'(5700 LLT Series) HD"
; <kuid2:95230:120989:3> : Script callstack
; <kuid2:95230:120989:3> : function $float@WorldlaySound(Asset,string,float,float,float,GameObject,string,bool), line -1
; <kuid2:95230:120989:3> : function $float@WorldlaySound(Asset,string,float,float,float,GameObject,string), line 643
; <kuid2:95230:120989:3> : function $void@FCA52GondolaecoupleHoses(int,bool), line 134
; <kuid2:95230:120989:3> : function $void@FCA52Gondola::CarMonitor(), line 294
- <kuid2:95230:120989:3> : File world.gs, Line 643, ER_Exception
; <kuid2:95230:120989:3> : Script class: FCA52Gondola
; <kuid2:95230:120989:3> : MeshObject: <kuid2:95230:120989:3> "Mill Gondola,52'(5700 LLT Series) HD"
; <kuid2:95230:120989:3> : Script callstack
; <kuid2:95230:120989:3> : function $float@WorldlaySound(Asset,string,float,float,float,GameObject,string), line 643
; <kuid2:95230:120989:3> : function $void@FCA52GondolaecoupleHoses(int,bool), line 134
; <kuid2:95230:120989:3> : function $void@FCA52Gondola::CarMonitor(), line 294
This is reported when I check for errors.
----------------------------------------------
; <kuid2:95230:120989:3> : Script Compile
; <kuid2:95230:120989:3> : TrainzBaseSpec::CacheScript> <kuid2:95230:120989:3> hierarchy not builtin
; <kuid2:95230:120989:3> : Compiling script 'fca52gondola.gs' for asset <kuid2:95230:120989:3> "Mill Gondola,52'(5700 LLT Series) HD"
; <kuid2:95230:120989:3> : CacheScripts> finished compiling 'fca52gondola.gs' to 'C:/Users/Jon/AppData/Local/N3V Games/trs22/build sx69x2411/cache/libraries/kuid2 95230 120989 3/e287d70c95a202bc.gsl'
This one happens with the Maddy25's intersections of the yarn library. Trainz create a new asset breaks the <kuid2:124017:40002:3> YARN Library.
Then this error happens
Error: PropertyBrowserRefresh() not handled
I also tried just making a new asset from the original with no changes to the any of the files.
The original will be working perfectly, and when it is cloned it becomes broken creating the RED Bug error warning.
The Trainz 2019, & 2022 will not allow a clone, or new asset to be created with the script files, acts like it is doing a DRM stop issue that disables the scripts.
Her is the result of making a new exact asset! The script gets broken. RED Bug error
---------------------------------------------------
I Did not put the smiley faces in this report. When I saved this to the forum the smiley faces appeared.
The Faces are replacing the Playsound lines and the DecoupleHoses
- <kuid2:95230:120989:3> : empty string at parameter 2 (file world.gs)
; <kuid2:95230:120989:3> : Script class: FCA52Gondola
; <kuid2:95230:120989:3> : MeshObject: <kuid2:95230:120989:3> "Mill Gondola,52'(5700 LLT Series) HD"
; <kuid2:95230:120989:3> : Script callstack
; <kuid2:95230:120989:3> : function $float@WorldlaySound(Asset,string,float,float,float,GameObject,string,bool), line -1
; <kuid2:95230:120989:3> : function $float@WorldlaySound(Asset,string,float,float,float,GameObject,string), line 643
; <kuid2:95230:120989:3> : function $void@FCA52GondolaecoupleHoses(int,bool), line 134
; <kuid2:95230:120989:3> : function $void@FCA52Gondola::CarMonitor(), line 294
- <kuid2:95230:120989:3> : File world.gs, Line 643, ER_Exception
; <kuid2:95230:120989:3> : Script class: FCA52Gondola
; <kuid2:95230:120989:3> : MeshObject: <kuid2:95230:120989:3> "Mill Gondola,52'(5700 LLT Series) HD"
; <kuid2:95230:120989:3> : Script callstack
; <kuid2:95230:120989:3> : function $float@WorldlaySound(Asset,string,float,float,float,GameObject,string), line 643
; <kuid2:95230:120989:3> : function $void@FCA52GondolaecoupleHoses(int,bool), line 134
; <kuid2:95230:120989:3> : function $void@FCA52Gondola::CarMonitor(), line 294
This is reported when I check for errors.
----------------------------------------------
; <kuid2:95230:120989:3> : Script Compile
; <kuid2:95230:120989:3> : TrainzBaseSpec::CacheScript> <kuid2:95230:120989:3> hierarchy not builtin
; <kuid2:95230:120989:3> : Compiling script 'fca52gondola.gs' for asset <kuid2:95230:120989:3> "Mill Gondola,52'(5700 LLT Series) HD"
; <kuid2:95230:120989:3> : CacheScripts> finished compiling 'fca52gondola.gs' to 'C:/Users/Jon/AppData/Local/N3V Games/trs22/build sx69x2411/cache/libraries/kuid2 95230 120989 3/e287d70c95a202bc.gsl'
This one happens with the Maddy25's intersections of the yarn library. Trainz create a new asset breaks the <kuid2:124017:40002:3> YARN Library.
Then this error happens
Error: PropertyBrowserRefresh() not handled
Last edited: