Thank you kindly, BlueWall, for a patch that solves:

SQLite error on creating user.
0.6.6-post-fixes
Charles Krinke 2009-06-10 17:53:06 +00:00
parent 6242b01ac8
commit 831264fc98
2 changed files with 10 additions and 9 deletions

View File

@ -1016,7 +1016,7 @@ namespace OpenSim.Data.SQLite
row["homeRegionX"] = user.HomeRegionX; row["homeRegionX"] = user.HomeRegionX;
row["homeRegionY"] = user.HomeRegionY; row["homeRegionY"] = user.HomeRegionY;
row["homeRegionID"] = user.HomeRegionID; row["homeRegionID"] = user.HomeRegionID.ToString();
row["homeLocationX"] = user.HomeLocation.X; row["homeLocationX"] = user.HomeLocation.X;
row["homeLocationY"] = user.HomeLocation.Y; row["homeLocationY"] = user.HomeLocation.Y;
row["homeLocationZ"] = user.HomeLocation.Z; row["homeLocationZ"] = user.HomeLocation.Z;
@ -1026,16 +1026,16 @@ namespace OpenSim.Data.SQLite
row["created"] = user.Created; row["created"] = user.Created;
row["lastLogin"] = user.LastLogin; row["lastLogin"] = user.LastLogin;
row["rootInventoryFolderID"] = user.RootInventoryFolderID; row["rootInventoryFolderID"] = user.RootInventoryFolderID.ToString();
row["userInventoryURI"] = user.UserInventoryURI; row["userInventoryURI"] = user.UserInventoryURI;
row["userAssetURI"] = user.UserAssetURI; row["userAssetURI"] = user.UserAssetURI;
row["profileCanDoMask"] = user.CanDoMask; row["profileCanDoMask"] = user.CanDoMask;
row["profileWantDoMask"] = user.WantDoMask; row["profileWantDoMask"] = user.WantDoMask;
row["profileAboutText"] = user.AboutText; row["profileAboutText"] = user.AboutText;
row["profileFirstText"] = user.FirstLifeAboutText; row["profileFirstText"] = user.FirstLifeAboutText;
row["profileImage"] = user.Image; row["profileImage"] = user.Image.ToString();
row["profileFirstImage"] = user.FirstLifeImage; row["profileFirstImage"] = user.FirstLifeImage.ToString();
row["webLoginKey"] = user.WebLoginKey; row["webLoginKey"] = user.WebLoginKey.ToString();
row["userFlags"] = user.UserFlags; row["userFlags"] = user.UserFlags;
row["godLevel"] = user.GodLevel; row["godLevel"] = user.GodLevel;
row["customType"] = user.CustomType == null ? "" : user.CustomType; row["customType"] = user.CustomType == null ? "" : user.CustomType;
@ -1149,12 +1149,12 @@ namespace OpenSim.Data.SQLite
row["agentIP"] = ua.AgentIP; row["agentIP"] = ua.AgentIP;
row["agentPort"] = ua.AgentPort; row["agentPort"] = ua.AgentPort;
row["agentOnline"] = ua.AgentOnline; row["agentOnline"] = ua.AgentOnline;
row["sessionID"] = ua.SessionID; row["sessionID"] = ua.SessionID.ToString();
row["secureSessionID"] = ua.SecureSessionID; row["secureSessionID"] = ua.SecureSessionID.ToString();
row["regionID"] = ua.InitialRegion; row["regionID"] = ua.InitialRegion.ToString();
row["loginTime"] = ua.LoginTime; row["loginTime"] = ua.LoginTime;
row["logoutTime"] = ua.LogoutTime; row["logoutTime"] = ua.LogoutTime;
row["currentRegion"] = ua.Region; row["currentRegion"] = ua.Region.ToString();
row["currentHandle"] = ua.Handle.ToString(); row["currentHandle"] = ua.Handle.ToString();
// vectors // vectors
row["currentPosX"] = ua.Position.X; row["currentPosX"] = ua.Position.X;

View File

@ -19,6 +19,7 @@
; For HGAssetBroker ; For HGAssetBroker
LocalGridAssetService = "OpenSim.Services.AssetService.dll:AssetService" LocalGridAssetService = "OpenSim.Services.AssetService.dll:AssetService"
HypergridAssetService = "OpenSim.Services.AssetService.dll:HGAssetService" HypergridAssetService = "OpenSim.Services.AssetService.dll:HGAssetService"
AssetServerURI = "http://localhost:8003"
[InventoryService] [InventoryService]
; For the RegionInventoryService ; For the RegionInventoryService