[Opensim-dev] Problem registering region module

Olli Aro olli_aro at yahoo.co.uk
Wed Mar 7 15:31:51 UTC 2012


Hi all,

 

I am migrating my old region modules to the latest OpenSim and have problems
registering the module with OpenSim. I have added the following lines in my
code:

 

[assembly: Addin("MyModule", "0.1")]

[assembly: AddinDependency("OpenSim", "0.7")]

 

.

 

[Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule", Id =
"MySharedModule")]

    public class MyModule : ISharedRegionModule

 

But when I drop this to OpenSim bin directory and start up OpenSim, the
module is not picked up. At the moment I have only the following line in the
initialise method:

 

m_log.Error("[MYMODULE]: hello hello hello");

Any pointers why my module might not be picked up? For example are the
modules still put into bin/ or now to some other directory?

 

Regards,

 

Olli

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20120307/8ee54a8d/attachment-0001.html>


More information about the Opensim-dev mailing list