|
Cryptic Slade
Registered User
Join date: 12 Mar 2007
Posts: 13
|
04-06-2007 03:31
(I realize I posted this in the wrong forum before, sorry for spamming)
Is there any way in LSL to listen for or detect that a dialog box has popped up?
Thinking about making an LSL script to help me by playing a sound or something when I get a message about if I want to keep camping, so that when I'm on my computer but doing other stuff I won't forget to keep camping...
|
|
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
|
04-06-2007 04:06
Afraid not, scripts ahev no knowledge of that part of the client, they are purely for interatcing with the SL enviromemnt.
|
|
Cryptic Slade
Registered User
Join date: 12 Mar 2007
Posts: 13
|
04-06-2007 04:36
Yeah, after reading some more I thought as much... as far as I can figure out, dialog boxes do go on the chat like other communication, using only negative channel numbers, but since I'm not the creator of the script in question sending it I have no knowledge of what channel it travels on...
And even if I was able to find that out, a smart scripter would use a random channel each time to prevent exactly this...
|
|
Ed Gobo
ed44's alt
Join date: 20 Jun 2006
Posts: 220
|
04-06-2007 05:23
Yes, not easy to intercept. The channel number is a 32 bit integer, so could be anywhere from minus two billion to positive two billion, a total of four billion possible channel numbers. Edit: Might be worth asking the open source community if that info is available in the client. Further Edit: The stuff sent to the dialog box is listed in the dialog box. The stuff sent back is whatever was written in the button (except "iignore"  you clicked, so you, the user, would know what your dialog box received and transmitted. You do not see other residents's dialog boxes.
|
|
Cryptic Slade
Registered User
Join date: 12 Mar 2007
Posts: 13
|
04-06-2007 05:31
Well I wouldn't need to see other users dialogboxes, only my own, but using an open source client to do it is a bit over the top for me...
I had another thought though, can I detect changes in my avatars animation? i.e. when my avatar is ejected from a camping chair into a standing position?
|
|
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
|
04-06-2007 05:41
From: Cryptic Slade Yeah, after reading some more I thought as much... as far as I can figure out, dialog boxes do go on the chat like other communication, using only negative channel numbers, but since I'm not the creator of the script in question sending it I have no knowledge of what channel it travels on...
And even if I was able to find that out, a smart scripter would use a random channel each time to prevent exactly this... |Ah sorry, your talking about script created dialogs or Client dialog windows like IM's? there is a distinct difference.
|
|
Cryptic Slade
Registered User
Join date: 12 Mar 2007
Posts: 13
|
04-06-2007 05:48
Talking about scripted ones from objects, such as camping chairs, that send dialogs to confirm you are still active, and not just sleeping while camping...
|