|
Chaz Longstaff
Registered User
Join date: 11 Oct 2006
Posts: 685
|
08-23-2007 23:03
llCreateLink( key target, integer parent ); Question re parent. Wiki here http://wiki.secondlife.com/wiki/LlCreateLink says: integer parent – If FALSE, then target becomes the root. but no mention of what happens if true. Wiki here http://rpgstats.com/wiki/index.php?title=LlCreateLink says: "If parent == TRUE, the object calling this function will be the parent prim of the new link set, and the target prim will become that parent's first child (inserted before any children the parent might have already had)." but no mention of false. And to complicate things, in June 2004 Oz spade says here /54/4f/16858/1.html#post156139: From: Oz Spade I don't have much experience with llCreateLink and the LSL Wiki doesn't mention anything about my question, so here it is. Heres how I tested it: I setup 2 Linked Sets of 3 boxes, the set with the llCreateLink script I'll call Set A, the other Set B. On Set A I added a llCreateLink(key,FALSE); script which links to Set B. When Parent = FALSE I have found that the Parent of Set A does NOT Link along with the rest of the set. Everything in Set A links fine except for the parent prim. Moving the CreateLink script into a child prim in Set A, out of the Parent, produces the same effect. Is this the correct behavior? To me it seems like a bug, logicly having Parent = FALSE would link both sets together, but with the parent of Set A not being the Parent of the newly linked set. The Parent of Set B would be the new Parent in the new set. Parent = TRUE results in expected behavior, the parent of Set A becomes the new parent. Is Parent = FALSE buged? Or is that how its supposed to react? Does anyone have any pointers on what the situation is now in 2007 with regard to what FALSE means with this function?
|
|
Osgeld Barmy
Registered User
Join date: 22 Mar 2005
Posts: 3,336
|
08-24-2007 00:04
try it
by the time you actually figure the contradictory text out you could have figured out what does what and updated the wiki
lslwiki.net or the wiki.secondlife.com site
rpg stats btw is just a mirror of lslwiki.net
|
|
Chaz Longstaff
Registered User
Join date: 11 Oct 2006
Posts: 685
|
08-24-2007 11:27
From: Osgeld Barmy try it. by the time you actually figure the contradictory text out you could have figured out what does what and updated the wiki LOL. Fair enough. I'll try it this weekend and report back. As for updating the wiki, I'll probably just report here. There are so many wikis, all in theory mirrored but many having differences none-the-less, that I barely have any idea which to refer to, let alone which one to update. It's probably just me that gets confused by all the various wikis, so this isn't a complaint.
|
|
Osgeld Barmy
Registered User
Join date: 22 Mar 2005
Posts: 3,336
|
08-24-2007 17:27
actually theres only 2 the old official wiki ... lslwiki.net and the new official one on the secondlife website 
|
|
Chaz Longstaff
Registered User
Join date: 11 Oct 2006
Posts: 685
|
08-24-2007 21:12
From: Osgeld Barmy actually theres only 2 the old official wiki ... lslwiki.net and the new official one on the secondlife website  Ah so it's an insider thing, like knowing the difference between modern Albanian and Church Albanian / spice Posh and post-Beckem Posh ??? grin :}
|
|
Osgeld Barmy
Registered User
Join date: 22 Mar 2005
Posts: 3,336
|
08-24-2007 23:56
exactly
see i try to point this out because i was involved in it
back in the good ol days, when bb code worked and there was only 1 wiki, i made a mirror mostly as a pissing contest with another party that was totally unaware of it
a few months later there was an exploit found within the wiki software that granted access to account info on the website
linden labs promptly shut the wiki down and asked for it to be moved off site for security reasons by the owner
sooooo meanwhile our options were a backup from 2004 (this being summer of 06) or jack crap
while we were all running around in circles trying to figure things out i made mention that i had a copy of the wiki, but it was totally screwed up in its formating ... it would work just fine from local windows access but a website would take an insane amount of processing and or importing to some form of framework
rpgstats was born, and updated to the then current status from google cashe
a cupple few months later the (old) offical wiki was back up, but their choice in hosting, and probally some internal group headace made it extreamly un-reliable, i again took the chance to make a new and updated mirror with some linux scripts i wrote, rather than rely on some shareware windows crap, that didnt work worth a hoot in the first place
lslwm was officially born
since the original point of lslwm was to be able to download a local copy i provided the zip files, and a handfull of other ppl started their own little wiki mirror up (you can still do this now the current version is from 7-7-2007, cheesefactory.us/lslwm)
meanwhile, the offical wiki was still experiencing poor server choices for its load ... and was frequently going down, the last time it went down a group decided to start a whole new wiki, mostly ignoring all the previous data stored becuase of fear over the licence that was in place
i was and still sorta am against this becuase its like re inventing the wheel and it causes confusion .. my quote from this debate is that lslwiki.net would be back in a few weeks
and it has, and hasnt gone down since, they moved servers during that downtime
SO what we have today is lslwiki.net, the one that almost everyone here from last year and back has learned on and this new thing on wiki.secondlife.com, which now seems to be at the same status as the other
then there are the mirrors, where is rpgstats, i have no clue their update information is nonexistant, and since they run on another layer of wiki software ppl add things there ...
and of course my mirror, which was made more for local use rather than web use and is something like 13,000 static html files, updated every 3 months from lslwiki.net (course the online copy has a handfull of problems too, broken links mainly becuase of uppercase vs lowercase, windows vs linux, and wiki software that just translates it on the fly)
now you know the history of the damn wikis, its really a confusing pita for everyone, just to cover the lindens lack of any type of proper documentation
|
|
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
|
08-25-2007 07:08
From: Osgeld Barmy ... lslwm was officially born... Thanks, Osgeld; I've always wondered how we got where we are today. (I must say, though, "lslwm" scared me senseless on first scan--can you imagine a window manager written in lsl?) 
|
|
Chaz Longstaff
Registered User
Join date: 11 Oct 2006
Posts: 685
|
08-25-2007 08:13
Hey Osgeld, fascinating story! Thanks for taking the time to tell it. Looking at the state of things, it did look like "things had happened" rather than that it had all been planned this way. From: Osgeld Barmy SO what we have today is ...this new thing on wiki.secondlife.com, which now seems to be at the same status as the other At first I thought, well, might as well refer to the "official" one at wiki.secondlife.com, official in that it is on a Linden site.... but leaving aside that the Lindens manage to introduce LAG even on a web site (it's painfully slow...), it's just, well, not as helpful, is it, as lslwiki.net or rpgstats (which i now know in theory is supposed to be a mirror of lslwiki.net.) There's just *way* more information on other wikis than is on the Linden hosted one. Sounds like the kind of thing that by the time something sorts itself out, we'll all have moved onto Third Life or whatever Second Life's successor will be. And in the meantime, I reckon, every newbie scripter kinda has to check them all, in case there's a one line example that someone tossed somewhere on one of them that might be what they are looking for. Anyway, I'm supposed to be trying that llCreateLink thing today that I said I would, so I'd better get at it.
|
|
Chaz Longstaff
Registered User
Join date: 11 Oct 2006
Posts: 685
|
08-25-2007 16:21
Okay, back with my test results. Two Objects: 1) Small Room. Back wall is main prim. 2) A control panel consisting of a 1 prim backboard, with several 1 prim buttons on it. The 1 prim backboard is the main prim of this control panel. Goal: Link the control panel to the back wall and have the back wall remain the root prim overall of the newly linked object. llCreateLink script is in the back wall. __________________________________ Test A Formula: llCreateLink(panelid, FALSE); Test A Result: backboard of control panel became main prim. Not the result desired for me in this scenario. Test B Formula: llCreateLink(panelid, TRUE); Test B Result: Back wall remained root prim overall of the newly linked object. Desired result for me in this scenario. _______________________________________ Conclusion? This part, for what it's worth, appears to be correct: Wiki says here: http://rpgstats.com/wiki/index.php?title=LlCreateLink "If parent == TRUE, the object calling this function will be the parent prim of the new link set ........"
|