ID:81718
 
Not a bug
BYOND Version:454
Operating System:Windows XP Pro
Web Browser:Firefox 3.5.2
Status: Not a bug

This is not a bug. It may be an incorrect use of syntax or a limitation in the software. For further discussion on the matter, please consult the BYOND forums.
Descriptive Problem Summary:
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