Whenever accessing client.address for clients who are either: 1. The host or 2. A person using the same router as the host, client.address is null.
Numbered Steps to Reproduce Problem:
1. Open a Dream Maker Environment
2. Paste in the following snippet
3. Run the 'test' verb.
3. See what it outputs.
4. Get someone else who isn't using the same router as you to enter the environment and run the 'test' verb. See what it outputs.
Code Snippet (if applicable) to Reproduce Problem:
client/verb/test()
src << address
Expected Results:
For client.address to be something like '127.0.0.1' or a local address like '192.168.1.xxx' for the host. In other words, the same value as world.address.
Actual Results:
client.address is null
Does the problem occur:
Every time? Or how often? Every Time
In other games? Yes
In other user accounts? Yes
On other computers? Not if you're not the host of the world, and you're not using the same router as the host
When does the problem NOT occur?
Never
Workarounds:
Using world.address