[Opensim-users] xgrid-info in viewer

2022-02-17 Thread Fred Beckhusen
For some time, on every object in world, in the builders / owners name 
in the build window XML, one grid shows this:


x-grid-location-info://http://ourgridurl.de   (you read that right, the 
http part appears like a second prefix ???).


This occurs on all 4 names, creator, last, etc.

Link to Image: 
https://www.dropbox.com/s/u51woywe5hcpu9b/buildingwindow.png?dl=0


They are without hypergrid connection, and its a closed school system, 
so access is limited.


I am trying to get a prim in an IAR from them, and version info. Any 
suggestions on what this could be or ways to troubleshoot?




Fred Beckhusen




___
Opensim-users mailing list
Opensim-users@opensimulator.org
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users


Re: [Opensim-users] How to get ROBUST to notify that it has finished setup?, (Fred Beckhusen)

2021-11-18 Thread Fred Beckhusen
I do much of this in DreamGrid.   MySQL, Robust and Opensim each have 
different ways that you can detect being "up".


You are correct in that Linux spawns processes (not services, which are 
a Windows construct) and detecting the process is running is not what 
you need.    You need to know when the process is ready to use.


MySQL:   MySQL is ready if you get a response back from a Select 
Version();  query.   Socket connectivity to port 3306, or even a login 
to it is not enough.  Success is determined in my app if the 
Response.length  > 0 . I don't check the version as I don't care and 
it's NaN anyway.   There may be no Robust or Region database at first 
boot. They will make the databases they need.


Robust: I used to just probe the robust HTTP port for a 200 OK  HTTP 
response.  But when robust is first building the database, this is not 
correct.   A slow PC could take too long to make the robust database and 
a launched Opensim would fail to connect.  Ubit added a HTTP response 
code to my code which is mostlycore Opensim.  Robust is MIT licensed so 
feel free to use it.  The source is in the Dreamworld repo at 
github.com/Outworldz/Dreamworld. gitk can help locate the spot of any 
changes to core. Ubit may be able to point you in the correct place.


DreamGrid uses a URL in my file Robust.vb in function IsRobustRunning() 
As Boolean, which uses a parameter to ask for robust readiness.


Up = Client.DownloadString("http://; & Settings.PublicIP & ":" & 
Settings.HttpPort & "/index.php?version")


Typically, this would translate to http://127.0.0.1:8002/index.php?version

If the Up string contains "Opensim", I mark Robust as up and launch all 
Opensims sequentially (not in parallel, though you could fork and do 
so).  I want to control the boot more closely.  As soon as Opensim is is 
spawned I try to back a Process ID, and then I launch another after 
checking out the CPU and RAM.   A PID can take anywhere from 
milliseconds to 10-15 seconds ( possibly much longer) to get so I have 
to wait for it.  I need the PID to locate the instances later.  You 
could use the PID file that Opensim makes on disk, but then you must 
know all the regions by parsing files,  and delete the .pid file before 
the launch, and that brings in more headaches in detecting a running 
Opensim.  They may be still shutting down, or they restarted, or never 
shut down, or was left running deliberately by the Grid owner.  All 
those edge cases are where I spend a lot of my time. This requires a 
complicated state machine to track it.


Opensim is a hot mess.  I spawn them as a process, and so can detect an 
exit by using  withevents, and if desired, restart them ( typically 
initiated by a use request, as the reboot a region should not be used. 
You need to exit and respawn the instance.


And detecting "Up" may be impossible.  The Region Ready module exists to 
report that Opensim is up.   But it's not always correct.  If scripts 
are off, you get nothing from the module.  Also, if Logins are disabled, 
there will never be a Region Ready.  Worse, after Login Enabled is 
reported on the console, and Region Ready says the Region scripts are 
done, as long as a minute or more, you can still get a Teleport Denied 
because the region is offline. And that even when Robust has it 
marked as Online!  Its something deep in Opensim I still need to fix.


Opensim will be CPU bound at boot as it is extremely thread happy.  
MySQL will rarely go above a few percent CPU even with 100% of the RAM 
in use with many regions launched at once.  The CPU will get swamped, 
especially if maps are on, Maps can double RAM use and extend the CPU 
use for many minutes, versus the more normal few seconds it takes.


DreamGrid gets the average CPU and RAM over 3 second periods, and stops 
down spawning Opensim processes when CPU > 90% or memory > 90%.  It 
begins to spawn again when the average drops below these threshholds. 
This leaves a bit of both left over which makes the system much more 
responsive. I also support Core Affinity for Opensim so you can select 
the cores to use,  and am experimenting with using just once core during 
boot and then using more as it becomes stable.   Lots to play with 
here.  I will be adding Core Affinity as a choice for Robust and Mysql soon.



--ooo--/\/\/\-|(--ooo--/\/\/\-|(--ooo

Fred K. Beckhusen

___
Opensim-users mailing list
Opensim-users@opensimulator.org
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users


Re: [Opensim-users] How to get ROBUST to notify that it has finished setup?, (Fred Beckhusen)

2021-11-18 Thread Fred Beckhusen
I do much of this in DreamGrid.   MySQL, Robust and Opensim each have 
different ways that you can detect being "up".


You are correct in that Linux spawns processes (not services, which are 
a Windows construct) and detecting the process is running is not what 
you need.    You need to know when the process is ready to use.


MySQL:   MySQL is ready if you get a response back from a Select 
Version();  query.   Socket connectivity to port 3306, or even a login 
to it is not enough. Success is determined in my app if the 
Response.length  > 0 . I don't check the version as I don't care and 
it's NaN anyway. There may be no Robust or Region database at first 
boot. They will make the databases they need.


Robust: I used to just probe the robust HTTP port for a 200 OK  HTTP 
response.  But when robust is first building the database, this is not 
correct.   A slow PC could take too long to make the robust database and 
a launched Opensim would fail to connect.  Ubit added a HTTP response 
code to my code which is mostlycore Opensim.  Robust is MIT licensed so 
feel free to use it.  The source is in the Dreamworld repo at 
github.com/Outworldz/Dreamworld.  gitk can help locate the spot of any 
changes to core. Ubit may be able to point you in the correct place.


DreamGrid uses a URL in my file Robust.vb in function IsRobustRunning() 
As Boolean, which uses a parameter to ask for robust readiness.


Up = Client.DownloadString("http://; & Settings.PublicIP & ":" & 
Settings.HttpPort & "/index.php?version")


Typically, this would translate to http://127.0.0.1:8002/index.php?version

If the Up string contains "Opensim", I mark Robust as up and launch all 
Opensims sequentially (not in parallel, though you could fork and do 
so).  I want to control the boot more closely.  As soon as Opensim is is 
spawned I try to back a Process ID, and then I launch another after 
checking out the CPU and RAM.   A PID can take anywhere from 
milliseconds to 10-15 seconds ( possibly much longer) to get so I have 
to wait for it.  I need the PID to locate the instances later.  You 
could use the PID file that Opensim makes on disk, but then you must 
know all the regions by parsing files,  and delete the .pid file before 
the launch, and that brings in more headaches in detecting a running 
Opensim.  They may be still shutting down, or they restarted,  or never 
shut down, or was left running deliberately by the Grid owner.  All 
those edge cases are where I spend a lot of my time. This requires a 
complicated state machine to track it.


Opensim is a hot mess.  I spawn them as a process, and so can detect an 
exit by using  withevents, and if desired, restart them ( typically 
initiated by a use request, as the reboot a region should not be used. 
You need to exit and respawn the instance.


And detecting "Up" may be impossible.  The Region Ready module exists to 
report that Opensim is up.   But it's not always correct.  If scripts 
are off, you get nothing from the module. Also, if Logins are disabled, 
there will never be a  Region Ready.  Worse, after Login Enabled is 
reported on the console, and Region Ready says the Region scripts are 
done, as long as a minute or more, you can still get a Teleport Denied 
because the region is offline. And that even when Robust has it 
marked as Online!  Its something deep in Opensim I still need to fix.


Opensim will be CPU bound at boot as it is extremely thread happy.  
MySQL will rarely go above a few percent CPU even with 100% of the RAM 
in use with many regions launched at once.  The CPU will get swamped, 
especially if maps are on, Maps can double RAM use and extend the CPU 
use for many minutes, versus the more normal few seconds it takes.


DreamGrid gets the average CPU and RAM over 3 second periods, and stops 
down spawning Opensim processes when CPU > 90% or memory > 90%.  It 
begins to spawn again when the average drops below these threshholds.  
This leaves a bit of both left over which makes the system much more 
responsive. I also support Core Affinity for Opensim so you can select 
the cores to use,  and am experimenting with using just once core during 
boot and then using more as it becomes stable.   Lots to play with 
here.  I will be adding Core Affinity as a choice for Robust and Mysql soon.



--ooo--/\/\/\-|(--ooo--/\/\/\-|(--ooo

Fred K. Beckhusen

___
Opensim-users mailing list
Opensim-users@opensimulator.org
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users


[Opensim-users] Maptile folders ( Fred Beckhusen)

2021-09-26 Thread Fred Beckhusen

MapTileDirectory = "./maptiles"  is the correct place for all maps.  This is 
where they are saved (All region maps are saved one folder down in 000-000* (The MAP-* 
file that are in saved in Opensim\bin are not used except for debugging purposes,  and 
may be deleted at any time. Or commented out in the src where they are made.  Only those 
files in the null UUID are used.


Fred

On 9/26/2021 7:00 AM, opensim-users-requ...@opensimulator.org wrote:

Send Opensim-users mailing list submissions to
opensim-users@opensimulator.org

To subscribe or unsubscribe via the World Wide Web, visit
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
or, via email, send a message with subject or body 'help' to
opensim-users-requ...@opensimulator.org

You can reach the person managing the list at
opensim-users-ow...@opensimulator.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Opensim-users digest..."


Today's Topics:

1. Changing the default Individual simulators maptile   generation
   location (Todd Davis)


--

Message: 1
Date: Sat, 25 Sep 2021 11:25:47 -0400
From: Todd Davis 
To: opensim-users@opensimulator.org
Subject: [Opensim-users] Changing the default Individual simulators
maptile generation location
Message-ID:

Content-Type: text/plain; charset="UTF-8"

Greetings,

Is there a way to change the default location of where the
maptiles generate for each simulator in grid mode? This is for the
individual regions not the robust.  I am configuring each region to run out
of one bin directory with configurations in a separate config directory.  I
notice that maptiles generate in the bin directory.  I would like them to
generate in a different directory.  But I can not find where to specify the
directory.   I did change this setting in the GridCommon.ini but that only
applies to linked regions.
 ;; Directory for map tile images of linked regions
 MapTileDirectory = "./maptiles"

I have looked in all the ini's and on the opensimulator.org site and I can
not find a setting to change the directory where the maptiles are generated
in.

Any help would be appreciated.

Darri


--

___
Opensim-users mailing list
Opensim-users@opensimulator.org
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users


End of Opensim-users Digest, Vol 87, Issue 4


___
Opensim-users mailing list
Opensim-users@opensimulator.org
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users


Re: [Opensim-users] The results of your email commands

2021-05-03 Thread Fred Beckhusen
Thomas: I do not believe Regions are your issue. I assume this happens 
on any

teleport to any region. If it works on others, try reloading the region
from a backup.   I would make a backup, then run a series of checks on 
your database.


Then try saving an IAR to see if you can locate the bad item.

First, make a copy of your Mysql\Data folder so you have a backup. You
can find the pointer to it in your my.ini. I would treat this copied db
as if it were gold. It's precious. Do not write to it again.  It may be
a single bit off somewhere which can be repaired.   It once took a
week to get a 90 GB db to me but a Perl script found a UUID with an
Omega symbol in it in minutes which is illegal and led to immediate
crashes. A query via remote desktop got the grid back in a few
seconds.  These can be caused by failures in non-ECC memory, alpha 
particles and other forms of bad luck.


Below is for Mysql 5.7.    You run fix ISAM stuff first, then run
mysqlcheck.exe on *.MYI files. There are no MYI files in a region
folder, just in robust and mysql. Your database names may differ, mine
are  'mysql' and 'robust' with regions stored in 'opensim'.

Make sure Mysql up to date:
mysql_upgrade.exe --port=3306

Check Mysql and robust ISAM files

myisamchk --force --fast --update-state ..\data\mysql\*.MYI
myisamchk --force --fast --update-state ..\data\robust\*.MYI

To check all DB's ( takes a long time on big db's, hours, or overnight)

mysqlcheck.exe --port 3306 -u root -A -p

To repair the DB, only if the above fails. ( takes a long time on big
db's, hours, or overnight)
mysqlcheck.exe --port %PORT% -A -u root -r -p

To optimize the db ( takes a long time on big db's, hours, or overnight)
mysqlcheck.exe --port 3306 -A -u root -o -p

If inventory is still crashing, it may take a restore from a backup to
fix it. On some occasions, I have been able to fix stuff like this by
saving an IAR and reloading it. Also once, doing a mysqldump and a
restore as shown below.

To backup:
This first line is needed to set the database to use in a restore

echo use Robust; >Robust.sql
mysqldump.exe --opt --hex-blob --add-drop-table --allow-keywords
--single-transaction --quick -uroot --p --max_allowed_packet=1G --verbose Robust >> Robust.sql

To Restore:

mysql -u root -p Robust < Robust.sql
Ferd Frederix/Fred Beckhusen

> Date: Mon, 3 May 2021 06:38:00 +0200
> From: Thomas GARCIA 
> To: 
> Subject: [Opensim-users] Crash - how to record the entire session log
> Message-ID: 
> Content-Type: text/plain; charset="utf-8"; format=flowed
>
> Hello,
>
> i've got 4 crashes on my simulation.
> I want to record all the session log (all the lines of the console) for
> my next test.
>
> Do you know to do this ?
>
> Thank you for your help,
> Thomas.
>
>

___
Opensim-users mailing list
Opensim-users@opensimulator.org
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users


[Opensim-users] Does anyone have a copy of the OARs from OSCC2013?

2021-03-26 Thread Fred Beckhusen
Does anyone have a copy of the OARs from OSCC2013 ?   They are CC 
BY-NC-SA 3.0 and deserve to be preserved.Â


The Internet Archive does not seem to show a valid download link 
anywhere in the pages I checked.


This is the original article on conference.opensimulator.org. �

https://conference.opensimulator.org/2018/archives-resources/oar-downloads/


Fred/Ferd
___
Opensim-users mailing list
Opensim-users@opensimulator.org
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users


[Opensim-users] OpenSim with Hamachi (Fred Beckhusen)

2020-09-28 Thread Fred Beckhusen

It is likely to be no incoming ports are available.

~Fred Beckhusen

Try these in order using a web browser from your server,.

1. http://127.0.0.1:8002 <- gives a web page. Verifies that robust is 
running on the machines Network Card loopback adapter.


If not, start Robust.

Go to the next step only when this test passes.

2. Find your LAN IP with the dos command 'ipconfig'.

Use a web browser to go to your LAN IP, such as http://192.168.0.10:8002

You should get a web Page. If not, check your IP with the dos command 
'ipconfig'. It will be listed as an IPV4 address. While there make sure 
there is only one gateways enabled. This is usually 192.168.0.1.


Go to the next step only when this test passes.

3. Use a cellphone or some other PC connected to your LAN for this next one.

Navigate using a web browser on that OTHER device to 
http://192.168.0.10:8002.


You should see the web page.

If this fails, it is likely to be an antivirus program blocking a port 
such as the Windows Defender firewall. Turn them ALL off. Look for 
Malwarebytes or other installations that can block the port. I have 
troubleshot one machine that had three anti-viruses. You can turn them 
back on once you get it working, one at a time, and see when Opensim 
quits. Then add the necessary exclusions to that anti-virus program.


Go to the next step only when this test passes.

 4. All the above tests are LAN-based. So now try the router:

 http://canyouseeme.org on port 8002

This test must pass. If it does not the problem is either the router is 
not forwarding, or another firewall is blocking you. Usually this is 
when people realize they have their router plugged into another router 
that needs to port forward, too.


Look up your router manual. Go to http://portforward.com and look it up, 
too.


If this fails, it is also likely to be your anti-virus. It can also be 
the Windows Defender windows firewall. Turn them both off. Look for 
Avast and Malwarebytes or other installations that can block the LAN 
port. You have already proven it is not Opensim,  so there is no point 
in reinstalling the grid or restarting it.


Do not go to the next step until the above is working. There is no point 
until the above works.



5. Go to the network settings and click the properties of the Microsoft 
Driver for the Loopback Adapter. You should have renamed it 'Loopback". 
In the IPV4 settings, it should show the same address Canyouseeme.org 
shows as the address. The gateway is 255.255.255.0 No other settings are 
needed. Close those settings, and right click the adapter and enable it.


6. Navigate to http://(The Ip address reported by CanyouSeeme.org):8002

You should see the web page. If not, recheck the Loopback settings.

Go to the next step only when this test passes.

7. Right click the Loopback Network Adapter and disable it, if you have 
installed it. Navigate to http://(The Ip address reported by 
CanyouSeeme.org):8002. It may or may not work. If not, you need to 
re-enable the adapter. If it gives a web page, congratulations, your 
router supports loopback. Leave it disabled.




1. OpenSim with Hamachi? (Chris)


--

Message: 1
Date: Sun, 27 Sep 2020 16:26:59 -0400
From: Chris 
To: opensim-users@opensimulator.org
Subject: [Opensim-users] OpenSim with Hamachi?
Message-ID: <645f653b-cd00-3640-5c90-49f0aaedc...@gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed

Hello everyone! Have a question about using OpenSim with Hamachi (or
similar personal VPN software).

I have set up a grid mode installation (not Hypergrid) with the relevant
IP/Hostname settings pointing to the IP address that Hamachi has set up.
When I try to log into OS from another computer (that is not on the same
network, and is also using Hamachi), I can see the login attempt in
ROBUST and the attempt to connect to a region in an OpenSim.exe
instance... But the log in never completes. I suspect this may have
something to do with loop back, but I am not sure how to resolve this
concerning using Hamachi. I can access other resources on the host
computer just fine (such as network shares) and am able to ping it.

Unfortunately, due to some recent circumstances that I was put in
lately; I am temporarily staying somewhere else that I do not have
access to the router to do port forwarding setup and all the other
necessary things that need to be done normally on the router's side to
allow other people to gain access to my regions. So I thought that
Hamachi would be a great way to get by for now to allow a couple of
people that need access to my regions to be able to log in with me... It
just isn't working at present.



--

___
Opensim-users mailing list
Opensim-users@opensimulator.org
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users


End of Opensim-users Digest, Vo

[Opensim-users] llTargetOmega : Bug or feature ? (Fred Beckhusen)

2020-07-31 Thread Fred Beckhusen


From the SL Wiki:

 * If the script is attached to the root prim, the entire object
   rotates around theregion
   axis.
 * If the script is attached to a child prim, the prim rotates around
   thelocal
   axis.

Your first case becomes the region axis as it is using llGet"LOCAL"Rot 
without the linked root prim.   Avoid mixing llGetLocalRot and llRot as 
if they are the same.   The better syntax is your second case, which is 
basically tyher same as the Wiki, which I use often to make propellors 
and wheels:


//Rotates very slowly around a sphere's local X axis  Good for 
making a globe that rotates around a tilted axis
 
default

{
state_entry()
{
   llTargetOmega(<1.0,0.0,0.0>*llGetRot(),0.1,0.01);
}
}



1. llTargetOmega : Bug or feature ? (Jeff Kelley)


--

Message: 1
Date: Thu, 30 Jul 2020 22:05:42 +0200
From: Jeff Kelley
To:opensim-users@opensimulator.org
Subject: [Opensim-users] llTargetOmega : Bug or feature ?


Try the following :

Rez a cylinder, throw this script in :

default
{
 state_entry()
 {
 llTargetOmega ( llRot2Up(llGetLocalRot()), 1, 1);
 }
}


Now, edit the spinning cylinder. Change it's orientation.

The prim continues spinning around what was his up axis prior to edition.

Not quite surprising. Motion is client-side and client has not been
telled to recalculate the motion. Or should it ? Anyway, resetting
the script should fix things, yes ?

No. Once the prim have been rotated manually, llTargetOmega will not
spin it again correctly.

Bug or feature ?


Here is a work-around :

Force rotation to current value with llSetRot. As this won't work
(cache effect ?) , force it to a slightly different value, then to
the desired value again. Wait a short time between (i guess updates
are coalesced).

default {

 state_entry() {
 rotation rot = llGetRot();
 llSetRot (rot + <0.01,0.01,0.01,0.01>);
 llSleep (0.1);
 llSetRot (rot);

 llTargetOmega ( llRot2Up(llGetLocalRot()), 1, 1);
 }
}


Any thoughts ?



-- Jeff

___
Opensim-users mailing list
Opensim-users@opensimulator.org
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users


Re: [Opensim-users] recent builded objects missing after, restarting Opensim

2020-06-02 Thread Fred Beckhusen
Subject: [Opensim-users] recent builded objects missing after restarting 
Opensim


Opensimulator saves assets to disk often, but this can be anywhere from 
once a minute to as long as 10 minutes. Mysql will normally buffer data 
as well, and can takes many seconds to write to disk.


There are several things you can do to help not lose data.

You can 'q' or 'quit' out of Opensim and Robust, and not just close the 
DOS boxes. This flushes the data.


If runnign a Dreamgrid, the current V3.5 version is set to Quit the Dos 
box on request from an estate owner instead of restarting, which is 
flaky, at best. You need to set the Restart setting to "Restart on 
Crash" to bring the region back up.


You can also type "backup' which will flush the data if you must force a 
restart.


There is a setting in OpensimDefaults.ini and a commented-out setting in 
Opensim.ini which will override OpensimDefaults that can be set to 
reduce or eliminate most of these delays.


; Persistence of changed objects happens during regular sweeps. The 
following control that behaviour to
; prevent frequently changing objects from heavily loading the region 
data store.
; If both of these values are set to zero then persistence of all 
changed objects will happen on every sweep.

;
; Objects will be considered for persistance in the next sweep when they 
have not changed for this number of seconds

MinimumTimeBeforePersistenceConsidered = 60
; Objects will always be considered for persistance in the next sweep if 
the first change occurred this number of seconds ago

MaximumTimeBeforePersistenceConsidered = 600

I also recommend that you install Mysql as a service, as Mysql will then 
understand shutdown commands. In DreamGrid, there is a batch program 
InstallAsAService.bat in mysql\bin.


For maximum protection against database loss, use a UPS with a USB cable 
and software so the system will shut down if power fails and the 
batteries get low. Mysql will be told to gracefully shut down if it is 
running as a service on Windows. It is also possible to set Mysql to 
ACID behavior, as I do in all DreamGrids, to make losing data less 
likely. ACID essentially means write immediately and not buffer data.



Fred

On 6/2/2020 7:00 AM, opensim-users-requ...@opensimulator.org wrote:

Message: 2
Date: Tue, 2 Jun 2020 12:49:15 +0300
From: "tugbatokel ." 
To: opensim-users@opensimulator.org
Subject: [Opensim-users] recent builded objects missing after
restarting  Opensim
Message-ID:

Content-Type: text/plain; charset="UTF-8"

Hi all,

I started having problem with Opensim world after I restarted it.

I have multiple regions. Once I restarted the opensim, objects in one of
our recent builded region are missing. But, objects in all the other
regions are okay.
Now I am trying to build in all regions, it works, but when I restart the
opensim again, they are lost. This is happening to all of my regions.

We used to restart all the time, and did not have this kind of problem
ever.
I appreciate your help.
Thanks.


--


___
Opensim-users mailing list
Opensim-users@opensimulator.org
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users


[Opensim-users] Fwd: FSassets and Mysql Asset table

2020-06-02 Thread Fred Beckhusen


How do I disable writing assets to the Robust.assets tables when 
FSAssets is in use?   I cannot find any documentation at 
/wiki/FSAssets_Service or elsewhere describing this specific need. The 
wiki states "This option will save the assets to the file system as 
opposed to the default service which stores assets as blobs in the 
database."  I am using the default realm of "fsassets" and have records 
in that table, as expected.


Commenting the FallbackService  did not help.

To reproduce, start with assets table empty,  with fsassets enabled, 
and  after startup and loading a simple OAR, I still get hundreds of 
rows in both mysql.assets and mysql.fsassets tables, and assets has 
blobs in the data columns.


What did I miss?

Fred Beckhusen
f...@outworldz.com



___
Opensim-users mailing list
Opensim-users@opensimulator.org
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users


[Opensim-users] Multi-user simulation design question (Irina Lipov) (Fred Beckhusen

2019-11-20 Thread Fred Beckhusen

re: 1. Multi-user simulation design question (Irina Lipov)

--

You could use a simple LSL scanner that only allowed certain avatars 
into a region.  If they are not on the list, it would teleport them 
back to the welcome region.    Stock Opensim or a DreamGrid setup on 
Windows can do this easily.  For example, set up user accounts names 
such as Region One, Region Two, etc. Name the regions the same way.  
Add a Welcome region.   Put a script in a prim in each region that 
periodically checks if an Avatar name matches the region name, or 
not.  If not, teleport them to Welcome.


If you are on Windows, you can run a copy of Dreamgrid, and even run a 
copy on  on each PC, which solves the problem with no coding.  You can 
easily disable hypergrid in the Settings so they can't go anywhere but 
to their own pre-set up region(s). It's a full region server that 
starts with just a few clicks on a LAN.   Copy it from a server and 
load the startup OAR with a few clicks.  - about 200 MB in zip form 
for the entire system. It can also run on a thumb drive.


https://www.outworldz.com/Outworldz_installer/ 



Fred

Message: 1
Date: Tue, 19 Nov 2019 18:39:40 +0200
From: Irina Lipov 
To: opensim-users@opensimulator.org
Subject: [Opensim-users] Multi-user simulation design question
Message-ID:

Content-Type: text/plain; charset="UTF-8"

Hi,
I am developing multi-user educational simulation
Each user (student) should "get" the same instance of the simulation. But
they should not be able to "visit/ work on" each other simulation.(I.e. the
same avatar "works" in the laboratory, but each student plays with him and
laboratory as he wants)  As well users around the web should not be able to
"enter" our wold.
What should be a correct approach/design for such application?




---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

___
Opensim-users mailing list
Opensim-users@opensimulator.org
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users


Re: [Opensim-users] Opensim-users Digest, Vol 64, Issue 2

2019-10-18 Thread Fred Beckhusen
@Timeka, I am not clear on what the problem is they way it is stated.   
If you need, upload the blender file to the upload link at the Free 
Mesh/sculpts link at www.outworldz.com and I will look at it for you.


Let's assume you made a mesh object that is boned and weighted. You need 
to export it in the Avastar plug-in with the Export->Collada (Avastar) 
(dae) Option. When uploading a mesh with weights, you need to go to the 
third tab and select the weight and bone options.


If it is not an weighted mesh object, or uploaded without the proper 
switches, then attaching it will attach  just like any primitive.  
Detaching it will make it go away.  It should still be in your Inventory.


The "partial upload" may be caused by many reasons. Does it look correct 
in the preview window in the viewer at all 4 levels of detail? If not, 
select different levels of detail in the first tab so that it is visible 
at all 4 levels, as otherwise it can be reduced to a single triangle on 
upload.  This sounds more likely being Blender related, such as thinking 
something is mesh when it is a curve, for just one example.  Mesh 
objects have a gold, 3-vertex triangle in the Outliner window.  Without 
having the object, it is hard to say.


Fred


From: Timeka Cobb 

Hey all?,

Im doing a simple presentation for a local Blender meetup group Saturday
and was testing importing mesh into OS on my FS viewer. One issue is that
the mesh doesn't upload fully and another is that when I do upload it
attaches to avatar..Trying to detach and when I do that it goes
completely away. How do I fix these issues if possible?

?,
Timeka


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

___
Opensim-users mailing list
Opensim-users@opensimulator.org
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users


[Opensim-users] FsAssets and Flotsam Cache together?

2019-07-19 Thread Fred Beckhusen


If am running FSAssets, why would I also need a Flotsam Cache?  Any 
point to it?


Fred Beckhusen

___
Opensim-users mailing list
Opensim-users@opensimulator.org
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users


Re: [Opensim-users] Fresh standalone install wants table.GridUser (Fred Beckhusen)

2019-01-24 Thread Fred Beckhusen


For mysql, this works to set UTF-8 so no changes are needed to the 
create database commands.  Perhaps it is relevant to Mariadb?


in My.ini:

[mysqld]
character-set-server=utf8

regards:

Fred Beckhusen
f...@outworldz.com


On 2019-01


Today's Topics:

1. Re: General voice issue (Jeff Kelley)
2. Re: Fresh standalone install wants table.GridUser (Peter Petroff)
3. Re: Fresh standalone install wants table.GridUser (Jeff Kelley)


--


Message: 3
Date: Thu, 24 Jan 2019 09:31:19 +0100
From: Jeff Kelley
To:opensim-users@opensimulator.org
Subject: Re: [Opensim-users] Fresh standalone install wants
table.GridUser
Message-ID:
Content-Type: text/plain; charset="us-ascii" ; format="flowed"

At 1:10 PM +1000 1/24/19, Peter Petroff wrote:


I'm afraid it doesn't seem to help; that seems to be about a plugin
failing to load and its failure crashing other things.

https://forum.metrogrid.de/discussion/4848/mysql-issue-when-running-simulator-on-debian

Quote.

One issue I'm aware of with Diva and MariaDB (default mysql on Debian
9) is a missing GridUser table.

The problem is, that MariaDB uses the utf8mb4 character set per
default when you create the table, but the table has been designed
for the utf8 character set which uses less bytes. while utf8 needs
one to three bytes per character, utf8mb4 needs 4 bytes per character.

Given the defined length of 255 characters for the UserID, which is
the primary key, this results in more than the maximum length of 767
bytes for the primary key when used with the utf8mb4 character set.

The solution is simple: create the database with utf8 as the default
character set.

MariaDB [(none)]> create database opensim character set = 'utf8'
collate = 'utf8_general_ci';

End quote.


--

___
Opensim-users mailing list
Opensim-users@opensimulator.org
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users


End of Opensim-users Digest, Vol 56, Issue 22
*

___
Opensim-users mailing list
Opensim-users@opensimulator.org
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users


[Opensim-users] e: Diva Distro does not work for me-alternatives please, (Fred Beckjhusen)

2019-01-09 Thread Fred Beckhusen


On 2019-01-09 3:50 PM, opensim-users-requ...@opensimulator.org wrote:

Today's Topics:

1. Diva Distro does not work for me-alternatives please (Timeka Cobb)



Hi Timeka!    Dreamgrid has Diva Wifi in it, with customizable Black and 
White themes now. It's not Linux-ey, but Dreamgrid does run on all 
Windows boxes including 7, 8, and 10 and all server products.  It just 
uses RAM and cores and some disk space,  and not much else.   Dreamgrid 
is Dot Net 'wrapper'  that runs tests on the network and then edits the  
INI files. One click of Start then launches stock Mysql, Robust and 
Opensim.


If you need a higher level overview than all this detail, the OSCC2018 
presentation is at https://www.outworldz.com/secondlife/OSCC/ and a 20 
minute Youtube video of me yacking is at 
https://www.youtube.com/watch?v=GrDxpzI7Gsk


Dreamgrid is 100% stock Opensim internally.  You could just extract it 
on any Windows box and run Opensim/bin/opensim.exe as-is.   If so, you 
would need to do a few edits to INi files. Dreamgrid is designed to 
automated this and make it very easy to do. Its overall still very 
complex as there is a lot of stuff there, but you can still start a new 
grid in two clicks.


You can download the zip file, or run the simple installer, then edit 
the usual INI files by hand.  Or run Dreamgrid once to make a working 
config, alter it the way you like, and if you still want to roll your 
own, run it from a DOS prompt after that. There is a DOS command 
included (startmanually.bat) to launch Mysql (and a batch file to run it 
as a service if that's what you prefer) , and another batch file to 
start robust. Just type 'go regionname' and it will run without 
Dreamgrid ever being used.  I even include batch files to do these tasks 
individually, and a sample and simple batch file to do them all at once.


Dreamgrid makes it a lot easier to get up quickly, as it picks defaults 
that always work.  If ports are open and loopback works, it will be on 
the hypergrid, too.  It sets up Diva, Robust, all the config files for 
Opensim, builds regions, and sets up tons of the modules like Gloebits, 
Vivox, Birds, Tides, Datasnapshot, Diva, AutoRestart, and many others. 
Dreamgrid does over 250 edits on startup, and then does about 300 more 
for each region.   No need to mess with INI files, ever!


Source codes:  My code is AGPL, so it's open source.  All the code 
(including Opensim) is compiled by me and is digitally signed by 
Outworldz, LLC so it is safe to download and run.  Dreamgrid downloads 
always include the source code for Opensim, which is also easily 
upgraded by copying a stock Opensim zip file over it and running 
prebuild and compile.bat, assuming you want to add modules or develop C# 
code or tweak Opensim.  You can even compile it elsewhere and copy 
opensim/bin over my code. and it should work.  Nothing gets stepped on.  
The source for both DG and Opensim is at github.com/Outworldz.   You can 
clone that and compile it the app with Visual Studio 2015 or 2017 and it 
will run everything, including a database and Opensim immediately.


If you still want to roll your own from my base, there are some minor 
differences in INI settings you need to be aware of.   It's still all 
core Opensim.


The region folders are set up to allow one Opensim.exe run all DOS 
instances.
bin\Openim.ini is now bin\Opensim.proto. This gets copied into region 
folder as Opensim.ini so each DOS Box can have different settings, such 
as UBODE versus Bullet.
bin\config-include\OSSLEnable.ini is now 
bin\config-include\OSSLEnableDG.ini, so stock Opensim does not overwrite it.


--

--ooo--/\/\/\-|(--ooo--/\/\/\-|(--ooo
Fred K. Beckhusen
President
Micro Technology Services, Inc.
fre...@mitsi.com
tel: (888) 230-MTSI Toll Free
cel: (469) 951-7635
http://www.mitsi.com

___
Opensim-users mailing list
Opensim-users@opensimulator.org
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users


[Opensim-users] Help with possible ISP problem (Fred Beckhusen)

2018-12-11 Thread Fred Beckhusen

re:

 1. Help with possible ISP problem (tring...@gmail.com)
I made a change of ISP?s from ?Spectrum? back to ?Frontier? a week ago and ever 
since I have experienced slow response with OSgrid.

You cannot POST  to http://tsim.us.to:9182/friends, the response took > 
8 seconds, and sometimes the response eventually comes in a second 
time.   This means you cannot always hear the response. Test this in a 
web browser. It  should be quick.


Do you have two networks running on this server?  Such as both Wifi and 
Hardwired?  In those cases, the response can come in on an IP that 
Opensim is not listening to. Disable all adapters you are not using.


Fred Beckhusen

___
Opensim-users mailing list
Opensim-users@opensimulator.org
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users


[Opensim-users] Strange behavior of the llsittarget when the primitive is rotated 90? in X (Ferd Frederix)

2018-12-01 Thread Fred Beckhusen
This looks perfectly normal to me.  Your avatar always sits on the 'top' 
of the prim, no matter where the prim is rotated, as the sit target is 
relative to the prim, not the world..


Perhaps you intended the avatar to sit on the 'top' of the rotated prim 
from the worldz reference, no matter which way it is rotated?


if so, you subtract the books rotation from the sit target position and 
rotation. In rotations, a subtract is a divide.


vector rotacion = <0,0,0> * DEG_TO_RA;
vector posicion = <0.50, 0.0, 0.50> ;

default
{
    state_entry()
    {
    llSitTarget( posicion / llGetRot() , llEuler2Rot(rotacion) / 
llGetRot() );

   }
}

Fred Beckhusen/Ferd Frederix

1. Strange behavior of the llsittarget when the primitive is
   rotated 90? in X (Luisillo Contepomi)

Test this please.
A prim rotate in x axe 90 and then try to modify rotation of sit target.

Use this script in a Cube
//

vector rotacion = <0,0,0> * DEG_TO_RAD;
vector posicion = <0.50, 0.0, 0.50> ;

default
{
 state_entry()
 {
 llSitTarget( posicion, llEuler2Rot(rotacion) );
}
}

Then rotate the cube 90 ? in x axe and edit for try to sit avatar up
on the cube.

Now Y rotations are Z and Z are Y and positions are bad.

My English is not enough to explain it clearly. Please use the script
and edit modify in the scripts rotations for sitting on top to see
what I am saying

Version 0.0.9.1 and all devs.

If have confirmation I will report to mantis.

Best regards,




___
Opensim-users mailing list
Opensim-users@opensimulator.org
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users


[Opensim-users] Are unused assets deleted? (Fred Beckhusen)

2018-08-12 Thread Fred Beckhusen

1. Are unused assets deleted? (Ethan A. Gardener)

Dumping and reloading breaks all Firestorm links to Outfits.

Take a look at thi web page at Wizardry and Steamworks 
(grimore.org/opensim/database/asset_cleaner) for a possible way to clean 
a db


It uses PHP with OARS and IARS to make lists of what to keep, then 
deletes the rest.


Fred

___
Opensim-users mailing list
Opensim-users@opensimulator.org
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users


Re: [Opensim-users] Opensim-users Digest, Vol 50, Issue 3

2018-07-03 Thread Fred Beckhusen

re: bin\data folder.

I believe you can read this folder if you have Divas Wifi installed.    
I don't remember how to map the URL.   In my Dreamworld versions, I see 
some long forgotten HTML code and a avatar animation?


Fred Beckhusen

   1. /bin/data content (Luisillo Contepomi)


--

Message: 1
Date: Mon, 2 Jul 2018 16:15:14 +0200
From: Luisillo Contepomi 
To: opensim-users@opensimulator.org
Subject: [Opensim-users] /bin/data content
Message-ID:

Content-Type: text/plain; charset="UTF-8"

Hello all,
I have looked for information in the wiki about it but without much success.
What is the function of the / bin / data directory and how can we
access the content?

Regards,
Luisillo



___
Opensim-users mailing list
Opensim-users@opensimulator.org
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users


Re: [Opensim-users] Help finding bad scripted object ( Ferd Frederix

2018-01-23 Thread Fred Beckhusen

re: [Opensim-users] Help finding bad scripted object, Thomas Ringate

I teleport to the top scripts and examine them individually.  I find a lot of 
bobbing birds with llSleeps inside timers and some bad chairs.

Fred K. Beckhusen
Ferd Frederix

___
Opensim-users mailing list
Opensim-users@opensimulator.org
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users


Re: [Opensim-users] Problems with teleporting in grid mode, from simulator instance to another instance? (Ferd)

2017-05-23 Thread Fred Beckhusen

Johan Taal:  You have an interesting comment that the FQDN should not be used 
on regions.  Are you saying that the DNS system at the far end may have issues 
resolving it to an IP?  Or that the LAN user cannot get to the region because 
their DNS server is not resolving, thus occasionally leading to Thomas Ringates 
flaky tp problem?


Tom:

Your region file looks fine.The Outbound Disallow looks correct, 
too.  That's a   good catch - an exception should be made to the use 
http://  'rule'.


One minor point: I believe   Maxprims = 1 is meaningless without an 
economy module. It only reports that number to a osSL function for prims 
can check parcel limits. And the viewer stops at 45,000 no matter what 
you type in.


I have the same Linksys, too, and it works great for me.

Fred

___
Opensim-users mailing list
Opensim-users@opensimulator.org
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users


[Opensim-users] Problems with teleporting in grid mode from simulator, instance to another instance? (Ferd)

2017-05-23 Thread Fred Beckhusen

1. Re: Problems with teleporting in grid mode from simulator
   instance to another instance? (Chris)

 It appears to me that your LAN dest region did not handshake properly, 
somewhere at the Agent creation process, and the CAPS seed process found 
the destination socket was not available.



I wonder how reliable it is in general.  Have you been able to bulk 
upload a couple dozen textures reliably, or does it crash out partway 
through?  That's a sure sign that loopback is failing.   You xxx'd your 
IP addresses, so I believe you are using a Public WAN IP and therefor a 
router is involved and loopback is necessary. There are many reasons 
loopback can go wrong or be flaky.   Perhaps posting your router 
brand/model number to us for future reference will help us, and maybe we 
can spot something for you.   If this turns out to be the router, please 
help us update the page on the Opensimulator.org web site that we use to 
track which routers work and which do not. It is at 
http://opensimulator.org/wiki/NAT_Loopback_Routers


Troubleshooting:   Check that all IP addresses in your INI files start 
with http:// and make sure none of the regions  have http:// in them.


Go to the destination region and type into the console "debug http all 
5". This will print out more details of the handshake that you now 
cannot see.   You can go to level 6, but that's really verbose.The 
command  "debug http all 0" will turn it off again.


A good way to find out if it is loopback is to set your Public IP in the 
Opensim.INI to be the LAN IP of the server.   You will also need to set 
your grid parameters to point to it in the viewer to be able to log in.  
When all Private LAN IP's are used, your router will not be involved in 
anything at the TCP/IP level and all traffic will be 
machine-to-machine.  This applies to any IP's in the range of 
172.16.*.*, 192.168.*.* or 10.*.*.*.   The Ethernet switch is still 
involved, though it is unlikely to be the problem as it works with a 
totally different protocol that carries the TCP/IP inside it.


I have collected about a thousand Opensim stats on this. Current count 
is 784 home routers failed loopback on first try, and only 125 passed.   
Reasons vary:  mostly loopback is just missing, but I have remoted in to 
some machines and seen some very troubling things.   I have continually 
been surprised by the flakiness of some,  and also surprised by how well 
a cheap one from Comcast worked.


Some examples:  TCP appears to loop back, but not UDP.   A major brand, 
Actiontech,  widely used by FIOS,  cannot loop back reliably from LAN 
IP:port to a different LAN IP:port (which sounds like your situation), 
but will loop back to the same machine very reliably. There are European 
ISPS that charge extra fees for loopback, (and require you to pay them 
to set up port forwarding, too).  Some ISP's loopback at the Central 
Office and lose a lot of packets in the process. There are routers with 
only a  1K UDP loopback buffer appear to work but are flaky on teleports 
and bulk uploads.


Some routers block the Public IP:PrivatePort ( typically 8003) 
configuration by looping back outside on the WAN side of the firewall, 
thus hitting the router firewall that should be blocking port 8003. As a 
result, Groups, XBakes and Profiles will not work. This took me many 
months to find as I am stupid about some things and believe the 
documentation.  You cannot fix it by moving the Private port (8003) to a 
different port, either.   I've seen several people "solve it" by opening 
Port 8003 to the public, which is a Bad Idea.  Use LAN IP: Private Port 
everywhere you see PublicPort: Private IP  in Groups, Xbakes and 
Profile. Or use http://localhost:Private Port for standalones.



Fred Beckhusen/Ferd Frederix
Outworldz, LLC
 www.outworldz.com

___
Opensim-users mailing list
Opensim-users@opensimulator.org
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users


Re: [Opensim-users] ubODE vs. Bullet (Ferd Frederix)

2017-05-01 Thread Fred Beckhusen
Tom, I think this is a difference in implementation details.  To me, 
Bullet actually gets it correct.


Your script is setting Hover height to go up and down. It is 
effectively  llSetVehicleFloatParam( VEHICLE_HOVER_HEIGHT, HovHeightBase 
+= .02 ); each click Up and -= 0.02 on Down, while starting from a 
negative value.   Zero is water height (typically 20 meters).Water 
height can range from 0 to +100 in a sim.


The problem is that VEHICLE_HOVER_HEIGHT is for use only above 
ground.It is not defined in LSL by Second Life for use with negative 
numbers, with additional proof of this is that zero (water height) 
disables it entirely.   So it is implementation specific.  I would chalk 
this up as expected behavior in Bullet.


Try adding a float Z variable to your VEHICLE_LINEAR_MOTOR_DIRECTION and 
add or subtract a small amount from the Z (up)  axis.


Your axis seems suspicious. In vehicles, X is forward/back, Y is L-R, 
and Z is up.  Your script right and left controls are setting 
VEHICLE_ANGULAR_MOTOR_DIRECTION, <0, 0, 5.0>, which is mucking around 
with Z (Up).  Sounds correct for a prim that rotates around Z, but not 
for a vehicle.  I could be wrong here. There may be a 
VEHICLE_REFERENCE_FRAME set in your script elsewhere that is overriding 
the reference axis, so be wary of it.


Also, take a look at the function llWater(), and think about doing this:

vector water = llWater(ZERO_VECTOR);
HovHeightBase += water.z - 20;

This will handle sims where water is at a different level.

regards and good luck:\
  Ferd Frederix/Fred Beckhusen

On 2017-05-01 5:20 AM, opensim-users-requ...@opensimulator.org wrote:

Send Opensim-users mailing list submissions to
opensim-users@opensimulator.org

To subscribe or unsubscribe via the World Wide Web, visit
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
or, via email, send a message with subject or body 'help' to
opensim-users-requ...@opensimulator.org

You can reach the person managing the list at
opensim-users-ow...@opensimulator.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Opensim-users digest..."


Today's Topics:

1. ubODE vs. Bullet (tring...@gmail.com)
2. Re: ubODE vs. Bullet (AJLDuarte)


--

Message: 1
Date: Sun, 30 Apr 2017 23:27:37 -0400
From: <tring...@gmail.com>
To: "OS-Opensim Users" <opensim-users@opensimulator.org>
Subject: [Opensim-users] ubODE vs. Bullet
Message-ID: <65ED585961044A12B8C19EA5984238E3@TomsDesktop>
Content-Type: text/plain; charset="utf-8"

I am working on a script for a submarine and am having issues with it working 
fine in ubode but will not dive or surface in Bullet physics.

Here are the primary items that are involved with the physics.

This is the initial settings the object is set with.

set_engine(){
 llSetVehicleType(VEHICLE_TYPE_BOAT);
 llSetVehicleFloatParam(VEHICLE_LINEAR_DEFLECTION_TIMESCALE, 0.5);
 llSetVehicleFloatParam(VEHICLE_LINEAR_MOTOR_TIMESCALE, 0.1);
 llSetVehicleFloatParam(VEHICLE_LINEAR_MOTOR_DECAY_TIMESCALE, 0.1);
 llSetVehicleFloatParam(VEHICLE_LINEAR_DEFLECTION_EFFICIENCY, 0.80);
 llSetVehicleVectorParam(VEHICLE_LINEAR_FRICTION_TIMESCALE, <1, 1, 1>);
 llSetVehicleFloatParam(VEHICLE_ANGULAR_DEFLECTION_EFFICIENCY, 0.2);
 llSetVehicleFloatParam(VEHICLE_ANGULAR_DEFLECTION_TIMESCALE, 1.0);
 llSetVehicleFloatParam(VEHICLE_ANGULAR_MOTOR_TIMESCALE, 0.5);
 llSetVehicleFloatParam(VEHICLE_ANGULAR_MOTOR_DECAY_TIMESCALE, 0.2);
 llSetVehicleVectorParam(VEHICLE_ANGULAR_FRICTION_TIMESCALE, <0.1, 0.1, 
0.1>);
 llSetVehicleFloatParam(VEHICLE_VERTICAL_ATTRACTION_EFFICIENCY, 0.5);
 llSetVehicleFloatParam(VEHICLE_VERTICAL_ATTRACTION_TIMESCALE, 1.0);
 llSetVehicleFloatParam( VEHICLE_HOVER_HEIGHT, 0.0); // set ball at water 
surface
 llSetVehicleFloatParam( VEHICLE_HOVER_EFFICIENCY, 0.5 );
 llSetVehicleFloatParam( VEHICLE_HOVER_TIMESCALE, 1.0 );
}

These are the controls and they work fine in ubODE, but CONTROL_UP and 
CONTROL_DOWN do nothing in Bullet.

control(key id, integer level, integer edge)
 {
 floatgForwardThrust; // variable for forward thrust
 floatgReverseThrust = -1.5; // reverse thrust backup speed
 if(level & CONTROL_FWD)
 {
 Swimming();
 gForwardThrust = 3; // normal forward speed
 vTarget = llGetPos(); // get our current position
 // if near region edge, slow down
 if (vTarget.x > xlimit || vTarget.x < gGuard || vTarget.y > ylimit || 
vTarget.y < gGuard)
 {
 if (vTarget.x > xlimit) vTarget.x = xlimit;
 if (vTarget.x < gGuard) vTarget.x = gGuard;
 if (vTarget.y > xlimit) vTarget.y = ylimit;
 if (vT

Re: [Opensim-users] NAT Loopback Routers (Ferd Frederix)

2017-01-24 Thread Fred Beckhusen

re: What routers do folk use.

I am very happy with my Linksysy WRT1200AC.   It supports loopback fully 
with factory firmware, and has much greater wireless range than than 
others I have used.  The 1200AC is also Open-WRT compatible if you want 
to use open-source firmware.


One router I tried had loopback,  but the UDP buffer size was a tiny 
1K.  This led to a lot of failed teleports. Another router would 
loopback from the server back to the server,  but was incapable of 
loopback between different ports on different IP's, so I was limited to 
a single server again.


--ooo--/\/\/\-|(--ooo--/\/\/\-|(--ooo
Ferd Frederix aka Fred K. Beckhusen


___
Opensim-users mailing list
Opensim-users@opensimulator.org
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users


[Opensim-users] OSSL OSFunctionThreatLevel no longer, works [Ferd Frederix]

2015-10-27 Thread Fred Beckhusen

On 2015-10-27 7:00 AM, opensim-users-requ...@opensimulator.org wrote:


Date: Mon, 26 Oct 2015 15:42:56 -0400
From: "Thomas Ringate"
To:Subject: Re: [Opensim-users] OSSL 
OSFunctionThreatLevel no longer
works inopensim since the OSgrid packaged release of 2015-10-18 
0.8.3
dev


Hi Thomas:

You had OSFunctionThreatLevel = VeryHigh followed by a list of Allow* = true in your 
original ini files.  OSFunctionThreatLevel = VeryHigh  was probably all you needed.   
That one line set all functions "true" so anyone can do anything they want, 
which is also very dangerous. Any visitor could easily kill your systems with that high 
of a threat level. In spite of the warnings, pretty much everyone set it to VeryHigh 
(including me) which was not good.

It appears from what I read  in you notes that the update did as expected - it overrode 
your setting in "osslEnable.ini", and defaulted to a 'standard' config for you.

The idea behind the osslEnable.ini  is that grid owners now have one well 
documented place, with examples and macros, to set exactly what they want.  The 
macros make it much easier to set the system up for the wide security ranges 
everyone needs.   The osslEnable.ini file can be copied from system to system  
and used again after an update.  You can enable any threat level there, and 
delete or comment out the individual settings,  or you could follow the 
examples and enable these for just estate owners and parcel owners, or 
individual people.Or set them to true so everyone can run them.  And then 
copy that file around the various places you need them.

I made the original list of commands for this file, others then added to them, 
and we think we have all of the functions listed. If you see any that are not 
please let me know, or file a Mantis and we will get it added.

Cheers, Ferd Frederix
f...@mitsi.com


___
Opensim-users mailing list
Opensim-users@opensimulator.org
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users


Re: [Opensim-users] Opensim-users Digest, Vol 19, Issue 7

2015-10-21 Thread Fred Beckhusen
I would not use the Hosts file 'trick' on a server that also has the 
viewer.  The fact that you need to edit hosts file indicates that the 
router cannot loopback.I use the Microsoft Loopback Adapter.


What happens is that the server broadcasts your public DNS name to 
clients not as a name, but as an address.The server first does a DNS 
lookup and via hosts, finds the 127.0.0.1 loopback.   It will broadcast 
this 127.0.0.1 address  to a remote WAN client, and they cannot 
connect.Yet it works for you.But without loopback, you cannot 
connect.


On Windows, you can add a software loopback adapter for the Public Port 
to loopback the public IP to the server, which allows the server to send 
the public IP to clients.


Installation instructions: 
https://technet.microsoft.com/en-us/library/cc708322(v=ws.10).aspx


Once it is installed you have  to set it up.  It will be in the Control 
Panel->Network Connections, as "NAT Loopback".  Its just like an 
Ethernet driver.   Open it, and find Internet Protocol Version 4 
(TCP/IPv4) and change its properties.  I click "Use the following IP 
address" and enter my PUBLIC IP in the IP Address box.   No Gateway is 
needed.  Under DNS, I used my routers IP address so it can do the DNS 
lookups.Or you can use Googles super DNS of 8.8.8.8. and 8.8.4.4


Once enabled, this will make any reference to the Public IP address 
route right back to the system itself,  just as the router should do.
And WAN users get the correct Public IP sent to them, instead of 127.0.0.1



Ferd Frederix
http://www.outworldz.com


On 2015-10-21 11:31 AM, opensim-users-requ...@opensimulator.org wrote:

Today's Topics:

1. Re: HG - Not able to teleport back home (Isis Ophelia)


--

Message: 1
Date: Wed, 21 Oct 2015 17:54:13 +0200
From: Isis Ophelia 
To: opensim-users@opensimulator.org
Subject: Re: [Opensim-users] HG - Not able to teleport back home
Message-ID:

Re: [Opensim-users] Question about batch upload (Ferd Frederix reply)

2015-09-30 Thread Fred Beckhusen

re: 1. Question about batch upload (Chris)

Batch uploads abort on my grid in a similar manner.  My sims and asset 
server are on the same Windows machine.   Teleports are flaky, too.   
Another symptom is periodic failures to save a script - but saving a 
script to inventory always works.


This apparently is caused by my high-end router.   Adding a software 
loopback adapter to the server cures every symptom,  but this prevents 
other machines on the LAN from connecting.I am going to reflash a 
new router to the OpenWRT standard so I can stop starting at Wireshark 
logs and get some work done.


Fred/Ferd Frederix



On 2015-09-30 7:00 AM, opensim-users-requ...@opensimulator.org wrote:


1. Question about batch upload (Chris)

Hello all,

I am having an issue with batch uploads to OpenSim with some viewers. It
seems like at one point in time viewers used to have a momentary pause
between each upload (I'm assuming so it wouldn't overload the
destination server) but on some of the more recent viewers this "pause"
is no longer there and they attempt to send everything all at once. If I
try to upload more than just a few things at a time there's a high
chance I'll get an "Unable to upload asset" error on a random file(s) to
upload and then I have to hunt down what was missing and try again. I
suspect this may be a MySQL misconfiguration and the flood of asset
write requests is tripping some limit in MySQL; but I am not sure what
configuration parameter that could possibly be (if any) or if perhaps I
have something configured wrong in OpenSim.ini?. Would anyone be able to
shed some light on this please?

Thank you!



___
Opensim-users mailing list
Opensim-users@opensimulator.org
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users


Re: [Opensim-users] Script engine issue [listeners] (Karl Dreyer)-Ferd Frederix

2015-06-05 Thread Fred Beckhusen

The max_listens_per_script is the maximum number of listen keys,  which are 
used as handles, and is not the number of listens arriving, which are events.  The C# 
code that controls this is at line 560 of WorldCommModule.cs. The number of currently 
open handles checked when the server creates a llListen.   The server attempts to detect 
a re-opening of the same listener, but if anything changes, such as the channel, it will 
add a new listener to the script until it stops making them at the 65th.  I'd take a 
close look at the scripts that are failing and make certain they are properly using 
llListenRemove(handle).

Fred Beckhusen/Ferd Frederix


Message: 1
Date: Thu, 4 Jun 2015 14:41:03 -0500
From: Karl Dreyerpaoli...@islandoasis.biz
To:opensim-users@opensimulator.org
Subject: Re: [Opensim-users] Script engine issue [listeners]

 I don't believe that the setting is referencing the number of listeners
in a script.. but rather, the number of listen events per script .. i.e.
the number of times a script can execute the listen capture event ...
?based on the scenario it made sense because the scripts would work
perfectly for a random period of time, then a random subset of scripts
would just cease to function. ?I would imagine that is due to the
fact that those scripts had reached their limit ... so if the
communications between prims such as server / client prims
(via llRegionSay) is very active; it could conceivably hit the 64 limit.
?I will point out that all of this is hypothesis based on the
behavior I've seen and the reaction to the change I've made in the
opensimdefaults.ini file.

___
Opensim-users mailing list
Opensim-users@opensimulator.org
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users


[Opensim-users] Trouble saving scripts (Fred)

2015-04-07 Thread Fred Beckhusen
Trouble saving scripts: I have this, too.Does anyone know of a 
Mantis for this type of issue?


I always have trouble saving scripts on the LAN and localhost, but not 
via the WAN.  I am pretty much forced by all the irritating timeouts to 
work on complex scripts in LSLEDitor first, then SL, and only then bring 
it in to Opensim when done.


Standalone Grid, no external robust, Git master, Windows 7, FIOS 50/50 
network and router.  CPU is at 2% load.  Firestorm or Singularity 64 
bit, on a Alienware/Nvidia GT970  or the server itself.


I have been blaming my own local grid problems on LAN vs WAN.   But that 
is too simple to be it, as it happens when I run the viewer on the 
server, too. It takes 2 to 10 (or more times) before they save. Same 
thing for uploads such as mesh or images.   Sometimes it works, usually 
not.  I would guess I get an script or image loaded first time less than 
20% of the time.It is as if the server never heard from the viewer 
to begin comm.   I wait a few seconds, hit a space, save, wait, type a 
space, save over and over until it finally does save.


But I can remote out to another computer at work or at a friends, log 
on, and it works much more reliably, almost every time.Bulk uploads 
are useless to me locally, as it will fail on the 1st or 2nd item almost 
every time.  So I remote out to another machine and use the WAN to bulk 
upload from my dropbox when I have a lot of things to bring in.


I can save a script into inventory every time.  It will compile and 
save, then I drag and drop it into the prim and it will always work.
Unless there is a syntax error, of course.   Inventory must save via a 
different comm pathway.


Possibly related: Opening a box that I have been working on will quit 
showing the inventory in the box periodically.  Usually good for a dozen 
or two dozen edits, sometimes more.   I have to keep the script open or 
I would never get anything to load.  But sometimes I have to close the 
edit window to edit something else, and  the box that has been working 
will no longer open and show me the insides. The only cure is to log out 
of the simulator  and relog to go back to editing.


Fred Beckhusen/Ferd Federix


___
Opensim-users mailing list
Opensim-users@opensimulator.org
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users