Set some default values for "create user" in case anyone just pressing return as the answer to some of the settings.
parent
e53ba00212
commit
6555ffb591
|
@ -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) + ":" + "");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue