Does Lacewing stay connected during direct IP connect when one user or both change frames?
Printable View
Does Lacewing stay connected during direct IP connect when one user or both change frames?
Only if you have it set to be global in its properties. Even if no other frames contain a Lacewing object, or a Lacewing object with the same global ID, it will stay connected across frames and sub applications until you end the application or go back to its original frame and disconnect.
Oh OK, thanks. I wasn't sure because I don't have anyone who can test it with me. Saves me a lot of trouble getting someone to install Hamachi so I can test direct IP connect. ;)
You could run the same EXE twice...
Yeah but I wasn't sure if it was actually working by connecting to 127.0.0.1.
Anyway I got that figured out thanks to your help, now is there any way to display the user's current IP address? (Preferably with Lacewing) I tried Client_IP$( "Lacewing Relay Server" ) but it just shows the localhost IP 127.0.0.1
If you connect to yourself from yourself what did you expect? Try connecting to yourself through your external IP address (the IP address displayed here)
Yeah, how do I retrieve the external IP address for the user without connecting to anything? I'm wanting to have the user who hosts the direct IP connect game to have their IP address shown as soon as they begin hosting the game so it saves them the trouble of finding their IP address for the guest user.
It is not possible "without connecting to anything".
OK well how do I get the external IP address without the user having to look it up?
I want my application to display the host's external IP address on the screen after they begin hosting so it saves the guest and host the trouble of finding the host's IP address.
That is not possible. You have to ask the outside world what you look like to see yourself.