- OpenSim/Services/Interfaces/IGridUserService.cs
- GridUserInfo コンストラクタのミス
public GridUserInfo(Dictionary<string, object> kvp)
{
if (kvp.ContainsKey("UserID"))
UserID = kvp["UserID"].ToString();
if (kvp.ContainsKey("HomeRegionID"))
UUID.TryParse(kvp["HomeRegionID"].ToString(), out HomeRegionID);
if (kvp.ContainsKey("HomePosition"))
Vector3.TryParse(kvp["HomePosition"].ToString(), out HomePosition);
if (kvp.ContainsKey("HomeLookAt"))
Vector3.TryParse(kvp["HomeLookAt"].ToString(), out HomeLookAt);
if (kvp.ContainsKey("LastRegionID"))
- UUID.TryParse(kvp["LastRegionID"].ToString(), out HomeRegionID);
+ UUID.TryParse(kvp["LastRegionID"].ToString(), out LastRegionID);
if (kvp.ContainsKey("LastPosition"))
Vector3.TryParse(kvp["LastPosition"].ToString(), out LastPosition);
if (kvp.ContainsKey("LastLookAt"))
Vector3.TryParse(kvp["LastLookAt"].ToString(), out LastLookAt);
if (kvp.ContainsKey("Login"))
DateTime.TryParse(kvp["Login"].ToString(), out Login);
if (kvp.ContainsKey("Logout"))
DateTime.TryParse(kvp["Logout"].ToString(), out Logout);
if (kvp.ContainsKey("Online"))
Boolean.TryParse(kvp["Online"].ToString(), out Online);
}
参考: ホームへのテレポートの処理シーケンス †[edit]
Regionサーバ †[edit]
- OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
- TeleportHome(UUID id, IClientAPI client)
- OpenSim/Services/Connectors/GridUser/GridUserServiceConnector.cs
- GetGridUserInfo(string userID)
Robust を POST Requestで呼び出し †[edit]
Robustサーバ †[edit]
- OpenSim/Server/Handlers/GridUser/GridUserServerPostHandler.cs
- GetGridUserInfo() デリゲート呼び出し
- OpenSim/Services/UserAccountService/GridUserService.cs
- GetGridUserInfo()
Regionサーバ へのRespose †[edit]
<?xml version="1.0"?>
<ServerResponse><result type="List">
<UserID>f529f8ae-89f2-4156-9f35-3f8441258d81</UszerID>
<HomeRegionID>87b03ad8-ff29-450b-a070-d82e44b50ed1</HomeRegionID>
<HomePosition><128.0104, 123.036, 24.94418></HomePosition>
<HomeLookAt><-0.06136713, 0.9981153, 0></HomeLookAt>
<LastRegionID>27425ff2-ba01-42d5-9564-d07cffa6b213</LastRegionID>
<LastPosition><128.0132, 123.0019, 26.25004></LastPosition>
<LastLookAt><0, 0, 0></LastLookAt><Online>True</Online>
<Login>5/22/2010 2:20:16 PM</Login>
<Logout>5/22/2010 2:09:37 PM</Logout>
</result></ServerResponse>
Regionサーバ †[edit]
- OpenSim/Services/Connectors/GridUser/GridUserServiceConnector.cs
- Get()
- GridUserInfo のコンストラクタ呼び出し(ここでバグる)
- OpenSim/Services/Interfaces/IGridUserService.cs
- GridUserInfo (コンストラクタ:ここでバグる)