lickx / oscollar-dev

OsCollar development
GNU General Public License v2.0
2 stars 2 forks source link

[oc_settings] use linkset data for storage instead of notecard/primtextures #101

Open lickx opened 1 month ago

lickx commented 1 month ago

It's time we start on this as linkset data will be in the next OS release, which is pretty major anyway cos it also does away with XEngine and moves to .NET 8.0

Linkset data is already implemented in OS git master, as well as in the binary snapshots released frequently by OsGrid.

lickx commented 1 month ago

Changes will be:

Notecards will only serve the (manual) purpose of backup/restore. For instance for migrating to a different collar.

The new oc_settings.lsl will only run on OpenSim 0.9.3 and higher, because of linksetdata and yengine specific functions (XEngine has been purged from OpenSim and is no longer available).

The combined access list storage has returned, removing small limits of owners, trusted etc. oc_auth.lsl has been drastically reduced in size, because we can now do away with the prim texture hacks.

lickx commented 1 month ago

Seems to work well :)

There is one gotcha.... If you teleport to a pre-0.9.3 sim/grid. And then back home; all data will be lost. But you can keep a backup of your settings in the card.

lickx commented 1 month ago

I have been thinking about this. 90% of oc_settings can be purged: g_lSettings and all related functions.

But in the transitionary phase from OS 0.9.2 to 0.9.3 we keep it in as well as notecard backup support.