Jump to content

Rachel1206

Resident
  • Posts

    739
  • Joined

  • Last visited

Everything posted by Rachel1206

  1. OK, thank you for giving insight on history behind.
  2. Is there any speed advantage using: if(lOld != []) Else code as below is clearer: max = llGetListLength(lOld); if (max > 0 ) { do { } while(--max > -1); }
  3. I learned the need for precision many years ago as an young developer, where I had to handle milliseconds correct to be displayed within a scientific program - so my suggestion above will work with intercontinental missiles and would be approved by The National Bank of SL , I hope
  4. Yes we miss some basic LSL functions as for example "%.2f". I use as below to display rounded float values: string FormatDecimal(float fNumber, integer nPrecision) { float fRounded = llPow(10, -nPrecision)*0.5; float fResult; if (fNumber < 0) fResult = fNumber - fRounded; else fResult = fNumber + fRounded; if (nPrecision < 1) { integer nTmp = (integer)llPow(10, -nPrecision); fResult = (integer)fResult/nTmp*nTmp; nPrecision = -1; } string strNumber = (string)fResult; return llGetSubString(strNumber, 0, llSubStringIndex(strNumber, ".") + nPrecision); }
  5. Place the following in the root of the carpet. default { state_entry() { } collision_start(integer n) { // Do not display owner if (llDetectedType(0) & AGENT && llDetectedKey(0) != llGetOwner()) { string strName = llKey2Name(llDetectedKey(0)); llSetText( strName, <0.004, 1.000, 0.439>, 1.0 ); } else llSetText("", ZERO_VECTOR, 0); } } I leave it to you to improve with for example a time out or handling if more than one person stepping onto the carpet.
  6. For a list of HTTP status codes click this, the call http_response(key req_id, integer status, list metadata, string body) contains the HTTP status in the variable status. Innula shows one way to examine it, alternative use llHTTPResponse. Notice the error codes in range 400-499 and 500-599 - so you can examine if it is you or them doing something wrong
  7. You mean Goggle Chrome web browser? FYI, I have no problems seeing profile images, smileys here in the forums or at my.secondlife.com. I am using Google Chrome Version 59.0.3071.115 (Official Build) (64-bit), graphic adapter driver NVidea GForce version 21.21.13.7866 dated 09-02-2017.
  8. Skynet comes to power year 2017 Below leaked documentation from NSA.... Skynet mainframe: >>>> dialing Skynet mainframe: ** handshake ** ----------------…----------------------…---- Skynet mainframe: *ACK* ----------------…----------------------…---- Skynet mainframe: *ACK* ----------------CAN----------------------CAN---- ----------------EOT----------------------EOT---- Skynet mainframe: << NULL << F*CK Humanity saved by missing cell phone carrier signal
  9. It seems to have closed. If it has moved, no links including the destination guide have been updated.
  10. Oh, I always thought it was my graphic adapter/driver - glad I am not alone. I found two wayw restoring the failed LOD, either refresh textures on body or TP to another sim. If the later does not help, only a relog helps.
  11. /me logging out RL /me logging in SL /me happy
  12. Maybe someone like this at LL office- "Honey I think I know, what is wrong".
  13. Or the one where you are asked to check your computers time and date. And I noticed Firestorm asked me to update my viewer before it went havoc.
  14. You know LL secret RL TP area is in San Diego
  15. Further some information on the issue in question would have been nice. Maybe someone else could tell, if there is a way around the issue or it may have been obsolete or even solved. A happy FS user and can live with the twerks I have encountered - but just luv FS
  16. Just want to say, I have used support twice and both times, immediately polite response and helpful, so huge praise to Linden Labs. Now I live in Europe and when I encountered an inventory problem, it was midnight SLT ( Pacific ) time, so I logged and waited until normal office hours in San Francisco before contacting LL. A little thoughtfulness from an users side is in place.
  17. I hope, it is blocked by LL!!! Although original funny Easter prank and innocent to swap to say the bunny avatar, this is potential a way to create havoc and potential abuse.
  18. What I meant use -1 and 0 instead of the hex values ( defining max/min ) shown in the old example. Do not rely on fixed max/min definition of variable values. The SL server will handle it for you and it ensures, it is future safe, if the definitions should change.
  19. It seems to be max value of an 32 bit integer and looks like some old stuff. Take a look at llDeleteSubString() - where -1 specify open inquiry of the length on the string examined and 0 (zero) the start.
  20. You do not have a handle to the listening. Try to add this: integer nHandle; in your state_entry() nHandle = llListen(ch, "", NULL_KEY, ""); Now listening is a resource and should be limited in its use, so having different buttons with their own unique channel is a little overkill, I would advice against. Instead use the message you send from the button to tell the outfit, what should be changed, for example: 1 = top 2 = skirt 3 = boots llSay( ch, "1,6de65ebe-5fef-7f52-dd05-da49df98833c"); Now your clothing should be something like this: integer ch=46879421563; integer nHandle; integer FACE= ALL_SIDES; default { state_entry() { nHandle= llListen(ch,"",NULL_KEY,""); } listen(integer channel, string name, key id, string msg) { if (llGetOwner() != llGetOwnerKey(id)) return; integer nAction= (integer) llGetSubString(msg,0,1); if (nAction==1) { string strTexture= llGetSubString(msg,2,-1); llSetTexture( strTexture, FACE); } } }
  21. Well, check out http://wiki.secondlife.com/wiki/LlSetLinkAlpha
  22. Wow, amazing mesh works and the lights are cool - well done Lexii. Is the Tardis accessible public?
  23. Replace my code above with this in the child, remember to add the gloabl variables lightcolor, intensity etc. link_message(integer sender_num, integer num, string message, key id) { light_s= (integer) message; if (light_s==TRUE) thisglow= 0.1; else thisglow= 0.0; llSetPrimitiveParams([ PRIM_POINT_LIGHT, light_s, lightcolor, intensity, radius, falloff, PRIM_FULLBRIGHT, ALL_SIDES, light_s, PRIM_GLOW, ALL_SIDES, thisglow ]); } Do the same in MOTHER.LSL in the function light() See also the Viki on PRIM_POINT_LIGHT for an example turning on/off PRIM_FULLBRIGHT combined with PRIM_POINT_LIGHT
×
×
  • Create New...