Jump to content

Rolig Loon

Resident
  • Posts

    46,275
  • Joined

  • Days Won

    5

Everything posted by Rolig Loon

  1. I sense an impending demand for extension cords...... 😁 And buckets ....
  2. Oh, so you found the typo? is clearly meant to be iOwner_only_flag = !iOwner_only_flag; A simple toggle switch. Good catch.
  3. if ( llGetLinkName(llDetectedLinkNumber(0)) == "Button 1" ) { iOwner_only_flag = !Owner_only_flag; } Then when someone clicks to operate the device, check if ( (iOwner_only_flag && llDetectedKey(0) == llGetOwner() } || !Owner_only_flag)) // do stuff
  4. I doubt that you will be able to attract a scripter to write something like that for as little as L$1000. That's about $4 US, enough to pay for maybe 20 minutes of a scripter's time. You might try asking in the InWorld Employment forum, though, or see what's available in script libraries in world or on the web that might be adapted. The Scripting Forum is not the place to look.
  5. Congratulations, and thank you, Lindal. That must be a very recent change, and it's a welcome one. As recently as this past spring, people who had asked about this in the Answers forum were still telling me that their transactions only went through after they put money in their PayPal account, as you and I had been advising them for years. If Linden Lab's accounting system has improved, this is great news. As I tried explaining to the OP, this has been a difference between the way that PayPal worked for SL and the way it worked anywhere else in the Internet. It made no difference whether you could buy peanut butter from Amazon.com with your zero balance PayPal account. Linden Lab wouldn't let you. So now ... Progress!
  6. As soon as my horse heard that there were new lands to explore in the south of Bellisseria, he was eager to go exploring. So was I. Like most visitors in these new regions, we arrived at Campwich station. The sun was already high in the sky and there was a fresh breeze blowing from the west. My horse isn't much for indoor life, so instead of staying to see what's in Campwich Lodge we took a hint from the wind and headed over the hills into Wolfington. We detoured briefly into Placid and Arvee, sticking mostly to dirt roads at first to be sure that we didn't wander into someone's camping area by mistake. The trouble with these roads, though, is that they have lots of bridges, and bridges with open timber make my horse nervous. There's enough space between them to make crossing treacherous. I didn't want to take a chance that he'd break a leg. He didn't like the train tracks, either. Rather than court disaster, therefore, we headed cross country. There's plenty of open land between the campers, as it turns out, and it's beautiful. We forded streams and climbed up on ridges to get a better view, still headed roughly west-southwest through Purtis. Here in Quitman, I swear that I saw a wolf dash off through the underbrush. I wish I hadn't forgotten my binoculars. I'm terrible at spotting birds without them. I heard songbirds in the trees all along our journey, but I never spotted a single one. It didn't take long to discover that some of the prettiest land in these new regions is along streams. Everywhere you look, there are narrow rivulets and cascading brooks. I'm afraid we actually got lost for a while as we wandered up one after another. Before we knew it, we were in Proctor, not having actually covered much distance but having spent most of the afternoon. There's an absolutely magnificent cascade there, with a shallow plunge pool where I was very tempted to take a dip. We were still too close to camping trailers, though, and I didn't have anything to change into. Maybe another day. Even late in the day, the sun was hot and both of us were thirsty and tired. We picked our way slowly downstream, walking gingerly on the rocks and stopping every once in a while so that he could drink a little water. All in all, it was a gorgeous afternoon. We didn't really make it as far as I had planned, but that's OK. Some days are meant for wandering and others for being lazy. There will be plenty of time to come back and explore further. At least we got as far as Proctor.
  7. That would usually be my advice too. I have a sense that the OP is willing to experiment, though, and I was hoping to nudge in that direction. A blinking light is a nice place to start learning.
  8. Nope. What I gave you was llSetLinkPrimitiveParamsFast(LINK_SET,[34,2,PRIM_FULLBRIGHT, ALL_SIDES, iON, PRIM_GLOW, ALL_SIDES, 0.05*iON, 34,1,PRIM_FULLBRIGHT, ALL_SIDES, !iON, PRIM_GLOW, ALL_SIDES, 0.05*!iON]);
  9. And did you try it? Substitute the existing lines of code with that one. Wait... That's not what I gave you as a substitute. Look again.
  10. Yes. Substitute: llSetLinkPrimitiveParamsFast(LINK_SET,[34,link_number_of_the_star,PRIM_FULLBRIGHT, ALL_SIDES, iON, PRIM_GLOW, ALL_SIDES, 0.05*iON, 34,link_number_of_the_heart,PRIM_FULLBRIGHT, ALL_SIDES, !iON, PRIM_GLOW, ALL_SIDES, 0.05*!iON]); I encourage you to keep on playing with it to see what you can do by adding some extras cautiously. Study a couple of basic tutorials to get yourself started. We all started this way at some point. As long as you have a script that already works, you know that you can toss your experiments if they don't work the first time. Be bold.
  11. They should both be blinking at exactly the same time. That's why they are in the same SLPPF statement.
  12. They should already be blinking on/off every 3 seconds. Change the timer to some other value if you wish. I assume that the script is actually installed in the root prim and is running.
  13. Pardon me for responding. We get variations of this question quite often, usually from people who are new to SL and do not know as much as you evidently do. It's easier to explain than to guess at what you might already know. No, you are wrong there. It has nothing to do with your credits score (mine is excellent, BTW) or with how well PayPal works for buying things on other on-line sites. Linden Lab requires that a payment method be capable of (1) sending and receiving funds and (2) doing it instantly. You may certainly use PayPal as a payment method but if you do, you must always have sufficient cash balance in the PayPal account to cover purchases. Failing to do that is a very common reason for the Lab to cancel the transaction. If your PayPal account is backed up by a credit card, it is generally (but not always) backfilled very quickly, so it meets criterion #2 above. If it is backed up by a bank account, it generally takes the bank up to two days to backfill PayPal. Linden Lab will not wait for two days, so your transaction will fail criterion #2. This happens to SL residents often enough that it's one of the first things we are careful to point out when we get a question like the one you posed.
  14. No, it's the number of that link. And SLPPF is llSetLinkPrimitiveParamsFast. if you don't already know the number of each link, then you can ask the script to find it as it starts, provided that you have named the links appropriately. For example, if you have named them "Star" and "Heart" (nice logical choices), then you could add lines in the state_entry event like: integer i; while ( i < llGetNumberOfPrims() ) { string strName = llGetLinkName(i); if ( strName == "Star" ) { link_number_of_the_star = i; } else if ( strName == "Heart" ) { link_number_of_the_heart = i; } } and then be sure to make link_number_of_the_star and link_number_of_the_heart global variables, just like iON is now.
  15. A Premium account should renew automatically. That's right in the TOS (LL TOS, Sect. 4.3). If it doesn't happen because of a "Problem with your account...", the problem is often that the system either no longer recognizes your payment method or your payment method does not have enough money in it to cover the changes. First thing, open your dashboard and look at Account >>> Billing Infprmation In the part that I highlighted, if it doesn't already say "Land, premium, and other recurring fees", click Change and adjust it. Otherwise, you haven't authorized Linden Lab to use that payment method for paying your Premium bills. You may have authorized it to buy L$ or something else ... Then, be sure that your payment method is really PayPal or a credit card, not a debit card or a pre-paid card of some kind. Almost all prepaid cards and debit cards will fail. So, replace it if that's the case. Finally, if you are using PayPal, be sure that the cash balance in your PayPal account is at least large enough to pay the charges from LL. Your bank or credit card will not backfill PayPal fast enough to satisfy Linden Lab. They want payment now, not two days from now when the bank gets around to transferring cash to PayPal.
  16. If the star and the heart are linked in the same object, all you need to do is put a SLPPF command in a timer and turn the effect on/off in successive steps in the cycle. So, something like: integer iON; default { state_entry() { llSetTimerEvent(3.0); llSetLinkPrimitiveParamsFast(LINK_SET,[34,link_number_of_the_star,PRIM_FULLBRIGHT, ALL_SIDES, iON, PRIM_GLOW, ALL_SIDES, 0.05*iON, 34,link_number_of_the_heart,PRIM_FULLBRIGHT, ALL_SIDES, iON, PRIM_GLOW, ALL_SIDES, 0.05*iON]); } timer() { iON = !iON; llSetLinkPrimitiveParamsFast(LINK_SET,[34,link_number_of_the_star,PRIM_FULLBRIGHT, ALL_SIDES, iON, PRIM_GLOW, ALL_SIDES, 0.05*iON, 34,link_number_of_the_heart,PRIM_FULLBRIGHT, ALL_SIDES, iON, PRIM_GLOW, ALL_SIDES, 0.05*iON]); } } assuming that you know the link numbers of the star and the heart, which you need to replace above. You can of course adjust the timer and the intensity of the glow as you wish. As usual, any scripts posted as part of responses in this forum should be understood to be examples, not necessarily optimized or tested in world.
  17. Also, to be clear, I didn't think that you were suggesting that the OP should break the law either. I wanted to be sure that he understood that he shouldn't take your question that way.
  18. I hope not. I mean, the fact that you can appear to be in an embargoed state by virtue of using a ISP in one seems to imply that you can do the reverse. If a VPN lets you skirt the laws in your own state, though, then you are clearly doing something illegal. If the authorities catch you, they won't be happy. I don't sympathize much either.
  19. Tom Lehrer was always one of my favorites, and the Vatican Rag was one of his best. Thanks, Maddy.
  20. If you Internet Service Provider is in a state that does not allow on-line gaming, then it's the same as if you lived there yourself. Connecting to SL with an ISP in a different state puts you in a mess of legal jurisdictions.
  21. If that is all that you want to do, you don't need any script at all. All that you need to do is put your object into a prim box and set the properties of the box to sell its contents. Read this Knowledge Base article You can make your box as simple as you like, or you can put a texture on the outside -- perhaps a photo of the thing that you are selling. Once you have set its properties, the box is a vendor, the simplest, easiest vendor you can make. I suggest practicing a bit before you set a vendor out for other people to use. Follow the instructions in that article, make a vendor, and have your alt or a friend test it to see that you have done it right.
×
×
  • Create New...