Rolig Loon Posted January 5, 2019 Share Posted January 5, 2019 (edited) I made two small "safety" checks in the script that should avoid the most likely problems. First, you'll notice that I put a llSleep of 0.2 seconds between the outgoing "Ping!" messages, so that the responding "Pong!" messages don't all pile up. The script shouldn't hit a 64 message cap. Second, I shut off the timer as soon as you click a dialog button, so that the script doesn't generate a new dialog box right on top of the text box that you are trying to type in. The timer starts again when you Submit the text message. If I were developing this into a real HUD tool, I would give more thought to the length of that llSleep and the possibility of having a huge number of potential people wearing HUDs in the region. I might also be more careful about how frequently the script refreshes the target list. Fifteen seconds may be overkill (or not).There are probably more elegant ways to handle huge crowds, in general. In my experience, though, it's unusual to have more than 15 - 20 people all wanting to do the same thing in most regions, so I didn't bother with those (possibly important) edge considerations in this basic script. Edited January 5, 2019 by Rolig Loon 1 Link to comment Share on other sites More sharing options...
LissomePrey Posted January 6, 2019 Author Share Posted January 6, 2019 Many thanks for all the useful input, I always a learn a lot reading here. As I do want a unique id for a number of reasons, including but not exclusively the channels, I'll stick with what I have as it seems to be working. Link to comment Share on other sites More sharing options...
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now