jump to navigation

This Week in OpenSim Dev – week ending Saturday 29th November 2008 December 1, 2008

Posted by justincc in opensim, opensim-dev, opensim-news, secondlife, twiod.

osgridHello everybody. This is a short summary of OpenSim development for the past week up until the end of last Saturday, as culled from our source code repository logs.  After any general news there are two sections.  The first section – “Features and bug fixes”, contains prominent new functionality and bug fixes visible to users of OpenSim.   The numbers in brackets in this section are the final svn revision numbers in which the work was completed for this week. This is right at the cutting edge so there is no guarantee that this functionality is stable.

The second section contains information about the infrastructure changes happening within the project.  This is going to be a little more impressionistic than the features/bug fixes list, but hopefully it will give a picture of how OpenSim is evolving from week to week.

This week in OpenSim ( r7439 – r7546)

General news

  • None this week

Features & bug fixes

  • Diva contributed a new OpenSim architecture called the Hypergrid.  Essentially, in this mode an individual region in a grid or standalone configuration can set up a link to another hypergrid region.  Avatars can then travel between the two grids or standalones.  When teleporting to a ‘foreign’ grid, inventory requests are still routed to the home grid.  Rezzing an item transfers the required assets from the home grid to the foreign grid.  You can read more details about this on our wiki.  I would say that this mode is currently experimental (r7471).
  • Melanie made the link order of a linkset persist over server restarts (r7474).
  • I made a change such that on a border crossing, a flying avatar should now no longer sometimes shift back to a standing position in midair.  However, the flicker and slowdown of the avatar on the region crossing still remains – I believe these are separate problems (r7487).
  • nlin contributed a patch that implements autopilot (r7495).
  • Melanie worked on improving attachments behaviour (r7542).
  • Diva contributed a patch that significantly improves teleporting (r7541).


  • Melanie worked on improving presence notifications in the face of region restarts or crashes.
  • Homer continued work on improving Friends/Presence handling.
  • I started work on extracting inventory code to separate classes from the scene presence.
  • I continued work on unit test infrastructure for scene object testing.


1. juancarlos - December 3, 2008

…is a great idea for the future to develop a free Virtual World.

2. rtkwebman - December 3, 2008

Everyone is doing such a great job, thank you so much!! I am running my standalone on Ubuntu 8.10, how does one upgrade OpenSim to a newer version? Can’t seem to find any reliable info on the process. Thanks again! 🙂

3. justincc - December 4, 2008


You’re right – we don’t appear to have any information in the opensimulator.org wiki on how to do this yet (I haven’t searched the web, there may be tutorials out there).

It’s actually not too difficult. If you’re using MySQL or MSSQL as a backend database then all you should have to do is copy over your bin/Regions file (and maybe your OpenSim,ini if you don’t want to re-enter your settings manually) to the new OpenSim version and start it. OpenSim contains code to automatically migrate all your data to conform to the newest formats. However, I would always suggest backing up your database beforehand in case something goes wrong during the conversion (e.g. you have a power cut).

Using sqlite (the default on disk database) is just a little more complicated. As well as copying bin/Regions and possibly OpenSim.ini, you also need to copy all the db files (AssetStorage.db, inventorystore.db, OpenSim.db and userprofile.db) to your new installation.

In fact, since this process is pretty simple I’ll also post this information to a new opensimulator.org wiki page.

4. justincc - December 4, 2008
5. rtkwebman - December 6, 2008

Yes, I am using SQLite with OpenSim V0.6.0.7326. I would imagine many people are at least starting with this config (Ubuntu, SQLite, Standalone) since it is all part of the default procedures when doing the Ubuntu install on the Build Instructions page. Speaking for myself, I just wanted to get up and running, then became addicted creating terrain and building things. Now its time to upgrade… I will follow your instructions and document my progress, maybe it will help others.

If at some point I wanted to move to MySQL from SQLite will it be a problem?

Thanks so much for all the help and great information! 🙂

6. justincc - December 6, 2008

Homer Horwitz wrote a script for converting from SQLite to MySQL which can be found at


The last update was a few months ago so you might just want to try this and see when the time to move comes. If it doesn’t work, just send him a message and I’m sure he’ll be happy to fix it (he’s a friendly chap).

An alternative way to do this upgrade is to save an OpenSim ARchive file for each of your regions, change the database and then reload them. The disadvantage of this is that it’s quite laborious and it won’t restore your inventory.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: