Jump to content

Search the Community

Showing results for tags 'scripts'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • People Forum
    • Your Avatar
    • Make Friends
    • Lifestyles and Relationships
    • Role Play
    • General Discussion Forum
    • Forums Feedback
    • Missed Connections
    • Second Life Education and Nonprofits
  • Places and Events Forum
    • Favorite Destinations
    • Upcoming Events and Activities
    • Games in Second Life
  • Official Contests, Events & Challenges
    • Challenges
    • Contests
  • Creation Forum
    • Fashion
    • Art, Music and Photography
    • Animation Forum
    • Bakes on Mesh
    • Environmental Enhancement Project
    • Machinima Forum
    • Building and Texturing Forum
    • Mesh
    • LSL Scripting
    • LSL Library
    • Experience Tools Forum
  • Technology Forum
    • Second Life Server
    • Second Life Viewer
    • Second Life Web
    • General Second Life Tech Discussion
    • Mobile
  • Commerce Forum
    • Merchants
    • Inworld Employment
    • Wanted
  • Land Forum
    • General Discussion
    • Mainland
    • Linden Homes
    • Regions for Sale: Full Private Island
    • Region for Rent: Full Private Island
    • Regions for Sale: Homesteads
    • Region Rentals: Homestead
    • Parcels for Sale: Mainland
    • Parcels for Rent: Mainland
    • Wanted: Full Private Island
    • Wanted: Homesteads
    • Wanted: Mainland
  • International Forum
    • Deutsches Forum
    • Foro en español
    • Forum in italiano
    • Forum français
    • 日本語フォーラム
    • 한국어 포럼
    • Fórum em português
    • Forum polskie
    • المنتدى العربي
    • Türkçe Forum
    • Форум по-русски
  • Adult Content Forum
    • Highlight Upcoming Events
    • General Discussion
    • General Announcements
  • Answers
    • Abuse and Griefing
    • Account
    • Avatar
    • Creation
    • Inventory
    • Getting Started
    • Controls
    • Land
    • Linden Dollars (L$)
    • Shopping
    • Technical
    • Viewers
    • Everything Else
    • International Answers


  • Commerce
  • Featured News
  • Inworld
  • Tools and Technology
  • Tips and Tricks
  • Land
  • Community News


  • English
  • Deutsch
  • Français
  • Español
  • Português
  • 日本語
  • Italiano
  • Pусский
  • Türkçe

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



About Me

Member Title

  1. I recently had a script created for a jewelry box. The person sent over a perfectly good working version along with the scripts. I have been trying for days now to recreate the working box with the same box i sent for him to work with but it seems to not work when I try to recreate it. The person who helped me with the script sent over a non mod script so I can't show any Code with a detailed notecard i followed. i have even sent him over the non working version and he sent me back a fully mod working version just the scripts are no mod. i have tried resetting scripts, setting them to running, using the same scripts that came from the working version, every keyword is the exact same i have even tried on the beta grid and nothing worked. im using the latest version of firestorm at this time FIRESTORM i welcome any suggestions and thank you for taken the time out to read my post.
  2. Hello All, I'm looking for help on a script/land resources issue. I bought a Garda Tristar-R V1.2 Motor Boat and all seems OK until I try to drive it. I can place it on my water, uncover and board it, remove the fenders, turn on the lights and start it. Sounds function properly - but when I try to drive it I get this script warning: "Can't enable physics for object -- insufficient land resources." I am on a hillside property to water; have a waterfall and elevator - all function properly. Is there something I can do or is this an issue with the load the boat requires to run being too great for my land? Thanks very much in advance. WaitsThomasBatriani
  3. Hello, I'm looking to hire a scripter for a project for my sim. -What it should do- When someone arrives in the sim they are prompted to accept the sim experience. (Yes, I already have one.) They will also be given a private message in local explaining what it does. If they have already accepted it, they are not asked to join again. If they accepted the experience or previously did so, a HUD will be rezzed and attached to their screen in the lower right-hand corner. If they leave the sim, the HUD will auto-detach. If possible I would like this to work sim-wide, not just in a small area. If that is not possible, please let me know what your recommended solution would be. I have already made the HUD to be rezzed, and will be updating it from time to time. I realize I could just use an updater script to give everyone who wears the HUD an updated copy, but I'd rather lower the variable of user error by simply providing a temporary attached version. I do not have a specific time frame for this project, but completion by the end of March would be great. I do not care of the script is full perm or not, as long as I can manually set any variables that need to be set. (i.e. it doesn't require the script creator adjusting the script if something changes.) For example, if the HUD object changes names (because it will with version changes). If you're interested in this project, please send me an IM or notecard inworld with how much you'll charge for this project, and how long you think it'll take to complete. Do not reply here, as I may not see it for a few days. Thanks!
  4. Hi! I've been working on a script somone put into the public domain, trying to adapt it to my purpose, which is to rez an NPC when it receives a message via a Dataserver call. Broadly, it works fine, but upon rezing, I want the NPC to adaopt the included (static) animation and to face a particular direction. It's this last part that won't work. No matter what value I put in for the Z rotation, the NPC will behave as follows: 1) It tends not to change direction at all for small (Less than about 7 or 8 degrees) increments/decrements of Z 2) Then it will suddenly change direction by an estimated 20 or so degrees. 3) it cannot be made to face any direction in between it's two jumps 4) For some values, it jumps into a wildly different direction. 5) Overall, it seems to be a toss up between only about 4 or 5 directions it will face, and none other, no matter which of the 360 degrees I try. Here's the relevant piece of code I believe. Where you see "185" in this example; that's the value I'm changing, but the results don't change as expected/intended. Clearly I'm doing something wrong here, but can anyone tell me what? if(npc_on == FALSE) { npc = osNpcCreate("", "", npcPos, npc); npc_on = TRUE; llSensor("", "", AGENT | NPC, 96.0, PI); vector xyz_angles = <1.0, 1.0, 185.0>; vector angles_in_radians = xyz_angles * DEG_TO_RAD; // Change to Radians rot_xyzq = llEuler2Rot(angles_in_radians); // Change to a Rotation osNpcSetRot(npc, rot_xyzq); osNpcPlayAnimation(npc, "My animation"); } Thank you in advance for your thoughts!
  5. Hello everyone, I come to inform linden lab that second life is having serious problems with scripts and this has been weeks which is not tidy, I am a creator, I create swords, Huds magic for roleplay and etc ... I have an land of roleplay with friends of mine, and I started to notice a huge delay between our attacks, when we tried use some power made by us the script just doesn't work as it should, objects stay in the air for much longer than they should before they die, objects don't make a sound when they should, there is always a delay of at least 5 seconds to be executed at function of the script !, This disrupts all the dynamics that existed in the past, making people unable to enjoy their powers. At first I thought it was a problem with the land, because when it was reset things "went back to normal" for half an hour, so I started going to other lands and testing different powers, weapons of different brands of second life, and in the vast majority of lands (including Bluesteel and Le Tigre which are Linden Lab's own lands) things still didn't work as they should! This in addition to disrupting the roleplay disrupts our business, as our customers and several others from other stores, think that the products are poorly made, that they are not working normally, when 1/2 months ago everything worked normally, please Linden Lab help fixing this script delay on the servers to get everything back to normal. I made a short Video showing this Delay its just an example of a product where 2 months ago it worked perfectly, with the cuts appearing next to the animation. Sorry for my rust english and Thank You for your Attention.
  6. Hello everyone, I'm looking for high quality gun scripts; it seems nearly all top gunmakers in SL such as SAC (S.S.O.C. Armament Co.) SHC (Silver Hawk Company) and Ironsight Armaments all use their own proprietary weapon scripts that are used in their products. I haven't been able to find any high quality gun scripts for sale on the marketplace and within in-world stores, and scripts tied with animations that deal with LLCS in particular, one that includes things like particle ejections, muzzle flash, magazines sliding out and and attachments such as a suppressor which can be toggled on and off through a HUD. I'm looking specifically for a script for a handgun, but scripts for a rifle or a shotgun would be very useful. Filtering through a number of dubious and questionable scripts on the marketplace, the closest thing I can find is the MTA Dual SMG / Pistol Scripts with HUD: https://marketplace.secondlife.com/p/MTA-Dual-SMG-Pistol-Scripts-with-HUD-Case/3077754; but this seems to be very much geared towards an almost strictly dual-wielded submachine gun or machine pistol with a very high-rate of fire. Are there any in-world stores that sell such scripts and animations? I'm surprised there isn't anything (that I know of) in the modern weapons community on SL like the ACS Vehicle Operating system that so many professional or even budding, amateur vehicle creators in SL use in their products. The vehicle market on SL seems very well-established, supported and structured for those looking to get into vehicle-making (and I'm not talking about just cars here, PRETTY MUCH ALL VEHICLE TYPES) compared to the more seemingly tight-knit modern gunmaking community. The medieval weapons community has the Unity Maxim meter and its scripts, which very much supports its community creators. Assuming you already have high quality models and textures, but have limited experience with scripting, and would like to create and sell your products, is hiring a scripter (to create yet another very possibly proprietary script) the only option? I would appreciate some suggestions and helpful, friendly advice; let me know if there are any such scripts and people in the community to help me out. - Charlotte Sinclair
  7. A script that links a profile link of the owner's name in local chat when whispering/speaking/shouting. EXAMPLE: secondlife:///app/agent/9bb35653-4ea2-41bb-bdc9-5bb51050f143/about : Hello, how are you? Welcome.
  8. I'm experimenting with storing data off-world using free resources and right now I'm trying out making pastes in pastebin. When I try make a new paste I get this error in http_response: The pastebin api at https://pastebin.com/doc_api says that data must be sent as UTF-8 so I've set MIMETYPE and ACCEPT to "text/plain;charset=utf-8" but still getting the error. Can anyone figure how to get past this error? // Script created by Gayngel of The Script Yard. // Follow the numbered steps in this script to set up and understand how this script works.. // Step 1: string api_key = ""; //To make a paste to pastebin you must have a pastebin account. Once you have created a pastebin account go to the pastebin api to retrieve you unique api key. The pastebin api is at https://pastebin.com/doc_api. You can also click the api button at the top of the website on pastebin.com to go to the api. Look for the section that shows your unique api key like in this screenshot https://i.imgur.com/Q1ul8Th.png. For example if your unique pi key is c46e0524312gbgh103bedh1aba2zj1l3 then the line in this script should be: string api_key = "c46e0524312gbgh103bedh1aba2zj1l3"; // N.B: Do NOT ever give out your api key to anyone!!! If you intend to sell this script in your object make the script no mod as no one should ever see your api key. If someone accesses your api key they can create spam pastes on your account and/or delete your pastes. It is probably best not to sell this in an object because each copy of the object will create a new paste on your account. You can only have a limited amount of unlisted/private pastes on a free pastebin account. // Step 2: string privacy = "2"; // Set the privacy of the paste your are going to make. // Set this 0 if you want the paste to be public for everyone to see on pastebin. // Set this to 1 if you want the paste to be public on pastebin but unlisted. // Set this to 2 if you want the paste to be private so only you can see it on pastebin. // Step 3: string paste_lang = ""; // If the text you are pasting is a programming/scripting language you can set this as the language key to make the paste highlight the program's syntax. For exmple if you want your paste to highlight in LSL the line in this script should look like this: string paste_lang = "lsl2"; //You can see a list of all highlighting keys on the pastebin api https://i.imgur.com/K5caEju.png // Leave this blank if the text you want to paste is not a program/script string paste_url = ""; //The url you get returned from pastebin when you make a paste. Leave this blank on first creating the paste. Once you get the URL to the created paste the script will tell you the URL to it. You can then copy and paste the URL to this line. string paste_message; // The message you want to send as a paste. You will set/write this in an event or function. integer coins; // a variable you can paste to and get from your paste. Number of coins collected. integer lives; // another variable you can paste to and get from your paste. Number of lives you have. integer goombahs; // another variable you can paste to and get from your paste. Number of goombahs you squashed. integer koopas; // another variable you can paste to and get from your paste. Number of koopa shell you kicked. key owner; key req; default { state_entry() { owner = llGetOwner(); } touch_end(integer num) { ++ coins; // increment coins ++lives; // increment lives; ++goombahs; // increment goombahs; ++koopas; // increment koopas; //Step 4 //Write the data you want to send as a paste paste_message = "message=Itsa you Mario! You have " + (string)lives + "lives left. You collected " + (string)coins + "coins. Your princess is in another castle\ngoombahs="+(string)goombahs+"\nkoopas="+(string)koopas; if(paste_url == "") // This will create the new paste. Since you haven't made a paste before the paste_url is blank. So a new paste will be created and return a url to the paste. { // curl_setopt($ch, CURLOPT_POSTFIELDS, 'api_option=paste&api_user_key='.$api_user_key.'&api_paste_private='.$api_paste_private.'&api_paste_name='.$api_paste_name.'&api_paste_expire_date='.$api_paste_expire_date.'&api_paste_format='.$api_paste_format.'&api_dev_key='.$api_dev_key.'&api_paste_code='.$api_paste_code.''); req = llHTTPRequest("https://pastebin.com/api/api_post.php?api_option=paste&api_dev_key="+llEscapeURL(api_key)+"&api_paste_private="+llEscapeURL(privacy)+"&api_paste_name="+llEscapeURL("test_lsl")+"&api_paste_code="+llEscapeURL(paste_message),[HTTP_MIMETYPE,"text/plain;charset=utf-8",HTTP_METHOD,"POST",HTTP_EXTENDED_ERROR,TRUE, HTTP_ACCEPT, "text/plain;charset=utf-8"],"Ping"); } else // This will update the paste. Since a paste was created there is a URL to it. Delete the paste and create a new one. { } } http_request(key reqID, string method, string body ) { llOwnerSay("REQUEST: " + body); } http_response(key reqID, integer status, list metadata, string body) { llOwnerSay("RESPONSE:" +body + " STATUS:" + (string)status + "METADATA: " + llList2CSV(metadata)); } }
  9. Me and my wife are looking for some help with scripting. We are looking for a script that we can be drop inside a prim giving that prim the ability to be dealt damage once hit/touched. Example: An avatar holding a baseball bat that can give physical damage to a prim. Once prim is hit, the prim is disappears.
  10. I really want to detect if a sitter on an object presses the ESC key to reset the camera, but of course that is not possible. The next best thing is to get the camera pos/rot and compare to the desired pos/rot. I defined a camera rot/pos using llSetCameraEyeOffset and llSetCameraAtOffset so when the ESC key is pressed the camera snaps to my defined pos/rot. I want to be able to get the camera pos/rot from when an avatar is sitting on the object and see if the camera is say <2,3,1> and at 90 degrees both pos&rot relative to the object. Using a timer I want to compare if the camera is at the desired pos/rot but llGetCameraPos and llGetCameraRot use region co-ordinates while llSetCameraEyeOffset and llSetCameraAtOffset use local co-ordinates. Is there a way to get local pos from a region pos or vice versa so I can compare? The script would looksomething like: vector cam_pos; roatation sitRot; default { state_entry() { llSitTarget(<0.3,0.0,0.2>,ZERO_ROTATION); sitRot = llAxisAngle2Rot(<0.0, 0.0, 90.0>, 0.0 * DEG_TO_RAD); cam_pos = <2, 0, 1> * sitRot; llSetCameraEyeOffset(<0.05, 0.1, 1.5> * sitRot); llSetCameraAtOffset(cam_pos); } changed(integer change) { if(change & CHANGED_LINK) { if(llAvatarOnSitTarget() != NULL_KEY) llRequestPermissions(llAvatarOnSitTarget() PERMISSION_TRACK_CAMERA); else lSetTimerEvent(0.0); } } run_time_permissions(integer perm) { if(perm & PERMISSION_TRACK_CAMERA) { llSetTimerEvent(0.0); llSetTimerEvent(1.0); } } timer() { vector avi_pos = llGetCameraPos(); if(cam_pos == avi_pos) // this is what I need to compare. How can I compare a region pos to a local pos? { // do stuff } } }
  12. I am looking to hire someone to make me a custom script for a tp board. 1. Multi-Location 2. Same Sim 3. Can add a location without redoing the entire tp system I need this to use a set position marker not coordinates, the map or anything that someone sits on. It should be an experience. Yes, yes, I know there are some on the MP like I am describing but every last one requires me to re-do the entire system when I make a new venue. I am looking to make my life easier not have to re-do something all the time. Karlee Heartsong
  13. Hello Lovelies, I have recently purchased/been gifted some full permission food/drink items off of the marketplace. I'm wanting to script them with Xeolife and other scripts. I'm not sure which Xeolife affiliate scripts and/or other marketplace scripts to buy to accomplish what I want the items to do. Such as: 1. An avatar can click the food item to buy and recieve 1 slice/drink that will attach to the avatar. 2. Not inventory based. 3. Item will dissapear after it is empty/eaten. 4. One use and cannot be reset. (Going for realistic) 5. Need base item/giver to be rezzable and able to set permissions for access. (Owner, anyone, group, etc.) Thank you so much to anyone who can help me, recommend scripts, or point me in the right direction! ❤
  14. When I try to restart my animation HUD I get an error message: "Script trying to take controls from owner but PERMISSION_TAKE_CONTROLS permission not set!" How do I set this permission so that the animation's script can run?
  15. Hi. I'm not a scripter. Just trying to edit and combine some codes from open sources. Basically what I'm trying to achieve is when the object is touched, a dialog will appear and when certain option / answer is clicked the Map Destination opens. I did not get any error message when I saved the script but the "llMapDestination" command is seemingly being ignored in the "if" clause. When I tried it with "llSay", it worked just fine. My scripting skills is very basic and limited to editing only so I definitely must be missing something. * This one worked * integer gListener; default { touch_start(integer total_number) { llListenRemove(gListener); key user = llDetectedKey(0); gListener = llListen(-99, "", user, ""); llDialog(user, "\nDo you want to use the World Map?", ["Yes", "No" ] , -99); llSetTimerEvent(60.0); } listen(integer chan, string name, key id, string msg) { if (msg == "Yes") { llSay(0, "It worked!"); } llSetTimerEvent(0.1); } timer() { llListenRemove(gListener); llSetTimerEvent(0.0); } } ----------------------------------------------------- * This one didn't work, no error but world map doesn't open * integer gListener; default { touch_start(integer total_number) { llListenRemove(gListener); key user = llDetectedKey(0); gListener = llListen(-99, "", user, ""); llDialog(user, "\nDo you want to use the World Map?", ["Yes", "No" ] , -99); llSetTimerEvent(60.0); } listen(integer chan, string name, key id, string msg) { if (msg == "Yes") { llMapDestination("Perlanera", <248.0, 146.0, 3694.0>, ZERO_VECTOR); } llSetTimerEvent(0.1); } timer() { llListenRemove(gListener); llSetTimerEvent(0.0); } }
  16. Hello Lovelies, I have recently purchased/been gifted some full permission food/drink items off of the marketplace. I'm wanting to script them with Xeolife and other scripts. I'm not sure which Xeolife affiliate scripts and/or other marketplace scripts to buy to accomplish what I want the items to do. Such as: 1. An avatar can click the food item to buy and recieve 1 slice/drink that will attach to the avatar. 2. Not inventory based. 3. Item will dissapear after it is empty/eaten. 4. One use and cannot be reset. (Going for realistic) 5. Need base item/giver to be rezzable and able to set permissions for access. (Owner, anyone, group, etc.) Thank you so much to anyone who can help me, recommend scripts, or point me in the right direction! ❤
  17. Hello, I am looking to hire a scripter for my bank in Second Life. Mostly is integrating our blockchain API instore. Business partner proposals are also encouraged ( in second life ). Revolutionary technologies inworld and IRL. Thank you.
  18. Hiya! I'm a newcomer to SL so please forgive me if this isn't posted in the right spot but onwards to the question at hand. My beau and I are working on getting a house set up together and we decided to buy some scripted furniture for the more adult side of life and all that. We demoed all of the items in question at the store repeatedly before we decided to purchase them, but now that we're at home and I'm proceeding on decorating, these items are... not working. I've tried removing the items in question, both by taking and deleting them, and putting a fresh item down, going through the edit menu to find where to refresh the scripts and I've done that a few times, and tried to plop the item down in another region to see if it'll work there only to be blocked by 'item cannot be rezzed here' as well. I've been trying to find a sandbox to try them out in but, again, newcomer and I don't tend to know where to look for those. However, I figured that we should be able to just pop out the furniture and enjoy ourselves, but that isn't happening. I don't think the rating of the lands we're on would have anything to do with it, but it could? I am still learning the ropes here so any advice on what to do in the future is grand. I also don't think the scripts would be broken, given that I've tried very hard to puzzle this out on my own for a few hours to the point of getting a frustration headache but any and all help would be greatly appreciated.
  19. In need of a scripter for a grid-wide game design. Please message me in world and provide projects you have worked on that may help in my decision to choose you to work with.
  20. The parcel I live on has been running ragged for the past several weeks. I'm not sure why, but I started tracking Script memory and active scripts as well as changes to the parcel. I have not found the information needed for the "normal" statistics for a parcel. I do not know what is an acceptable rate and now asking " What is an acceptable reading for a parcel, where there isn't much Lag or Script memory usage?" I decided to revamp the parcel since it's near Halloween and redecorate. I know enough, to remove scripts from landscape items, scripts and boxes from items rezzed and set up. I've combed the parcel checked trees, rocks, grass, bushes an removed scripts from the decor for Halloween but it seems the lag is just constant. I takes a bit of time to rezz in clothing, hair, buildings... well just about everything. Script usage is at 20468 which seems quite high for what I've recently done... What should the parcel be sitting at to run relatively normal without long rezz times? I've included the information from my statistics bar upper and lower, with script run time. Any help is appreciated! Thank you ♥ Alaintha
  21. I am looking for a donation script without hovertext. I have tried modifying existing scripts that I have but when I do, they no longer work as I really do not know what I am about. Any help would be much appreciated.
  22. I have been experiencing problems with passenger sits returning a system Message " No Room to Sit" I used Inara's prim sit to check i could sit a passenger in that location and there was no physics in my area that could interfere. Basically my sit is a JSON Sit with animation that provides a llSitTarget (0.05-25,0.01>,<0.0,0.0,0.0>); in state _entry . In changed this is then reset after the 1st seat is seated to llSitTarget (0.05,25,0.01>,<0.0,0.0,0.0>); When anther passenger tries to sit this seat is not available my seats dimensions are <0.44258,0.97541,> You should not my seating scripts sets link seating with llSetLinkedPrimativeParams Fast so standing and sitting does not change seat . However the second seat never seams to be occupied as this system error message comes in to stop my code executing to provide a new seat can display a system message "No Room To Sit". I would there fore like to know how a seat is decided it can be sat on what criteria does LSL use to decide the seat. My physics is attached. Code: key Check_4_KeyNot_Linked() { integer j = llGetNumberOfPrims(); list seated=[]; j = llGetNumberOfPrims(); for(; j--;) { if(llGetAgentSize(llGetLinkKey(j+1)) != ZERO_VECTOR) seated += [llGetLinkKey(j+1)]; } integer i = num_seats; for(;i--;) { avi = llJsonGetValue(SEATS_data,["seat"+(string)i,"key"]); if(avi!="empty" && llListFindList(seated,[(key)avi])==-1 ) return avi; } return NULL_KEY; } default { state_entry() {.... llSitTarget (0.05,25,0.01>,<0.0,0.0,0.0>); ....... changed(integer change) { vector avPos; rotation avRot; key agent = llAvatarOnSitTarget(); if(change & CHANGED_LINK) { if(agent==NULL_KEY) { // Stop Got Up agent = Check_4_KeyNot_Linked(); // .. do something } output = getFreeSeat(); if(output!=["full"]&&output!=["none"]) { llSetLinkPrimitiveParamsFast(llGetNumberOfPrims(),[PRIM_POS_LOCAL,(vector)llList2String(output,0),PRIM_ROT_LOCAL,llEuler2Rot(<0.0,0.0,llList2Float(output,1)>)]); // Must change sit target to next place to sit lLinkSitTarget(<.05,0.11,0.01>,<0.0, 0.0, 0.0, 1.0>); } } }
  23. Ive recently made my own dancer, and gotten it to play my animations and sounds! There is one issue however, the animations dont play one after the other but instead at random intervals. Is there a way i can fix this where they can play in succession? integer ON = 0; //STATE OF SCRIPT //YOU EDIT THESE PARTS FOR NEW ANIMATIONS, SOUND CLIPS ETC. DO NOT TOUCH THE SCRIPT list animation = ["Sync'D Motion__Originals - Boasty 01", "Sync'D Motion__Originals - Boasty 02","Sync'D Motion__Originals - Boasty 03","Sync'D Motion__Originals - Boasty 04","Sync'D Motion__Originals - Boasty 05"]; //ANIMATION NAMES integer MaxSoundClips = 18; //AMOUNT OF SONG CLIPS, NAME THEM 1,2,3,4,ETC integer SoundLength = 10; //FIRST SERIES OF SOUND LENGTHS integer LastSoundLength = 8; //INCASE LAST SOUND CLIP IS SHORTER integer SoundClipNumber = 0; //FOR SOUND LOOP integer AnimPos; ResetToDefault() { llStopSound(); llSetTimerEvent(0.00); ON = 0; SoundClipNumber = 0; AnimPos = 0; llRequestPermissions(llGetOwner(), PERMISSION_TRIGGER_ANIMATION); } StopAnims() { integer x; for (x=0;x<llGetListLength(animation);x++) { llStopAnimation(llList2String(animation,x)); } } default { state_entry() { llListen(0, "", "", ""); } attach(key id) { if(id) { llOwnerSay("Say 'on' or 'off'"); } else ResetToDefault(); } timer() { llPlaySound((string)(++SoundClipNumber),1.0); llRequestPermissions(llGetOwner(), PERMISSION_TRIGGER_ANIMATION); if(ON == 1){ llSetTimerEvent(SoundLength); ON = 2; } if(SoundClipNumber == MaxSoundClips) { llSetTimerEvent(LastSoundLength); ON = 1; SoundClipNumber = 0; } llPreloadSound((string)(SoundClipNumber+1)); } listen(integer channel, string name, key id, string message) { message = llToLower(message); if (ON == 0 && message == "on") { ON = 1; llRequestPermissions(id, PERMISSION_TRIGGER_ANIMATION); llSetTimerEvent(0.01); } else if(message == "off"){ResetToDefault();} } run_time_permissions(integer perm) { if (perm & PERMISSION_TRIGGER_ANIMATION) { llStopAnimation("sit"); StopAnims(); if ((ON == 1) || (ON == 2)) { llStartAnimation(llList2String(animation,AnimPos)); AnimPos++; } if (AnimPos == llGetListLength(animation)) AnimPos = 0; } } }
  24. (Apologies if this has been asked a thousand times. I have tried to use the search but not found the answer) Basically - I have a small parcel - just 20 x 40 metres with my little house in it. But when I walk around I sometimes can hardly move, or then I will sink into the floor then suddenly reset to floor level. I have turned on the lag meter and it says server lag is bad (it shows in red). It is on mainland in an adult area. I have a modest amount of furniture. My understanding is that this type of lag is largely caused by too many scripts in the sim. I have had an explore and high above me just to one side is a huge deserted adult club in a castle in the air. I had a nosy around and it is full of *interesting* and complicated-looking equipment. It seems to be completely abandoned (I have never seen anyone there in 'radar'). I contacted the land owner some time ago (and sent a notecard) and have had no response. Maybe they no longer use Second Life. So three questions: 1. Is there a range from my parcel within which other people's scripts can affect performance back in my parcel, or is it the whole sim? 2. If I am affected by the whole sim how big is a sim? I have looked on https://maps.secondlife.com but can't see sim borders. 3. Is there no policy of de-rezzing objects or at least disabling scripts in abandoned places? If not it seems to be this could be a good policy from LL. Though... I suppose the tenant must still be paying for the land on a monthly basis?
  25. Hello everyone, I am using a basic tip jar script i purchased from MP. I would like to make it tell me the total amount made after I log out of the jar if possible. Can someone help me modify it. I have include it below. Tyia! integer amount = 0; default { state_entry() { llSetText("TIPS HERE", <1,1,1>, 1); llSetPayPrice(amount, [100,200, 300, 400]); } money(key avaname, integer payment) { llSay(0, "Thank you for the tip, " + llKey2Name(avaname) + " !"); llSetText("Last tip was " + (string)payment + "L$ by" + llKey2Name(avaname), <1,1,1>, 1); } }
  • Create New...