Set some default values for "create user" in case anyone just pressing return as the answer to some of the settings.

afrisby
MW 2007-08-24 21:15:23 +00:00
parent e53ba00212
commit 6555ffb591
1 changed files with 4 additions and 4 deletions

View File

@ -85,11 +85,11 @@ namespace OpenSim.Region.Communications.Local
uint regX = 1000; uint regX = 1000;
uint regY = 1000; uint regY = 1000;
tempfirstname = MainLog.Instance.CmdPrompt("First name"); tempfirstname = MainLog.Instance.CmdPrompt("First name", "Hello");
templastname = MainLog.Instance.CmdPrompt("Last name"); templastname = MainLog.Instance.CmdPrompt("Last name", "Everyone");
tempMD5Passwd = MainLog.Instance.PasswdPrompt("Password"); tempMD5Passwd = MainLog.Instance.PasswdPrompt("Password");
regX = Convert.ToUInt32(MainLog.Instance.CmdPrompt("Start Region X")); regX = Convert.ToUInt32(MainLog.Instance.CmdPrompt("Start Region X", "1000"));
regY = Convert.ToUInt32(MainLog.Instance.CmdPrompt("Start Region Y")); regY = Convert.ToUInt32(MainLog.Instance.CmdPrompt("Start Region Y" , "1000"));
tempMD5Passwd = Util.Md5Hash(Util.Md5Hash(tempMD5Passwd) + ":" + ""); tempMD5Passwd = Util.Md5Hash(Util.Md5Hash(tempMD5Passwd) + ":" + "");