Jump to content

PriscillaWolf

Resident
  • Posts

    4
  • Joined

  • Last visited

Reputation

0 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Innula Zennovka - Thank you so much - it works! :smileyvery-happy:
  2. First of all, thank you for taking the time in reading this.... and Happy New Year! :matte-motes-smitten: I am trying to create a four option rental box set at L$550 (Example: L$550, L$1100, L$1650, L$2200) in those black "Pay Resident" pop up boxes. However, when I just copy & paste the script (below) - it only gives me a L$1, L$5, L$10, L$20 option (with "or choose amount" with a white bar below it) after I right click "Pay." So, I noticed the script did activate that "Pay" option, but it won't allow me to set the amount. I have not added anything to this script (below) because I am very ignorant and don't know anything about scripting - but I have tried finding those 1,5,10 and 20 numbers in the script - hoping to change the amount... but I couldn't find it. =( If anyone could help, I would be most appreciative. *ALSO: If anyone has anything else that I obviously need to add on this script, then I would be eternally in your slave lol.* Thank you!. :matte-motes-big-grin: Here is the script: Or, here's the link to it: http://wiki.secondlife.com/wiki/RentalBoxv1 // Configure here: float linden_per_day=4800.0; float warning_1_daysleft = 1.000; float warning_2_daysleft = 3.000; string warning_1 = "Warning, rent is up in 1 day"; string warning_2 = "Warning, rent is up in 3 days"; // warn_owner=0; // only sends messages when rent is overdue integer warn_owner=1; // sends all warnings to admin as well as renter // Below this is the script integer mystat=0; string timetil; list times; float days_left=0.0; integer last_time; key renter; string renter_name; string hexc="0123456789ABCDEF";//faster string float2str(float input)//Doubles Unsupported, LSO Safe, Mono Safe {//Float2Hex Copyright Strife Onizuka, 2006-2007, LGPL, http://www.gnu.org/copyleft/lesser.html or (cc-by) http://creativecommons.org/licenses/by/3.0/ if(input != (integer)input)//LL screwed up hex integers support in rotation & vector string typecasting { float unsigned = llFabs(input);//logs don't work on negatives. integer exponent = llFloor((llLog(unsigned) / 0.69314718055994530941723212145818));//floor(log2(b)) + rounding error integer mantissa = (integer)((unsigned / (float)("0x1p"+(string)(exponent -= ((exponent >> 31) | 1)))) * 0x4000000);//shift up into integer range integer index = (integer)(llLog(mantissa & -mantissa) / 0.69314718055994530941723212145818);//index of first 'on' bit string str = "p" + (string)(exponent + index - 26); mantissa = mantissa >> index; do str = llGetSubString(hexc, 15 & mantissa, 15 & mantissa) + str; while(mantissa = mantissa >> 4); if(input < 0) return "-0x" + str; return "0x" + str; }//integers pack well so anything that qualifies as an integer we dump as such, supports negative zero return llDeleteSubString((string)input,-7,-1);//trim off the float portion, return an integer } default { state_entry() { mystat=1; llSetText("Rental Script v1", <0,1,0>, 1.0 ); if( llGetStatus( STATUS_PHYSICS ) == TRUE ) { mystat=0; days_left = 0.0; last_time = llGetUnixTime(); } else { list lStatus = llParseString2List( llGetObjectDesc(), ["~"], [] ); days_left = llList2Float(lStatus,0); last_time = llList2Integer(lStatus,1); renter = llList2Key(lStatus,2); if( days_left <= 0.0 || last_time <= 0 ) { mystat=0; days_left = 0.0; last_time = llGetUnixTime(); } } llSetTimerEvent(0.5); } timer() { if( mystat == 0 ) return; days_left -= ((float)(last_time=llGetUnixTime())-(float)last_time)/86400.0; llSetObjectDesc( float2str(days_left) + "~" + (string)last_time + "~" + (string)renter ); if( days_left <= 0.0 ) { llInstantMessage( llGetOwner(), "Rent is overdue" ); days_left = 0.0; llSetText("Expired", <1,0,0>, 1.0); mystat=0; return; } else if( mystat<3 && days_left <= warning_1_daysleft ) { if( warn_owner ) { llInstantMessage( llGetOwner(), warning_1 ); } llInstantMessage( renter, warning_1 ); mystat=3; } else if( mystat<2 && days_left <= warning_2_daysleft ) { if( warn_owner ) { llInstantMessage( llGetOwner(), warning_2 ); } llInstantMessage( renter, warning_2 ); mystat=2; } integer daysleft = (integer) llFloor(days_left); float hoursleft = 24.0*(days_left-(float)daysleft); llSetText(renter_name + ": " + (string)daysleft + " days, " + (string)hoursleft + " hours", <1,1,1>, 0.5); } money(key giver, integer amt) { if( mystat == 0 ) { renter=giver; list lDet = llGetObjectDetails( renter, [ OBJECT_NAME ] ); renter_name = llList2String(lDet,0); llSay(0, "renter is " + renter_name); mystat=1; } llSay(0, "Pushed clock back " + (string)((float)amt/linden_per_day) + " days"); days_left += (float)amt/linden_per_day; } }
  3. THANK YOU guys for all your input, I truly appreciate it. I am in the process of buying a new computer and I was wondering if Second Life works best with Apple desktops? Like this one? .... Here are the specs of this Apple desktop: Memory: 8GB of memory 500GB Hard Drive Graphics: Intel® HD Graphics 5000 (^ although the system requirements for SL is an ATI Radeon 9200 and above OR NVIDIA GeForce 2, GeForce 4) <-- don't know if IntelHD Graphics 5000 is enough??? *Below is the link: http://www.bestbuy.com/site/apple-21-5-imac-intel-core-i5-8gb-memory-500gb-hard-drive/2680419.p?id=1219075853336&skuId=2680419
  4. Thank you for taking my inquiry. This has never happened to me before, so I am at a loss. Everything else runs great on my laptop - and it does not seem to overheat (feel hot) when I am trying to interact in SL, but if I move my avatar around for only a minute - I get the blue screen which reads: "DRIVER_IRQL_NOT_LESS_OR_EQUAL with some type of "memory dumping" being loaded up to 100 (before it can be allowed to re-boot) on the very bottom of the same blue screen. Okay, so here are the specs of my laptop: Pavilion dv7-6c95dx Microprocessor 2.20 GHz 2nd generation Intel Core i7-2670QM Processor with Turbo Boost Technology up to 3.10 GHz Memory 8GB DDR3 SDRAM (2 DIMM) Memory Max Maximum supported = 16GB Video Graphics Intel HD Graphics 3000 Hard Drive 750GB 5400RPM hard drive with HP ProtectSmart Hard Drive Protection Multimedia Drive SuperMulti DVD burner Display 17.3-inch diagonal HD+ BrightView LED-backlit display (1600 x 900) Network Card 10/100/1000 Gigabit Ethernet LAN (RJ-45 connector) Wireless Connectivity 802.11b/g/n WLAN WiMAX combo card with WiDi ^ I do believe my laptop is more than capable of handling Second Life without any issues, but for some strange reason, it's shutting down my entire laptop. RECENT ACTIVITY: I have been scanning my laptop with Malwarebytes Anti-Malware (as usual) and Advanced System care. I also installed some mandatory updates from Windows on my laptop. I have also cleaned out my laptop of any pictures, documents, etc... (in case it was overwhelmed by all the weight taking up space on my laptop). I even deleted my old user account on my machine and created a new administrator user account - to "start from scratch." Besides re-installing SecondLife, I have absolutely nothing else on my laptop. This has happened AFTER I deleted my ORIGINAL, cluttered Administrator Windows user account on my laptop - I just wanted to free up room on my laptop. So, when I created a brand new administrator account (with less junk on it) this crap happens. After I uninstalled and re-installed SL - this happens, literally out of the "blue." I don't know what else to do, so any advice as to narrowing down any possible issues to be fixed would be TREMENDOUS! Thank you!
×
×
  • Create New...