Jump to content

Search the Community

Showing results for tags 'scripting help'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • 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

Blogs

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

Categories

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

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Member Title

Found 16 results

  1. Hello, I am new to sl. I am in search of building a team, I'll be needing scripters and 3dmodelers mostly. There is room for people that have expertise in texturing, advertising, beta testing, etc. My goal is to ultimately create in sl but due to inexperience it'll take months to years to create what I envision without any outside help. What I am searching for here are not only people to help me achieve my goals but also be open to helping others in the future, I hope to create a group and expand. To have a place that people can learn while also applying that knowledge to projects on their skill level. I'd like to mention that the goal I am currently pursuing in sl is to create a game. If you are interested please let me know. You can IM me a Notecard or send one InWorld at http://maps.secondlife.com/secondlife/Business Park/196/164/22 , If I am online I hop from place to place and at some point may end up here to check up on the place. Though if I am not there you can catch me here http://maps.secondlife.com/secondlife/Marietta/250/17/74. I may also just be at the builder's brewery. Just a list of places if you just don't feel like sending a notecard or just have some questions before you send one.
  2. I've been scripting a white list/security system for a linkset and its pretty much finished at this point minus one last hurtle. Im using llMessageLinked to send a list of Avatar names from a Central script to a sitting script. My central script takes care of reading a White List NC and stores that info internally along with other main tasks like if someone clicks a door and it checks to see if they match X parameters to grant access or denies them. The options are Owner only, Owner + Group/Public/White List. I then made a sitting script which has the 4 modes inside it. When an option is changed in the Central Script it sends a message to the sitting script to change to that mode. It all works as intended minus one bit when it comes to the White List. My issue comes up with the translation of data sent from my central script to my sitting script. Im using this line of code in my central script: llMessageLinked(LINK_ALL_OTHERS, 0, "Add" + llDumpList2String(access_list, ","), owner); This line sends out a list like this to my sitting script: Command,Name1,Name2,Name3, (For the names, im using legacy names.) Inside my sitting script im using this code which works with one avatar name using a command to separate the list.. (Dont mind the code not have { } I removed those to look cleaner) integer comma = llSubStringIndex(message, ","); if (names > 0) string command = llGetSubString(message, 0, names - 1); string avi = llGetSubString(message, names + 1, -1); if (command == "Add") if (llListFindList(access_list, [avi]) == -1) access_list = llListInsertList(access_list, [avi], 0); I've been trying out different ideas but im still sorta new to this whole llGetSubStrings and llParseString2List, etc. Is it possible for SL to take a list with what im trying doing to store it internally into the sitting script with llMessageLinked? If so how exactly should I go about it? Thanks, Stellar
  3. 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)); } }
  4. I have a Doll Key with 11 scripts within it, and one of these scripts calls: queryLandmarkData = llRequestInventoryData(landmark); ...where landmark equals "Home" in the standard case. queryLandmarkData is verified to not be NULL_KEY, but the dataserver event never fires: dataserver(key queryID, string queryData) { if (queryID == queryLandmarkData) { rlvTeleport(queryData); llSetTimerEvent(0.0); queryLandmarkData = NULL_KEY; } } (The function rlvTeleport takes queryData, generates the appropriate global position setting, and generates an RLV call to teleport.) Through the use of multiple debug statements it can be determined that the dataserver event never fires for the llRequestInventoryData() call. It does however respond to other dataserver events that happen in other scripts, including processing notecard lines and getting region data and username data. Is it possible that dataserver events in this script get throttled? I can find zero reason for llRequestInventoryData to work and then for data server to fail. There's no documentation in the llRequestInventoryData wiki page or in the dataserver wiki page that explains such a scenario. I'm using Firestorm to compile, along with full usage of all of Firestorm's compile-time enhancements. I also have the code in a git repository. I searched for the possibility that dataserver events were getting throttled or stopped outright due to too many all at once - but I can't find that documented anywhere if it is the case. Help?
  5. Original: if(Tpos!=(OP1|OP2)) { } What it's doing: if (Detected Vector != ( Vector1 | Vector2 ) ) { } On this line in my script, I get a type mismatch error after "Vector2". Since it is indeed a vector comparing to other vectors,(double checked) I'm probably doing the operator wrong. I am eternally confused by some operators. So, since I haven't been able to find an answer to this, here goes: What am I doing wrong, or how do you compare (Xvector to Yvector OR Zvector)?
  6. Hey guys, so i'm trying to get a mesh to glow and i have thi script: float rate = 1; default { state_entry() { llSetPrimitiveParams([PRIM_GLOW, ALL_SIDES, 0.001]); llSetPrimitiveParams([PRIM_GLOW, ALL_SIDES, 0.01]); llSetPrimitiveParams([PRIM_GLOW, ALL_SIDES, 0.02]); llSetPrimitiveParams([PRIM_GLOW, ALL_SIDES, 0.03]); llSetPrimitiveParams([PRIM_GLOW, ALL_SIDES, 0.05]); llSetPrimitiveParams([PRIM_GLOW, ALL_SIDES, 0.05]); llSetPrimitiveParams([PRIM_GLOW, ALL_SIDES, 0.03]); llSetPrimitiveParams([PRIM_GLOW, ALL_SIDES, 0.02]); llSetPrimitiveParams([PRIM_GLOW, ALL_SIDES, 0.01]); llSetPrimitiveParams([PRIM_GLOW, ALL_SIDES, 0.001]); llResetScript(); } } but for some reason the float rate isn't doing anything. it's not affecting the speed of thed animation. so i'm just wondering if someone can help me "fix" the code so that it does get affected by the speed? thanks !
  7. I have a script that creates a particle when i am standing still. I also want it to create a particle when I am sitting. I have added the following animations: string anim = llGetAnimation(llGetOwner()); if ((anim == "Standing") || (anim == "sit") || (anim == "groundsit") || (anim == "sitting")) . The standing animation works fine, but nothing happens on sit. when i walk, the particals stop. when i stand still, the particle starts, when i sit, nothing happens.
  8. list List = ["n","n","13056ed9-7351-446d-b7ee-3152aeffed1a"]; default { touch_start(integer total_number) { list TOUCHER = [llDetectedKey(0)]; integer found = ~llListFindList(List,TOUCHER); if(found){llSay(0,"Found");llSay(0,(string)found);} else{llSay(0,"Not Found");llSay(0,(string)found);} } } Result when touched: [14:37] Object: Not Found [14:37] Object: 0 The integer that is reported should be 2, corresponding to my UUID in the list when it matches my UUID upon touching the object. -1 means it was not found in the list by listfindlist. As far as I know (found) should be triggered when the integer is not negative. As you can see, it's not finding my UUID in the list and listing it's integer as 0... when it should be -1 for failed find or 2 for the list position. I've been messing with this for a few days and am completely lost as to how to make it work.
  9. Hello Scripters, I have been working over a Resizer script with all axis XYZ, X.Y.Z. My script is partially done but I want to make it work for linked prims. I have added the code for linked prim but need someone to modify it and make it working. **** Its very urgent, So please contact me asap inworld - puneetg30 or here to discuss about the script and payment ********* Please ask any questions, if you have regarding this script....
  10. Hiya I am trying to find a script that will play a full song as a walker I have however uploaded it under 10 seconds and put in into a prim but every script I buy wont work to play a full song Thanks
  11. This issue has been resolved and can be closed. The apparent failure of llAllowInventorDrop(FALSE) was because the non-group avatar I was testing with had been given blanket permission in Contacts > Friends to edit my objects. After I removed those permissions and waited 6 hours ( just in case it takes time to percolate through the system) everything is working fine again. ================ I'm a reasonably good scripter in LSL but i cannot get llAllowInventoryDrop(FALSE) to work for me. Symptoms: once I set llAllowInventoryDrop(TRUE) one time in my script in a simple prim, it doesn't seem to matter after that whether I set llAllowInventoryDrop(FALSE) or not, it's always true. Does anyone recognize this problem? I'm trying to make a group-specific notecard drop-box script, and want to turn on or off inventory dropping depending on the group tag the user is wearing. Thanks in advance for any info, pointers to documentation or bug-reports, or other wisdom! =============== OK, in attempting to make a tiny script that demonstrated this problem, I realized i have a different problem: nothing I do makes my objects so they cannot be modified by other avatars! This may be why I have the original problem, that llAllowInventoryDrop(FALSE) was not working to stop other people from dropping objects into my prim's inventory. ok - tracked this down to my having checked "Friend can edit, delete, or take objects" as permissions in my FRIENDS tab!
  12. Hello, I have searched for an answer to this question, but either don't understand the answer or am not finding what I'm looking for. I think the problem lies in my understanding of the way dataserver events (or events in general) work. Please let me know if my explanation is confusing. (1) Is this how the dataserver event works?: When I request a notecard line using llGetNotecardLine("My Notecard", 2), the dataserver event is triggered. Inside the dataserver block I can access whatever string is returned from line 2 in "My Notecard" and manipulate it (or whatever I'm trying to do). (2) I have a script that needs to read some values in from specific lines in a notecard. For example, let's say I need to store the integers on lines 2 and 4 from "My Notecard" into two different variables called A and B. Is this true?: Every time I call llGetNotecardLine(), the script is going to go into the same dataserver event, so inside the dataserver event block I have to have some way of figuring out which line I asked for to store it in the correct variable? Like this: integer A; integer B; key queryA; key queryB; default { state_entry() { // Check the notecard exists, and has been saved if (llGetInventoryKey(notecardName) == NULL_KEY) { llOwnerSay( "Notecard '" + notecardName + "' missing or unwritten"); return; } queryA = llGetNotecardLine("My Notecard", 2); queryB = llGetNotecardLine("My Notecard", 4); } dataserver(key query_id, string data) { if (query_id == queryA) { if (data == EOF) llSay(0,"Done reading notecard, read " + (string) notecardLine + " notecard lines."); else { A = (integer)data; } } if (query_id == queryB) { if (data == EOF) llSay(0,"Done reading notecard, read " + (string) notecardLine + " notecard lines."); else { B = (integer)data; } } } } Just FYI, I stole some of this code from an example I saw and added the parts I needed. Thanks!
  13. Hi, I'm new to LSL though not coding. I'm trying figure out how to fade a prim for say 5 seconds, and then reappear for 0.5 seconds, and then loop. I realise there a number of ways to do it: a) Set the default state to be 100% transparency and then reduce transparency to 0% for 0.5 seconds, and set the whole thing on a 5 second loop.tex b) Do the opposite, set default state to 0% transparency and then increase transparency to 100% for 5 seconds, on a 0.5 second loop. c) Do something with textures; i.e. have two textures, one blank and one default texture, and do the whole 5 second, 0.5 second texture switch loop. Problem with this one is that unlike with transparency, alpha textures can sometimes leave that alpha 'halo' effect you can sometimes see in hair. I tried to use a very basic llSetAlpha script generated online, but it doesn't work. I'd rather work with transparency instead if someone is willing to give me a hand. Thank you!
  14. I tried doing this myself but I am not capable. I need a script that can be placed in an object that is attached to an avatar and will; Allow avatars to click and get a message to vote for vote of yes or no Avatars can only vote once a day (or at least after a few hours) The vote will incrementally add or subtract from a running total. I would like the ability to change the dialogue either by changing the text within the script or by using a note card A notecard or chat interchange with the scripter would be good to solidify what I need as i am sure there are other things that would be good to add Thank you in advance
  15. Why isn't the touch script working? Please, I need help from a scripter ASAP. Here's the snippet: integer setting; float wait; float rand; default { state_entry() { @blink; llSetText((string)setting, <1, 1, 1>, 1); if(setting == 0) { llOffsetTexture(0, 0.2, -1); llOffsetTexture(0, 0.4, -1); wait = 0; rand = llFrand(0.2) + 0.1; while(wait < rand) { wait = wait + 0.25; llOffsetTexture(0, 0.4, -1); } llOffsetTexture(0, 0.2, -1); llOffsetTexture(0, 0, -1); wait = 0; rand = llFrand(8.0); while(wait < rand) { wait = wait + 0.25; llOffsetTexture(0, 0, -1); } } if(setting == 1) { llOffsetTexture(0, 0, -1); } if(setting == 2) { llOffsetTexture(0, 0.4, -1); } if(setting == 3) { llOffsetTexture(0, -0.1, -1); } if(setting == 4) { llOffsetTexture(0, 0.2, -1); } jump blink; } touch(integer total_number) { if(setting == 4) { setting = 0; } else { setting = setting + 1; } llOwnerSay((string)setting); } }
  16. I'm searching for an experienced scriptor to help with our future works at our store in second life. We're an original mesh brand, and while I can handle some small script work, I want to branch out and offer even larger projects. We make all our own mesh, animations (bento and static), and have been in business for some time. For more information about the projects please contact Late Billig in world. My Ims always are set to go to my email so I'll be able to reply anytime. We will offer fair rates and do our best to present you with our hard work and efforts.
×
×
  • Create New...