Jump to content

Wulfie Reanimator

Resident
  • Content Count

    1,401
  • Joined

  • Last visited

Community Reputation

1,373 Excellent

About Wulfie Reanimator

  • Rank
    Passively Aggressive

Recent Profile Visitors

1,188 profile views
  1. I don't think there's an actual limit on maximum script time, but there IS a limit on how much time overall the sim can spend on "working" within a certain time limit. Scripts have the lowest priority, so the longer anything else is taking, the less total script time there will be for all scripts. Based on some testing @animats did, if I recall correctly, a Homestead can't practically handle more than 4000 scripts recently. Full sim starts struggling at 6-8000. In this thread's context, that's not true. Scripts do not cause lag for your viewer, even if you're "looking" at 10000 of them. The actual objects in your view -- the prims, the mesh, the particles and textures -- are what cause lower framerates for you. Object updates also cause network lag for you, which can sometimes be a side effect of scripts but not all scripts cause object updates (or many).
  2. Why not use the LSL Preprocessor which literally allows you to #include files?
  3. That's not an RLV feature. It's the fact that you're wearing something, same as you explained earlier in your post. But even without knowing any location, it's pretty easy to find people when you've known them for a while and know that they tend to go to a "group only sim." If you don't change your habits, you're predictable. The built-in avatar radar shows people in restricted parcels as well. Even if it didn't, scripts can do it too. Should you change your habits because of a breakup? Unfortunately in some cases. An easy way to mess with these stalkers is to just hang out in someone's home they don't know about, rent a new place, or just never log out so they don't know if you're actually active or not. (Or log in before going to sleep and leave your avatar parked in some random corner of mainland. Use the map, don't search for a public place.)
  4. Even if the program wrote a little text file saying 32/64, LL would then add some code to the viewer to check for that file and its contents. Even if they did that, a system can change drastically from one login to the next, like if the user swaps their graphics card, or the viewer is installed on an external drive and plugged into a different machine. It's an extra point of failure just to make it "remember." It's easier, simpler, and safer to just make a new check each time. In your specific case it might not be needed, but code is rarely tailored for individuals.
  5. Yes, all events must be entirely separate of each other. An event cannot contain an event. (But you can cause some events to trigger from another event, as you do with llSensor inside the listen event.)
  6. You can actually merge all of those states into a single state fairly easily, like so: key user; vector sit_position = <0.0, 0.0, 0.1>; vector sit_rotation = <0.0, 0.0, 0.0>; integer target_id; vector target_pos; default { state_entry() { llSitTarget(sit_position, llEuler2Rot(sit_rotation * DEG_TO_RAD)); llListen(PUBLIC_CHANNEL, "", NULL_KEY, ""); } listen(integer channel, string name, key id, string message) { message = llStringTrim(message, STRING_TRIM); if(message == "1") { // state a; llSetStatus(STATUS_PHYSICS, TRUE); llSensor ("1","",PASSIVE,96.0,PI); } if(message == "2") { // state b; llSetStatus(STATUS_PHYSICS, TRUE); llSensor ("2","",PASSIVE,96.0,PI); } // This part is not necessary. The script will not get stuck. // else // { // llResetScript(); // } } sensor(integer num) { vector iTarget = llDetectedPos(0); vector offset = <-3,0,0>; iTarget += offset; target_id = llTarget(iTarget, 1.0); llMoveToTarget(iTarget,0.5); } at_target(integer tnum, vector targetpos, vector ourpos) { if (tnum == target_id) { llSetStatus(STATUS_PHYSICS, FALSE); key user = llAvatarOnSitTarget(); if(user) { llSleep(1.0); llUnSit(user); // This is also not necessary for the script to work properly. // llResetScript(); } } } } One thing that seems necessary to point out is that when the script gets to the "end" where there's no more code to execute, the script will just exit that event and wait until a new event is triggered (meaning it will restart from the top of that event again). You don't need to restart the whole script at the end of everything. And just to clarify, "events" are those things like state_entry, listen, sensor, at_target, etc. The code in those events have to be triggered somehow, like the listen event is triggered every time a chat message is sent near the script, on a channel it's already listening on.
  7. You're not even talking about the same thing? Why are you yelling on the internet? Daniel: "Selling lots of lindens means you might have to identify yourself." Selene: "THAT IS NOT TRUE, I HAVE NEVER SOLD LINDENS AND NEVER WILL!! SCREEE" How are you this disconnected from a two-party conversation?
  8. Prettier Windlight as a shareable inventory item.
  9. This is called ghosting (or "ghosted attachment"), and it can happen to any attachment for no fault of the creator. While relogging will fix it, you can also go to Advanced > Refresh Attachments to fix it without relogging.
  10. As someone who's been asking for 2-factor authentication for SL (a password for your password), it was a very joking post. It's still amusing.
  11. Do you mean making new textures for the walls? That has always been a pretty niche skill, but maybe the people who would buy a wall addon are more familiar with editing. Do you mean manually swapping the texture on the walls from a set in their inventory that you've included with the walls? My cynical answer is no, because it seems like most people are used to scripts and no-modify products and forgot the built-in edit window exists. My Magic 8-ball says: "There's still hope."
  12. Personally I feel like scripted functionality is a weird cludge a lot of people use only because they're too paranoid to make their product modifiable. That, or they think there's an expectation of scripts by the user because the user doesn't know how to edit objects manually.
  13. That phrase is about as true as "the customer is always right." It's not literal, it describes an attitude and a philosophy of weighing pros and cons. "The customer is always right" in practice: "Sure, we'll accept this returned item even though we don't sell it, because this customer is likely to spend more with us in the future." (Also "It's cheaper to keep a customer than gain a new one.") "Any publicity is good publicity" in practice: "I'm going to sell literal bath water, because the stupidity of it will spread like wildfire and more people know about me than before and some will stick around because they saw something else they like." (This becomes less effective the bigger you become.) Having a random SL fire department's logo on an (alleged) griefer's profile picture is not the same. For one, it's copyright infringement. You can tell a story about something dumb but you can't just slap their work on its own into an otherwise empty article. And the likelihood of anyone opening their profile and going "Wow, a fire department! I wonder what they're about? I'll go check after I ban this douche." is very unlikely. It's not even effective advertising because there's barely anything to look up based on that logo.
×
×
  • Create New...