Thank you kindly, jonc, for a patch that:

Grid mode only. Serialization and deserialization of 
byte representing Access Level is failing unless byte 
is ToString'd first on Grid Server.
0.6.6-post-fixes
Charles Krinke 2009-06-02 20:56:27 +00:00
parent 6f37fd8399
commit 93da1c2e94
1 changed files with 2 additions and 2 deletions

View File

@ -739,7 +739,7 @@ namespace OpenSim.Grid.GridServer.Modules
simProfileBlock["y"] = aSim.regionLocY.ToString(); simProfileBlock["y"] = aSim.regionLocY.ToString();
//m_log.DebugFormat("[MAP]: Sending neighbour info for {0},{1}", aSim.regionLocX, aSim.regionLocY); //m_log.DebugFormat("[MAP]: Sending neighbour info for {0},{1}", aSim.regionLocX, aSim.regionLocY);
simProfileBlock["name"] = aSim.regionName; simProfileBlock["name"] = aSim.regionName;
simProfileBlock["access"] = aSim.AccessLevel; simProfileBlock["access"] = aSim.AccessLevel.ToString();
simProfileBlock["region-flags"] = 512; simProfileBlock["region-flags"] = 512;
simProfileBlock["water-height"] = 0; simProfileBlock["water-height"] = 0;
simProfileBlock["agents"] = 1; simProfileBlock["agents"] = 1;
@ -774,7 +774,7 @@ namespace OpenSim.Grid.GridServer.Modules
simProfileBlock["x"] = x; simProfileBlock["x"] = x;
simProfileBlock["y"] = y; simProfileBlock["y"] = y;
simProfileBlock["name"] = simProfile.regionName; simProfileBlock["name"] = simProfile.regionName;
simProfileBlock["access"] = simProfile.AccessLevel; simProfileBlock["access"] = simProfile.AccessLevel.ToString();
simProfileBlock["region-flags"] = 0; simProfileBlock["region-flags"] = 0;
simProfileBlock["water-height"] = 20; simProfileBlock["water-height"] = 20;
simProfileBlock["agents"] = 1; simProfileBlock["agents"] = 1;