mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
* World map! Yay!
* Using ASCII encoding for text not UTF8 encoding (causes the client to burp) * Cannot send uints via Nwc.XmlRpc - it asplodes and returns zero.
This commit is contained in:
@@ -153,7 +153,7 @@ namespace OpenSim
|
||||
{
|
||||
Hashtable mp = (Hashtable)simMapProfiles[iii];
|
||||
mbReply.Data[iii] = new MapBlockReplyPacket.DataBlock();
|
||||
mbReply.Data[iii].Name = System.Text.Encoding.UTF8.GetBytes((string)mp["name"]);
|
||||
mbReply.Data[iii].Name = System.Text.Encoding.ASCII.GetBytes((string)mp["name"]);
|
||||
mbReply.Data[iii].Access = System.Convert.ToByte(mp["access"]);
|
||||
mbReply.Data[iii].Agents = System.Convert.ToByte(mp["agents"]);
|
||||
mbReply.Data[iii].MapImageID = new LLUUID((string)mp["map-image-id"]);
|
||||
@@ -162,6 +162,8 @@ namespace OpenSim
|
||||
mbReply.Data[iii].X = System.Convert.ToUInt16(mp["x"]);
|
||||
mbReply.Data[iii].Y = System.Convert.ToUInt16(mp["y"]);
|
||||
}
|
||||
//Console.WriteLine("ADAMDEBUG: Queuing MapBlockReply #" + i.ToString() + " Contains " + iii.ToString() + " region(s)");
|
||||
//Console.WriteLine(mbReply.ToString());
|
||||
this.OutPacket(mbReply);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user