Hypergrid Friends and IM

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
Line 7: Line 7:
 
     SRV_FriendsServerURI = "http://127.0.0.1:9000"
 
     SRV_FriendsServerURI = "http://127.0.0.1:9000"
 
     SRV_IMServerURI = "http://127.0.0.1:9000"
 
     SRV_IMServerURI = "http://127.0.0.1:9000"
 +
 +
Add this new section somewhere:
 +
 +
[Messaging]
 +
    ; === HG ONLY ===
 +
    ;; change this to the address of your simulator
 +
    Gatekeeper = "http://127.0.0.1:9000"
  
 
==Robust.HG.ini==
 
==Robust.HG.ini==
Line 38: Line 45:
 
==GridCommon.ini==
 
==GridCommon.ini==
  
Add this section at the end:
+
Add these section at the end:
  
 
  [UserAgentService]
 
  [UserAgentService]
Line 46: Line 53:
 
     ;
 
     ;
 
     UserAgentServerURI = "http://mygridserver.com:8002"
 
     UserAgentServerURI = "http://mygridserver.com:8002"
 +
 +
[Messaging]
 +
    ; === HG ONLY ===
 +
    ;; change this to the address of your Gatekeeper service
 +
    ;; (usually bundled with the rest of the services in one
 +
    ;; Robust server in port 8002, but not always)
 +
    Gatekeeper = "http://mygridserver.com:8002"
  
 
=Troubleshooting=
 
=Troubleshooting=

Revision as of 12:33, 27 May 2011

Contents

Configuration Changes

StandaloneCommon.ini

[LoginService]
   ... 
   SRV_FriendsServerURI = "http://127.0.0.1:9000"
   SRV_IMServerURI = "http://127.0.0.1:9000"

Add this new section somewhere:

[Messaging]
   ; === HG ONLY ===
   ;; change this to the address of your simulator
   Gatekeeper = "http://127.0.0.1:9000"

Robust.HG.ini

[Startup]
 ServiceConnectors="...,8002/OpenSim.Server.Handlers.dll:HGFriendsServerConnector,8002/OpenSim.Server.Handlers.dll:InstantMessageServerConnector"
[LoginService]
   ... 
   SRV_FriendsServerURI = "http://127.0.0.1:8002"
   SRV_IMServerURI = "http://127.0.0.1:8002"
[UserAgentService]
   ...
   PresenceService	= "OpenSim.Services.PresenceService.dll:PresenceService"
   FriendsService	= "OpenSim.Services.FriendsService.dll:FriendsService"
   UserAccountService = "OpenSim.Services.UserAccountService.dll:UserAccountService"

Add these new sections at the end:

[HGFriendsService]
   LocalServiceModule = "OpenSim.Services.FriendsService.dll:FriendsService"
   UserAgentService = "OpenSim.Services.HypergridService.dll:UserAgentService"
[HGInstantMessageService]
   LocalServiceModule = "OpenSim.Services.HypergridService.dll:HGInstantMessageService"
   GridService = "OpenSim.Services.GridService.dll:GridService"
   PresenceService	= "OpenSim.Services.PresenceService.dll:PresenceService"
   UserAgentService = "OpenSim.Services.HypergridService.dll:UserAgentService"

GridCommon.ini

Add these section at the end:

[UserAgentService]
   ;
   ; === HG ONLY ===
   ; Change this to your user agent server (HG robust)
   ;
   UserAgentServerURI = "http://mygridserver.com:8002"
[Messaging]
   ; === HG ONLY ===
   ;; change this to the address of your Gatekeeper service
   ;; (usually bundled with the rest of the services in one 
   ;; Robust server in port 8002, but not always)
   Gatekeeper = "http://mygridserver.com:8002"

Troubleshooting

If you get an exception like this:

23:16:24 - [LLOGIN SERVICE]: Exception processing login for Ruth OpenSim: System.ArgumentException: Object type System.Guid cannot be converted to target type: System.String
Parameter name: val
 at System.Reflection.MonoField.SetValue (System.Object obj, System.Object val, BindingFlags invokeAttr, System.Reflection.Binder binder,  System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
 at System.Reflection.FieldInfo.SetValue (System.Object obj, System.Object value) [0x00000] in <filename unknown>:0
 at OpenSim.Data.MySQL.MySQLGenericTableHandler`1[OpenSim.Data.FriendsData].DoQuery (MySql.Data.MySqlClient.MySqlCommand cmd) [0x00000] in <filename unknown>:0
 at OpenSim.Data.MySQL.MySqlFriendsData.GetFriends (UUID principalID) [0x00000] in <filename unknown>:0
 at OpenSim.Services.Friends.FriendsService.GetFriends (UUID PrincipalID) [0x00000] in <filename unknown>:0 

Try adding this to your database connection string: ConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=*****;Old Guids=true;"

Personal tools
General
About This Wiki