aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Common/OpenSim.Framework/UserProfileManagerBase.cs
diff options
context:
space:
mode:
authorMW2007-05-27 18:52:42 +0000
committerMW2007-05-27 18:52:42 +0000
commitc746a2f9f4f0b1e7eea564effdae63472f79ab22 (patch)
tree54d23af3d168958bfec995cf2987cf5af79ac149 /Common/OpenSim.Framework/UserProfileManagerBase.cs
parentGoodbye World (diff)
downloadopensim-SC_OLD-c746a2f9f4f0b1e7eea564effdae63472f79ab22.zip
opensim-SC_OLD-c746a2f9f4f0b1e7eea564effdae63472f79ab22.tar.gz
opensim-SC_OLD-c746a2f9f4f0b1e7eea564effdae63472f79ab22.tar.bz2
opensim-SC_OLD-c746a2f9f4f0b1e7eea564effdae63472f79ab22.tar.xz
Should allow multiple worlds (and UDP servers) to be ran in one instance, just missing backend comms and working Avatar/primitives classes.
Diffstat (limited to '')
-rw-r--r--Common/OpenSim.Framework/UserProfileManagerBase.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/Common/OpenSim.Framework/UserProfileManagerBase.cs b/Common/OpenSim.Framework/UserProfileManagerBase.cs
index d1307a5..477de1b 100644
--- a/Common/OpenSim.Framework/UserProfileManagerBase.cs
+++ b/Common/OpenSim.Framework/UserProfileManagerBase.cs
@@ -26,7 +26,7 @@ namespace OpenSim.Framework.User
26 { 26 {
27 UserProfiles.Add(userprof.UUID, userprof); 27 UserProfiles.Add(userprof.UUID, userprof);
28 } 28 }
29 Console.WriteLine("UserProfiles.Cs:InitUserProfiles() - Successfully loaded " + result.Count.ToString() + " from database"); 29 System.Console.WriteLine("UserProfiles.Cs:InitUserProfiles() - Successfully loaded " + result.Count.ToString() + " from database");
30 db.Close(); 30 db.Close();
31 } 31 }
32 32
@@ -73,18 +73,18 @@ namespace OpenSim.Framework.User
73 { 73 {
74 if (TheUser.MD5passwd == passwd) 74 if (TheUser.MD5passwd == passwd)
75 { 75 {
76 Console.WriteLine("UserProfile - authorised " + firstname + " " + lastname); 76 System.Console.WriteLine("UserProfile - authorised " + firstname + " " + lastname);
77 return true; 77 return true;
78 } 78 }
79 else 79 else
80 { 80 {
81 Console.WriteLine("UserProfile - not authorised, password not match " + TheUser.MD5passwd + " and " + passwd); 81 System.Console.WriteLine("UserProfile - not authorised, password not match " + TheUser.MD5passwd + " and " + passwd);
82 return false; 82 return false;
83 } 83 }
84 } 84 }
85 else 85 else
86 { 86 {
87 Console.WriteLine("UserProfile - not authorised , unkown: " + firstname + " , " + lastname); 87 System.Console.WriteLine("UserProfile - not authorised , unkown: " + firstname + " , " + lastname);
88 return false; 88 return false;
89 } 89 }
90 90
@@ -97,7 +97,7 @@ namespace OpenSim.Framework.User
97 97
98 public virtual UserProfile CreateNewProfile(string firstname, string lastname, string MD5passwd) 98 public virtual UserProfile CreateNewProfile(string firstname, string lastname, string MD5passwd)
99 { 99 {
100 Console.WriteLine("creating new profile for : " + firstname + " , " + lastname); 100 System.Console.WriteLine("creating new profile for : " + firstname + " , " + lastname);
101 UserProfile newprofile = new UserProfile(); 101 UserProfile newprofile = new UserProfile();
102 newprofile.homeregionhandle = Helpers.UIntsToLong((997 * 256), (996 * 256)); 102 newprofile.homeregionhandle = Helpers.UIntsToLong((997 * 256), (996 * 256));
103 newprofile.firstname = firstname; 103 newprofile.firstname = firstname;