Compiling OMEconomy-4.0.6 for OpenSimulator-0.7.4

Recently I tried to compile OpenSimulator-0.7.4 with the OMEconomy-4.0.6 modules for VirWox. Much to my regret, I got the following error message:

/root/opensim-0.7.4-source/addon-modules/OMEconomy/
OMEconomy.OMBase/OMBase.cs(271,45): 
error CS1061: Type `OpenSim.Framework.IClientAPI' does not 
contain a definition for `GetClientEP' and no extension method 
`GetClientEP' of type `OpenSim.Framework.IClientAPI' could  be 
found (are you missing a using directive or an assembly 
reference?)

Apperently, the definition of IClientAPI has changed in the meantime (see OpenSim/Framework/IClientAPI.cs). The problem was easily solved by changing “GetClientEP()” into “RemoteEndPoint” in OMBase.cs, line 271:

dd.Add("clientIP", "http://" + client.RemoteEndPoint.ToString() + "/");

So far, it seems to work properly.

Leave a comment