Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Hmm crazy stuff with autodoors

Tegg Bode
FrootLoop Roo Overlord
Join date: 12 Jan 2007
Posts: 5,707
03-30-2007 00:38
Hi,

I have some automatically opening doors on my home on my 3000m block but unless the owner is with in 1 or 2 sims distance they fail to even acknowledge anybody or even passwords used by my alts or friends, they worked fine at my last home and I moved them and rebuilt the home differently. They work 100% fine for my main who owns them and when my main is nearby. My home sim is old mainland, but seems pretty lag free with only 1 or 2 occupants normally. As soon as my main logs in or teleports into the sim the doors become100% again.
Hmm noticed my scripted fridge playing up too, with the same proble, so thinking they might have been conflicting with each other I stored the fridge in inventory, but no improvement.


Any idea's or is it just one of those SL bugs going around at the moment.
Pale Spectre
Registered User
Join date: 2 Sep 2005
Posts: 586
03-30-2007 01:18
A bit of a shot in the dark but there are some circumstances where LSL functions will behave differently if an owner is not in the same sim as the script, for example: llKey2Name(key id).
From: Wiki
If the object or agent identified by the key id is in the same simulator as the object containing the script, this function returns their name. Otherwise, an empty string ("";) is returned. This can be misleading, because it cannot be distinguished from an object with an empty name ("";).
In this case llKey2Name(llGetOwner()) could be the culprit. Are you able to look at the code?

This wouldn't explain it, of course, if as you say it used to work okay at your last home.
Tegg Bode
FrootLoop Roo Overlord
Join date: 12 Jan 2007
Posts: 5,707
03-30-2007 03:18
Ok more on this, I have noticed my Freebie dance floor also doesn't work, same symptoms.
Hmm Radiostream, Particle tubes & lift still work ok though
Speaking of Particles, I have some fog hanging about from the fridge still, used beacon to find the source but I can't seem to pick it up.
Tegg Bode
FrootLoop Roo Overlord
Join date: 12 Jan 2007
Posts: 5,707
03-31-2007 17:08
Bump

I haven't had any luck catching the autodoor maker, but just wondering could it be related to land ownership or object grouping in some way, the doors are owned by the owner and land owned by the group, or is it likely to be interferance from othe scripted items. Hmm I thought it might have been because it was not shared with group or allowed anyone to move it
But now the doors and dance floor have just started working again, I changed everything back to as before after trying allowing anyone to move and share with group options but they still work now?
Kenn Nilsson
AeonVox
Join date: 24 May 2005
Posts: 897
03-31-2007 17:16
The problem is odd...can you post the code?

From what I can gather:

1--Doors work when owner is in-sim
2--Doors don't work when owner is out-of-sim

Leads me to believe that the doors are working some sort of:

"On call to open, check the llKey2Name of owner and if that name = owner name, open...otherwise, don't"

Now...there are all kinds of problems with a script that does that...with the llKey2Name difficulties described by a previous poster being one of them. Additionally, the doors are obviously not identifying the correct user...but rather always checking only against the owner. Now...I could EASILY be COMPLETELY wrong...because I don't see any code. It's just that the symptoms you explain seem to point toward that situation.

I suggest either changing the code in your doors or going and getting yourself another set of doors. I *cough* recommend NDE Doors *cough*. (I make 'em).
_____________________
--AeonVox--

Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms chasing ghosts, eating magic pills, and listening to repetitive, addictive, electronic music.
Tegg Bode
FrootLoop Roo Overlord
Join date: 12 Jan 2007
Posts: 5,707
03-31-2007 21:34
Thanks, but the fact they previously worked fine and seem to work then not work as well , I smell a LL rat involved, because it's not just the doors but a dance floor and fridge show the same problem at the same time, but my elevator still works fine when the other stuff fails. They are another major door sellers doors so I have no access tothe scripts and I am very happy with their features, I'm not sure if I have loooked at your doors, but I did a lot of searching and even tried 2 other brand doors before buying 6 of these. The seller has got back to me and is completely bamboozzled by the symtoms too and looking further into it. It is strange they now work again, so I was thinking it was some sort of crazy group/owner sharing problem or having scripts tturned off on my land or something.

So I have confidence in the product, I'm thinking myself or LL has broken it somehow :)
Tegg Bode
FrootLoop Roo Overlord
Join date: 12 Jan 2007
Posts: 5,707
04-02-2007 03:44
Update on the problem, it seems to because I had my lands run scripted objects set to group instead of all residents. I had a feeling I was responsible somehow :/ :)