#author("2024-09-02T04:20:53+00:00","default:iseki","iseki") #author("2024-09-02T05:20:38+00:00","default:iseki","iseki") * OpenSim [#e3a9a7fb] - OpenSim は [[Second Life]] サーバと互換のオープンソース - %%OpenSL は [[Second Life]] ビューアと互換のオープンソース%% ->[[ Hippo Viewer:http://mjm-labs.com/viewer/]] ** Document *** 日本語 - opensimulator.org: http://opensimulator.org/wiki/%E5%88%A9%E7%94%A8%E8%80%85%E5%90%91%E3%81%91%E8%AA%AC%E6%98%8E%E6%9B%B8 - JOG: https://www.jogrid.net/wi/pluginfile.php/1872/mod_resource/content/5/OpenSim_man2_2.0.0.pdf ** Links [#r9fd5cf2] - OpenSim サイト: http://opensimulator.org/ - ダウンロード: http://opensimulator.org/dist/ - [[opensim-libs]]: git://opensimulator.org/git/opensim-libs - http://www.isus.jp/article/game-special/opensimulator_1/ - git git://opensimulator.org/git/opensim ** Download [#hd556b0e] *** Git [#madae3be] git clone git://opensimulator.org/git/opensim ** Related Software [#v23eeb7c] - OpenMetaverse http://openmv.org/ - [[opensim-libs]]: http://opensimulator.org/git/opensim-libs - OpenLife http://openlifegrid.com/ - Freeの Assetと Inventoryのデータ [[OpenLibrary r0.20:http://openlifegrid.com/Support/Downloads/tabid/67/Default.aspx]] (要OpenLifeのアカウント) - OpenSim Web Interface [[OpenSimWI-Redux:http://forge.opensimulator.org/gf/project/opensimwi]] -[[OpenSim - Grid Control Panel:http://osgc.eu-grid.eu/wiki/index.php/Main_Page]] - [[realXtend]] *** by [[NSL>http://www.nsl.tuis.ac.jp]] (Our works) [#g68698ea] - [[DTL/NSL Money Server>./MoneyServer]] - [[OAR Converter of Linux for Unity>OAR Converter]] - [[OAR Converter of Windows for Unity>OARConvWin]] - [[OpenSim Modules by NSL>./NSL Modules]] -- [[Wind Module (SFSW) >./Wind]] - [[Web Interface>./Web Interface]] -- [[Modlos]] is Web Interface for [[Moodle]] - OpenSim Diorama -- [[OpenSim Diorama v1>./Diorama]] -- [[OpenSim Diorama v1 (J)>./Diorama (J)]] -- [[OpenSim Diorama v2>./Diorama2]] -- [[Elevation Data : Conversion to r32 file>./r32file]] - [[Patch for OpenSim in NAT>./Patch for OpenSim in NAT]] - [[Hack>./hack]] - [[Hack>./Hack]] ** コンパイル,設定,実行 [#p95e30ae] *** 0.9.3 with .NET6 [#c3b1b13d] yum install dotnet-*-6.0 git clone git://opensimulator.org/git/opensim cd opensim git checkout dotnet6 ./runprebuild.sh ./compile.sh cd bin ./opensim.sh or ./OpenSim *** Mono - [[ダウンロード & コンパイル & 実行>./Build]] - [[ダウンロード & コンパイル & 実行 (NSL版)>./Build_NSL]] - [[設定>./Config]] - [[実行>./Exec]] - [[Bugs>./Bugs]] - 古いバージョンのバグなど-> [[トラブルシューティング>./Troubleshooting]] - [[インストール メモ>./install]] - [[R.O.B.U.S.T.サーバ>./R.O.B.U.S.T.]] - [[サーバコマンド>./Command]] - [[0.7.5>./0.7.5]] - [[0.7.1>./0.7.1]] - [[0.6.9RC1>./0.6.9]] ** 内部構造 [#v9ddc5bc] *** Server [#p501406d] - [[Robust Server>./Robust]] *** Functions [#offe1195] - CAPS: http://mrtopf.de/blog/second-life/slga-capabilities-explained-technical/ - [[UniversalUserIdentifier : uuid(;endpoint(;first last(;secret))) >./UniversalUserIdentifier]] - [[Helper Scripts>./Helper Scripts]] - [[Command>./Command]] - [[HTTP Command>./HTTP Command]] - [[Console Mode>./Console]] - [[Offline Message>./OfflineMessage]] - [[Mute List>./MuteList]] - [[データベース (DB)>./DB]] - [[グループ機能>./Config/Group]] - [[osprofile>./osprofile]] - [[ossearch>./ossearch]] - [[Flotsam Group>./Flotsam Group]] - [[Voice Chat>./VoiceChat]] - FreeSwitch - [[Ninja Physics>./NinjaPhysics]] - [[Script Engine>./ScriptEngine]] - [[Hyper Grid>./HyperGrid]] - [[Simian Grid>./SimianGrid]] - [[LSL>./LSL]] - [[Grid Info>./GridInfo]] - [[Friend>./Friend]] - [[Mesh>./Mesh]] - [[RegionHandle>./RegionHandle]] *** Modules [#z8b96d27] - [[OfflineMessage>./OfflineMessage]] - [[MuteList>./MuteList]] - [[OpenProfile>./OpenProfile]] - [[UserProfile>./UserProfile]] - [[OpenSearch>./OpenSearch]] - [[BasicSearch>./BasicSearch]] - [[flotsamGroup>./Flotsam Group]] - [[osGroup>./osGroup]] ** Memo [#y257e7b9] - ''[[リビジョンのアップで,気がついた時点での変更点 >./revision_change_point]]'' - [[r10115 以降の変更でディレクトリを新しく作り直した時のメモ (設定ファイル)>./setting_files]] *** [[Bugs>./Bugs]] [#o6d965cb] ***[[DeBug>./DeBug]] [#ke79fce2] *** [[Geo System>./GeoSystem]] [#p423e0d6] *** Source Code Memo [#g0c0b0ed] - [[Class>./Class]] - [[Modules>./Modules]] - [[プログラムファイル >./code_files]] - [[SIM境界から,SIM中央への強制ジャンプ>./crossed_region]] - [[Sculpt>./sculpt]] - [[log4net>./log4net]] - estate item の作り方 insert into estate_settings (EstateID, EstateName,AllowVoice,UseGlobalTime,PricePerMeter,AllowDirectTeleport,ParentEstateID,PublicAccess) Values ('106', 'Sirius01', '1', '1', '1','1','1','1'); insert into estate_settings (EstateID, EstateName,AllowVoice,UseGlobalTime,PricePerMeter,AllowDirectTeleport,ParentEstateID,PublicAccess) Values ('111', 'Ayahime', '1', '1', '1','1','1','1'); - estate と Region の対応付け update estate_map set EstateID='111' where RegionID='30e40c7e-1c29-40c8-b57d-3d7091c1601d'; ** Trouble Shooting [#lccfde88] *** DB の prims テーブルの Textカラムに UTF-8 が格納できない問題 [#o27927b6] - [[prims テーブル>./DB/prims/]] - [[prims テーブルの UTF-8問題>./DB/prims/UTF-8]] *** MySQL [#we6a9cd8] **** MySQL error in ExecuteReader: MySql.Data.MySqlClient.MySqlException: Table '''XXXXXX''' is marked as crashed and should be repaired [#bb55dd0d] - MySQL にログインし,''repair table XXXXXX;'' で修復. **** Authentication with old password no longer supported, use 4.1 style passwords. [#e3542462] - 接続用モジュールが変わってパスワードの文字が41文字必要だそうだ. +-----------+-------------+-------------------------------------------+ | Host | User | Password | +-----------+-------------+-------------------------------------------+ | localhost | root | a446bd48313ea0e1 | | rigel-c | OpensimUser | *DE2467C2A5C64DDF491A284A62A51A867F44FF9B | | % | OpensimUser | fc842bd464941c95 | +-----------+-------------+-------------------------------------------+ 3 rows in set (0.00 sec) mysql> set session old_passwords = 0; Query OK, 0 rows affected (0.00 sec) mysql> set password for 'OpensimUser'@'%' = password('XXXXXXXXXX'); Query OK, 0 rows affected (0.00 sec) mysql> select Host,User,Password from user; +-----------+-------------+-------------------------------------------+ | Host | User | Password | +-----------+-------------+-------------------------------------------+ | localhost | root | a446bd48313ea0e1 | | rigel-c | OpensimUser | *DE2467C2A5C64DDF491A284A62A51A867F44FF9B | | % | OpensimUser | *DE2467C2A5C64DDF491A284A62A51A867F44FF9B | +-----------+-------------+-------------------------------------------+ 3 rows in set (0.00 sec) **** UTF-8 エラー [#m892608f] <pre> 2023-08-11 10:44:28,907 ERROR [REGION DB]: MySQL error in ExecuteNonQuery: Incorrect string value: '\xE3\x82\xBF\xE3\x83\x83...' for column `jogrid_db`.`prims`.`Text` at row 1 2023-08-11 10:44:28,909 ERROR [SCENE]: Storing of Group Inviter, 61815b84-8af0-47d6-9ae6-d77c211b4f24 in Dejima failed with exception Incorrect string value: '\xE3\x82\xBF\xE3\x83\x83...' for column `jogrid_db`.`prims`.`Text` at row 1 at MySql.Data.MySqlClient.MySqlStream.ReadPacket () [0x00096] in <27e5c3ed78eb46aa9cd5940a180a729f>:0 at MySql.Data.MySqlClient.NativeDriver.GetResult (System.Int32& affectedRow, System.Int64& insertedId) [0x00026] in <27e5c3ed78eb46aa9cd5940a180a729f>:0 at MySql.Data.MySqlClient.Driver.GetResult (System.Int32 statementId, System.Int32& affectedRows, System.Int64& insertedId) [0x00000] in <27e5c3ed78eb46aa9cd5940a180a729f>:0 at MySql.Data.MySqlClient.Driver.NextResult (System.Int32 statementId, System.Boolean force) [0x00023] in <27e5c3ed78eb46aa9cd5940a180a729f>:0 at MySql.Data.MySqlClient.MySqlDataReader.NextResult () [0x00205] in <27e5c3ed78eb46aa9cd5940a180a729f>:0 at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x00315] in <27e5c3ed78eb46aa9cd5940a180a729f>:0 at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader () [0x00000] in <27e5c3ed78eb46aa9cd5940a180a729f>:0 at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery () [0x00033] in <27e5c3ed78eb46aa9cd5940a180a729f>:0 at OpenSim.Data.MySQL.MySQLSimulationData.ExecuteNonQuery (MySql.Data.MySqlClient.MySqlCommand c) [0x00024] in <49ad00f865c2440e88417bcc6435df21>:0 at OpenSim.Data.MySQL.MySQLSimulationData.StoreObject (OpenSim.Region.Framework.Scenes.SceneObjectGroup obj, OpenMetaverse.UUID regionUUID) [0x00078] in <49ad00f865c2440e88417bcc6435df21>:0 at OpenSim.Services.SimulationService.SimulationDataService.StoreObject (OpenSim.Region.Framework.Scenes.SceneObjectGroup obj, OpenMetaverse.UUID regionUUID) [0x00000] in <dd79fb8f3b534c28a6b384b0b1301459>:0 at OpenSim.Region.Framework.Scenes.SceneObjectGroup.ProcessBackup (OpenSim.Region.Framework.Interfaces.ISimulationDataService datastore, System.Boolean forcedBackup) [0x00341] in <6c444f9c865f452696c6e04195af8c86>:0 </pre> **Index [#gac45695] #ls2