Change font size
It is currently Sun Mar 24, 2019 8:54 am

Forum rules


Comments from the News Blog http://news.osgrid.org are here.



Post a new topicPost a reply Page 1 of 2   [ 13 posts ]
Go to page 1, 2  Next
Author Message
 Post subject: Release changes for OSgrid OpenSimulator 0.7.3.dev.43173f1
PostPosted: Sat Jan 14, 2012 9:55 pm 
Site Admin
User avatar

Joined: Sat Feb 02, 2008 5:27 pm
Posts: 843
Important updates please read!
http://news.osgrid.org/2012/01/15/update-release-changes-for-osgrid-opensimulator-0-7-3-dev-43173f1/


Top
 Profile  
 
 Post subject: Re: Release changes for OSgrid OpenSimulator 0.7.3.dev.43173f1
PostPosted: Sun Jan 15, 2012 4:17 pm 
Furious Typer
User avatar

Joined: Fri Jul 16, 2010 2:53 pm
Posts: 239
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


Top
 Profile  
 
 Post subject: Re: Release changes for OSgrid OpenSimulator 0.7.3.dev.43173f1
PostPosted: Sun Jan 15, 2012 5:35 pm 
Furious Typer

Joined: Fri Dec 12, 2008 9:47 am
Posts: 243
On Issue #1 with the tp: set the ossl function to Allow_osTeleportAgent = PARCEL_OWNER and increase threat leavel to severe. There was achange inthe current release: http://opensimulator.org/viewgit/?a=com ... 5cfe92cc06. If you contue using true, then anyone can teleport anyone on your reagion

#2: What database are you using? If SQlite, did you copy the db files?

_________________
{L_IMAGE}{L_IMAGE}{L_IMAGE}


Top
 Profile  
 
 Post subject: Re: Release changes for OSgrid OpenSimulator 0.7.3.dev.43173f1
PostPosted: Sun Jan 15, 2012 6:56 pm 
Furious Typer
User avatar

Joined: Fri Jul 16, 2010 2:53 pm
Posts: 239
Hi Michelle :)

In my OpenSim.ini, I did not find Allow_osTeleportAgent = PARCEL_OWNER but I did change the High to Severe as you suggested and now all TP's are working again. Thank you :)

As for problem # 2, I use MySql. I thought we all did. All I know about MySql is that I need it to run my regions, and that is it.

I never had a problem loading the region oars before. That is why I'm assuming this problem has to do with this new release?

Thank you again for your help Michelle :)

Selea


Top
 Profile  
 
 Post subject: Re: Release changes for OSgrid OpenSimulator 0.7.3.dev.43173f1
PostPosted: Sun Jan 15, 2012 7:17 pm 
Site Admin
User avatar

Joined: Sat Feb 02, 2008 5:27 pm
Posts: 843
running Xengine in severe to get osTeleportAgent is a really bad idea, I suggest you put that back to the default and add

Allow_osTeleportAgent = PARCEL_OWNER

here is an example [Xengine] section of the OpenSim.ini where it would go

{L_CODE}:
[XEngine]
    ;# {Enabled} {} {Enable the XEngine scripting engine?} {true false} true
    ;; Enable this engine in this OpenSim instance
    Enabled = true

    ;; How many threads to keep alive even if nothing is happening
    ; MinThreads = 2

    ;; How many threads to start at maximum load
    ; MaxThreads = 100

    ;; Time a thread must be idle (in seconds) before it dies
    ; IdleTimeout = 60

    ;# {Priority} {Enabled:true} {Priority for script engine threads?} {Lowest BelowNormal Normal AboveNormal Highest} BelowNormal
    ;; Thread priority ("Lowest", "BelowNormal", "Normal", "AboveNormal",
    ;; "Highest")
    ; Priority = "BelowNormal"

    ;; Maximum number of events to queue for a script (excluding timers)
    ; MaxScriptEventQueue = 300

    ;; Stack size per thread created
    ; ThreadStackSize = 262144

    ;; Set this to true (the default) to load each script into a separate
    ;; AppDomain. Setting this to false will load all script assemblies into the
    ;; current AppDomain, which will reduce the per-script overhead at the
    ;; expense of reduced security and the inability to garbage collect the
    ;; script assemblies
    ;;
    ;; If you are on Linux Server keep this set to false
    ;; If you are on Windows Server set this to true for best performance
    AppDomainLoading = false

    ;# {DefaultCompileLanguage} {Enabled:true} {Default script language?} {lsl vb cs} lsl
    ;; Default language for scripts
    ; DefaultCompileLanguage = "lsl"

    ;# {AllowedCompilers} {Enabled:true} {Languages to allow (comma separated)?} {} lsl
    ;; List of allowed languages (lsl,vb,cs)
    ;; AllowedCompilers=lsl,cs,js,vb.
    ;; *warning*, non lsl languages have access to static methods such as
    ;; System.IO.File.  Enable at your own risk.
    ; AllowedCompilers = "lsl"

    ;; Compile debug info (line numbers) into the script assemblies
    ; CompileWithDebugInformation = true

    ;; Allow the user of mod* functions.  This allows a script to pass messages
    ;; to a region module via the modSendCommand() function
    ;; Default is false
    ; AllowMODFunctions = false

    ;# {AllowOSFunctions} {Enabled:true} {Allow OSFunctions? (DANGEROUS!)} {true false} false
    ;; Allow the use of os* functions (some are dangerous)
    AllowOSFunctions = true

    ;# {AllowLightShareFunctions} {Enabled:true [LightShare]enable_windlight:true} {Allow LightShare functions?} {true false} true
    ; Allow the user of LightShare functions
    AllowLightShareFunctions = true

    ;# {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 = VeryLow

    ;; Time a script can spend in an event handler before it is interrupted
    ; EventLimit = 30

    ;; If a script overruns it's event limit, kill the script?
    ; KillTimedOutScripts = false

    ;; Sets the multiplier for the scripting delays
    ; ScriptDelayFactor = 1.0

    ;; The factor the 10 m distances llimits are multiplied by
    ; ScriptDistanceLimitFactor = 1.0

    ;; Maximum length of notecard line read
    ;; Increasing this to large values potentially opens
    ;; up the system to malicious scripters
    ; NotecardLineReadCharsMax = 255

    ;; Sensor settings
    ; SensorMaxRange = 96.0
    ; SensorMaxResults = 16

    ;; Disable underground movement of prims (default true); set to
    ;; false to allow script controlled underground positioning of
    ;; prims
    ; DisableUndergroundMovement = true

    Allow_osGetSimulatorVersion = true
    Allow_osTeleportAgent = PARCEL_OWNER
   
    ;; Path to script engine assemblies
    ;; Default is ./bin/ScriptEngines
    ; ScriptEnginesPath = "ScriptEngines"


Top
 Profile  
 
 Post subject: Re: Release changes for OSgrid OpenSimulator 0.7.3.dev.43173f1
PostPosted: Sun Jan 15, 2012 7:55 pm 
Furious Typer
User avatar

Joined: Fri Jul 16, 2010 2:53 pm
Posts: 239
Hi Neb :)

I did the changes as you suggested. VeryLow and added that Allow_osTeleportAgent = PARCEL_OWNER as shown.

All TP's are working great.

Thank you for taking the time. For someone like me that knows very close to nothing about scripting, a visual is the biggest help.

Selea

After checking what you posted against what I had for that section, I noticed a few other things that were different. I copied / pasted your post to that section in my OpenSim.ini and still all TP's are working great.

Again, thank you :)


Top
 Profile  
 
 Post subject: Re: Release changes for OSgrid OpenSimulator 0.7.3.dev.43173f1
PostPosted: Mon Jan 16, 2012 2:44 pm 
Furious Typer
User avatar

Joined: Fri Jul 16, 2010 2:53 pm
Posts: 239
{L_QUOTE}:
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?


I tried a few times this AM to somehow get those regions going, but I keep getting the same message. I even tried creating them from scratch. Same message.

For now they are running on the older version; osgrid-opensimulator-0-7-3-dev-34c42cd/

Help?

Selea


Top
 Profile  
 
 Post subject: Re: Release changes for OSgrid OpenSimulator 0.7.3.dev.43173f1
PostPosted: Mon Jan 16, 2012 7:14 pm 
Furious Typer
User avatar

Joined: Sat Jul 16, 2011 3:35 pm
Posts: 158
Selea Core {L_WROTE}:
{L_QUOTE}:
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?


Last edited by Wolf Paws on Wed Feb 29, 2012 1:50 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Release changes for OSgrid OpenSimulator 0.7.3.dev.43173f1
PostPosted: Wed Jan 18, 2012 1:12 pm 
Furious Typer
User avatar

Joined: Fri Jul 16, 2010 2:53 pm
Posts: 239
{L_QUOTE}:
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?


I finally fixed this. I re-saved each oar for each regions then proceeded with updating with the new release. The only different thing I can see is that I was standing on each region as I saved the oar. I don't know if that makes a difference, but now all my regions are updated with this new release. AND for the first time ever, for those 3 regions, I did not have to load the oars, or fill out the Estate part.

Now I have 2 questions;

1- Why does it take so long to load after the line Map Image Service Module? I noticed depending on the size of assets for each region, it might take a bit longer or less. Does this matter?

2 - With this new release, for each of my regions, when the loading is done, I get this line; Logins enabled for REGION NAME, Oar False. What does the Oar False mean?

Selea


Top
 Profile  
 
 Post subject: Re: Release changes for OSgrid OpenSimulator 0.7.3.dev.43173f1
PostPosted: Wed Jan 18, 2012 2:17 pm 
OSG Elite
User avatar

Joined: Sat Nov 06, 2010 10:19 am
Posts: 1047
Location: Czech Republic
Hello,
1) don't you have warp3d on?
2) it is region ready module. It disables logins while OAR loads. It is very good for region stability..

Bo


Top
 Profile  
 
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 1 of 2   [ 13 posts ]
Go to page 1, 2  Next


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
610nm Style by Daniel St. Jules of Gamexe.net