Search found 29 matches

by mistahmikey
Thu Mar 20, 2014 11:29 pm
Forum: GamingTools Members::Inner Space
Topic: Does an TLO to enumerate Remote Uplinks exist?
Replies: 1
Views: 2773

Does an TLO to enumerate Remote Uplinks exist?

I see there is a TLO for sessions (Sessions and Session[#]), but the only TLO I can find for remote uplinks is RemoteUplink[uplink name]. From within my script, I would like to know how many uplinks are connected and to be able to loop through them to retrieve the uplink names. I also was unable to ...
by mistahmikey
Thu Mar 20, 2014 11:23 pm
Forum: GamingTools Members::Inner Space
Topic: Questions about OnSessionDisconnected event
Replies: 0
Views: 4887

Questions about OnSessionDisconnected event

Wiki says this event fires when a local session closes. However, mine is also firing when a remote session closes, and it provides the full session name as a parameter (whereas if a local session closes, it provides just the session name). Is this correct? I also have an odd thing happening where, w...
by mistahmikey
Thu Mar 20, 2014 9:52 am
Forum: GamingTools Members::Inner Space
Topic: Still having a problem with persistentref
Replies: 1
Views: 2576

Still having a problem with persistentref

Lax

Not sure if you saw the update to my original topic on this, but after doing what you suggested, I am still having a problem. Please let me know if there is something else I am missing.
by mistahmikey
Wed Mar 19, 2014 7:36 pm
Forum: GamingTools Members::Inner Space
Topic: persistenref problems?
Replies: 4
Views: 3749

Well, still not out of the woods. For the second script, I changed the Set to SetReference, but I still get the same result. I am also encountering NULL when I use SetReference to get a reference to a collection member object in my main code.
by mistahmikey
Wed Mar 19, 2014 11:22 am
Forum: GamingTools Members::Inner Space
Topic: persistenref problems?
Replies: 4
Views: 3749

Doh! Sorry about that. Thanks for your patience :)
by mistahmikey
Tue Mar 18, 2014 10:28 pm
Forum: GamingTools Members::Inner Space
Topic: persistenref problems?
Replies: 4
Views: 3749

persistenref problems?

The following script: objectdef Test { variable persistentref M_MySet method SetMySet(persistentref MySet) { M_MySet:Set[MySet] echo ${M_MySet.Used} } } function main() { variable set MySet variable Test MyTest echo ${MySet.Used} MyTest:Se...
by mistahmikey
Mon Mar 17, 2014 10:35 pm
Forum: GamingTools Members::Inner Space
Topic: Need help with getting an atom to return a value
Replies: 1
Views: 2415

Need help with getting an atom to return a value

I get the following output: In TestReturn return: No return object to initialize with given value Dumping script stack -------------------- -->C:/Program Files (x86)/InnerSpace/Test.iss:5 TestReturn() return "Some Text" C:/Program Files (x86)/InnerSpace/Test.iss:10 main(&...
by mistahmikey
Sun Mar 16, 2014 7:35 pm
Forum: GamingTools Members::Inner Space
Topic: Need example for how to properly use Uplink Events
Replies: 4
Views: 3987

Thanks very much for the reply. But just to clarify. I assume the uplink and sessions run in separate processes, and therefore, there is no way to use lavishscript to create global variables that are shareable across these processes?
by mistahmikey
Sun Mar 16, 2014 6:03 pm
Forum: GamingTools Members::Inner Space
Topic: Need example for how to properly use Uplink Events
Replies: 4
Views: 3987

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: Startu...
by mistahmikey
Sat Mar 15, 2014 8:49 pm
Forum: GamingTools Members::Inner Space
Topic: Need example for how to properly use Uplink Events
Replies: 4
Views: 3987

Need example for how to properly use Uplink Events

Trying to use the subject events, but they are not firing for me. Tried doing this as follows: atom(globalkeep) G_OnSessionConnected(string SessionName) { echo "Disconnected" } function main() { Event[OnSessionConnected]:AttachAtom[G_OnSessionConnected] while TRUE { wait 5 } } But nothing happens wh...
by mistahmikey
Fri Mar 14, 2014 6:11 pm
Forum: GamingTools Members::Inner Space
Topic: Messaging between sessions?
Replies: 5
Views: 4320

Aha - had no idea you can use relay to execute a global atom in the target session. I believe I can use this technique to do what I want to do. Thanks very much.
by mistahmikey
Fri Mar 14, 2014 7:51 am
Forum: GamingTools Members::Inner Space
Topic: Messaging between sessions?
Replies: 5
Views: 4320

Upon further reflection, using relay as I described above could be problematic if multiple sessions make the same request to a particular session, since only one instance of a script can run. So, since I assume the feature I suggested is not available, can you suggest an alternative approach to achi...
by mistahmikey
Fri Mar 14, 2014 7:44 am
Forum: GamingTools Members::Inner Space
Topic: Messaging between sessions?
Replies: 5
Views: 4320

Yep, I am aware of relay - use it a lot. So I realize I can use relay to run a script in another session that would perform the request. The problem I have is getting the response back to the calling script easily. I suppose I could use global variables in the requesting session and have the respond...
by mistahmikey
Fri Mar 14, 2014 6:50 am
Forum: GamingTools Members::Inner Space
Topic: Messaging between sessions?
Replies: 5
Views: 4320

Messaging between sessions?

Is there a way to send messages between sessions? What I would like to be able to do is query another session for information, and have that information returned. Something like the following: **** From a script running in session is1: OnSessionMessageReceived[MessageReceived] ... Uplink Send is2 "M...
by mistahmikey
Sun Jan 05, 2014 7:47 am
Forum: GamingTools Members::Inner Space
Topic: Question about LSType
Replies: 1
Views: 2262

Question about LSType

Is there any way to get this command to print out the complete signature of methods/members? If not, any chance this capability could be added?