ID:172475
 
I've got a few questions on what value a world host's IP address takes in certain situations, and I appreciate any help.

What value does it take when...
...the key of the person hosting the world logs in?
...the host logs in with another key besides the one they're hosting on?
...the host logs into a world being hosted by them on Daemon?
...the host closes the port with at least one other player in the world? Also, in this case, what value does the port take?
Enigmaster2002 wrote:
I've got a few questions on what value a world host's IP address takes in certain situations, and I appreciate any help.

What value does it take when...
...the key of the person hosting the world logs in?
...the host logs in with another key besides the one they're hosting on?
...the host logs into a world being hosted by them on Daemon?
...the host closes the port with at least one other player in the world? Also, in this case, what value does the port take?

The host's client address will always be null, given they're not hosting from a remote server.
Enigmaster2002 wrote:
...the host closes the port with at least one other player in the world? Also, in this case, what value does the port take?

The port should be 0 even though other players are still connected. The closing of the port should (at least, in DS) call world/OpenPort() so you can override it; in DD you can't count on that.

Lummox JR