|
I hope it's ok to post this here. It has to do with this release, but I was not sure if I should post here at the tech support.
For the first time, I'm having a problem with this out of the box release.
This is what I did; After unzipping the new release, I copied the FlotsamCache.ini - Regions.ini and OpenSim.ini to the new release. In the new GridCommon.ini, I commented the SQL part, and un-commented the necessary MySql parts, put in my id and passy.
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Problem # 1;
I use this script from WhiteStar. It's a TP script and it worked great since with all the other versions. I love it because the users only have to right clic on the prim and off they go. No need to left click then choose Teleport.
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
//XEngine;lsl // ---------------------------------------------------------------- // Script Title: OS_Teleport(Touch & Collision) // Created by: WhiteStar Magic // Creation Date: 25/11/2009 // Platforms: // OpenSim: Y, Tested and Operational on OpenSim git# f605d59 - r11575 // // Revision: 0.3 // // Conditions: // Please maintain this header. If you modify the script indicate your // revision details / enhancements // // Support: NONE // // Licensing: OpenSource. Do as you will with it! // // ================================================================ // NOTES: // Single Target Destination ONLY // Alternatives are available for Multi-Desination in the OSG Forums (Scripting forum) // // Set Destination as described below, There are a Few Options depending on Application: // Destination = "1000,1000"; = In-Grid Map XXXX,YYYY coordinates // Destination = "RegionName"; = In-Grid-TP to RegionName // Destination = "TcpIpAddr:Port:RegionName"; = HyperGrid-TP method // Destination = "DNSname:Port:RegionName"; = HyperGrid-TP method // // Set your Desired Mode for Touch AND/OR Collision // DEFAULT = Touch OFF, Collision ON // ======================================================================================== // // === SET DESTINATION INFO HERE === string Destination = "Selea's Elf Art Gallery"; // your target destination here (SEE NEXT LINES) Can Be vector LandingPoint = <204,128,23>; // the landing point for avatar to arrive at vector LookAt = <1,1,1>; // which way they look at when arriving // === SET USAGE MODES HERE === integer TouchTelePort = TRUE; // set to TRUE if you want TP on Touch integer CollideTeleport = FALSE; // set to TRUE if you want to TP on Collision // // NOTE: Collisions CAN be tricky in OpenSim // ======================================================================================== // DO NOT MODIFY BELOW UNLESS YOU ARE CERTAIN // ======================================================================================== list LastAgents = []; // retention list for de-bouncer used for Collisions // preventing Multiple Triggers from occuring key agent; // PerformTeleport( key AgentToTP ) { // llWhisper(0, "Teleporting you to : "+Destination); integer TimeNow = llGetUnixTime(); integer a_idx = llListFindList( LastAgents, [ AgentToTP ] ); if (a_idx != -1) { integer TimeLast = llList2Integer( LastAgents, a_idx + 1 ); if (TimeLast >= (TimeNow - 6)) return; LastAgents = llDeleteSubList( LastAgents, a_idx, a_idx+1); } LastAgents += [ AgentToTP, TimeNow ]; // agent just TP'd so add to list with NOWTIME osTeleportAgent(AgentToTP, Destination, LandingPoint, LookAt); } //============ // MAIN APP //============ default { on_rez(integer start_param) { llResetScript(); } changed(integer change) // something changed, take action { if(change & CHANGED_OWNER) { llResetScript(); } else if (change & 256) // that bit is set during a region restart { llResetScript(); } } state_entry() { string TOUCH = "OFF"; string COLLIDE = "OFF"; if(TouchTelePort) TOUCH = "ON"; if(CollideTeleport) COLLIDE = "ON"; llOwnerSay("Teleportal Active: Collision = "+COLLIDE+" / Touch = "+TOUCH); } touch_start(integer num_detected) { key agent = llDetectedKey(0); if(TouchTelePort) PerformTeleport( agent ); } // This is TRICKY / FLAKY Alternates are COMMENTED here. REMOVE the first // and comment out the collision*() you wish to try //collision(integer num_detected) // Triggers IMMEDIATE Response on Contact / Collision. OFTEN Causes Duplicate trigger //collision_end(integer num_detected) // Will WAIT till collisions are COMPLETED, // means a DELAY till collisions stop so you have to BACK OFF the prim & collisions Stop // collision_start(integer num_detected) // Immediate Response, CAN cause multiple HITS, INFREQUENTLY (WORKS BEST) { key agent = llDetectedKey(0); if(CollideTeleport) PerformTeleport( agent ); } }
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
The message I get inworld is;
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
TP to Landscaping: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Exception: OSSL Runtime Error: osTeleportAgent permission denied. Allowed threat level is VeryHigh but function threat level is Severe.
at OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.OSSLError(String msg) in d:\OSGRID\OSGRID 0.7 RELEASES\opensim-43173f1\OpenSim\Region\ScriptEngine\Shared\Api\Implementation\OSSL_Api.cs:line 209
at OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.CheckThreatLevel(ThreatLevel level, String function) in d:\OSGRID\OSGRID 0.7 RELEASES\opensim-43173f1\OpenSim\Region\ScriptEngine\Shared\Api\Implementation\OSSL_Api.cs:line 320
at OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osTeleportAgent(String agent, String regionName, Vector3 position, Vector3 lookat) in d:\OSGRID\OSGRID 0.7 RELEASES\opensim-43173f1\OpenSim\Region\ScriptEngine\Shared\Api\Implementation\OSSL_Api.cs:line 742
at OpenSim.Region.ScriptEngine.Shared.ScriptBase.
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
In my OpenSim.ini;
;# {AllowOSFunctions} {Enabled:true} {Allow OSFunctions? (DANGEROUS!)} {true false} false ;; Allow the use of os* functions (some are dangerous) AllowOSFunctions = true
and;
;# {OSFunctionThreatLevel} {Enabled:true AllowOSFunctions:true} {OSFunction threat level? (DANGEROUS!)} {None VeryLow Low Moderate High VeryHigh Severe} VeryLow ;; Threat level to allow, one of None, VeryLow, Low, Moderate, High, ;; VeryHigh, Severe OSFunctionThreatLevel = High << --- I even tried the Very High one, but I'm still getting the same message inworld.
Do I have to do something else in the new GridCommon.ini?
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Problem # 2
For some reason, for 3 of my regions, when there is a new release, I have to load the oar for each of these regions. I also have to create the estate thinghy for each of them. But now I'm getting a message when I try to load the oar saying;
Invalid Uri; the Uri is empty.
How can I fix this?
Selea
|