Jump to content

Ron Khondji

Resident
  • Posts

    351
  • Joined

  • Last visited

Everything posted by Ron Khondji

  1. Well the size thing is easy: when you import the simplebot in blender the scale is 0,047. Before you export you need to 'apply scale' so that the scale is 1.0. Why your avatar is all folded up I don't know. I just tested it and found no problems. By testing I mean I downloaded the simplebot, imported to Blender, applied scale, exported as Collada with 'operator presets': 'SL + Open Sim Rigged', uploaded to the beta grid and presto, no problems.
  2. llRequestUsername( key id ) If id is not the UUID of an avatar, the dataserver event is not raised.
  3. Yes. Let's go back to Wednesdays grid wide restarts.
  4. To check if the listen event fires you could add a llOwnerSay("I hear you!"); Then, if that works, try a llOwnerSay to check the 'if'.
  5. The script works fine for me. Possible problems for you might be: - The script isn't running. - You are on a 'no scripts' parcel. - Other reasons I can't think up right now.
  6. Well, the data returned in the dataserver event is just a string of the rezzdate. No need to do any calculations with it. This is script 1. // :CATEGORY:ChatBot // :NAME:Pandora_Chatbot // :AUTHOR:Destiny Niles // :CREATED:2010-01-10 05:20:56.000 // :EDITED:2013-09-18 15:38:59 // :ID:603 // :NUM:826 // :REV:1.0 // :WORLD:Second Life // :DESCRIPTION: // An ALICE base chatbot hosted at Pandorabots.com // // // Place these two scripts in an object. The first one is the listener for you to customize and control who it listens to. The second one is the actual engine itself. // :CODE: string mesg; key gOwner; list talkers; key Query; // added by SG for use with age calc key avi; string aviName; string RezDate; string location; string region; listen_to(key talker) { integer index = llListFindList( talkers, [talker] ); if ( index != -1 ) { talkers = llDeleteSubList(talkers, index, index); llMessageLinked(LINK_SET,0,"BYE",talker); } else { talkers = talkers + talker; // The MessageLinked below is formatted to process the information in Pandorabots collected from SL - i.e. name and location. Trying to also include avatars rez day but this part not working yet. You can check this by saying in chat (after logging in by touching the prim containing these 2 scripts) "testinit" (without the quotes) llMessageLinked(LINK_SET, 0, "CTRL1 " + aviName + ". " + "CTRL2 " + RezDate + ". " + "CTRL3 " + location + ". " + "CTRL6 " + region + ".", talker); } } default { state_entry() { gOwner = llGetOwner(); llListen(0,"",NULL_KEY,""); } on_rez(integer i) { llWhisper(0,"Owner say /chat or touch me"); llResetScript(); } touch_start(integer num_detected) { avi = llDetectedKey(0); aviName = llDetectedName(0); location = llList2String(llGetParcelDetails(llGetPos(), [PARCEL_DETAILS_NAME]) ,0); region = llGetRegionName(); Query = llRequestAgentData(llDetectedKey(0), DATA_BORN); } dataserver(key QID,string Data) { if (QID == Query) { RezDate = Data; listen_to(avi); } } listen(integer channel, string name, key id, string msg) { if (msg == "/chat") { listen_to(id); return; } if ((msg == "/reset") && (id == gOwner)) { llWhisper(0,"Resetting"); llResetScript(); } integer index = llListFindList( talkers, [id] ); if (index != -1) { mesg = llToLower(msg); llMessageLinked(LINK_SET,0,msg,id); } } } In script 2 I didn't change anything. The avatar age thing I threw away.
  7. I was reading the Tilia TOS and noticed this: There is however no section 3.6 to be found anywhere.
  8. I think this is what you were trying to do: touch_start(integer total_number) { integer i; for (i = 0;i < total_number;i += 1) { llPlaySound("SOUND HERE", 0.7); string origName = llGetObjectName(); string owner = llList2String( llParseString2List( llGetDisplayName(llDetectedKey(0)), [" "], [] ), 0 ); string avName = llList2String( llParseString2List( llGetDisplayName(llDetectedKey(0)), [" "], [] ), 0 ); llSetObjectName(avName); llSay( 0, "/me " + "kisses " + owner + "'s nose. "); llSetObjectName( origName ); }
  9. Another thing: If the twerk animation has a lower priority then the one playing by your AO you won't see it playing. Try disabling your AO and see what happens.
  10. There are no state changes in this script so this note from the wiki should not apply: "Changing state from within touch_start can cause the next occurrence of THIS touch_start code to be missed." However, maybe the llDetachFromAvatar() has the same effect as a state change. If that is the case the problem can be solved by using touch_end() instead of touch_start(). Worth to try.
  11. It's possibly in the hope that some idiot comes along and pay the asking price.
  12. Looks like the old comparrison versus assinment problem. if (DRAWN == TRUE)
  13. It's a typo. Check the line above the one that gives the error. Hint: variable names are case sensitive.
  14. The one in Vallone is not set to be copyable by anyone. Or was I looking at the wrong one?
  15. I just went to 'Kama Center' and noticed the same thing. Seen from: http://maps.secondlife.com/secondlife/Strute/252/10/36 Viewer: Second Life Release 5.1.3.514115 (64bit)
  16. Caveat for collision states: llVolumeDetect(TRUE) objects get trigger collision_start and collision_end but not collision() events. And collision_start does trigger when teleporting into the prim.
  17. I just started up the Linden Viewer and got this: I know this might be important for you, and the american government and FCC seem only to be working on bettering their own and their friends wallets, but why bother me with this pop-up when all I want to do is log in to second life? I'm in europe so why do you think I have any influence on any policy in the states? Please do not use the viewer, which is used globally, for your local politics.
  18. How to create your own texture can be found on the XyzzyText wiki page. There probably is a corrected texture somewhere, but I wouldn't know where to find one
  19. The problem is the texture. This is the texture used in the script: The UUID of this texture can be found in this script line: key gFontTexture = "b2e7394f-5e54-aa12-6e1c-ef327b6bed9e";
  20. Here's a list with all internal animations: Wiki page. Looks like you need: sit_ground
  21. Works fine for me. [08:53] Object: Please enter the amount of dollars using chat command /1 amount [08:53] Object: You must purchase 63152 L$. [08:54] Object: Please enter the amount of dollars using chat command /1 amount [08:54] Object: You must purchase 177 L$.
  22. How about: sensor(integer num) { names=[]; buttons=[]; for(i=0;i<num;i++) { if (llDetectedKey(i) != llGetOwner()) { buttons+=[llGetSubString(llDetectedName(i),0,23)]; names+=[llGetSubString(llDetectedName(i),0,23),llDetectedKey(i)]; } } menuChan=-llRound(llFrand(10000000)+100000000); listen_menuChan=llListen(menuChan,"",llGetOwner(),""); llDialog(llGetOwner(),"Select name ",buttons,menuChan); }
  23. Oh yes. That's much better. :matte-motes-bashful: I just didn't think of listfindlist.
×
×
  • Create New...