I haven't dug into this yet. Everything is working as intended, but after a period of time all my clients report 'unresponsive'. Now that's not true, because the stats page which I have up is continuing to update and last messages keep cycling. If I restart a ;struck script, it doesn't clear the client from being listed as unresponsive. If I restart thunder and then all the strucks, it clears for a time. As you're aware I've made changes to the stats page, but that has all been cosmetic. I did go pull down fresh copies of thunder and struck without any modifications I made. Issue persisted. Thunder's stats page is getting updates, and I can send a command to all struck clients. I do get a lot of these lines, "[struck: Message from server: Respond now.]". However the log shows each client calling back with, "I am responding."
In debug after restarting both scripts, thunder shows Omrii unresponsive moments after the second block of responding exchange.
Code:
Lich: struck active.
#################################################################################################################
Message from ;struck:
You are currently set to connect to port 4000.
By default the port each character tries to connect to is port 4000.
If you want to change this then stop this script and start it as ;struck <number_here>
For example: ;struck 3000
After you have set the port number on this character you can start script as: ;struck
You only have to specify the port number if you want to change it again.
#################################################################################################################
[struck: Message from server: Requests: Health: Yes, Mana: Yes, Stamina: No, Spirit: No, Field Exp: Yes, Encumbrance: Yes, Status: No, Bounty: No, Room #: No, Debug Mode: Yes, Update Room: 1.0, Update Info: 0.5, Update Exp: 60]
[struck: Message sent: Omrii: Health: 172/172]
[struck: Message sent: Omrii: Mana: 4/4]
[struck: Message sent: Omrii: Encumbrance: 0/100]
[struck: Message from server: Server received: Omrii: Health: 172/172]
[struck: Message from server: Server received: Omrii: Mana: 4/4]
[struck: Message from server: Server received: Omrii: Encumbrance: 0/100]
[struck: Message sent: Omrii: Field Exp: 685/977]
[struck: Message from server: Server received: Omrii: Field Exp: 685/977]
s>
Not Hunting: Next bounty available in 0 minutes and 52 seconds.
Total Elapsed Time: 19 Minutes 25 Seconds
[struck: Message from server: Respond now.]
[struck: Message sent: Omrii: I am responding.]
[struck: Message from server: Server received: Omrii: I am responding.]
s>
[struck: Message from server: Respond now.]
[struck: Message sent: Omrii: I am responding.]
[struck: Message from server: Server received: Omrii: I am responding.]