Jump to content

Nova Convair

Resident
  • Posts

    1,506
  • Joined

Everything posted by Nova Convair

  1. I removed the goto garbage ( I doubt that the "else's" correspond with the "if's" they are meant to (brackets don't match properly) and can imagine a stack obfuscation) And I placed a touch for testing: [11:44] Object: DEBUG-LANDMARK(6):103: queryLandmarkData set to d5b4fd44-07ab-0769-8323-e5228cfb3fe3 [11:44] Object: DEBUG-LANDMARK(6):104: Teleporting dolly to inventory tpLandmark "test". [11:44] Object: DEBUG-LANDMARK(6):224: queryLandmarkData is equal to d5b4fd44-07ab-0769-8323-e5228cfb3fe3 [11:44] Object: DEBUG-LANDMARK(6):225: queryID is equal to d5b4fd44-07ab-0769-8323-e5228cfb3fe3 [11:44] Object: DEBUG-LANDMARK(6):71: Dolly should be teleporting now... [11:44] Object: DEBUG-LANDMARK(6):72: Position = 191953/349654/24 [11:44] Object: Dolly is now teleporting. [11:44] Object: @unsit=y,tploc=y,tpto:191953/349654/24=force That seems to work code: //======================================== // Teleport.lsl (#2) //======================================== // // vim:sw=4 et nowrap: //======================================== // VARIABLES //======================================== key keyID = NULL_KEY; list split = []; string dollName; string script; string myName; integer code; integer optHeader; integer remoteSeq; integer rlvOk = -1; integer debugLevel = 8; integer mySeqNum; key queryLandmarkData = NULL_KEY; key tpLandmarkQueryID = NULL_KEY; string tpLandmark; //======================================== // FUNCTIONS //======================================== rlvTeleport(string locationData) { vector globalLocation = (llGetRegionCorner() + ((vector)locationData)); string globalPosition = ((string)((integer)globalLocation.x) + "/" + (string)((integer)globalLocation.y) + "/" + (string)((integer)globalLocation.z)); if (debugLevel >= 6) llOwnerSay( "DEBUG-LANDMARK"+"("+((string)6)+"):"+((string)71)+": "+("Dolly should be teleporting now...")); if (debugLevel >= 6) llOwnerSay( "DEBUG-LANDMARK"+"("+((string)6)+"):"+((string)72)+": "+("Position = " + globalPosition)); llOwnerSay("Dolly is now teleporting."); llOwnerSay("@unsit=y,tploc=y,tpto:" + globalPosition + "=force"); } memReport(string script, float delay) { if (delay != 0.0) llSleep(delay); integer usedMemory = llGetUsedMemory(); integer memoryLimit = llGetMemoryLimit(); integer freeMemory = memoryLimit - usedMemory; integer availMemory = freeMemory + (65536 - memoryLimit); llMessageLinked((LINK_THIS), (((++mySeqNum) << 16) | (0 << 10) | 136), myName + "|" + (string)usedMemory + "|" + (string)memoryLimit + "|" + (string)freeMemory + "|" + (string)availMemory, llGetKey()); } key doTeleport(string tpLandmark) { if (!(llGetInventoryType(tpLandmark) == INVENTORY_LANDMARK)) { if (debugLevel >= 6) llOwnerSay( "DEBUG-LANDMARK"+"("+((string)6)+"):"+((string)90)+": "+("No landmark by the name of \"" + tpLandmark + "\" is present in inventory.")); return NULL_KEY; } tpLandmarkQueryID = llRequestInventoryData(tpLandmark); if (tpLandmarkQueryID == NULL_KEY) { llSay(0x7FFFFFFF,"Landmark data request failed."); return NULL_KEY; } if (debugLevel >= 6) llOwnerSay( "DEBUG-LANDMARK"+"("+((string)6)+"):"+((string)103)+": "+("queryLandmarkData set to " + (string)tpLandmarkQueryID)); if (debugLevel >= 6) llOwnerSay( "DEBUG-LANDMARK"+"("+((string)6)+"):"+((string)104)+": "+("Teleporting dolly " + dollName + " to inventory tpLandmark \"" + tpLandmark + "\".")); return tpLandmarkQueryID; } //======================================== // STATES //======================================== default { //======================================== // STATE_ENTRY //======================================== state_entry() { rlvOk = 1; myName = llGetScriptName(); keyID = llGetKey(); mySeqNum = llRound(llFrand(1<<15)); } //======================================== // ON_REZ //======================================== on_rez(integer start) { mySeqNum = llRound(llFrand(1<<15)); } //======================================== // LINK MESSAGE //======================================== touch_start(integer num) { tpLandmark = "test"; queryLandmarkData = doTeleport(tpLandmark); llSetTimerEvent(20.0); } //======================================== // TIMER //======================================== timer() { if (queryLandmarkData) { llSay(0x7FFFFFFF,"TP failed to occur; notify developer."); llSetTimerEvent(0.0); } } //======================================== // DATASERVER //======================================== dataserver(key queryID, string queryData) { if (debugLevel >= 6) llOwnerSay( "DEBUG-LANDMARK"+"("+((string)6)+"):"+((string)224)+": "+("queryLandmarkData is equal to " + (string)queryLandmarkData)); if (debugLevel >= 6) llOwnerSay( "DEBUG-LANDMARK"+"("+((string)6)+"):"+((string)225)+": "+("queryID is equal to " + (string)queryID)); if (queryID == queryLandmarkData) { rlvTeleport(queryData); llSetTimerEvent(0.0); queryLandmarkData = NULL_KEY; } } }
  2. I once made a llSAO and still use it. You can put in any animation of any permission and it works fine. Jumping works fine too. The prejump, jump, landing must not be looped. Don't know if there are priority problems, mine work. FS has a setting so it doesnt wait for prejump and landing. If they load slow they aren't played and of course can not cause trouble then. Although it continues to work even if you detach it I use llTakeControls to counter NoScript zones only - not for the AO.
  3. A debug message in the dataserver event is missing, that shows the queryID and queryLandmarkData so you can make sure that really no event happens. How many events don't trigger? All? I can't imagine that this is something else than a script bug then. Do the other scipts handle dataserver events too? In this case you need to remove them to test functionality of your script without possible interventions.
  4. Clear inventory cache (only inventory) - details are in the links you got if you don't know how to do that. Log out. Log in. Preferably not at a crowded place. This happens to me every few months - lets say 2-3 times per year - usually after a hard bailout. My inventory reloads with 1000 items per second.
  5. https://www.youtube.com/watch?v=c6T1Oj8cAjw
  6. Switching off ALM or materials is not a solution - others can and will still see you in all your misery 😁 Always switch on ALM when you set up your body - go out into the sunshine - then set your materials to a USEFUL value. ( 100% is NOT a useful value ) Head and body have independant settings and of course every body/head has different huds. It's your avatar so find out how that works. Most creators have manuals and websites. (Ever heared of google?) If everything is ok you can switch off ALM if you prefer or have to use ultra low graphics.
  7. I don't know what the browser has to do with the viewer. If you run windows and if drive C has no space left then certain sorftware (including the viewer) will not run. In this case you know what you have to do - make space - much more than a few lousy bytes from a browser cache. If it's something else - try again.
  8. The owner of this uuid is aisling0grace so try to remove whatever you placed somewhere
  9. I use the mouse for steering. Precise and smooth. I can easily follow any curve and a spiral stairway is an easy task. Click on your avatar with mouse1 and hold it. Then move and steer with the mouse. If you tend to wear stuff that reacts on a click - stop wearing that garbage or edit the clickable zones. No Mod? Don't wear that garbage. 😎 If you are used to that movement (like me for many years) you can't even imagine to use keys like all the other clumsy moving avatars. 😁 If you are not used to it you maybe feel not comfortable. Give it a try and see it thats something for you.
  10. If someone griefs that way they will simply create an alt and continue. Not banning is better here since then it's only one bad reviewer instead of many that you are not able to connect. 😁 Besides of that the banning is perfect for all the wannabe merchants that take bad reviews personal instead of reviewing their products.
  11. If you want shadows you need lights. The sun or projector lights cast shadows. There are eep/windlight settings that will kill every lighting/shadows effectively though - so the setting needs to give shadows a chance.
  12. Old scripts may depend on object_rez and send a message after a short delay. That doesn't work anymore - or better - it may work sometimes 😁 For quite a while I use a handshake. The rezzed object sends a message to the rezzer. Then the rezzer knows that the object is rezzed and ready and can do further actions. For the OP: script is garbage now - you need to get a new one.
  13. It makes no sense to limit for prims. Usually every mesh prim has several LI. I can easily rez 50 mesh-prims that consume 1000 LI. If you use prims only then the lowest possible LI is 50% of the prims. So 100 prims = 50 LI - BUT - with the right shape a single prim can consume several 100 LI. If she rent it that way she will run out of LI most probably. Would be interesting to know what the counter really counts though. 😁
  14. I never switch off my AO when sitting. But I kicked out all sit animations (don't need that) and for the one time per year that I sit on something I have a low priority sit in which is overriden by all furniture animations. So everybody that sit's IN the furniture does NOT master their AO - it's the other way around. 😁 Btw. that fires my prejudice that most creators have no clue of SL. (keyword AO in this case)
  15. Many "residents" have a first and lastname in their firstname - that explains the long names and makes it useless to use firstnames only. A button holds about 12-14 characters so cutting the names to 24 is no visible loss. There are other ways to display names in a menu but this menu is made the most simple way so I assume limiting the length is the easiest way. uuidList is not deleted and will grow until the script runs out of memory. That can take quite a while but it will happen. The radar scans at 96m range but you are heared only 20m around. Adjustment makes sense.
  16. It's possible to send the rez time with the death call. The receiver can find out then who is older and act accordingly.
  17. VAT is added. I wondered about the conversion rate too and calculated a little - VAT + fees. Didn't match though - too low - but pointing into the right direction. I miss a detailed bill - mandantory in my country - obviously not in the states. So I can't be quite sure but as lomg as it's too low I have no reason to complain. I'll continue to watch it. 😎
  18. This thread is entertaining. 😁 Summary: some people wish to ban all bots, LL has no interest I agree with LL btw. there is no need for them to support paranoid tendencies. 🎃
  19. Sales in SL are ingame activities with no money involved. If you cash out - that's income and subject to income tax. Buying L$? You have no real proof that its part of your business but you can try, may or may not work. and if you think about ingame activities: Do you have bills with sales tax? No? Do you even have customers? I mean people not some phantasy ingame names. No? Can you even proff that you have delivered something - besides screenshots? Can you proof anything? Ingame you definitely have no business from the viepoint of the tax authorities. 😎
  20. It depends what this construct is about to do. If it's just rotating then put a script in each prim and once it's rotating the scripts can be removed. (the scripts only start the rotation, removing the script will NOT stop the rotation) If it's planned to toggle the rotation on/off then a better script is needed. Toggle by click? Then you need to click both or send a message from script to script or use one script instead of two. The complexity of a universal solution exceeds the complexity of just making things rotate alot! For an experienced scripter a simple solution can be painful 😁 but for a beginner ... just make the stuff rotate! Anything else is only interesting if there is a general interest to learn how to script.
  21. In SL all linked prims are linked to the root. So if you rotate the root all linked prims will rotate around the root. If you want to have 2 independant rotating linked prims you need 3 prims! One is the root and you can make it small+invisible. You link your other 2 prims to it and then the scripts will rotate each of them independant. As Quistessa showed you, you need only one script and not one per prim.
  22. You can not be harrassed by IM's because you simply block that avatar then. I don't see a problem here.
  23. You must not use an outdated LL viewer. 6.4.18.558266 is the present default viewer. If you want one of the release candidates get them yourself. https://releasenotes.secondlife.com/viewer.html By what you post it obviously does not update RC to RC it seems.
  24. Works fine. I set the url in the attach event but shouldn't be necessary - easy to test though. That only works if you have set your viewer to autoplay media of course. If autoplay is off which it is for most and for me too - then you need to click on it and allow the moap to play. I just made a test - with autoplay on - moap appears when attaching the hud. Just don't expect others to have that on.
  25. You don't know if that are bots and you don't know if they are afk. You have no clue if that is a text client playing chat relay or someone playing a hud game or if that is a bot doing something or a bot parking. Besides of that bots are legit. In other words, you know nothing about things that are not your business. 😎
×
×
  • Create New...