Jump to content

Ron Khondji

Resident
  • Posts

    351
  • Joined

  • Last visited

Everything posted by Ron Khondji

  1. If the copilot sits on a childprim that´s also attached to you, you should be able to use llAvatarOnLinkSitTarget() to get the key. You can even use llLinkSitTarget() to set the copilots seat from the script in the rootprim. There´s no need for a second script in the childprim.
  2. It sounds to me like you´re not sick of life. You´re sick of the world. Most people take a 'happy pill' and try to make the best of it.
  3. The way I see it is this: The notecard line reads: -124587 = channel The script divides that line on "=" and checks the part after that. If that is "channel" then the first part of the data string must be the number. Aha. I see my error. I thought: llDeleteSubString(data, s, -1) returns the part of the string from "=" to the end, but it returns the remaining part. So the scriptline should read: string token = llToLower(llStringTrim(llGetSubString(data, s, -1), STRING_TRIM)); And the other line should then be: channel = (integer)(llStringTrim(llGetSubString(data, 0, s - 1), STRING_TRIM)); I think
  4. The problem was: the OP was in a no-script region. Oh, and the Tioga is a hotel in California.
  5. When the script got the syntax error, it probably unticked the 'running box' at the bottom. Make sure that box is ticked.
  6. No, there are no limits, as far as I know. You just missed one. touch_start(integer total_number) llSay(0, "Touched.");} Should be: touch_start(integer total_number){ llSay(0, "Touched.");} But anyway, all you really need is this; default{ state_entry() { llSetText("The Tioga",<0,0,0>,1.0); }}
  7. Count your curly brackets. Or just delete the touch event alltogether as you don´t need that anyway. Matter of fact, you can delete the whole script once the text is set. Also, you are writing text in black invisible letters. The last 0 in llSetText means full transparent. Change that to 1.0.
  8. I think it should be this: channel = (integer)(llStringTrim(llDeleteSubString(data, 0, s - 1), STRING_TRIM));
  9. Try this one instead. integer running;integer count;integer side;default { touch_start(integer total_number) { if(!running) llSetTimerEvent(.6); else llSetTimerEvent(.0); running = !running; } timer() { ++count; if (count == 7) count = 1; if (count == 1) side = 5; else if (count == 2) side = 1; else if (count == 3) side = 2; else if (count == 4) side = 4; else if (count == 5) side = 0; else if (count == 6) side = 3; llSetAlpha(0, ALL_SIDES); llSetAlpha(100, side); } }
  10. You could change the touch event in the full perms script to a listen event.
  11. llRezObject is limited to 10 meters from the rezzing object. You try to rez something to far away which makes it silently fail.
  12. Copy paste this formula into Google and see: sqrt(cos(x))*cos(300x)+sqrt(abs(x))-0.7)*(4-x*x)^0.01, sqrt(6-x^2), -sqrt(6-x^2) from -4.5 to 4.5
  13. listen(integer channel, string name, key id, string message) { llSay(0,"The Current Jackpot is: " + message); JACKPOT = (integer)message; Or you can change ´string message` in the listen to ´string jackpot`.
  14. There´s probably a better way to do it but this seems to work: default { changed(integer c) { if (c & CHANGED_INVENTORY) { integer f; integer i = llGetInventoryNumber(INVENTORY_ALL); while (--i > -1) { if (llGetInventoryName(INVENTORY_ALL, i) == llGetScriptName()) --i; if (i != -1) { integer perms = llGetInventoryPermMask(llGetInventoryName(INVENTORY_ALL, i), MASK_EVERYONE); integer next_perms = llGetInventoryPermMask(llGetInventoryName(INVENTORY_ALL, i), MASK_NEXT); if (!(perms & PERM_COPY)) { llOwnerSay("Not anyone can copy: " + llGetInventoryName(INVENTORY_ALL, i)); f = 1; } if (!(next_perms & PERM_MODIFY)) { llOwnerSay("Next owner cannot modify: " + llGetInventoryName(INVENTORY_ALL, i)); f = 1; } if (!(next_perms & PERM_COPY)) { llOwnerSay("Next owner cannot copy: " + llGetInventoryName(INVENTORY_ALL, i)); f = 1; } if (!(next_perms & PERM_TRANSFER)) { llOwnerSay("Next owner cannot transfer: " + llGetInventoryName(INVENTORY_ALL, i)); f = 1; } if (!f) llOwnerSay("All´s fine"); } } } }}
  15. Type or copy the next line in chat, then click it. secondlife:///app/teleport/Omega%20Point/128/128/25 The last three numb ers are the coordinates.
  16. If you donated 1024 m2 while paying $ 5,- you should indeed be able to donate 1536 m2 when you pay $ 8,- If you can´t you´re probably doing something wrong. Check the "Land/Assets" tab in teh group profile. It states your tier contribution and, below that between brackets, the maximum tier you can contribute. You should be able to change the 1024 tier contrubution to 1536.
  17. Every premium member gets a tier free landallowance of 512 sqm. which they can use to get a linden home or to buy a piece of mainland. If you buy a 512 sqm piece of mainland you get to play with 117 prims and you don´t have to pay tier. You do have to pay a price to buy the land from another resident but land prices are very low at the moment. If you want to get more than 512 sqm you´re gonna have to pay tier to linden lab, See: tier fees. For $15,- a month you can get 2048 sqm. Together with the 512 sqm tier free that makes 2560 sqm. Now for the good part: groups get a 10% extra land allowance. A group can own 10% more land for the same tier which makes it a total of 2816 sqm. Read this: landowner FAQ So the steps to take could be: Find a nice piece of mainland that´s for sale and not to expensive. You can use the map for this, or google something like "second life" mainland "for sale". Abandon your linden home. You need the 512 sqm tier to own mainland. Create a group. Costs you L$200. Also create a new free account, a.k.a. an alt, and make that one a groupmember. Groups need to have more than 1 member to not get deleted. Buy the land for the group. The land buying dialog will tell you howmuch tier you need to donate to the group and what that will cost you. Word of caution: Do not rush into this. Read all the info about landowning and tier you can find. Find someone with time and patience to help you if need be. Or do it like I and maybe most of us did: Start of with 512 sqm for no tier. Than as the need arises for more prims you can sell the 512, buy a bigger parcel and start paying tier for it. I do hope this all makes sense.
  18. Become a premium member and you can get 2560 sqm of mainland for $15,- tier a month (±3700 L$). This is unless you´re from Europe and have to pay VAT. If you create a group, donate your tier to that group and buy the land for the group you can get 2816 sqm. This should give you about 640 prims to play with. And anything, apart from sexual or extreme violent content, goes on mainland .
  19. What about setting the name as a single space? llSetObjectName(" ");
  20. The frist notecardline gets called for in state_entry(). The others are read and called for in the dataserver event. As you do´t realy need state_entry you can just replace the line: state_entry() //when script starts with: touch_end(integer num) // when object has been touched. Or you can use touch_start()  
  21. This is one way to do it I think. default { state_entry() { llListen(1, llKey2Name(llGetOwner()), llGetOwner(), ""); } listen(integer channel, string name, key id, string message) { list temp = llParseString2List(message, [" "], []); if (llToLower(llList2String(temp, 0)) == "energy") { integer energy = (integer)llList2String(temp, 1); if (energy > 100) energy = 100; else if (energy < 0) energy = 0; float glow = 0.23 / 4 * energy / 25; llSetPrimitiveParams([PRIM_FULLBRIGHT, ALL_SIDES, llRound(glow + .4977), PRIM_GLOW, ALL_SIDES, glow]); } } }
  22. You should try: ctrl + alt + shift + -
  23. Maybe it´s just to small to be seen. Try rezzing it while in edit mode. That way you can scale it up.
  24. Yes that seems to be the url you have to put in the php script. I put it in mine and now when I click the object inworld I get your appointments :matte-motes-big-grin: On a side note; it might be better to not post your email on this or any forum. 
  25. Well I installed and tried it and it works. First I created a calendar and put an event in there. Then I found the url, for in the PHP script, under the settings, after clicking on the calendars name. Put that url in the PHP file, uploaded it to my free web server at 000webhost.com, created a prim in SL, put the LSL script in that, entered the URL to my PHP script and got the same as you have, "No events for this date." Turned out I forgot to change the "https" in the LSL script to "http". After correcting the URL in the LSL script the thing worked. By the way. If you open the PHP file in your webbrowser and get a lot of error messages, that means the url to your calendar is wrong.
×
×
  • Create New...