61: 2012-01-22 (日) 08:49:34 iseki |
現: 2020-04-11 (土) 17:45:43 admin |
- | * Original DTL Currency Processing [#kcf82c38] | + | * DTL/NSL Money Server for OpenSim [#se1ad59b] |
| | | |
- | *** Links [#c33fad55] | + | ** Overview [#vaa53e04] |
- | - Project: http://forge.opensimulator.org/gf/project/currency/ | + | - Latest Stable Version is ''0.9.1'' (for OpenSim 0.9.1) |
- | - Source Code: svn co http://forge.opensimulator.org/svn/currency/trunk currency | + | - Latest subversion repository is for 0.9.2Dev |
- | - Reference: OMC(Open Metaverse Currency): https://www.virwox.com/omc-open-metaverse-currency.php | + | |
- | #br | + | |
| | | |
- | *** Problems of DTL Currency [#l0262436] | + | - This Money Server is modified from [[DTL Currency>./DTL Currency Processing]] and modified for Unix/Linux (It might work in MS Windows). |
- | - It is not maintained now. | + | |
- | - It does not work in Unix/Linux. | + | |
- | - It does not work in latest version of OpenSim. | + | |
- | #br | + | |
- | | + | |
- | * DTL/NSL Money Server (Our Modified Version) [#p25d4949] | + | |
- | ** Overview [#vaa53e04] | + | |
- | - Latest Stable Version is 0.7.2 (for OpenSim 0.7.2) | + | |
- | - This Money Server is modified from DTL Currency for Unix/Linux (It might work in MS Windows). | + | |
| - Some bug fixes are done and some functions are extended from DTL currency. | | - Some bug fixes are done and some functions are extended from DTL currency. |
- | - This can be operated by OpenSim 0.6.7-0.7.1.x, 0.7.2 and 0.7.3Dev | + | - This can be operated by OpenSim 0.6.7, 0.7.x, 0.8.x, 0.9.x |
| - Web Monitor function (ASP.NET) is removed from original DTL Currency. | | - Web Monitor function (ASP.NET) is removed from original DTL Currency. |
- | - This is not support that sell/buy the group shared object. | + | - [[Client Certification>./Client Certification]] is available. |
| + | - This does not support that sell/buy the group shared object. |
| - ''Please use this at Your Own Risk!!'' | | - ''Please use this at Your Own Risk!!'' |
| | | |
- | - &font(#0000ff){[[OpenSim 0.7.1.1 Binary with Money Server Patch>#e4deb0ba]] by ''Adam Farrugia'' is available. }; | + | - ''Client (SIM: Region Server) certification causes an error'' in mono-5.16 and later. Please use ''mono-5.0 - mono-5.14'', if you want to use client (SIM: Region Server) certification function.(at v0.9.1) |
| - &font(#0000ff){About this project, ''Milo'' do a lot of advice and donation to us. ''Thank you very much!!''}; | | - &font(#0000ff){About this project, ''Milo'' do a lot of advice and donation to us. ''Thank you very much!!''}; |
| | | |
- | - &font(#ff2222){[[latest ''Aurora-Sim (0.4.3Dev)'' is full supported.>./Aurora-Sim]] (new, 10 Setp. 2011)}; | |
| #br | | #br |
| | | |
- | *** Change Log[#z6c98d59] | + | *** Supported Functions [#y5e3e741] |
- | **** Working Now (OpenSim 0.7.3Dev and Aurora-Sim 0.4.3Dev) [#udfaff79] | + | - [[See Here>./Functions]] |
- | - Support Aurora-Sim | + | - [[Client Certification>./Client Certification]] for 0.9.x |
| #br | | #br |
| | | |
- | **** 0.7.2 for Opensim 0.7.2 [#e96c1580] | + | *** Change Log [#r7a89e03] |
- | - Change Server name from OpenSim.Grid.MoneyServer.exe to ''MoneyServer.exe'' | + | - [[ChangeLog>./ChangeLog]] |
- | - Change Module name from DTLMoneyModule to ''DTLNSLMoneyModule'' | + | |
- | - [[pfx file>pfx]] can be specified by configuration file | + | |
- | - Support HTTP Communication | + | |
- | - Add ''BalanceMessageRcvLandSale'' message | + | |
- | - Correct ''send_money'' script bug. | + | |
- | - No patch for OpenSim 0.7.2 | + | |
- | #br | + | |
- | | + | |
- | **** v0.7.1 for OpenSim 0.7.1.x [#rdb89803] | + | |
- | - 0.7.1 R2 | + | |
- | -- Correct the bug of money() event. | + | |
- | - 0.7.1 R1 | + | |
- | -- Money can be sent to any avatars. | + | |
- | -- Upload charge and Group Create charge are available. | + | |
- | -- Enable rewrite update balance message (for blue dialog) | + | |
- | -- Minimum patch for source code (in the future, the patch disappears). | + | |
- | | + | |
- | | + | |
- | - [[more ...>./ChangeLog]] | + | |
| #br | | #br |
| | | |
| - http://www.nsl.tuis.ac.jp/xoops/modules/d3forum/index.php?forum_id=11 | | - http://www.nsl.tuis.ac.jp/xoops/modules/d3forum/index.php?forum_id=11 |
| #br | | #br |
- | ** From Download to Execution [#qd7e14e7] | + | *** [[Client Certification>./Client Certification]] [#k58c70f3] |
- | | + | #br |
- | *** Download of DTL/NSL Money Server[#u2d15064] | + | |
- | **** [[OpenSim]] [#x2bf1cc1] | + | |
- | - for 0.7.2 (Binaries are included. not need to compile) | + | |
- | -- http://www.nsl.tuis.ac.jp/xoops/modules/d3downloads/index.php?page=singlefile&cid=8&lid=26 | + | |
- | | + | |
- | - for latest dev version (for 0.7.3Dev) | + | |
- | -- svn co http://www.nsl.tuis.ac.jp/svn/opensim/opensim.currency/trunk opensim.currency | + | |
| | | |
| + | ** Download of DTL/NSL Money Server[#u2d15064] |
| + | *** tar Ball [#v661c160] |
| + | - 0.9.1_1 for OpenSim-0.9.1 |
| + | -- http://www.nsl.tuis.ac.jp/xoops/modules/d3downloads/index.php?page=singlefile&cid=8&lid=55 |
| - [[more old version...>./old_version]] | | - [[more old version...>./old_version]] |
- | | |
| #br | | #br |
| | | |
- | **** [[Aurora-Sim]] [#cd3c0906] | + | *** Subversion [#nd5f9697] |
- | - for latest Aurora-Sim (for 0.4.3Dev) This is beta version | + | - latest dev version (for OpenSim-0.9.2Dev) |
- | -- svn co http://www.nsl.tuis.ac.jp/svn/opensim/opensim.currency/branches/aurora aurora.currency | + | -- svn co http://www.nsl.tuis.ac.jp/svn/opensim/opensim.currency/trunk opensim.currency |
| + | - &font(#c01010){''Attention''}; |
| + | -- This uses HTTP/DAV, therefore your subversion needs to include Neon module. |
| #br | | #br |
| | | |
- | *** Special Download [#e4deb0ba] | + | ** Compile and Install [#uc427419] |
- | **** [[OpenSim]] [#rd2dc4b9] | + | |
- | - OpenSim 0.7.1.1 Binary with Money Server Patch by ''Adam Farrugia'' | + | |
- | -- http://www.fdn.uq.edu.au/opensim/opensim-0.7.1.1-patched.zip | + | |
- | -- please see [[this forum>http://www.nsl.tuis.ac.jp/xoops/modules/d3forum/index.php?topic_id=55]] | + | |
- | #br | + | |
- | **** [[Aurora-Sim]] [#e31c9907] | + | |
- | - %%Aurora-Sim 0.4.3Dev Binary ()%% | + | |
- | #br | + | |
- | | + | |
- | *** Compile and Install [#uc427419] | + | |
- | **** [[OpenSim]] [#vaa8ebdd] | + | |
- | - for release version (Patch was abolished from 0.7.2) and latest Dev version | + | |
- | git clone git://opensimulator.org/git/opensim opensim | + | |
- | cd opensim | + | |
- | svn co http://www.nsl.tuis.ac.jp/svn/opensim/opensim.currency/trunk opensim.currency | + | |
- | ./runprebuild.sh && nant clean && nant | + | |
- | cd opensim.currency | + | |
- | ./build.sh | + | |
- | cd ../bin | + | |
- | vi MoneyServer.ini (modify [MySql] section) | + | |
| | | |
- | - for old version (0.7.1.x) | + | *** for Release Version (OpenSim-X.Y.Z) [with No Client Certification] [#ff113200] |
| cd (PREFIX)/opensim-X.Y.Z-source (or opensim-X.Y.Z-release) | | cd (PREFIX)/opensim-X.Y.Z-source (or opensim-X.Y.Z-release) |
| tar xzfv opensim.currency-X.Y.Z.tar.gz | | tar xzfv opensim.currency-X.Y.Z.tar.gz |
- | patch -p1 < opensim.currency-X.Y.Z/opensim_currency_X.Y.Z.patch | + | ./runprebuild.sh && xbuild |
- | ./runprebuild.sh && nant clean && nant | + | |
| cd opensim.currency-X.Y.Z | | cd opensim.currency-X.Y.Z |
| ./build.sh | | ./build.sh |
| vi MoneyServer.ini | | vi MoneyServer.ini |
| | | |
- | **** [[Aurora-Sim]] [#tab1b7e6] | + | *** for latest Dev Version [#g778de33] |
- | - for latest dev version (0.4.3Dev) | + | |
- | git clone git://github.com/aurora-sim/Aurora-Sim.git aurora | + | **** No Client Certification or Money Module (OpenSim.Modules.Currency.dll) only [#r08f46e7] |
- | cd aurora | + | git clone git://opensimulator.org/git/opensim opensim |
- | svn co http://www.nsl.tuis.ac.jp/svn/opensim/opensim.currency/branches/aurora aurora.currency | + | cd opensim |
- | patch -p1 < aurora.currency/aurora_currency_latest.patch | + | svn co http://www.nsl.tuis.ac.jp/svn/opensim/opensim.currency/trunk opensim.currency |
| ./runprebuild.sh && xbuild | | ./runprebuild.sh && xbuild |
- | cd aurora.currency | + | cd opensim.currency |
| ./build.sh | | ./build.sh |
| cd ../bin | | cd ../bin |
- | vi MoneyServer.ini (modify [MySql] section) | + | vi MoneyServer.ini |
- | vi AuroraServer.ini | + | #br |
- | vi Aurora.ini | + | **** Money Server (MoneyServer.exe) with Client Certification function [#n1a3992f] |
- | vi Configration/Main.ini | + | git clone git://opensimulator.org/git/opensim opensim |
- | ...... | + | cd opensim |
- | cd Configuration/Modules | + | svn co http://www.nsl.tuis.ac.jp/svn/opensim/opensim.currency/trunk opensim.currency |
- | cp Economy.ini.example Economy.ini | + | |
- | vi OpenSim.ini | + | patch -p1 < opensim.currency/patch/ opensim.server.patch |
| + | ./runprebuild.sh && xbuild |
| + | cd opensim.currency |
| + | ./build.sh |
| + | |
| + | cd ../bin |
| + | vi MoneyServer.ini |
| + | #br |
| | | |
- | *** Settings [#v70b9150] | + | *** HttpServer_OpenSim.dll [#j70b6819] |
- | **** [[MoneyServer.ini>./MoneyServer.ini]] [#y846e1a1] | + | - ''Since 0.9.1, HttpServer_OpenSim.dll is already fixed, so no patch is required.'' |
- | - Setting of [[MoneyServer.ini>./MoneyServer.ini]] | + | |
| #br | | #br |
| + | - opensim-libs (unnecessary now) |
| + | -- %% git clone git://opensimulator.org/git/opensim-libs %% |
| + | -- %% cp -Rpd opensim-libs/HttpServer/trunk/HttpServer .%% |
| + | -- %% cd HttpServer/%% |
| + | -- %% patch -p1 < ../opensim.currency/patch/HttpServer.patch %% |
| + | -- %% xbuild /p:Configuration=Release%% |
| | | |
- | **** [Economy] Section in INI file [#d9a146c0] | |
- | - for OpenSim: [[OpenSim.ini>./OpenSim.ini]] | |
- | - for Aurora-Sim: [[Configuration/Modules/Economy.ini>./Economy.ini]] | |
| #br | | #br |
| | | |
- | **** [[Helper Scripts>./Helper Script]] [#yd4f306d] | + | ** Settings [#v70b9150] |
| + | *** Tutorial Videos by Nick Zwart [#d2def937] |
| + | - http://www.slartist.com/part-6-1of2-how-to-setup-nsldtl-money-server-opensim-081_06ac8339d.html |
| + | - http://www.slartist.com/part-6-2of2-how-to-setup-nsldtl-money-server-opensim-081_6a17c8c97.html |
| + | - Thanks!! |
| + | #br |
| + | |
| + | *** MoneyServer.ini [#a07c8101] |
| + | - [[MoneyServer.ini>./MoneyServer.ini]] |
| + | #br |
| + | |
| + | *** [Economy] Section in INI file [#d9a146c0] |
| + | - [[OpenSim.ini>./OpenSim.ini]] |
| + | #br |
| + | |
| + | *** Avatar Class [#u3faa13b] |
| + | - マネーサーバにおけるアバターの取り扱いを定義するためのクラス |
| + | - ''ForeignAvatar'', ''HGAvatar'', ''GuestAvatar'', ''LocalAvatar'' |
| + | |
| + | #br |
| + | |
| + | **** for Region Server [#p411b009] |
| + | - Regionサーバ毎に HG Avatar をどう取り扱うか指定できる. |
| + | - OpenSim.ini の [Economy] セクションの ''HGAvatarAs'' で指定する |
| + | - ''ForeignAvatar'', ''HGAvatar'', ''GuestAvatar'', ''LocalAvatar'' が指定可能.デフォルトは ''HGAvatar'' |
| + | #br |
| + | |
| + | **** for MoneyServer [#eaa618e9] |
| + | - Region毎に決めた HGAvatar の取り扱い(Avatar Class: ''HGAvatar'', ''GuestAvatar'')に対してのマネーサーバ側の挙動を指定できる |
| + | - マネーサーバの MoneyServer.ini で指定する. |
| + | - ''LocalAvatar'' に対しては何時でも true (マネーサーバの使用可) |
| + | - ''ForeignAvatar'' に対しては何時でも false (マネーサーバの使用不可) |
| + | |
| + | ; for HG/Guest Avatar. Foreign Avatar is always false |
| + | ;EnableHGAvatar = false |
| + | ;EnableGuestAvatar = false |
| + | ;HGAvatarDefaultBalance = 0 |
| + | ;GuestAvatarDefaultBalance = 0 |
| + | #br |
| + | |
| + | *** Helper Scripts [#m58a560d] |
| - If you use functions that ''Buy Money from System'', ''Buy Land'' and ''send_money'', you should set up Helper Scripts. | | - If you use functions that ''Buy Money from System'', ''Buy Land'' and ''send_money'', you should set up Helper Scripts. |
- | - If you use XoopenSim or Modlos, you may not do setting Helper Script. Because XoopenSim/Modlos sets up it by automatically. | + | - If you use %%XoopenSim or%% [[Modlos>Modlos (E)]], you may not do setting Helper Script. Because XoopenSim/Modlos sets up it by automatically. |
- | - Helper Scripts work with ''PHP-5.2.x'', those does not work with PHP-5.3.x | + | - Helper Scripts work with ''PHP-7.x'' |
| - [[Setup Manual of Helper Scripts is here>./Helper Script]] | | - [[Setup Manual of Helper Scripts is here>./Helper Script]] |
| #br | | #br |
| #br | | #br |
| | | |
- | *** Execution [#h4610b84] | + | ** Execution [#h4610b84] |
- | - Execute MoneyServer after Robust.exe/Aurora.Server.exe and before OpenSim.exe/Aurora.exe | + | - Execute MoneyServer after Robust.exe and before OpenSim.exe |
- | #br | + | |
- | | + | |
- | **** [[OpenSim]] 0.7.2 and latest Dev [#ad34b4d2] | + | |
- | - Attetion: MoneyServer's name was changed | + | |
| | | |
| # cd bin | | # cd bin |
| #br | | #br |
| | | |
- | **** [[OpenSim]] before 0.7.1.x [#df442a63] | + | ** opensim.currecncy.secure [#ebe5d69d] |
- | # cd bin | + | - クライアント認証が可能 [[Client Certification>./Client Certification]] |
- | # mono Robust.exe | + | - クライアント認証機能付き MoneyServer.exe を生成する場合は,%%[[HttpServer_OpenSim]] および%% OpenSim 本体にパッチが必要 |
- | # mono OpenSim.Grid.MoneyServer.exe | + | - OpenSim.exe 用モジュールにはパッチは不要 |
- | # mono OpenSim.exe | + | - %%http://www.nsl.tuis.ac.jp/svn/opensim/opensim.currency/secure %% |
| + | -- http://www.nsl.tuis.ac.jp/svn/opensim/opensim.currency/trunk にマージ (10/26 2013) |
| #br | | #br |
| | | |
- | **** [[Aurora-Sim]] [#l4b62f4f] | + | *** Patch [#i8ee6f28] |
- | # cd bin | + | **** HttpServer_OpenSim [#m7932dd6] |
- | # mono Aurora.Server.exe | + | - %%Client からのリクエスト情報を格納する HttpClientContext に Common Name を保存する SSLCommonName を追加%% |
- | # mono MoneyServer.exe | + | -- %%IHttpClientContext.SSLCommonName%% |
- | # mono Aurora.exe | + | - %%Client 認証時のコールバック関数 ClientCertificateValidationCallback() の仮想関数を定義%% |
| + | #br |
| + | |
| + | **** OpenSim [#j2f71927] |
| + | - %%XMLRPC のリクエスト情報を格納するXmlRpcRequest の5番目のパラメータに Common Name を格納%% |
| + | - XMLRPC のリクエスト情報からCommon Name を得るには GetSSLCommonName() を使用する. |
| #br | | #br |
| | | |
| ** etc.etc. [#va2bf28f] | | ** etc.etc. [#va2bf28f] |
| | | |
- | *** send_money() function in Helper Scripts [#p51201fb] | + | *** Sample Program [#v9b7625e] |
- | - [[send_money()>./send_money]] PHP function | + | - LSL: [[llGvieMony()>./LSL]] |
| + | - PHP: [[send_money()>./send_money]] |
| #br | | #br |
| | | |
| *** Support of StandAlone mode [#nf42a9ad] | | *** Support of StandAlone mode [#nf42a9ad] |
- | **** [[OpenSim]] [#lf93e861] | + | - [[OpenSim-0.7.x>./standalone_0.7]] |
- | - [[for v0.7.x>./standalone_0.7]] | + | |
| #br | | #br |
| | | |
- | **** [[Aurora-Sim]] [#g0e2a591] | + | *** Bugs [#x4fae068] |
| + | - Client (SIM: Region Server) certification causes an error in mono-5.16 and later. Please use mono-5.0 - mono-5.14, if you want to use client (SIM: Region Server) certification function.(at v0.9.1) |
| #br | | #br |
- | | |
- | *** Bugs [#x4fae068] | |
- | **** OpenSim [#ibab8dc3] | |
| - 0.7.1 R2 | | - 0.7.1 R2 |
| -- send_money() of helper script is failed, when the ''secretCode'' argument is omitted. | | -- send_money() of helper script is failed, when the ''secretCode'' argument is omitted. |
| - 0.7 R3 | | - 0.7 R3 |
| -- When object is set to ''sale original'', no money is transferred. (collected at v0.7 R4) | | -- When object is set to ''sale original'', no money is transferred. (collected at v0.7 R4) |
- | #br | |
- | | |
- | **** Aurora-Sim [#a45a5c29] | |
| #br | | #br |
| | | |
| *** 注意 [#d84771e2] | | *** 注意 [#d84771e2] |
- | - OpenSim.ini 中の ''UserServer'', ''CurrencyServer'' のアドレスは localhost (127.0.0.1) を使用しないこと ( [Network] セクションの ''user_server_url'').これは,このIPアドレスが,Monet Server内でのユーザのアカウント識別に利用されるためである. | |
- | | |
| - MoneyServer.ini と include/config.php (またはXoopenSim/Modlos) の Helper Script用のキーは必ず同じものを指定すること. | | - MoneyServer.ini と include/config.php (またはXoopenSim/Modlos) の Helper Script用のキーは必ず同じものを指定すること. |
| | | |
- | - 0.6.9で,[Network] セクションの ''user_server_url'' が無くなったため,代わりに [Economy]セクションで ''UserServer'' を指定するように変更. | + | - %%OpenSim.ini 中の ''UserServer'', ''CurrencyServer'' のアドレスは localhost (127.0.0.1) を使用しないこと ( [Network] セクションの ''user_server_url'').これは,このIPアドレスが,Monet Server内でのユーザのアカウント識別に利用されるためである.%% アカウントの識別から,サーバのIPアドレスを削除しました.ハイパーグリッドであっても,アバターはUUIDのみで識別されます. |
- | | + | |
- | | + | - %%0.6.9で,[Network] セクションの ''user_server_url'' が無くなったため,代わりに [Economy]セクションで ''UserServer'' を指定するように変更.%% UserServer は現在参照されません. |
| + | |
| + | |
| #br | | #br |
| | | |
- | *** [[Development>./Devel]] [#rfbac1de] | + | *** Trouble Shooting [#wa240b75] |
| + | **** mono 4.4.0 にしたら,エラー続出 (0.9) [#kebad74d] |
| + | 2016-03-31 17:02:39,845 ERROR (Threadpool worker) - OpenSim.Framework.Servers.HttpServer.BaseHttpServer [BASE HTTP SERVER]: HttpServer.HttpListener had an exception System.TypeLoadException: Could not load type 'System.Net.Security.SslStream' from assembly 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. |
| + | at HttpServer.HttpContextFactory.CreateNewContext (Boolean isSecured, System.Net.IPEndPoint endPoint, System.IO.Stream stream, System.Net.Sockets.Socket sock) <0x418d2540 + 0x00063> in <filename unknown>:0 |
| + | at HttpServer.HttpContextFactory.CreateContext (Boolean isSecured, System.Net.IPEndPoint endPoint, System.IO.Stream stream, System.Net.Sockets.Socket sock) <0x418d2000 + 0x001f9> in <filename unknown>:0 |
| + | at HttpServer.HttpContextFactory.CreateContext (System.Net.Sockets.Socket socket) <0x418d1e30 + 0x00093> in <filename unknown>:0 |
| + | at HttpServer.HttpListenerBase.OnAccept (IAsyncResult ar) <0x418d0d10 + 0x0025b> in <filename unknown>:0 |
| + | - 結局,古い Mono.Security.dll を使用しているせいだった.bin にあった Mono.Security.dll を削除 |
| #br | | #br |
- | *** [[Sample LSL for Money Server>./LSL]] [#a706bde2] | + | |
| + | **** RunTime Error (0.8) [#t84737c5] |
| + | - Missing method .ctor in assembly /usr/local/opensim/bin/OpenSim.Framework.Console.dll, type System.Runtime.Versioning.TargetFrameworkAttribute |
| + | -- Please use ''--runtime=v4.0'' option |
| + | mono --runtime=v4.0 MoneyServer.exe |
| + | #br |
| + | |
| + | **** Viewer での接続の途中で止まる (0.8) [#b411eb98] |
| + | - コンパイルするディレクトリ名を変えたら,マネーサーバへの接続で途中停止した. |
| + | - ディレクトリ名を元に戻してコンパイルしたら,直った???? |
| + | #br |
| + | |
| + | *** [[Development>./Devel]] [#rfbac1de] |
| + | - [[DB>./DB]] |
| #br | | #br |
| | | |
| *** Indexes [#l1c0126a] | | *** Indexes [#l1c0126a] |
| #ls2 | | #ls2 |
| + | #br |