Greetings,
I have some scripts that worked perfect in TANE SP2. Due to the job & life in general, I completely missed TANE SP3 and now find myself attempting to get my scripts working in TRS19.
I have several things that are supposed to happen in the Init(void) method to ready the locomotive when it is loaded. The problem is, the physical changes that are supposed to be made are not. Which makes me wonder why they are not being processed.
In this method I also setup message handlers so various things can be listened for via Sniff. I also set Sniff to start monitoring.
When I start the game and load my session, I immediately can see that my method that is supposed to determine the direction of the locomotive and set lights accordingly has not run. If I use one of my scripted driver commands, I get absolutely nothing. I have not figured out how to get a message window to show, so I have not been able to debug using the help of a message window.
So 2 things. Is there a message window I can write debug messages (or any message) to in TRS19 and if so, how? Secondly, has something changed in the way that SendMessage, MessageHandler, and Sniff work in TRS19? I have double/triple checked the wiki and I have them set correctly per the wiki.
I have been at this almost non-stop for 3 days now and it has me frustrated beyond all hope.
Edit: Grammar
I have some scripts that worked perfect in TANE SP2. Due to the job & life in general, I completely missed TANE SP3 and now find myself attempting to get my scripts working in TRS19.
I have several things that are supposed to happen in the Init(void) method to ready the locomotive when it is loaded. The problem is, the physical changes that are supposed to be made are not. Which makes me wonder why they are not being processed.
In this method I also setup message handlers so various things can be listened for via Sniff. I also set Sniff to start monitoring.
When I start the game and load my session, I immediately can see that my method that is supposed to determine the direction of the locomotive and set lights accordingly has not run. If I use one of my scripted driver commands, I get absolutely nothing. I have not figured out how to get a message window to show, so I have not been able to debug using the help of a message window.
So 2 things. Is there a message window I can write debug messages (or any message) to in TRS19 and if so, how? Secondly, has something changed in the way that SendMessage, MessageHandler, and Sniff work in TRS19? I have double/triple checked the wiki and I have them set correctly per the wiki.
I have been at this almost non-stop for 3 days now and it has me frustrated beyond all hope.
Edit: Grammar
Last edited: