Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2025-08-26 20:33:47



Reply to topic  [ 7 posts ] 
Error when automation changes WL settings 
Author Message
Online

Joined: 2016-06-19 21:33:37
Posts: 402
Location: Columbus area, OH, USA
Reply with quote
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 44 times
2025-07-22 22:54:44
Profile
Online

Joined: 2016-06-19 21:33:37
Posts: 402
Location: Columbus area, OH, USA
Reply with quote
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.


2025-07-22 23:07:32
Profile

Joined: 2009-03-17 18:42:51
Posts: 6043
Reply with quote
Yes, likely a "typo" introduced while replacing "state" pointers variable name with "statep" during a code cleanup...

Will be fixed in in next release.


2025-07-23 00:29:23
Profile WWW
Online

Joined: 2016-06-19 21:33:37
Posts: 402
Location: Columbus area, OH, USA
Reply with quote
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?


2025-07-23 07:34:48
Profile

Joined: 2009-03-17 18:42:51
Posts: 6043
Reply with quote
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.


2025-07-23 07:50:07
Profile WWW
Online

Joined: 2016-06-19 21:33:37
Posts: 402
Location: Columbus area, OH, USA
Reply with quote
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. :-/


2025-07-23 08:14:56
Profile

Joined: 2009-03-17 18:42:51
Posts: 6043
Reply with quote
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 !


2025-07-23 08:46:08
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users and 86 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.