These forums are CLOSED. Please visit the new forums HERE
HUD to Server >> I'm detached! |
|
|
Rolig Loon
Not as dumb as I look
Join date: 22 Mar 2007
Posts: 2,482
|
12-15-2008 17:37
I've created a HUD that communicates with a remote in-world server by e-mail when its owner clicks it ON or OFF. I would like to have some way of letting the server know that the owner has detached the HUD, which has the same effect as turning it OFF. If I understand correctly, though, I probably don't have enough time to send an e-mail from an attached event after the HUD is detached. So, is there another way to let the server know?
|
|
Siann Beck
Beauty & Braiiiiinsss!
Join date: 14 Jul 2007
Posts: 140
|
12-15-2008 20:57
I just did a little testing, created a HUD which emailed when attached and detached. I ran it five times, and it didn't miss one, but I was in a pretty empty sim; it might have problems under lag conditions. You might have better luck with llHTTPRequest(); test it under heavy lag and see if it misses any events. If it does, you might have to resort to polling.
_____________________
Help find a missing child.
|
|
Rolig Loon
Not as dumb as I look
Join date: 22 Mar 2007
Posts: 2,482
|
12-15-2008 21:11
That's good to know. Thanks. I can't be sure how much local lag there will be where someone detches this thing, so I am trying to look for the most reliable solution. So you think maybe llHTTP Request will be a better option -- feeding the data to an external server?
|
|
Siann Beck
Beauty & Braiiiiinsss!
Join date: 14 Jul 2007
Posts: 140
|
12-16-2008 03:47
Right. But the only way to know for sure is to try it. Test, test, test!
![]() _____________________
Help find a missing child.
|
|
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
|
12-16-2008 05:12
Right. But the only way to know for sure is to try it. Test, test, test! ![]() QFT!! _____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum |
|
Escort DeFarge
Together
Join date: 18 Nov 2004
Posts: 681
|
12-16-2008 05:15
This is another situation where the following enhancement would help...
http://jira.secondlife.com/browse/SVC-310 Of course nothing will happen unless it attracts votes. /esc _____________________
http://slurl.com/secondlife/Together
|