Jump to content

Xiija

Resident
  • Posts

    912
  • Joined

  • Last visited

Everything posted by Xiija

  1. Opens today Oct 18th - 25th Free gifts, rides, art, Dj's Music ... tottaly free event! Come on out and see what you have been MISSING! http://maps.secondlife.com/secondlife/Burning%20Man-%20Deep%20Hole/94/33/25 Burn On! Ranger Xiija
  2. HI, I want to pull names from a google doc using an Object in SL. the google page is https ... is that a problem? does http need php to work? the code i have now is returning a status 400 i don't even know if this is what http is for? the BODY is set to hover text .. but it is just header gibberish, and only a few lines? key http_request_id; // string URL = "https://my.secondlife.com/xiija/groups/"; string URL = "https://docs.google.com/document/d/1CkDj9dCAfK46J9I_AjNI-_7EvSGmRuGzSev2NRx7v8A/edit?usp=sharing"; string tag = " HTTP/1.0\nUser-Agent: LSL Script (Mozilla Compatible)\n\n"; default { state_entry() { // [HTTP_METHOD,"GET"],""); "text/plain;charset=utf-8" "application/x-www-form-urlencoded" // application/vnd.google-apps.document //application/vnd.google-apps.kix http_request_id = llHTTPRequest(URL + tag , [HTTP_METHOD, "GET", HTTP_MIMETYPE, "application/vnd.google-apps.spreadsheet", HTTP_BODY_MAXLENGTH,16384, HTTP_PRAGMA_NO_CACHE,TRUE], ""); } http_response(key request_id, integer status, list metadata, string body) { if (request_id != http_request_id) return;// exit if unknown vector COLOR_BLUE = <0.0, 1.0, 0.0>; float OPAQUE = 1.0; llSetText(body, COLOR_BLUE, OPAQUE); llOwnerSay("\nstat : " + (string)status + "\nmeta : " + llDumpList2String(metadata," , ") ); } } thnaks for any info
  3. Burn2 opens to the public at noon SLT Saturday, October 18. . Come see the amazing builds, enjoy the free rides and tours, and get tons of free gifts! Be a part of Burning Man at the SecondLife Burning man Regional...Burn2 ! Please descript as much as possible to help stamp out LAG! http://maps.secondlife.com/secondlife/Burning%20Man-%20Deep%20Hole/247/61/24
  4. not for mine, if you wanted to use a note Card , you could but you would need a whole different script. http://www.free-lsl-scripts.com/cgi/freescripts.plx?Category=Notecard%20Reader
  5. you can combine some stuff and use a few shortcuts .... ( this supposes that the "root" is not one of the items. ) list main ;integer visible;integer child;default{ state_entry() { llListen(1,"",llGetOwner(), ""); // listen to owner only integer i; for (i = 2;i < llGetNumberOfPrims()+1; i++) //i=2 root=1,unlinked=0(getlinkName { string myName = llGetLinkName(i); main += myName; // add all link names to a list llSetLinkAlpha(i,0.0,ALL_SIDES); //turn all childprims invis } } listen(integer channel, string name, key id, string message) { list recieved = llParseString2List(message,[" "],[""]); // break the msg into 2 parts string command = llList2String(recieved,0); string name = llList2String(recieved,1); if(command == "draw") { visible = 1; } if(command == "sheath") { visible = 0; } if(~llListFindList(main,[name]) ) // if the name is in the childprim list { child = llListFindList(main,[name]) +1 ; //add 1 because setlinkalpha root = 1 } llSetLinkAlpha(child,visible,ALL_SIDES); }}
  6. **** I've also run into another problem. I couldn't get string subset to work with my score. I figure that is because score is an integer not a string. Unless should it still work in some way? I'm so confused, I did not think a score display would be this challenging. I'm sure there is something I haven't thought of yet. **** not sure if this helps, but..... integer score = 120; string scoreString = (string)score;
  7. If you are scripting it, check out... http://wiki.secondlife.com/wiki/LlGiveInventory and http://wiki.secondlife.com/wiki/LlGiveInventoryList by using a script, you can sell or gift to ONLY group members,(group gift) or make sure to NOT include the sell script/ hover text script etc..
  8. try SLPPF ? http://wiki.secondlife.com/wiki/LlSetLinkPrimitiveParamsFast#llSetLinkPrimitiveParamsFast
  9. could you use this if the dart is physical? just make the sensor / timer very fast? http://wiki.secondlife.com/wiki/LlMoveToTarget
  10. you could make a HUD, and use it to turn off scripts using http://wiki.secondlife.com/wiki/LlSetScriptState just use a listen with the "SetScriptState" script you add to the sound prims & a regionSay on your HUD ? To select which ones to turn on/off, you would need them to RegionSay to your HUD and get their object keys put in a list?
  11. // and the inline version ... integer tog; default { state_entry() { } touch_start(integer total_number) { if (tog = !tog) llRegionSay(90, "show"); else llRegionSay(90, "hide"); } }
  12. you could do that with glow and a timer? (although that would blink, you might need to fade it ...) integer tog; timer() { tog = !tog; { llSetLinkPrimitiveParamsFast(LINK_THIS, [ PRIM_GLOW, ALL_SIDES, 0.05*tog ]); } }
  13. The best tool is your editor i guess? you can use the inworld editor, or something like Notepad++ ? there are a few websites that have script making tools .... http://www.3greeneggs.com/autoscript/ http://theforcethat.blogspot.com/2008/07/script-generator-for-second-life.html as for tutorials, this isn't one, but if you are comfortable with scripting, you can look at how some things are handled beyond a begginer level? http://community.secondlife.com/t5/LSL-Library/RADIO-JSON-Notecard-reader-with-pagination/td-p/2228961 good luck and yell if ya need help !
  14. this should follow the detcted person .... just use a sensor/timer etc ? llSetStatus(STATUS_ROTATE_X | STATUS_ROTATE_Y , FALSE); // rotate only around Z axis MYpos = llGetPos(); PosTarget = llDetectedPos(0); llRotLookAt( llRotBetween( <0.0, 1.0, 0.0>, llVecNorm( <PosTarget.x, PosTarget.y, MYpos.z> - MYpos ) ), 1.0, 0.5 );
  15. Come build and have fun at the Secondlife Regional BurningMan festival BURN2 ! Anyone can go to BurningMan! .... Mark your calendars! October 18-26, 2014 theme is ...CARAVANSARY! The virtual Playa will soon transform - be a part of it! Plot sales are now OPEN! Come and claim your piece of the Playa for Caravansary! Free plots in the Plot Lottery or the juried plot event. More details are in the attached link. http://www.burn2.org/ Questions? IM Huntress Cattaneo or Leroy Horten.
  16. ***** seems like the script lets you set a fixed delay alredy? to get rid of the random one, set RANDOM to 0? // "FIXED [number]"//// This command sets a fixed delay (i.e. the script will definitely delay this// number of seconds). Note: you cannot set a fixed delay of less than 0.5// seconds.
  17. Perfect .. alt C was what i needed tysm!
  18. is it possible to make a cloth fall over a cube, pause the animation then delete the cube & floor, and save the cloth in it's current shape as a mesh object? i tried this, with floor, cube, and cloth as seperate objects, and ran the simulation ... but when i click "apply" to the cloth modifiers, or switch back to edit mode... the cloth goes back to it's original position & mesh plane shape... do i need to "bake" the animation frame somehow? thanks for any answers :)
  19. is your JSON type an object?..or an array? if it's an object, and the object has no arrays or objects within it, it should return just key - value pairs..?
  20. to send only to the toucher.... default{ state_entry() {llSetObjectName("."); } touch_start(integer total_number) { Key ID = llDetectedKey(0); llInstantMessage(ID,"Cold metal reaches from darkness."); }}
  21. if you have a list of names, you can use llDialog to display those names as buttons in a dialog popup, once you click a name, you set that name as target, open a textbox, and use your textbox to send the message. in your listen event, ( you will need 2 listens, one for the dialog, one for textbox) you listen for the textbox channel, and then send the message recieved to the target that was set with your button choice. if you are using a database outside SL, you will need http & php ?
  22. try typing "target practice" in the marketplace... some full perm ones where you can look at the script are there https://marketplace.secondlife.com/p/Free-Training-Dummy-Scripted-Full-Permissions/5676500
  23. ?* (though, to be fair, IM conference should also be lag-free for that same reasons, yet it actually works even worse for me, something that has always puzzled me). */ i have had chatlag with conference calls wth 6 or less people... i wonder how internet chatrooms work, and if this could in amy way be used in SL ? i think people would be willing to pay for a lag free "conference" room, if even for an hour or so....? we've tried other options like Dolby Axon.. but it takes up alot of scrrenspace
×
×
  • Create New...