User Tools

Site Tools


universe

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
universe [2026/03/02 14:39] – [API Output Channel: 100001 (20 m range)] mikouniverse [2026/03/02 18:59] (current) – [Script for auto teleport (RLV version)] miko
Line 12: Line 12:
 External scripts and devices can: External scripts and devices can:
  
-Dial a target gate using lookup|target +  * Dial a target gate using lookup|target 
- +  Send messages across the network with chat|username|text 
-Send messages across the network with chat|username|text +  Close an active wormhole using close 
- +  Extend the wormhole duration by 60 seconds using extend 
-Close an active wormhole using close +  Request gate identification with ping 
- +  The gate responds through API output channel 100001 with detailed telemetry: 
-Extend the wormhole duration by 60 seconds using extend +  Chevron lock and engage reports 
- +  Gate state changes (open, close, extended) 
-Request gate identification with ping +  Outgoing, incoming, idle, and busy status 
- +  Full metadata for incoming connections 
-The gate responds through API output channel 100001 with detailed telemetry: +  Collision and traversal info for avatars passing through
- +
-Chevron lock and engage reports +
- +
-Gate state changes (open, close, extended) +
- +
-Outgoing, incoming, idle, and busy status +
- +
-Full metadata for incoming connections +
- +
-Collision and traversal info for avatars passing through+
  
 ===== Immersive Stargate Experience ===== ===== Immersive Stargate Experience =====
 The Universe Stargate Network delivers a cinematic and authentic Stargate atmosphere: The Universe Stargate Network delivers a cinematic and authentic Stargate atmosphere:
  
-Chevron locking sequences with clear status feedback +  * Chevron locking sequences with clear status feedback 
- +  Real‑time reports for incoming and outgoing wormholes 
-Real‑time reports for incoming and outgoing wormholes +  Automatic detection of remote dialing attempts 
- +  Logging of collisions and successful entries 
-Automatic detection of remote dialing attempts +  Universe‑type gate metadata for consistent worldbuilding
- +
-Logging of collisions and successful entries +
- +
-Universe‑type gate metadata for consistent worldbuilding+
  
 A gridwide network that feels like science fiction, yet remains fully controllable, expandable, and easy to integrate into any region or system. A gridwide network that feels like science fiction, yet remains fully controllable, expandable, and easy to integrate into any region or system.
Line 68: Line 54:
 The input channel allows external systems, scripts, and devices to control the gate. The input channel allows external systems, scripts, and devices to control the gate.
  
-lookup\|<targetname> or lookup\|<address>   +  * lookup|<targetname> or lookup|<address>  Dials the gate to the specified target. 
-Dials the gate to the specified target. +  chat|<username>|<text>  Sends a text message across the Stargate network. 
- +  close  Closes the active wormhole immediately. 
-chat\|<username>\|<text>   +  extend  Extends the gate’s open time by 60 seconds. 
-Sends a text message across the Stargate network. +  ping  Returns the gate’s name regionwide.
- +
-close   +
-Closes the active wormhole immediately. +
- +
-extend   +
-Extends the gate’s open time by 60 seconds. +
- +
-ping   +
-Returns the gate’s name gridwide.+
  
 ===== API Output Channel: 100001 (20 m range) ===== ===== API Output Channel: 100001 (20 m range) =====
Line 102: Line 79:
   * status|busy  Gate is busy.   * status|busy  Gate is busy.
   * gate|extended  Gate held open longer.   * gate|extended  Gate held open longer.
 +  * warning|10 Destination blocks teleports
 +  * warning|1|distance Destination has teleport routing and landing-point is xx away from the gate
 +  * marturity|rating Destinations maturity rating
 +
 +===== Script for auto teleport (RLV version) =====
 +<code>
 +integer apiOutput = 100001;
 +integer apiInput = 100011;
 +integer on = TRUE;
 +default
 +{
 +    state_entry()
 +    {
 +        llListen(apiOutput,"","","");
 +    }
 +    listen(integer channel, string name, key id, string msg)
 +    {
 +        string json = msg;
 +        if(llJsonGetValue(json,["command"])=="teleport")
 +        {
 +            string region   = llJsonGetValue(json,["region"]);
 +            string position = llJsonGetValue(json,["position"]);
 +            vector landingPoint = (vector)position;
 +            llOwnerSay("@tpto:" + region + "/"
 +                + (string)llRound(landingPoint.x) + "/"
 +                + (string)llRound(landingPoint.y) + "/"
 +                + (string)llRound(landingPoint.z) + "=force");
 +        }
 +    }
 +}
 +
 +</code>
 +====== Change Log ======
 +0.5
 +  * Beta release
universe.1772462361.txt.gz · Last modified: by miko

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki