aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Data.MySQL/MySQLUserData.cs
diff options
context:
space:
mode:
authorAdam Frisby2007-07-21 07:29:37 +0000
committerAdam Frisby2007-07-21 07:29:37 +0000
commit2c90c6102037e0b0332fd8fe2a48627dee80158a (patch)
tree87b557a68ba87e8bd34302705e3724556752a391 /OpenSim/Framework/Data.MySQL/MySQLUserData.cs
parent* Issue#209 - Terrain Hills Patch (Thanks Babblefrog) (diff)
downloadopensim-SC_OLD-2c90c6102037e0b0332fd8fe2a48627dee80158a.zip
opensim-SC_OLD-2c90c6102037e0b0332fd8fe2a48627dee80158a.tar.gz
opensim-SC_OLD-2c90c6102037e0b0332fd8fe2a48627dee80158a.tar.bz2
opensim-SC_OLD-2c90c6102037e0b0332fd8fe2a48627dee80158a.tar.xz
* Issue#206 - Casting of a LLUUID from XMLRPC hashtable causes an error. (Thanks Babblefrog)
* Issue#205 - MySQLManager User Creation support readded (Thanks Babblefrog + adjohn) * Issue#204 - Clients now recieve terrain updates properly (Thanks Babblefrog) [May do some slight modifications on this to make it an event]
Diffstat (limited to 'OpenSim/Framework/Data.MySQL/MySQLUserData.cs')
-rw-r--r--OpenSim/Framework/Data.MySQL/MySQLUserData.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/OpenSim/Framework/Data.MySQL/MySQLUserData.cs b/OpenSim/Framework/Data.MySQL/MySQLUserData.cs
index b044bdd..66ea465 100644
--- a/OpenSim/Framework/Data.MySQL/MySQLUserData.cs
+++ b/OpenSim/Framework/Data.MySQL/MySQLUserData.cs
@@ -199,6 +199,21 @@ namespace OpenSim.Framework.Data.MySQL
199 /// <param name="user">The user profile to create</param> 199 /// <param name="user">The user profile to create</param>
200 public void addNewUserProfile(UserProfileData user) 200 public void addNewUserProfile(UserProfileData user)
201 { 201 {
202 try
203 {
204 lock (database)
205 {
206 database.insertUserRow(user.UUID, user.username, user.surname, user.passwordHash, user.passwordSalt, user.homeRegion, user.homeLocation.X, user.homeLocation.Y, user.homeLocation.Z,
207 user.homeLookAt.X, user.homeLookAt.Y, user.homeLookAt.Z, user.created, user.lastLogin, user.userInventoryURI, user.userAssetURI, user.profileCanDoMask, user.profileWantDoMask,
208 user.profileAboutText, user.profileFirstText, user.profileImage, user.profileFirstImage);
209 }
210 }
211 catch (Exception e)
212 {
213 database.Reconnect();
214 Console.WriteLine(e.ToString());
215 }
216
202 } 217 }
203 218
204 /// <summary> 219 /// <summary>