jump to navigation

This Week in OpenSim Dev – week ending Saturday 14th February 2009 February 15, 2009

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 ( r8281 – r8396 )

General news

  • This week DrScofield womanfully carried out part 2 of the namespace changes discussed in this section last week.  This involves changing splitting up the existing region modules in OpenSim into ‘core’ modules and ‘optional’ modules and changing namespaces from OpenSim.Region.Environment.Modules to



    respectively.  However, this seems to be causing similar build problems to last week.  If you can’t get OpenSim to build after running ‘nant clean’, then you might want to try deleting the contents of bin/Terrain and rebuilding as well.  If this still doesn’t work, then please try creating a completely new build, migrating bin/Regions, bin/OpenSim.ini.example and any SQLite files (such as OpenSim.db for the region) as appropriate.  This sucks, I know – hopefully we can improve our build process to avoid this happening again (r8316).

Features & bug fixes

  • Robert Smart contributed a patch that partially implements llLookAt(), to the extent that an object will correctly rotate and point at a target.  However, the damping and strength parameters are currently ignored (r8294).
  • Diva switched the prim and avatar region crossing code from using .NET serialization to a REST like HTTP approach.  This change may take a bit of time to settle down.  In particular, region crossings may be more reliable but temporarily less smooth than before, since we’re now explicitly waiting for confirmation of the cross by the two simulators involved rather than guessing when the crossing has taken place.Please note also that simulators at or past this revision will not be able to cross avatars into simulators that are running versions of OpenSim previous to this revision, and vice versa (r8374).
  • FrankNichols contributed a patch that fixes llSetPrimitiveParams(PRIM_ROTATION…) when used on a child prim in a linkset (r8336).
  • Diva made a change which means that estates bans now work when a user teleports into an estate (r8345).
  • Kitto Flora contributed a patch which means that when the ODE physics engine is being used, an avatar that is flying will hover no less than 2 meters above the ground (e.g. if you go lower without actually landing you will bounce back up to 2 meters).  This should result in a smoother flying experience (r8347).
  • idb made a change such that llGetNumberOfPrims() now includes sitting avatars in the total (r8386).
  • melanie fixed console issues where on some occasions the console would vomit an identical list of exceptions for some time before failing, and on other occasions the display would slowly inch up the screen until it disappeared (r8384).
  • DoranZemlja contributed a patch that provides some implementation of inter-object e-mail via LSL.  See Mantis 3145 for more details (r8397).


  • Tommil and mpallari continued to contribute NHibernate related patches.
  • I started work on an inventory archive format.  This will be similar to the OpenSim ARchive (OAR) format but will apply to inventory rather than region archiving.
  • lbsa71 continuted to refactor the login code.
  • arthursv contributed some tests for the XEngine scripting engine.
  • mikem continuted to refactor the asset infrastructure code.
  • I moved world map generating code to the WorldMapModule.  Diva later fixed a bug where I had overlooked the Hypergrid section of the code.


1. nixnerd - February 16, 2009

As usual – thanks for the timely and sensibly explained update justin 🙂

2. Bob Wellman - February 16, 2009

Reading this is like watching the weekly weather forecast on a Sunday. Essential for those of us venturing out into the world next week to explore new horizons. I never miss an episode. Thanks for all the work you do in preparing it so well.

BTW: Your stuff is far more accurate than the weather forecast

While I am writing this, I wonder if you could answer a question that bugs me everytime I upgrade to a new SVN and check for Opensim.ini changes.

WE are running in grid mode, so does that mean WE could remove the Standalone section of the Opensim.ini completely (to make it easier to read and easier to compare to a new one)?

3. justincc - February 16, 2009

Hi Bob, nixnerd. I’m glad you guys find this of use – there is a lot of choppy weather if you follow OpenSim trunk.

Bob, in theory you should be able to remove the [Standalone] section completely if you only ever run in grid mode. If you do try this and find any problems doing it, then bug reports to our Mantis bugtracker would be most welcome.

4. Bob Wellman - February 17, 2009

Thanks Justin I will try that out sometime and if it gives problem report on Mantis.

On the subject of readability, it is much easier to read the opensim.ini now since the introduction of subsection headings starting with ;# and indentation of the section contents.

However it is still hard to distinguish between comment lines and actual settings lines. I have experimented with the layout and find that if settings are indented 4 spaces (as now) and comments are indented with six spaces and started with ;* the settings really stand out and the .ini is so much easier to read. It would be nice if the standard example was layed out like that. I dont have any skills or knowledge how to change the opensim project directly. I could grab a recent example and do the tidy up needed and posted it as an example to the Mantis. If I did this, do you think someone else could take it and turn it into a committed change before it gets out of date?

5. justincc - February 17, 2009

@Bob – I have to admit that I’m not too keen on this scheme, that level of indentation seems to me to be difficult to maintain over time, and could look quite ugly.

Might I suggest that you try an editor such as vim (which is available on Windows as well as Unix systems) to look at OpenSim.ini. vim will actually colour code the entries which makes it easier to spot comment lines.

6. zodiakos - February 17, 2009

It’s always awesome reading your ‘human readable’ changelogs every week. I try not to miss one usually, but sometimes I do and your posts make it very easy to see all the cool things I’ve missed. I really wish there was something like this more easily accessible right from the offical opensim website.

7. Davantech » Blog Archive » test - March 4, 2009

[…] This Week in OpenSim Dev – week ending Saturday 14th February 2009 (Sun, 15 Feb 2009 12:26:12 -0800) […]

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: