Jump to content

Moore Tone

Resident
  • Posts

    33
  • Joined

  • Last visited

Reputation

3 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Thank you ObviousAltIsObvious, at least I know it's not possible. : )
  2. Nope, not the item's name, but the item's description. i.e. inside my object there's a notecard, it's [name] is "setup" and it's [description] is "2016-03-04 10:41:46 note card". But cannot figure how make my script read the description.
  3. When I place an item inside a rezzed object (it could be a script, a notecard, a texture, another object...) it bring with itself its description, and I can manually read it just by choosing 'properties' of the item inside the object. And I can do it in any moment, no matter if a script is running, if I'm wearing it or it's just rezzed on ground. I know how retrive the [name] of the item and/or it's [type] (if it's a notecard, a script etc..) but cannot figure how get the [description] of it ....simply (with my poor lsl skills) I'm blind about description, and seems so strange for me (I cannot figure any issues about security, sability, consistency or else) . So my question is: it is possible get the item description by lsl or that is beyond lsl capabilites?
  4. LI is determined not only by mesh LOD (Download value) but depends from the highest value of three params ( Download, Physics and Server). So, if final LI value is caused by Physics or Server values, lowering the LOD has no effects at all on it. Maybe you should check the cause of such high LI before deciding where focusing to fix.
  5. Thank you very much for your answers. I'll think about the caveats but probably I'll step back and look for a simplier and less troublemaking hud layout : ) But really thank you for the suggestions.
  6. I'm scripting a simple hud, where I need to print some data (using llSetText) on different rows. My issue is that different viewers (es LL official viewer, FS viewer) uses different params about font size and that make veriy difficult alighn properly text rows with buttons and with hud graphic layout, also if user use the client full-window or not will introduce more difference on hud layout (shrinking the client's window change the hud dimension but not the font size). So my questions are: 1)Can I retrive via LSL the which client (LL, FS, etc..) the user is running? 2)Can I retrive via LSL client version? 3)Can I retrive via LSL the font-size value? 4)Can I retrive via LSL if the client is full-screen or not? 5)Can I retrive via LSL client window width and height?
  7. Thank you for the quick and clear answer. Probably the 'notecard manually updated' way it's the best alternative for my purpose, thank you for the suggestion.
  8. Da quanto mi risulta non puoi rimuovere la dicitura dal tuo profilo. La notizia buona (anche se non è quello che hai richiesto) è che se hai rimosso i dati di pagamento dalla dashboard (il pannello web del tuo account) di fatto non sarà possibile effettuare nessuna transazione, insomma carta o paypal sono stati effettivamente 'scollegati'. La notizia cattiva invece è che sul profilo del tuo avatar risulterà sempre e comunque tale dicitura, puoi interpretare il suo significato come se fosse: "questo avatar ha usato ALMENO UNA VOLTA nella sua esistenza informazioni di pagamento". Per molti questa è una cosa comoda, in quanto consente di tenere sbloccate tutte le features collegate (es: upload mesh, accesso a sim con restrizioni) anche rimuovendo qualsiasi collegamento a carte o paypal. Non lo è però per il tuo particolare caso in cui, se ho capito bene, vuoi proprio eliminare ogni inidizio che in passato tale account ha avuto delle payment info attive.
  9. The title explain my request. But let me make a pratical example. I want to have a script that could recon if it's get touched by an avatar who own the group X then show him/her a customized dialog box, if the object it's touched by an officer then show him/her another menu, suited for that specific role. Due owners and officers can change by time the script should be able to 'know' if someone is a (new) owner or a (new) officier or if the avatar y is no loger an officicer for that group X. It's possible? Or, at least, it's possible to get close to a result like that? P.S. Forgive my terrible english, I know it's a pain to read.
  10. Thank you for both answers, with your clear explanations I understood what I was doing wrong and now it works with no problem at all. Now I'm able to send vars both via GET or POST with no more headache! Really thank you two!
  11. Sorry to bother for a silly question like that, but it puzzles me about 2 hours. What I want is simply send by lsl a GET var to a php page and get the same value as answer in the http_response( ) Here what I wrote: LSL script: string myurl ="http://*****/test0.php"; //obfuscate for privcy : P key http_request_id; default { state_entry() { llOwnerSay("Run"); } //don't do nothing special touch_start(integer total_number) { llOwnerSay("Touched."); http_request_id = llHTTPRequest( myurl, [HTTP_METHOD, "GET", HTTP_MIMETYPE, "application/x-www-form-urlencoded"], "p2=test"); }//touch_start http_response(key request_id, integer status, list metadata, string body) { if (request_id != http_request_id) return;// exit if unknown llOwnerSay("-" + (string)status + " - " + body + "- "); } } ----- PHP code: <?php $servervar1 = "nothing here"; if( $_GET['p2'] != NULL ){ $servervar1 = $_GET['p2']; } else { $servervar1 = "p2 var is NULL or doesn't exist"; } echo("--".$servervar1."--".); ?> ----- Everything goes fine with no problem but despite any effort I keep get the FAIL message: -200 - --p2 var is NULL or doesn't exist--- I also checked the same url via browser and it works correctly I also checked using the LSL script if -any- $_GET[ ] reach the php page counting the length of the $_GET[ ] array (...sizeof($_GET)...) but keep telling me 0 elements. So, seems my php page don't see the GET var coming from the LSL script..but don't have any idea why! ----- Somebody could help me?
  12. Dall'errore che riporti sembra non essere un problema di SL, o di qualche viewer, ma di un file di windows (dbghelp.dll) danneggiato o corrotto. Senza conoscere di più sul sistema, nè cosa hanno fatto in assistenza per sistemarlo, più che consiglarti di orientarti verso la risoluzione del problema di windows (e non di SL) non saprei però come darti maggiormente aiuto.
  13. If it goes attached at your right hand (the default attach point) then probably it was not rigged, or not exported with the rig, or not imported with the skeleton checkbox selected. Btw, if you just want it follow an avatar bone you have 2 option: 1) import the pauldron just as a static mesh, then attach at the desidered attach point, then set the position and rotation once you did that. 2) import a rigged pauldron, but be sure that all vertices of the pauldron are fully (not partially) weight parented with the only one desidered bone (and not to any other bones).
  14. Basically I want to get a hud with a visual compass in it that tell me the angle of the z axis of a given object "A" rezzed iw (both hud and "A"objct are mine, so I have the totall access/control about them). The problem that puzzles me is that when the hud recieve the rotation value I have to make a bunch of coversions, so I'm wondering if there's a more efficent way to obtain the same result. my HUD do these steps: 1) convert the string message (from a listen) into a rotation var. 2) covert the rotation var in a vector var (representing the rot in radiants) 3) take the z axis to create a second vector to represent the z rotation on the x axis (my compass is on a hud on my screen) 4) covert the last vector var in a rotation var 5) finally use it to rotate the compass! so..(string) > rotation > vector > vector > rotation!....is there a shorter way (or a quicker, more efficent way) to obtain the same result instead of make so much conversion to obtain a rotation var from another rotation var? Thank you.
×
×
  • Create New...