mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 14:16:07 +08:00
* Applying Ahzz's profile patch. Thanks Ahzz!
* Fixed a few bugs in the patch that are sim crashers. * There's still a bug in mySQL mode/ grid mode where the main userprofile text doesn't save.
This commit is contained in:
@@ -588,10 +588,10 @@ namespace OpenSim.Framework.Data.MSSQL
|
||||
parameters["userAssetURI"] = String.Empty;
|
||||
parameters["profileCanDoMask"] = "0";
|
||||
parameters["profileWantDoMask"] = "0";
|
||||
parameters["profileAboutText"] = String.Empty;
|
||||
parameters["profileFirstText"] = String.Empty;
|
||||
parameters["profileImage"] = LLUUID.Zero.ToString();
|
||||
parameters["profileFirstImage"] = LLUUID.Zero.ToString();
|
||||
parameters["profileAboutText"] = aboutText;
|
||||
parameters["profileFirstText"] = firstText;
|
||||
parameters["profileImage"] = profileImage.ToString();
|
||||
parameters["profileFirstImage"] = firstImage.ToString();
|
||||
parameters["webLoginKey"] = LLUUID.Random().ToString();
|
||||
|
||||
bool returnval = false;
|
||||
@@ -670,8 +670,8 @@ namespace OpenSim.Framework.Data.MSSQL
|
||||
SqlParameter param18 = new SqlParameter("@profileWantDoMask", Convert.ToInt32(user.profileWantDoMask));
|
||||
SqlParameter param19 = new SqlParameter("@profileAboutText", user.profileAboutText);
|
||||
SqlParameter param20 = new SqlParameter("@profileFirstText", user.profileFirstText);
|
||||
SqlParameter param21 = new SqlParameter("@profileImage", LLUUID.Zero.ToString());
|
||||
SqlParameter param22 = new SqlParameter("@profileFirstImage", LLUUID.Zero.ToString());
|
||||
SqlParameter param21 = new SqlParameter("@profileImage", user.profileImage.ToString());
|
||||
SqlParameter param22 = new SqlParameter("@profileFirstImage", user.profileFirstImage.ToString());
|
||||
SqlParameter param23 = new SqlParameter("@keyUUUID", user.UUID.ToString());
|
||||
SqlParameter param24 = new SqlParameter("@webLoginKey", user.webLoginKey.UUID.ToString());
|
||||
command.Parameters.Add(param1);
|
||||
@@ -768,4 +768,4 @@ namespace OpenSim.Framework.Data.MSSQL
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user