{"id":73,"date":"2014-05-12T12:35:00","date_gmt":"2014-05-12T03:35:00","guid":{"rendered":"https:\/\/www.picolix.jp\/blog\/2014\/05\/osgridchannelversionopenmetaverse.html\/"},"modified":"2019-04-02T10:27:03","modified_gmt":"2019-04-02T01:27:03","slug":"osgridchannelversionopenmetaverse","status":"publish","type":"post","link":"https:\/\/www.picolix.jp\/blog\/2014\/05\/osgridchannelversionopenmetaverse.html","title":{"rendered":"OSgrid\u3000\u30c6\u30ec\u30dd\u30fc\u30c8\u5148\u306eChannelVersion\u306e\u53d6\u5f97\uff1a(OpenMetaverse libomv-0.9.1)"},"content":{"rendered":"<p>\u3053\u306e\u8a18\u4e8b\u306f\u81ea\u5206\u7528\u3067\u3059\u3002<br \/>\n\u6700\u8fd1\u3001OSgrid\u306eopensim\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u66f4\u65b0\u983b\u5ea6\u304c\u9ad8\u304f\u3001\u5f53\u65b9\u6240\u6709\u306eSIM (aska) \u3082UPDATE\u3059\u308b\u306e\u3082\u624b\u9593\u3067\u3059\u3002<br \/>\nViewer Firestorm\u3067\u30c6\u30ec\u30dd\u30fc\u30c8\u3059\u308b\u3068\u3001simulator\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u7570\u306a\u308b\u3068\u3001\u2193\u306e\u3088\u3046\u306b<br \/>\nsimulator\u30d0\u30fc\u30b8\u30e7\u30f3\uff08ChannelVersion\uff09\u306e\u8a73\u7d30\u3092\u8868\u793a\u3057\u3066\u304f\u308c\u307e\u3059<\/p>\n<div class=\"separator\" style=\"clear: both; text-align: left;\">\n<a href=\"https:\/\/www.picolix.jp\/blog\/wp-content\/uploads\/2014\/05\/simversion-2.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"><img decoding=\"async\" loading=\"lazy\" border=\"0\" src=\"https:\/\/www.picolix.jp\/blog\/wp-content\/uploads\/2014\/05\/simversion-2.png\" height=\"40\" width=\"320\" \/><\/a><\/div>\n<p>\n\u3053\u306e\u8a73\u7d30\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u30c7\u30fc\u30bf\u3092\u4f55\u3068\u304b\u3001<a href=\"http:\/\/lib.openmetaverse.org\/wiki\/Main_Page\">OpenMetaverse libomv\u306eDLL<\/a>\u3067ChannelVersion\u3092\u53d6\u5f97\u3057\u305f\u304f\u3001FireStorm Viewer\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3068libomv-0.9.1\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u5c11\u3057\u6f01\u308a\u307e\u3057\u305f\u3002<br \/>\n\u7d50\u5c40\u3001\u30b5\u30fc\u30d0\u304b\u3089<a href=\"http:\/\/www.nsl.tuis.ac.jp\/xoops\/modules\/xpwiki\/?Second%20Life%2FProtocol%2FUDP%2FAgentMovementComplete\">AgentMovementComplete<\/a>\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u6765\u305f\u3068\u304d\u306b\u3001\u76ee\u7684\u306e\u30c7\u30fc\u30bf\u304c\u5165\u3063\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u3068\u308a\u3042\u3048\u305a\u3001\u3001OpenMetaverse libomv\u306eNetworkManager.cs\u306b###\u90e8\u3092\u8ffd\u52a0\u3057\u3066\u5f37\u5236\u7684\u306b\u8868\u793a\u3057\u3066\u307f\u305f\u3002<br \/>\n\u3053\u308c\u3060\u3068\u6c4e\u7528\u6027\u304c\u306a\u3044\u306e\u3067\u3001\u5225\u9014OpenMetaverse.Packets\u3092callback\u3067\u81ea\u30a2\u30d7\u30ea\u306e\u65b9\u306b\u5b9f\u88c5\u3059\u308b\u4e88\u5b9a\u3002<\/p>\n<p><\/p>\n<div style=\"background: #eeeeff; border: 2px dotted #0000ff; padding: 10px;\">\n\/\/***NetworkManager.cs<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; private void IncomingPacketHandler()<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; {<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; IncomingPacket incomingPacket = new IncomingPacket();<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Packet packet = null;<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Simulator simulator = null;<\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; while (connected)<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \/\/ Reset packet to null for the check below<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; packet = null;<\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (PacketInbox.Dequeue(100, ref incomingPacket))<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; packet = incomingPacket.Packet;<\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; simulator = incomingPacket.Simulator;<\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (packet != null)<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \/\/ Skip blacklisted packets<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (UDPBlacklist.Contains(packet.Type.ToString()))<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Logger.Log(String.Format(&#8220;Discarding Blacklisted packet {0} from {1}&#8221;,<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; packet.Type, simulator.IPEndPoint), Helpers.LogLevel.Warning);<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return;<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br \/>\n\/\/#################### \u8ffd\u52a0<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (packet.Type.ToString() == &#8220;AgentMovementComplete&#8221;)<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<span class=\"Apple-tab-span\" style=\"white-space: pre;\"> <\/span><br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Console.WriteLine(&#8220;#### Networkmanager.cs ####:&#8230;&#8221; + packet.Type.ToString());<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; string packetText = PacketDecoder.PacketToString(packet);<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Console.WriteLine(packetText);<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } &nbsp; &nbsp; <br \/>\n\/\/####################<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \/\/ Fire the callback(s), if any<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PacketEvents.RaiseEvent(packet.Type, packet, simulator);<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; }<br \/>\n\uff1d\uff1d\uff1d\uff1d<\/div>\n<p><\/p>\n<div class=\"separator\" style=\"clear: both; text-align: left;\">\n<a href=\"https:\/\/www.picolix.jp\/blog\/wp-content\/uploads\/2014\/05\/loginfo3.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"><img decoding=\"async\" loading=\"lazy\" border=\"0\" src=\"https:\/\/www.picolix.jp\/blog\/wp-content\/uploads\/2014\/05\/loginfo3.png\" height=\"299\" width=\"320\" \/><\/a><\/div>\n<div class=\"separator\" style=\"clear: both; text-align: left;\">\n<\/div>\n<p>ChannelVersion: OpenSim 0.8.0 Dev &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;OSgrid 0.8.0 (Dev) 73891c7: 2014-05-09 (Unix\/Mono)<br \/>\n\u304c\u53d6\u5f97\u3067\u304d\u3066\u307e\u3059\u3002\u3067\u3001\u305d\u308c\u304c\u3069\u3046\u3057\u305f\u306e\u3068\u8a00\u308f\u308c\u3066\u3082\u7279\u306b\u4f55\u3082\u3042\u308a\u307e\u305b\u3093\u30fb\u30fb\u3002<\/p>\n<p>\n\u95a2\u9023\uff1a<\/p>\n<h3 class=\"post-title entry-title\" itemprop=\"name\" style=\"background-color: #fefdfa; color: #d52a33; font-family: Georgia, Utopia, 'Palatino Linotype', Palatino, serif; font-size: 22px; font-weight: normal; margin: 0px; position: relative;\">\n<a href=\"https:\/\/www.picolix.jp\/blog\/2013\/02\/firestorm-viewer-1024mok.html\">FireStorm Viewer \u306e\u30d3\u30eb\u30c9 &amp; \u30b5\u30a4\u30ba\u5236\u9650\u89e3\u9664(1024m\u307e\u3067ok,\u30e1\u30c3\u30b7\u30e5\u3082\uff09<\/a><\/h3>\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u8a18\u4e8b\u306f\u81ea\u5206\u7528\u3067\u3059\u3002 \u6700\u8fd1\u3001OSgrid\u306eopensim\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u66f4\u65b0\u983b\u5ea6\u304c\u9ad8\u304f\u3001\u5f53\u65b9\u6240\u6709\u306eSIM (aska) \u3082UPDATE\u3059\u308b\u306e\u3082\u624b\u9593\u3067\u3059\u3002 Viewer Firestorm\u3067\u30c6\u30ec\u30dd\u30fc\u30c8\u3059\u308b\u3068\u3001simul &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.picolix.jp\/blog\/2014\/05\/osgridchannelversionopenmetaverse.html\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;OSgrid\u3000\u30c6\u30ec\u30dd\u30fc\u30c8\u5148\u306eChannelVersion\u306e\u53d6\u5f97\uff1a(OpenMetaverse libomv-0.9.1)&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[11],"_links":{"self":[{"href":"https:\/\/www.picolix.jp\/blog\/wp-json\/wp\/v2\/posts\/73"}],"collection":[{"href":"https:\/\/www.picolix.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.picolix.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.picolix.jp\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.picolix.jp\/blog\/wp-json\/wp\/v2\/comments?post=73"}],"version-history":[{"count":1,"href":"https:\/\/www.picolix.jp\/blog\/wp-json\/wp\/v2\/posts\/73\/revisions"}],"predecessor-version":[{"id":1342,"href":"https:\/\/www.picolix.jp\/blog\/wp-json\/wp\/v2\/posts\/73\/revisions\/1342"}],"wp:attachment":[{"href":"https:\/\/www.picolix.jp\/blog\/wp-json\/wp\/v2\/media?parent=73"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.picolix.jp\/blog\/wp-json\/wp\/v2\/categories?post=73"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.picolix.jp\/blog\/wp-json\/wp\/v2\/tags?post=73"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}