another question to the state of a connection:
At this time we use character.ip to determine, if a user is still online. This was the first method, and we use it often.
At some time the new member character.connected was introduced - we stayed with character.ip, which works fine.
Now - what is better to - for example - end a loop when the player logs off?
Code: Select all
while (character.client.ip)
...
Code: Select all
while (character.connected)
...
OWHorus