Page 1 of 3 123 LastLast
Results 1 to 10 of 29

Thread: Activity Editor - Issues Loading Traffic in Simulation

  1. #1

    Post Activity Editor - Issues Loading Traffic in Simulation

    All,

    I have recently started using TSRE in an attempt to make new activities. So far my first impressions of both the consist and route editor are extremely positive. The interface and overall construction of both programs are far and away superior to the original MSTS AE. Through some playing around in the activity editor, I've been able to find most of what I could do in MSTS AE.

    There is, however, one issue I have come across. I have made an activity with some AI traffic, including a train that is to spawn right before the simulation starts a couple miles from the player spawn location. The activity itself loads fine into OpenRails. However, the AI train that is supposed to be near isn't showing as active in the route when I start the simulation. It is only the player train. Based on what I can tell, there aren't any issues with paths or consists that would interfere with the AI train spawning.

    The TSRE version I'm running is 0.6958. Any tips or suggestions to alleviate this issue would be much appreciated!

    EK

  2. #2
    Join Date
    Feb 2013
    Location
    known universe
    Posts
    2,983

    Default

    The only help I can offer, is to check the log...when AI trains don't spawn, OR usually has something in the log.
    Cheers, Gerry
    It's my railroad and I'll do what I want! Historically accurate attitude of US Railroad Barons.
    Forever, ridin' drag in railroad knowledge.


  3. #3

    Default

    Gerry,

    Below I've copied some details from the OpenRails log. I'm not seeing anything specifically related to AI traffic, but maybe it can shed some light on issues.

    "------------ ---------- ------------ ---------- ------------ ---------- --------
    Mode = activity
    Route = MLT's Roger's Pass
    Activity = EKRP - CP 302 (C:\1MSTS\ROUTES\RogersPass\ACTIVITIES\EKRP - CP 302.act)
    ------------ ---------- ------------ ---------- ------------ ---------- --------
    Loading TRK TDB SIGCFG DAT ACT RDB

    Warning: Track node 37 pin 0 has invalid link to track node 0 in C:\1MSTS\ROUTES\RogersPass\RogersPass.rdb:line 283

    Warning: Track node 54 pin 0 has invalid link to track node 0 in C:\1MSTS\ROUTES\RogersPass\RogersPass.rdb:line 408

    Warning: Track node 75 pin 0 has invalid link to track node 0 in C:\1MSTS\ROUTES\RogersPass\RogersPass.rdb:line 559

    Warning: Track node 78 pin 0 has invalid link to track node 0 in C:\1MSTS\ROUTES\RogersPass\RogersPass.rdb:line 580

    CARSPAWN SIGSCR W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) WWWW ENV SIGCFG SIGCFG TTYPE

    Warning: System.InvalidOperationException: Category does not exist.
    at System.Diagnostics.PerformanceCounterLib.GetCatego rySample(String machine, String category)
    at System.Diagnostics.PerformanceCounterCategory.GetC ounterInstances(String categoryName, String machineName)
    at System.Diagnostics.PerformanceCounterCategory.GetI nstanceNames()
    at Orts.Viewer3D.Popups.HUDWindow..ctor(WindowManager owner) in E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Popup s\HUDWindow.cs:line 94
    at Orts.Viewer3D.Viewer.Initialize() in E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Viewe r.cs:line 410
    at Orts.Viewer3D.Viewer..ctor(Simulator simulator, Game game) in E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Viewe r.cs:line 311
    at Orts.Viewer3D.Processes.GameStateRunActivity.Start (UserSettings settings, String acttype, String[] args) in E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Proce sses\GameStateRunActivity.cs:line 315
    at Orts.Viewer3D.Processes.GameStateRunActivity.<>c__ DisplayClass35_0.<Load>b__3() in E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Proce sses\GameStateRunActivity.cs:line 160
    at Orts.Viewer3D.Processes.GameStateRunActivity.Load( ) in E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Proce sses\GameStateRunActivity.cs:line 200
    at Orts.Viewer3D.Processes.LoaderProcess.Load() in E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Proce sses\LoaderProcess.cs:line 158
    at Orts.Viewer3D.Processes.LoaderProcess.DoLoad() in E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Proce sses\LoaderProcess.cs:line 138
    at Orts.Viewer3D.Processes.LoaderProcess.LoaderThread () in E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Proce sses\LoaderProcess.cs:line 109
    at System.Threading.ThreadHelper.ThreadStart_Context( Object state)
    at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state)
    at System.Threading.ThreadHelper.ThreadStart()


    Warning: Unable to access Microsoft .NET Framework performance counters. This may be resolved by following the instructions at http://support.microsoft.com/kb/300956

    Information: Allocation for 87,500 particles:

    14,000,000 B RAM vertex data
    2,100,000 B RAM index data (temporary)
    14,000,000 B VRAM DynamicVertexBuffer
    2,100,000 B VRAM IndexBuffer

    TTTTTTTTTTTTTTTTTTLLLLLLLLLLLLLLLWWWSSSSSSSSSSWWWW WSSSSS TRP(default) S(repeats) SSSSSSSSSSSSSSSWWWWSSW S(repeats) S(repeats) SSSSSSSSSSSSSSSSSS$WWWWSSSSSSSSSSSSSSSWSSSSS$WWWWS WSSSSSSSSSSSS$WWCS

    Warning: 4 missing Stream(s) in C:\1MSTS\trains\trainset\SLI_CP_ES44AC\sound\..\.. \MC.SND\MC_ES44V4\K5HLL_ES44ACcab.sms:line 313

    Warning: Expected depth 0; got depth 2 at end of file (missing ')'?) in C:\1MSTS\trains\trainset\SLI_CP_ES44AC\sound\..\.. \MC.SND\MC_ES44V4\K5HLL_ES44ACcab.sms:line 536

    CSSCSCSCCSCCSCCSCCSCCSCCCCCSCCCCCCCCCCSCCCCCCCCCCC CCCS

    Warning: Cannot find C:\1MSTS\trains\trainset\SLI_CP_ENGINES\ car sound file ..\..\Audio_Shack_Sounds\FDL12_OpenRails\Alias\GEV O-12_Eng.sms

    Warning: Cannot find C:\1MSTS\trains\trainset\SLI_CP_ENGINES\ car sound file ..\..\Audio_Shack_Sounds\FDL12_OpenRails\Alias\GEV O-12_cab.sms

    C(repeats) CCCCCCCCCS

    Information: Game.ReplaceState(GameStateViewer3D) GameStateViewer3D

    Loader: Time = 00:00:11.1870140 ms
    Loader: Expected = 67,054,071 bytes
    Loader: Actual = 67,139,549 bytes
    Loader: Difference = 85,478 bytes (0.1 %)

    Information: Ignored missing animations data in shape c:\1msts\routes\rogerspass\shapes\milepost.s

    Information: Ignored missing animations data in shape c:\1msts\routes\rogerspass\shapes\speed.s

    Information: Game.PopState()
    "

    EK

  4. #4

    Default

    All,

    Following up on this. I think I may have found the culprit. I was playing around with the activity editor and noticed that traffic will populate in the route only if there is at least one static consist in the activity. I'm unsure if this is actually a "fix" or what. But for the time being I'll take what I can get.

    EK

  5. #5
    Join Date
    Feb 2013
    Location
    known universe
    Posts
    2,983

    Default

    Quote Originally Posted by ekeating View Post
    All,

    Following up on this. I think I may have found the culprit. I was playing around with the activity editor and noticed that traffic will populate in the route only if there is at least one static consist in the activity. I'm unsure if this is actually a "fix" or what. But for the time being I'll take what I can get.

    EK
    I've never heard of that...most interesting...will have to investigate this.
    I don't think this should be so, working traffic should not be dependent upon the presence of loose consists...don't you agree?
    Cheers, Gerry
    It's my railroad and I'll do what I want! Historically accurate attitude of US Railroad Barons.
    Forever, ridin' drag in railroad knowledge.


  6. #6

    Default

    Quote Originally Posted by R. Steele View Post
    I've never heard of that...most interesting...will have to investigate this.
    I don't think this should be so, working traffic should not be dependent upon the presence of loose consists...don't you agree?
    Gerry,

    Come to think of it I don't think I explained it 100% accurately. It looks like the .trf file wouldn't save in the activity until there was at least one static consist showing. I'm unsure if this is actually due to some counter-intuitive logic within the editor (seems to the the word of the week) that wouldn't let the .trf file save within the editor or some other root cause. But for the time being I'll write it off as a quirk.

    To your initial point, I agree wholeheartedly. Animated traffic shouldn't be dependent on static objects.

    EK

  7. #7
    Join Date
    Dec 2009
    Location
    Clarion, PA
    Posts
    136

    Default

    A little tardy to the party here but I hope this will help some. I have found that to make AI traffic with TSRE5 you have to first open the activity in the AE, then open the Service Editor. Make all of your services for said activity, IE Train 1, Train 2.......etc then click the red X to leave TSRE5, when the dialog box comes up click to save the new services. Restart TSRE5 open the activity in the AE again and open the Traffic Editor and add the traffic. I have found that if you need to change start times TSRE does`t seem to want to, so I have to make a new traffic file. And you don`t have to make new services just use the old services. Also don`t forget to change the traffic name to the new one in the AE.

  8. #8
    Join Date
    Oct 2015
    Location
    Ft Worth, Texas
    Posts
    50

    Default

    I ran across this thread while doing a search for help to resolve a similar issue. I have been attempting to add AI traffic to an activity but cannot seem to do so. The activity functions perfectly when I open the sim...PT spawning in the proper location & loose consists positioned correctly on sidings & spurs. The AI traffic that I have created appears in the Traffic Editor under the Service Info: File Name & Display Name. The consist & path have been used numerous times in this current activity and in other activities, so there is no inconsistency there.
    I may be wrong, but it seems like the problem may be associated w/the Service Editor in some way The reason I say that is that I have added the new service, but when I open the editor & highlight the name of the service that corresponds to the activity, the new service does not appear in the "Used by" window at the bottom right of the service editor window. Neither is there a check mark next to the new service in the "Name" window in the upper left when I highlight the service that corresponds to the activity. I have spent more time that I want to admit trying to figure out how to get the activity to recognize the new service, but have yet to do so. So I'm wondering if there is any reference doc or site where I can find a good step by step approach to adding AI traffic.

    I have no problem creating activities in the RE or paths in OTRS Track Viewer, but the add'n of AI traffic apparently is beyond my reach @ the moment. Any suggestions would be much appreciated. Hawk

  9. #9

    Default

    Quote Originally Posted by Winterhawk76 View Post
    I may be wrong, but it seems like the problem may be associated w/the Service Editor in some way. The reason I say that is that I have added the new service, but when I open the editor & highlight the name of the service that corresponds to the activity, the new service does not appear in the "Used by" window at the bottom right of the service editor window. Neither is there a check mark next to the new service in the "Name" window in the upper left when I highlight the service that corresponds to the activity.
    Hawk,

    I've noticed this too when creating trf files. TSRE seems to not like modifying existing trf data. If you're not seeing the check next to the "used by" its not going to load into the sim. I've noticed that saving, closing the RE, and re-opening sometimes does the trick. If that doesn't work, do this:

    1. Write down all your traffic data separately (word doc or something similar)
    2. Remove the current trf file from the activity, save the activity, and delete the old trf file.
    3. Restart TSRE and create a new trf file, putting all your data in in one time.

    When I did it, it worked. You can restart TSRE and open the service editor to confirm. I've noticed that traffic is the only one that has this issue. Editing existing services doesn't cause any problems.

    Let me know if this helps!

    EK

  10. #10
    Join Date
    Oct 2015
    Location
    Poland
    Posts
    660

    Default

    Just follow the instructions. Always reselect traffic in activity properties when it is modified. And all your issues are gone.
    Simulations does not use trf data, but use the data from .act file. If you don't reselect traffic, activity data is not updated.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •