Jump to content

VirtualKitten

Resident
  • Posts

    916
  • Joined

  • Last visited

Everything posted by VirtualKitten

  1. Here is one on the wiki page of media http://wiki.secondlife.com/wiki/Category:Shared_Media it refers to https://community.secondlife.com/t5/Scripting/Notecard-Text-on-a-Prim-Demo-Viewer-2-0/m-p/110300#M1182 which is missing.
  2. Hi Sky, Do you have this in a Google spreadsheet which can be accessed from a URL. You could look at MOAP Media on a prim to show this on the face using HTTPRequest. If you look a some televisions sold on MP for use in world they will access a url possibly this google one? There is a good script example here : http://wiki.secondlife.com/wiki/User:Becky_Pippen/Shared_Media_LSL_Recipes
  3. Thanks for sharing this wisdom @Profaitchikenz I think I may have found them in Firestorm on the Developer Menu >> Rendering Meta Data > Bounding Box I did not have the option 'render info' you had on Action Menu . It had no Physics's shape as I presume you has in second life browser as I am using firestorm: I also found Physics Shape Here: Developer Menu >> Rendering Meta Data > Physics Shape. This was most helpful as it did not show any obstruction that would case the passenger seat to fail. The Physics is attached in blue and the bounding boxes are attached in green below. This said I am still not any clearer what is obstructing the passenger sit. Secondly if we have a command like SetSeatTarget or SetLinkSeatTarget should wiki not define them as one setting on the prim . If that is the case we are expected to understand as it is not listed like this in the functions caveats. D
  4. If I understand Wulfie what he posted said he was using LlCastRay to find a bounding box now this projects a single light ray to find a collision with another. I am not sure how this applies to physics shapes he showed us and how he determined this to blue and red box approximations in his later model . I expected him to show some insight in this and how he reached that point. As I stated there are some problems with seats but some can be got around but this message is not scripting related and instead is a system message which wulfie said happened when the first seat had been used up. He said the system defaulted to a previous seating method the one that doesn't work and was re written adding new functions. This seems utterly bizarre that this would be the seating objects method to go back to something that didn't work or had been improved to determine a seat and clearly needs work.. I can however see some idea that this was an attempt to ensure older models built with previous seating model still worked. Sadly PRIM possible shows this has not worked! Now it seems we need a new fix!
  5. I think i already said I tried Inula's prim which tests to see if there is a bounding box in proximity . I think i have already said it doesn't work any were as a mesh passenger seat despite the code working to great affect it never reaches it as the system message cuts in "No Room to sit , try another spot" we need to focus and ask why is this message generated when there is no interference from a bounding box!
  6. Well I have also spent five hours trying to get an answer as to how SL determines its criteria before a seat occurs . I have not been told that as yet. My example at the start of this page was not questioned as to its programming by you Wulfie so how is it not applied properly you stated rudely ! PRIM possible furniture didn't work as you avatar became larger or at least that is what I understood from what you said or was that a cheep jibe too. Back Foot yes Wulfie this was also published working on wiki working on a single prim please read what is written above. http://wiki.secondlife.com/wiki/Json_multi_sit_array or are you now suggesting wiki has it wrong too that something has changed when clearly it has to prevent this working by your own admission. This said can we please stay open minded and try to figure out what SL is doing now and why its has been changed? As more great software will fail if we don't get a spin on this as to why and how it can be got working? I feel the same Wulfie but from the other side of the pond. You didnt even seem shocked about PRIMPossible .
  7. Qie the clever fox is in my Scripting group on SL @Fox Paragorn a fabulus scripting group referred to me by Firestorm Support another great group that work very hard like the scripting groups I am part of in SL.
  8. Wulfie . I am not sure I follow what is the blue and red box supposed to represent as they are not the physics or bounding box of the cube you are trying to sit on . You also miss the point that a second llLinkSitTarget( can be set so you should be able to have another seat so the system should not revert to any old method like you indicated but to the bnew seat created by llLinkSitTarget( unless of course llLinkSitTarget( does nothing to set a seat once the seat is taken up up by llSitTartget(. IF this is the case this would be od as by the very fact that a link has been added to the seat it becomes a LINK_SET not a prim therefore i would expect a llLinkSitTarget( to define a new seat in the LINK_SET. As we are aware this doesn't happen in practice and you get a silly message stating "No Room to sit , try another spot" is generated. I presume then passenger seating is not robust and the code on wiki is redundant as the SERVER updates have rendered it unworkable as per the demonstration you gave of PrimPossible furniture. I have to agree with @Profaitchikenz as he has the same questions in his messages about the boxes. llAvatarOnSitTarget will not only work in the instance of the sit and does not detect there after if someone has got up . I had to write a routine to do this from the JSON seat Object as below: key Check_4_KeyNot_Linked() { integer j = llGetNumberOfPrims(); list seated=[]; j = llGetNumberOfPrims(); for(; j--;) { if(llGetAgentSize(llGetLinkKey(j+1)) != ZERO_VECTOR) seated += [llGetLinkKey(j+1)]; } integer i = num_seats; for(;i--;) { avi = llJsonGetValue(SEATS_data,["seat"+(string)i,"key"]); if(avi!="empty" && llListFindList(seated,[(key)avi])==-1 ) return avi; } return NULL_KEY; } This returns the missing avatar key from the seat object JSON when an avatar that just got up currently llAvatarOnSitTarget returns NULLKEY to demonstrate something has occurred as it does when it holds a key to show the new arrival only . I also wonders what Wulfie will say as it seems he is on the back foot already as it is clear it was possible to Multi Sit on a prim from WIKI Denise X
  9. The link i showed you from wiki said its possible even if there a few workable problems with the script the premise was that it should now something has been changed passenger seating is no longer robust. The problem is not the script Prof LSL stops the script running saying there is no room
  10. I have modified the JSON multi-seat on wiki http://wiki.secondlife.com/wiki/Json_multi_sit_array to work and have animations but it does not multi-seat anymore I think something has changed in LSL to provide a non robust seating problem.even with it sees PrimPossible table and chairs.
  11. hmm one question answer per post , wulfie , now listen to what that fox said 😛 Dog goes "woof"Cat goes "meow"Bird goes "tweet" What does the fox say? "Ring-ding-ding-ding-dingeringeding! Gering-ding-ding-ding-dingeringeding! Gering-ding-ding-ding-dingeringeding!" What the fox say?
  12. Wulfie, I already showed my physics in piano doesnot overlap. In addition it doesn't matter were this seat is placed. I had a bed 1 Prim, Prim possible it seats two so not sure about your table Wulfie. Your Single Prim box is a mystery as there no clear way to get a seat on that without a llSitTarget . I asked you how you knew the avatar was getting fatter when sat . As this was not clear in mesh view Ctrl + Shift + R that any increase was being made. How are you able to see the bounding box change for your avatar or are you just holding something that calculates its size BB from a script? As if the latter is the case the increase could be any direction and is not observed. In regard to what the fox said how could he have a script that did this if your stating it doesn't work. If this is an agreement the passenger seating is not robust what can we do about it to make it better? I was hopeful someone knew how LSL was calculating this error message and basing it on what exactly?
  13. I am not sure how Wulfie achieved this with No seats declared in his prim. I removed all seating with llSitTarget(ZERO_VECTOR,ZERO_ROTATION); as i thought he said and no seat was available to me until i replaced the seat with llSitTarget(. I repeat a cleaver fox told me he had a script that could do this which leads me to believe its not robust. Wulfie you said the avatar gets incredibly large are you looking at the wire frame model to obtain this information As i cannot see that happening either?
  14. I provided my physics above its just wrapped around the chair . I tried Inara's lovely sit prim and it seated at the position showing no bounding box was evident.
  15. Even without the llSitTarget or llSetLinkTarget being set in changed leaving just one in state_entry it gives this silly message: "No Room To Sit. Try another Spot" I was asking how it decided if a seat was valid as it seems non robust
  16. Hi Qie, I think using llSitLinkTarget(1, NULL_VECTOR,NULL_ROT); sets it to zero but then you need to reset the whole prim. Its interesting that its says in that clip that PHPose can do it or am i reading this wrong as the crafty fox did say he had a script which would do this, but would not share it .
  17. However i changed this to code to : Code: default { state_entry() {.... llSitTarget (0.05,25,0.01>,<0.0,0.0,0.0>); ....... changed(integer change) { vector avPos; rotation avRot; key agent = llAvatarOnSitTarget(); if(change & CHANGED_LINK) { if(agent==NULL_KEY) { // Stop Got Up agent = Check_4_KeyNot_Linked(); // .. do something } output = getFreeSeat(); if(output!=["full"]&&output!=["none"]) { llSetLinkPrimitiveParamsFast(llGetNumberOfPrims(),[PRIM_POS_LOCAL,(vector)llList2String(output,0),PRIM_ROT_LOCAL,llEuler2Rot(<0.0,0.0,llList2Float(output,1)>)]); // Must change sit target to next place to sit llSitLinkTarget(1, <.05,0.11,0.01>,<0.0, 0.0, 0.0, 1.0>); } } } Gives same message wulfie
  18. Hi Wulfie A Fox told me this could be done on single mesh please see Prim Impossible furniture which is single prim mesh: https://marketplace.secondlife.com/stores/56262 I was told by this clever fox that this llLinkSitTargets can be changed, once the first one is used is that in correct advice? It is clear Prim Possible can do it on single prim. I think i see what you are getting at its now linked
  19. I have been experiencing problems with passenger sits returning a system Message " No Room to Sit" I used Inara's prim sit to check i could sit a passenger in that location and there was no physics in my area that could interfere. Basically my sit is a JSON Sit with animation that provides a llSitTarget (0.05-25,0.01>,<0.0,0.0,0.0>); in state _entry . In changed this is then reset after the 1st seat is seated to llSitTarget (0.05,25,0.01>,<0.0,0.0,0.0>); When anther passenger tries to sit this seat is not available my seats dimensions are <0.44258,0.97541,> You should not my seating scripts sets link seating with llSetLinkedPrimativeParams Fast so standing and sitting does not change seat . However the second seat never seams to be occupied as this system error message comes in to stop my code executing to provide a new seat can display a system message "No Room To Sit". I would there fore like to know how a seat is decided it can be sat on what criteria does LSL use to decide the seat. My physics is attached. Code: key Check_4_KeyNot_Linked() { integer j = llGetNumberOfPrims(); list seated=[]; j = llGetNumberOfPrims(); for(; j--;) { if(llGetAgentSize(llGetLinkKey(j+1)) != ZERO_VECTOR) seated += [llGetLinkKey(j+1)]; } integer i = num_seats; for(;i--;) { avi = llJsonGetValue(SEATS_data,["seat"+(string)i,"key"]); if(avi!="empty" && llListFindList(seated,[(key)avi])==-1 ) return avi; } return NULL_KEY; } default { state_entry() {.... llSitTarget (0.05,25,0.01>,<0.0,0.0,0.0>); ....... changed(integer change) { vector avPos; rotation avRot; key agent = llAvatarOnSitTarget(); if(change & CHANGED_LINK) { if(agent==NULL_KEY) { // Stop Got Up agent = Check_4_KeyNot_Linked(); // .. do something } output = getFreeSeat(); if(output!=["full"]&&output!=["none"]) { llSetLinkPrimitiveParamsFast(llGetNumberOfPrims(),[PRIM_POS_LOCAL,(vector)llList2String(output,0),PRIM_ROT_LOCAL,llEuler2Rot(<0.0,0.0,llList2Float(output,1)>)]); // Must change sit target to next place to sit lLinkSitTarget(<.05,0.11,0.01>,<0.0, 0.0, 0.0, 1.0>); } } }
  20. I know this is an old thread but did you get it fixed I have an identical message bugging me my script is multi sit and sets a new llSitTarget for each sitter my physics are here https://gyazo.com/b84b5f01e2377de0292e793125097a04 I dont use pose balls either but am stuck with this silly message "No Room to it" Did you find a answer?
  21. I know this is an old thread but did you get it fixed I have an identical message bugging me my script is multi sit and sets a new llSitTarget for each sitter my physics are here https://gyazo.com/b84b5f01e2377de0292e793125097a04 I dont use pose ballseither but am stuck with this silly message "No Room to it"
  22. Dear Wolfie I was working yesterday so didn't have much time with it either , I will take another look I am incredibly grateful of your help as in world this knowledge is rare and I am eager to learn . Thank you for your help you was not using box positions in your script for position and I note this now too. I apologize to you as I confess should have payed more attention
  23. Hi Wulfie if you run the changed script you gave me it just rotate one prim i will send it to you in world to see
×
×
  • Create New...