Jump to content

Xiija

Resident
  • Posts

    913
  • Joined

  • Last visited

Reputation

299 Excellent

4 Followers

Retained

  • Member Title
    Lotus Eater

Recent Profile Visitors

1,824 profile views
  1. @TrashPanda Starling you can rez your obj and set it to your group, then rez another prim and set it to the land group... when you link the two, make the land group one the root. any "samegroup" code will work as long as the root has no touch event i think
  2. @Innula Zenovka here is how i did it with a test server. not sure if you have access to your own server I don't think it is possible with just a static webste ? https://replit.com/@TikiHed/fetch-with-cert
  3. yah, it works fine when i use a server with the SL cert, kk ty anyways
  4. I'm experimenting with google sheets as a storage for persistent URLS, and can GET request the url from the spreadsheet fine. Even if i just copy / paste the url + "/?cmd=stats" into a browser window, i can see the correct response. so, I can get a good response with postman, or inside SL .. but if I try on replit, or codepen, i'm not getting a response. prolly something simple, thanks for any insights. the code on codepen.... https://codepen.io/TikiHead/pen/vYMPzjN
  5. @Bavid Dailey yah, sadly the info from ... "http://158.69.74.203:80/stats?sid=1" ... was basic, no metadata either however their website has a contact mail for feedback or questions ... mail@swissgroove.ch .
  6. @Bavid Dailey does the station you are using show what encoding they are using? Looks like it's not UTF-8 mebbe? can you check with something like this? key XMLRequest; default { state_entry() { } touch_start(integer total_number) { string url = "http://whatisland.macchiatomedia.org:8118/stats?sid=1"; XMLRequest = llHTTPRequest( url , [HTTP_USER_AGENT, "XML-Getter/1.0 (Mozilla Compatible)", HTTP_METHOD, "GET", HTTP_MIMETYPE,"application/xml;charset=utf-8", HTTP_BODY_MAXLENGTH,16384, HTTP_PRAGMA_NO_CACHE,TRUE], ""); } http_response(key k,integer status, list meta, string body) { if(k == XMLRequest) { if(status != 200) { llOwnerSay("error code\n"); return; } llOwnerSay("Body: \n" + body); llOwnerSay("Meta: " + llDumpList2String( meta, "\n") ); } } } I checked this shoutcast station and i see this... ETA: sorry, i think that is the XML encoding, but you may still be able find the ID3 tags if they are included?.. if they are using non-standard encoding, they should list what they are using ?
  7. SL has no way to delete a topic?
  8. Edit: nvm, it was just authing folders & linking the sheet & app script
  9. my prims are now getting an "Access Denied" ... not sure what google changed. anyone have a working script that uses a google apps script to store a URL ? Thanx for any help
  10. I tried it with 64 2-meter tiles and a root prim under them all, but i think this code only works for one agent at a time? anyhoo, mebbe someone can use it ... integer old; integer new; default { state_entry() { llSetLinkPrimitiveParamsFast( LINK_ALL_OTHERS, [ PRIM_COLOR, ALL_SIDES, <0.0, 0.0, 0.0>, 1.0, PRIM_GLOW,ALL_SIDES,0.0 ]); } collision(integer num) { new = llDetectedLinkNumber(0); if( new != 1) { if(new != old) { llSetLinkPrimitiveParamsFast( new, [ PRIM_COLOR, ALL_SIDES, <1.0, 1.0, 1.0>, 1.0, PRIM_GLOW,ALL_SIDES,0.1]); llSetLinkPrimitiveParamsFast( old, [ PRIM_COLOR, ALL_SIDES, <0.0, 0.0, 0.0>, 1.0, PRIM_GLOW,ALL_SIDES,0.0]); old = new; } } llSensorRepeat("", "", AGENT_BY_LEGACY_NAME, 8.0, PI, 0.2); } no_sensor() { llSetLinkPrimitiveParamsFast( LINK_ALL_OTHERS, [ PRIM_COLOR, ALL_SIDES, <0.0, 0.0, 0.0>, 1.0, PRIM_GLOW,ALL_SIDES,0.0 ]); llSensorRemove(); old = 0; } }
  11. @jak Scribe mostly the above + the stuff on the wiki & llRotLookAt ... default { on_rez(integer start_param) { llResetScript(); } state_entry() { vector pos = llGetPos(); vector OwnerPos = llList2Vector(llGetObjectDetails( llGetOwner(),[OBJECT_POS]), 0); llRotLookAt( llRotBetween( <1.0, 0.0, 0.0>, llVecNorm( <OwnerPos.x, OwnerPos.y, pos.z> - pos ) ), 1.0, 0.4 ); } }
  12. or you could shorten the name to be used?... names += ":" + llGetSubString( llDetectedName(index++) , 0, 23);
  13. Just seeking a lil understanding.. the wiki says : llSitTarget( vector offset, rotation rot ); but when i use getlinkprimparams... it returns a list of 3 items? touch_start(integer total_number) { list ls = llGetLinkPrimitiveParams(LINK_THIS, [PRIM_SIT_TARGET]); vector zero = llList2Vector(ls, 0); vector one = llList2Vector(ls, 1); vector three = llList2Vector(ls, 2); integer len = llGetListLength( ls ); llOwnerSay("vecs: \n" + (string)zero + "\n " + (string)one + "\n " + (string) three + "\n LEN: " + (string)len ); }
  14. we used a skater HUD in sl roller derby, and the way we checked for speed huds was to allow only 1 scripted attachment, ( the skate HUD ). Just check participants on a timer mebbe?
×
×
  • Create New...