ID:2080233
 
BYOND Version:510.1341
Operating System:Windows 7 Ultimate 64-bit
Web Browser:Chrome 50.0.2661.94
Applies to:BYONDexe
Status: Open

Issue hasn't been assigned a status value.
Dreamseeker reports world data as:

address: 192.168.0.X
game_state: 0
host: Guest-XXXXXXXXX
hub: YutPut.Epoch
iaddress:
name: Epoch
params:
port: 0
reachable: 0
status:
system_type: MS Windows
url:
version: 0
visibility: 1

BYONDexe reports world data as:

address: 192.168.0.X
game_state: 0
host:
hub: YutPut.Epoch
iaddress:
name: Epoch
params:
port: 0
reachable: 0
status:
system_type: MS Windows
url:
version: 0
visibility: 1


Determining who is the person actually running the world is best done through world.host.

Is this intended?
Okay, it seems that BYONDexe doesn't provide this information because the pager is what provides this information.

In the case of BYONDexe, it appears the only way to figure out who the host of a world is, is to store it yourself when a client with a null client.address connects.
You can also use the -isserver flag on startup. This will make the host connect as host@localhost. This allows a person to startup up a server and then join that server on the same user account.
We wound up working around the issue.

basically, if world.port is zero, and world.host is null, the player that started the world via BYONDexe in single player will have a client.address of null.

This combination of variables allows us to always figure out who the host is in the case of BYONDexe.

DreamSeeker will always report world.host, so no issue there.

DreamDaemon will always either report world.host in the case of the owner of the server hosting off of their own machine or null in the case of a linux server. This is the only case where we are going to have to do some work at this point.

I figure I can honestly just read a configuration file if host is null on world startup, and if the configuration file has the proper authentication for a user, we can authorize the world to host.

The Dream Daemon thing is more about DRM than determining who the host is anyway.