Jump to content

Sharelle Aurelia

Resident
  • Posts

    9
  • Joined

  • Last visited

Posts posted by Sharelle Aurelia

  1. I appreciate everyone for replying.

     

    Anyway, I tried to fiddle with the original version script (trying to turn it into my own) for hours with no luck. The only good came out out of trying were I started out scripting my tree (branches) with a dollar sign emitter with sounds.  When clicked on the tree branch a flowing of cash signs comes out with a brief sound and if touching (or clicking) the dollar bill (the leaf) it disappears but that's about it. lol

    I got frustrated and stopped trying due to getting a headache. SMDH 

    As stated before, 

    my goal were to make this script for object that drops (dollars out the tree) randomly for 30-60 secs then dies if not clicked within those seconds. Also, I want to be able pay any amount of lindens into the object. In addition, to be able set specific payments e.g. only pays out L$1 (or whatever amount) when someone touches it; along a hover text showing the total amount paid into the object as well as showing the amount left (after each clicks ). It would be even better if the object allows certain amount of times to be click by a resident (maybe once or twice within 24 or 48 hours?).  

    Right now, I am stuck at what little I did with the tree and I don't know if I will continue this project. Thanks for all responses. Even if it's not helpful.

  2. These scripts didn't work for me. It didn't show hover texts above the object (tree) of the total amount.  My goal is to make this script object drops randomly for 30-60 secs then dies if not clicked. Yet, I want to be able pay any amount of lindens into the object. Also, it only pays out L$1 (or whatever amount) when someone touches it. I would like a hover text showing the total amount paid into the object as well as show the amount left (as residents click on it). It would be even better if the object allows the same resident to click certain amount of times (maybe once or twice within 24 or 48 hours?).  

  3. I'm a noob when it comes to scripting. Yet, I want script(s) that I can add into an object that gives out lindens to resident when clicked.

    e.g. a money tree with a dollar bill (leaf)

    I tried looking at this script below but it only confused me as I tried to turn it as my own. Again, I'm new to scripting and don't know much about it.

    Leaf Prim:

    This script by Ferd Frederix may be used in any manner, modified, and republished.  Unless specified otherwise, my scripts are always free and open source.  Objects made with these scripts may be sold with no restrictions.  All I ask is that you point others to this location should they ask you about it and to not sell this script, unless it is for $0 L. Please help improve my work by reporting bugs and improvements.
    
    
    1
    2 // Put this in a a prim
    3 // Put this prim in the server
    4 // It will fall and if touched, send money
    5
    6 integer channel = -76576; // a very secret number/password also found in the boxes that fall.
    7
    8 integer ready = FALSE;
    9
    10 default
    11 {
    12 on_rez(integer param)
    13 {
    14 ready = param; // for safety, we make it so if rezzed with no param, it does not spend money
    15 llSetTimerEvent((float) param);
    17 }
    18 timer()
    19 {
    20 llDie();
    21 }
    22 touch_start(integer total_number)
    23 {
    24 if(ready) {
    25 llSay(channel,llDetectedKey(0));
    26 llDie();
    27 }
    28 }
    29 }
     
    Makes The Tree:
    This script by Ferd Frederix may be used in any manner, modified, and republished.  Unless specified otherwise, my scripts are always free and open source.  Objects made with these scripts may be sold with no restrictions.  All I ask is that you point others to this location should they ask you about it and to not sell this script, unless it is for $0 L. Please help improve my work by reporting bugs and improvements.
    
    
    1 // Add a prim to this prims inventory with the FallingScript in it.
    2
    3 integer Amount = 1; // Give one Linden each time.
    4 integer Max = 100; // the max $L to give away, then stop giving
    5
    6 integer rezTime = 10; // The boxes will rez for 10 seconds, then die
    7 float DIST = 10; // Boxes will be rezzed within this radius of the giver. (!!! MAX = 10 )
    8 // How often to rez objects
    9 float min = 60; // one minute minimum
    10 float max = 300; // 5 minutes sometimes
    11 integer channel = -76576; // a very secret number/password also found in the boxes that fall.
    12 integer Given;
    13 default
    14 {
    16 {
    18 }
    19
    20 run_time_permissions(integer permissions)
    21 {
    22 if(permissions & PERMISSION_DEBIT)
    23 {
    24 llListen(channel,llGetInventoryName(INVENTORY_OBJECT,0),"",""); // listen for givers we rezzed by name
    25 llSetTimerEvent(llFrand(max - min) + min);
    26 }
    27 }
    28
    29 timer()
    30 {
    31 vector myPos = llGetPos(); // this giver is HERE
    32 myPos.x = llFrand(DIST*2) - DIST + myPos.x; // Make it +/- DIST away
    33 myPos.y = llFrand(DIST*2) - DIST + myPos.y;
    34
    35 // And rez it with a start parameter
    37 }
    38
    39 listen(integer channel, string name, key id, string message)
    40 {
    41 if(Given > Max) {
    42 llSetTimerEvent(0); // stop giving
    43 llInstantMessage(llGetOwner(), "Out of money to give");
    44 llSetText("Balance: 0 " , <1,0,0>,1.0); // red text
    45 return;
    46 }
    47
    48 Given += Amount;
    49 key avatarKey = (key) message;
    50 llGiveMoney(avatarKey, Amount);
    51 llSetText("Balance: " + (string) (Max - Given), <0,0,1>,1.0);// Green text
    52 }
    53
    54 }
  4. Thank you for responding. Kudos to you! :)

     

    Forgive me if I seem like a dense...I am not a wiz in a computer (but know a little).

     

    When you mention Cat5, is this an ethernet cord? I am using a CenturyLink PK5001Z wireless Modem and an ethernet cord. I also haven't installed a new Anti-Virus/ Firewall program (Firewall built with my computer and I am using Avast anti-virus software). Anyway, I will try disabled to see if this will helps. Again, thanks.

  5. Overly the past two weeks, playing Second Life Sucks! I updated my graphic card and got the Techinician to my home twice and still no luck in playing long as I usually play (not even thirty minutes). I dont understand? Seriously, I could be at the club dancing on one of my sister's HUD or my own . I also could be standing around in my rental (changing clothes, etc) or at the club when it constantly freezes or crashes. In addition, lately my player stops working too and I have to toggle music often (sometimes reboot). Here's my computer information below:

     

    Firestorm 4.3.1 (31155) Dec  2 2012 00:45:37 (Firestorm-Release) with Havok support
    Release Notes

    You are at 299,809.0, 279,833.0, 2,601.2 in Vinogradov located at sim7325.agni.lindenlab.com (216.82.34.73:12035)
    Second Life RC BlueSteel 13.02.01.269843
    Error fetching server release notes URL.

    CPU: AMD Athlon(tm) Processor 2650e   (1607.37 MHz)
    Memory: 2815 MB
    OS Version: Microsoft Windows XP Service Pack 3 (Build 2600)
    Graphics Card Vendor: NVIDIA Corporation
    Graphics Card: GeForce 6150SE nForce 430/integrated/SSE2/3DNOW!

    Windows Graphics Driver Version: 6.14.0013.0774
    OpenGL Version: 2.1.2

    RestrainedLove API: (disabled)
    libcurl Version: libcurl/7.21.1 OpenSSL/1.0.0d zlib/1.2.5 c-ares/1.7.1
    J2C Decoder Version: KDU
    Audio Driver Version: FMOD version 3.750000
    Qt Webkit Version: 4.7.1 (version number hard-coded)
    Voice Server Version: Vivox 2.1.3010.6270

    Settings mode: Phoenix
    Viewer Skin: vintage (classic)
    Font Used: Deja Vu (96)
    Draw distance: 128
    Bandwidth: 500
    LOD factor: 2
    Built with MSVC version 1600
    Packets Lost: 14/31,768 (0.0%)

    Any help is greatly appreciated. Thanks.

×
×
  • Create New...