Jump to content

Search the Community

Showing results for tags 'unpacker'.



More search options

  • 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
  • Places and Events Forum
    • Favorite Destinations
    • Upcoming Events and Activities
    • Games in Second Life
  • Official Contests & Events
    • Leap Into Love Snapshot Contest
  • 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
    • Sansar for Second Life Residents
  • Technology Forum
    • Second Life Server
    • Second Life Viewer
    • Second Life Web
    • General Second Life Tech Discussion
  • Commerce Forum
    • Merchants
    • Inworld Employment
    • Wanted
  • Land Forum
    • General Discussion
    • Mainland
    • 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

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


Found 3 results

  1. ainst Composer

    Unpacker script - unpacks twice

    Hello! There is such a script unpacker. for me it works fine, but when I give it to a friend, the first time it unpacks twice, and then as usual. why it happens? list lContents; string strFolderName = "A folder of goodies";// change to the name you want for your folder default { state_entry() {//some preliminary work to set things up //first, populate the lContents list string strThisScript = llGetScriptName();//note the name of this script, since you don't want to give that as part of the folder integer max = llGetInventoryNumber(INVENTORY_ALL);//note the number of items in the object's inventory integer counter = 0; do{ string str = llGetInventoryName(INVENTORY_ALL, counter);//check the name of each item if(str!=strThisScript){//and if it's not this script lContents +=[str];//add the name to lContents } } while(++counter < max);//and keep on doing this, advancing the counter each time, until all items have been checked. if(llStringLength(strFolderName)== 0){//sanity check -- if no folder name is provided strFolderName = llGetObjectName();//then use the name of this object for the folder } } changed(integer change) { if(change & CHANGED_INVENTORY){//if the contents of the object's inventory change llResetScript();//then reset the script in order to rebuild the list } else if(change & CHANGED_OWNER){//if the object's owner changes, give the folder to the new owner llGiveInventoryList(llGetOwner(), strFolderName,lContents);//give the folder to the new owner } } attach(key id) { if(id){//if someone attaches the object llGiveInventoryList(id, strFolderName,lContents);//give them the folder } } }
  2. ainst Composer

    Hello! Scripter Wanted! :: SOLVED ::

    Hello! need a scripter. It is necessary to remake the script unpacker script into a two-page hud. on the first page, click gives out the content, turns over to the other side with 5 buttons of social networks. You can either click on these buttons to go to the links or click on an empty space on the hud to remove the hud. possible mesh (8 faces). another layer for the animated texture background - a separate script already exists. The unpacker itself already contains the functions for the invitation to the group, delivery confirmation. for reward. please respond! thanks! integer delivery = 0; ///////////////////// CONFIGURATION ////////////////// key your_uuid = "00000000-0000-0000-0000-000000000000"; // type your key UUID here string PRODUCT_NAME = "Product name here"; string PRODUCT_VERSION = "Version numbers here"; string CREATED_BY = "Creator name here"; string PRODUCT_NAME_TEXT = "Product description here"; string TOUCH_TEXT = "Click Me To Unpack!"; string UNPACKING_TEXT = "Unpacking...please wait"; string SENDING_ITEMS_TEXT = "Unpacked, Now Sending Items..."; string UNAUTHORISED_TEXT = "You are not allowed to unpack this."; string GOOD_BYE_TEXT = "Thank you for your Purchase ! Self-Destruction"; string group_uuid = "00000000-0000-0000-0000-000000000000"; // type the key group here UUID string join_message = "Click here to join our support group:"; // message that appears in the local chat string content = ""; integer SEND_ON_REZ = FALSE;//when set to false, you need to click the box to unpack integer OWNER_ONLY = TRUE;// set to true only the owner can unpack the package integer DIE_AFTER_UNPACK = FALSE;//when set to to true,the package will destroy after it given its inventory //Under this line you can enable or disable the floating texts above your box. integer FLOAT_TEXT_SHOW_PRODUCT_NAME = TRUE; integer FLOAT_TEXT_SHOW_PRODUCT_VERSION = TRUE; integer FLOAT_TEXT_SHOW_CREATED_BY = TRUE; // Here you can change the floating text color. vector TEXT_COLOR = <0.0,1.0,1.0>; //Beyond this point i would not recommend modifications, and there for that is on own risk. DEFINITION_REZ_EFFECTS() { //DEFINITION_Text(FALSE); // Plus whatever else } DEFINITION_Text(integer show) { if(show == TRUE) { string title; if(FLOAT_TEXT_SHOW_PRODUCT_NAME == TRUE) { title += PRODUCT_NAME_TEXT+PRODUCT_NAME+"\n"; } if(FLOAT_TEXT_SHOW_PRODUCT_VERSION == TRUE) { title += PRODUCT_VERSION+"\n"; } if(FLOAT_TEXT_SHOW_CREATED_BY == TRUE) { title += CREATED_BY+"\n"; } title+=TOUCH_TEXT; llSetText(title, TEXT_COLOR, 1.0); } else if(show == FALSE) { llSetText("", ZERO_VECTOR, 0); } } DEFINITION_SEND_ITEMS(key id) { integer i = 0; integer items = llGetInventoryNumber(INVENTORY_ALL); string name; list itemslist; string complete; do { complete = (string)(i*100/items); llSetText(UNPACKING_TEXT+"\n"+complete+"% Complete", TEXT_COLOR, 1.0); name = llGetInventoryName(INVENTORY_ALL, i); if(llStringLength(name) > 0 && name != llGetScriptName()) { itemslist += name; } }while(i++<items); llSetText(SENDING_ITEMS_TEXT+"\nMay take "+(string)((integer)(3*llGetRegionTimeDilation()))+" seconds till you recieve.", TEXT_COLOR, 1.0); string FOLDER_NAME = PRODUCT_NAME+" "+PRODUCT_VERSION; llGiveInventoryList(id, FOLDER_NAME, itemslist); llInstantMessage(id, "The folder is named "+FOLDER_NAME+" in your inventory"); } default { state_entry() { llSetObjectName(PRODUCT_NAME+" "+PRODUCT_VERSION+" (Boxed)"); DEFINITION_Text(TRUE); } on_rez(integer a) { if(delivery == 0){ delivery = 1; llInstantMessage(your_uuid,llGetObjectName()+ " Rezzed by "+ llKey2Name(llGetOwner())); llOwnerSay( join_message + " secondlife:///app/group/" + group_uuid + "/about"); // send invite to group as a link for the recipient to click content = llKey2Name( llGetOwner()) + " has rezzed " + llGetObjectName() ; } DEFINITION_REZ_EFFECTS(); if(SEND_ON_REZ == TRUE) { DEFINITION_SEND_ITEMS(llGetOwnerKey(llGetKey())); } else { DEFINITION_Text(TRUE); } } touch_start(integer d) { if(OWNER_ONLY == TRUE) { if(llDetectedKey(0) == llGetOwnerKey(llGetKey())) { DEFINITION_SEND_ITEMS(llGetOwnerKey(llGetKey())); if(DIE_AFTER_UNPACK == TRUE) { llSetText(GOOD_BYE_TEXT, TEXT_COLOR, 1.0); llSleep(3); llDie(); } DEFINITION_Text(TRUE); } else { llInstantMessage(llDetectedKey(0), UNAUTHORISED_TEXT); } } else if(OWNER_ONLY == FALSE) { DEFINITION_SEND_ITEMS(llGetOwnerKey(llGetKey())); if(DIE_AFTER_UNPACK == TRUE) { llSetText(GOOD_BYE_TEXT, TEXT_COLOR, 1.0); llSleep(3); llDie(); } DEFINITION_Text(TRUE); } } }
  3. Hello! I'm trying to create a simple unpacker giving all content to the owner on rez and self-deleting. I have reviewed a bunch of scripts but they are all very difficult for a beginner. Please tell me how to start and where to go? that's what i have for now but it dont work... thanks for any help! default { on_rez(integer start_param) { llGiveInventory(llGetOwner(), llGetInventoryName(INVENTORY_OBJECT)); llDie; } }
×