From e50f50ebb1e17343bbd49e8505d2c7363464258d Mon Sep 17 00:00:00 2001 From: andy Date: Fri, 11 May 2007 20:32:56 +0000 Subject: MW is a debugging wiz (regionx/y updated) --- OpenSim.Servers/LoginResponse.cs | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'OpenSim.Servers') diff --git a/OpenSim.Servers/LoginResponse.cs b/OpenSim.Servers/LoginResponse.cs index 9c5db6a..c51b8b1 100644 --- a/OpenSim.Servers/LoginResponse.cs +++ b/OpenSim.Servers/LoginResponse.cs @@ -302,17 +302,11 @@ namespace OpenSim.UserServer responseData["home"] = this.home; responseData["look_at"] = this.lookAt; responseData["message"] = this.welcomeMessage; - responseData["region_x"] = this.regionX; - responseData["region_y"] = this.regionY; + responseData["region_x"] = (Int32)this.RegionX * 256; + responseData["region_y"] = (Int32)this.RegionY * 256; responseData["login"] = "true"; - this.xmlRpcResponse.Value = responseData; - - // differential debuggery - // FileStream fs = new FileStream("loginresponse.xml", FileMode.OpenOrCreate); - // StreamWriter SW = new StreamWriter(fs); - // SW.Write(this.xmlRpcResponse.ToString()); - // SW.Close(); + this.xmlRpcResponse.Value = responseData; return (this.xmlRpcResponse); -- cgit v1.1