Jump to content

SeanMcDonald

Resident
  • Content Count

    11
  • Joined

  • Last visited

Community Reputation

6 Neutral

About SeanMcDonald

  • Rank
    Member
  1. Would it be possible to accomplish this outside of an Experience but teleporting anyone, not just the owner? I could imagine using a collision_start event to trigger sitting the avatar on a prim, perhaps an invisible prim in the doorway. Then move the prim to the destination using llSetRegionPos() and unsit the avatar. The prim could either return to origin, or it could die and the script rez a new prim in the doorway.
  2. Couldn't one work around the problem Qie identified by setting the fob's script to update the database whenever it changes owners?
  3. Now that you've said this... If I were building this system on an Opensim grid, I'd use a Google Sheet for the database, accessing through URL calls. Each door or door-network is linked to a unique spreadsheet/database that records avatar keys of players who have access to that door. When a legal fob is passed to a new player, it immediately records the player's key in the database. When the player approaches a door, it checks the database and opens if it recognizes the player. Pros: Fobs can be passed around or new ones added to the network (may also be a con) Single-run script in the fob which then auto-deletes Access can be revoked by spreadsheet owner Players could be blacklisted to prevent access even if they acquire a new fob Cons: May be too easy to counterfeit fobs? Door script has to check the database for every avatar who approaches External database storage could be hacked I think I'm overthinking this. Like a newbie. :)
  4. Couldn't this be mitigated by checking the fob's UUID?
  5. If the issue is just that the script lets the 'copter overshoot the target, wouldn't it also work to add a pause after the key-checking if-statement to slow down the key repeats? It seems like a llSleep() call might be a bad idea in some situations, but a loop that simply counts to a large number would accomplish the same end. Maybe use a for loop or while loop?
  6. It's an external service, but what about using a Google spreadsheet to pass information among the objects? Fixed URL, and so long as the script understands what it's reading, this should give grid-wide persistence to the data.
  7. Just a quick thanks to everyone who's contributed usefully to this thread and to @Ichi Rexen for starting it. My coding experience ended at PL/1 in college (the semester that I decided human languages were easier to master than computer languages ). I (try to) write scripts now just to play around and see what's possible. I admit that I still find LSL somewhat confusing, probably precisely because I learned to program with only 64kb of RAM and always look for a more efficient way to write the code. That said, I tend to look at LSL states as modular constructs, similar to BASIC subroutines. Sometimes it's convenient for clarity to isolate a set of instructions. You guys use states in ways that never occurred to me. Thanks for the food for thought.
  8. At the risk of committing heresy, we still use non-physical vehicles in Opensim. You might check the Outworldz.com website for scripts. Or you might create an avatar on OSGrid (or Kitely or Metropolis or any of the other hypergrid-connected worlds) and go exploring the script libraries.
  9. As Chic has said, we use blamgates to travel in Opensim all the time. It's trivial provided the region administrator has ignored *their* scary "The world will end!" warnings and set the "threat level" high enough. Even teleporting to foreign grids can be done this way. Don't the Stargates here use RLV/RLVa? I've seen them occasionally throw up the map, but IIRC that was because I'd turned off RLV and they fall back to llMapDestination. If you don't mind pointers from the Opensim community, check the script repositories there. Outworldz.com comes to mind, and there are others. A quick Google search should get you started. Obviously, the OSSL functions won't work here, but many of Fred's scripts at Outworldz only use LSL. Good luck.
  10. There are a series of moving sidewalks on OSGrid's Lani mall. I've never looked at the scripts, but it does what you describe here.
×
×
  • Create New...