Cool VL Viewer forum
http://sldev.free.fr/forum/

Error when automation changes WL settings
http://sldev.free.fr/forum/viewtopic.php?f=4&t=2659
Page 1 of 1

Author:  ZaneZimer [ 2025-07-22 22:54:44 ]
Post subject:  Error when automation changes WL settings

In my Lua automation, I have crafted behavior to change environment settings when my av enters or leaves a parcel. I have crashed two times tonight with this error: ERROR: bindToControl: Control named UseWLEstatepTime not found. It appears to have been introduced in version 1.32.2.49 and I suspect is a typo with an extraneous 'p'. I'll try to alter the instance found in: indra/newview/hbviewerautomation.cpp and recompile.

I've attached logs and the stack trace.

Attachments:
CoolVLViewer.zip [29.89 KiB]
Downloaded 58 times

Author:  ZaneZimer [ 2025-07-22 23:07:32 ]
Post subject:  Re: Error when automation changes WL settings

I can confirm that removing the extra 'p' so the control name matches the other uses throughout the code fixes the issue when resetting to estate time.

Author:  Henri Beauchamp [ 2025-07-23 00:29:23 ]
Post subject:  Re: Error when automation changes WL settings

Yes, likely a "typo" introduced while replacing "state" pointers variable name with "statep" during a code cleanup...

Will be fixed in in next release.

Author:  ZaneZimer [ 2025-07-23 07:34:48 ]
Post subject:  Re: Error when automation changes WL settings

Henri Beauchamp wrote:
Yes, likely a "typo" introduced while replacing "state" pointers variable name with "statep" during a code cleanup...

Will be fixed in in next release.
Thanks Henri. Might something like that renaming of say 'parcel' to 'parcelp' explain why I now seem to get a lot of 'allow media' pop ups from the neighbor's TV/etc even when I have the setting disabled to show media outside of my parcel?

Author:  Henri Beauchamp [ 2025-07-23 07:50:07 ]
Post subject:  Re: Error when automation changes WL settings

ZaneZimer wrote:
Might something like that renaming of say 'parcel' to 'parcelp' explain why I now seem to get a lot of 'allow media' pop ups from the neighbor's TV/etc even when I have the setting disabled to show media outside of my parcel?
LOL !

No !

This is the expected behaviour and the result of a fix I implemented to prevent information leakage with MIME probes on MoaP objects.

Author:  ZaneZimer [ 2025-07-23 08:14:56 ]
Post subject:  Re: Error when automation changes WL settings

Hmm...OK. I did a little experimentation. And by returning indra/newview/llviewermedia.cpp to this:
Code:
4388         else
4389         {
4390                 return show_outside_parcel;
4391         }

I don't seem to get play request popups from neighbor anymore. Looking at the code, I can't quite see why that should make a difference. :-/

Author:  Henri Beauchamp [ 2025-07-23 08:46:08 ]
Post subject:  Re: Error when automation changes WL settings

ZaneZimer wrote:
I don't seem to get play request popups from neighbor anymore. Looking at the code, I can't quite see why that should make a difference. :-/
Placebo effect , because:
Code:
   if (isInAgentParcel())
   {
      return show_within_parcel;
   }
   return show_outside_parcel;
and:
Code:
   if (isInAgentParcel())
   {
      return show_within_parcel;
   }
   else
   {
      return show_outside_parcel;
   }
Produce exactly the same result.

But please, do not continue about media stuff in this unrelated issue !

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/