Post
by mistahmikey » Sun Mar 16, 2014 6:03 pm
Hmmm, I do not understand the sequence required here.
So, when you select Configuration from the innnerspace tray, the resulting GUI provides a number of places you can add commands to various points in the startup sequence:
1) On the General tab, under Startup Sequences, there is:
a) Uplink: Startup
b) Session: Pre-Startup, Startup
2) On the Game Configuration tab there is:
Pre-Startup, Startup
3) On the Game Configuration tab, if you select a game profile from the drop down, there is:
Pre-startup, Startup
I am unsure exactly when each of these actually run in relationship to creating the session, launching the game, etc.
What I want to do is to keep track of what Everquest2 toons are logged into what sessions so it is easy to send commands between sessions to specific toons using relay. I can achieve this by having a "SessionManager" script run in each session and periodically query all the other current sessions to create the desired "global toon state" (assuming ISXEq2 is initialized). But this requires continuous polling by multiple sessions, even though the "global toon state" will rarely change once all the sessions are created (only when sessions die, are created, or toons are logged out/logged in).
So would it be possible to run my "SessionManager" once from the tray console (I assume this is what you call "the Uplink"?) such that all the local session scripts are able to access the "global toon state"? And, maintain the "global toon state" using the various local/remote Session events, rather than polling? If this is possible, at what point in the startup sequence would it be best to run the "SessionManager"?