flagflag  If you want to see English page, please click "English" Button at Left.
10: 2009-08-17 (月) 14:24:02 iseki ソース 現: 2020-04-11 (土) 17:45:43 admin ソース
Line 1: Line 1:
-** Money Server (DTL Currency)[#kcf82c38]+* DTL/NSL Money Server for OpenSim [#se1ad59b]
-*** Link [#c33fad55+** Overview [#vaa53e04
-- DTL Currency Processing +- Latest Stable Version is ''0.9.1'' (for OpenSim 0.9.1) 
--- http://forge.opensimulator.org/gf/project/currency/+- Latest subversion repository is for 0.9.2Dev
-*** Original Source [#e9a00cb8] +- This Money Server is modified from [[DTL Currency>./DTL Currency Processing]] and modified for Unix/Linux (It might work in MS Windows). 
-- svn co http://forge.opensimulator.org/svn/currency/trunk  currency +- Some bug fixes are done and some functions are extended from DTL currency. 
--- UserName: anonymous +- This can be operated by OpenSim 0.6.7, 0.7.x, 0.8.x, 0.9.x 
--- Password: (none+- Web Monitor function (ASP.NET) is removed from original DTL Currency. 
-*** Bugs [#i8e24d82] +- [[Client Certification>./Client Certification]] is available. 
-- %%when using Money Server, unenable selling things for $0%% (Fixed+- This does not support that sell/buy the group shared object. 
-- [[SQL Reconnect Error >./SQL_Reconnect_Error]] +- ''Please use this at Your Own Risk!!''
-~ +
-~+
-** Our Modified Version (NSL Version) [#p25d4949] +- ''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)
-- ''This version is less secure than original version!! and not include ASP.NET'' +
-- for Linux. ASP.NET function is deleted. +
-- ''OnMakeRootAgent'' event is used instead of ''OnNewClient'' event. +
-- Enables selling object by $0 (with no messaging). +
-- Supported OpenSim's revision is form ''r9862'' to ''r10067'' ('09 7/23) or perhaps to latest revision. +
-- source: svn co http://www.nsl.tuis.ac.jp/svn/dotnet/currency/trunk  currency +
-+
-~+
-*** Money Server [#yde15c21] +- &font(#0000ff){About this project, ''Milo'' do a lot of advice and donation to us. ''Thank you very much!!''};
- cd (PREFIX)/opensim +
- svn co http://www.nsl.tuis.ac.jp/svn/dotnet/cur​​rency/trunk currency +
- patch -p0 < currency/opensim_r####.patch    (#### is revision number. use patch file has maximum number.) +
- ;nant clean && ./runprebuild.sh && nant+
- cd currency +#br 
- cd OpenSim.Data.MySQL.MySQLMoneyDataWrapper + 
- rm -f OpenSim.Data.MySQL.MySQLMoneyDataWrapper.dll +*** Supported Functions [#y5e3e741] 
- nant +- [[See Here>./Functions]] 
- cp OpenSim.Data.MySQL.MySQLMoneyDataWrapper.dll ../../bin +- [[Client Certification>./Client Certification]] for 0.9.x 
- cd ../OpenSim.Grid.MoneyServer +#br 
- rm -f OpenSim.Grid.MoneyServer.exe + 
- nant +*** Change Log [#r7a89e03] 
- cp OpenSim.Grid.MoneyServer.exe ../../bin +- [[ChangeLog>./ChangeLog]] 
- cd .. +#br 
- cp config/*  ../bin+ 
 +*** Forum [#c90988f3] 
 +- http://www.nsl.tuis.ac.jp/xoops/modules/d3forum/index.php?forum_id=11 
 +#br 
 +*** [[Client Certification>./Client Certification]] [#k58c70f3] 
 +#br 
 + 
 +** Download of DTL/NSL Money Server[#u2d15064] 
 +*** tar Ball [#v661c160] 
 +- 0.9.1_1 for OpenSim-0.9.
 +-- http://www.nsl.tuis.ac.jp/xoops/modules/d3downloads/index.php?page​=singlefile&cid=8&lid=55 
 +- [[more old version...>./old_version]] 
 +#br 
 + 
 +*** Subversion [#nd5f9697] 
 +- latest dev version (for OpenSim-0.9.2Dev) 
 +-- svn co http://www.nsl.tuis.ac.jp/svn/opensim/op​ensim.currency/trunk opensim.currency 
 +- &font(#c01010){''Attention''}; 
 +-- This uses HTTP/DAV, therefore your subversion needs to include Neon module. 
 +#br 
 + 
 +** Compile and Install [#uc427419] 
 + 
 +*** 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) 
 + tar xzfv opensim.currency-X.Y.Z.tar.gz 
 + ./runprebuild.sh && xbuild 
 + cd opensim.currency-X.Y.Z 
 + ./build.sh
 cd ../bin  cd ../bin
- vi MoneyServer.ini       (comment out all ConfirmURL line)+ vi MoneyServer.ini
-*** Region Server (SIM)[#z65ac9d8] +*** for latest Dev Version [#g778de33]
- cd (PREFIX)/opensim +
- svn co http://www.nsl.tuis.ac.jp/svn/dotnet/cur​​rency/trunk currency +
- patch -p0 < currency/opensim_r####.patch +
- nant clean && ./runprebuild.sh && nant+
- cd currency +**** No Client Certification or Money Module (OpenSim.Modules.Currency.dll) only [#r08f46e7] 
- cd OpenSim.Forge.Currency + git clone git://opensimulator.org/git/opensim opensim 
- rm -f OpenSim.Forge.Currency.dll + cd opensim 
- nant + svn co http://www.nsl.tuis.ac.jp/svn/opensim/opensim.currency/trunk opensim.currency 
- cp OpenSim.Forge.Currency.dll  ../../bin + ./runprebuild.sh && xbuild 
- cd .. + cd opensim.currency 
- cp config/SineWaveCert.pfx ../bin+ ./build.sh
 cd ../bin  cd ../bin
- vi OpenSim.ini+ vi MoneyServer.ini 
 +#br 
 +**** Money Server (MoneyServer.exe) with Client Certification function [#n1a3992f] 
 + git clone git://opensimulator.org/git/opensim opensim 
 + cd opensim 
 + svn co http://www.nsl.tuis.ac.jp/svn/opensim/op​ensim.currency/trunk opensim.currency 
 +  
 + patch -p1 < opensim.currency/patch/ opensim.server.patch 
 + ./runprebuild.sh && xbuild 
 + cd opensim.currency 
 + ./build.sh 
 +  
 + cd ../bin 
 + vi MoneyServer.ini 
 +#br 
 + 
 +*** HttpServer_OpenSim.dll [#j70b6819] 
 +- ''Since 0.9.1, HttpServer_OpenSim.dll is already fixed, so no patch is required.'' 
 +#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.pat​ch %% 
 +-- %%  xbuild /p:Configuration=Release%% 
 + 
 +#br 
 + 
 +** 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 %%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-7.x'' 
 +- [[Setup Manual of Helper Scripts is here>./Helper Script]] 
 +#br 
 + 
 +*** Setting for Diva-Distro [#x02c26fc] 
 +- [[0.7.2>./Diva-0.7.2]] 
 +#br 
 + 
 +** Execution [#h4610b84] 
 +- Execute MoneyServer after Robust.exe and before OpenSim.exe 
 + 
 + # cd bin 
 + # mono Robust.exe 
 + # mono MoneyServer.exe 
 + # mono OpenSim.exe 
 +#br 
 + 
 +** opensim.currecncy.secure [#ebe5d69d] 
 +- クライアント認証が可能 [[Client Certification>./Client Certification]] 
 +- クライアント認証機能付き MoneyServer.exe を生成する場合は,%%[[HttpServer_OpenSim]] および%% OpenSim 本体にパッチが必要 
 +- OpenSim.exe 用モジュールにはパッチは不要 
 +- %%http://www.nsl.tuis.ac.jp/svn/opensim/​opensim.currency/secure %% 
 +-- http://www.nsl.tuis.ac.jp/svn/opensim/op​ensim.currency/trunk にマージ (10/26 2013) 
 +#br 
 + 
 +*** Patch [#i8ee6f28] 
 +**** HttpServer_OpenSim [#m7932dd6] 
 +- %%Client からのリクエスト情報を格納する HttpClientContext に Common Name を保存する SSLCommonName を追加%% 
 +-- %%IHttpClientContext.SSLCommonName%% 
 +- %%Client 認証時のコールバック関数 ClientCertificateValidationCallback() の仮想関数を定義%% 
 +#br 
 + 
 +**** OpenSim [#j2f71927] 
 +- %%XMLRPC のリクエスト情報を格納するXmlRpcRequest の5番目のパラメータに Common Name を格納%% 
 +- XMLRPC のリクエスト情報からCommon Name を得るには GetSSLCommonName() を使用する. 
 +#br 
 + 
 +** etc.etc. [#va2bf28f] 
 + 
 +*** Sample Program [#v9b7625e] 
 +- LSL: [[llGvieMony()>./LSL]] 
 +- PHP: [[send_money()>./send_money]] 
 +#br 
 + 
 +*** Support of StandAlone mode [#nf42a9ad] 
 +- [[OpenSim-0.7.x>./standalone_0.7]] 
 +#br 
 + 
 +*** 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 
 +- 0.7.1 R2 
 +-- send_money() of helper script is failed, when the ''secretCode'' argument is omitted. 
 +- 0.7.1 R1 
 +-- The script money() (money event) does not work.  (It is corrected at R2) 
 +-- %%Charge message of "Group Creation" displayed ''L$100'' at any time.%%  As it displayed normally at Hippo Viewer, this is the problem of Viewer. 
 +- 0.7 R4 
 +-- Included ''include/opensim.mysql.php helper script of v0.7R4 has bugs''. If you want to use included helper scripts, please download http://www.nsl.tuis.ac.jp/DownLoad/SoftW​are/PHP/WI-1.55/opensim.mysql , and rename to opensim.mysql.php and use it. 
 +- 0.7 R3 
 +-- When object is set to ''sale original'', no money is transferred. (collected at v0.7 R4) 
 +#br 
 + 
 +*** 注意 [#d84771e2] 
 +- MoneyServer.ini と include/config.php (またはXoopenSim/Modlos) の Helper Script用のキーは必ず同じものを指定すること. 
 + 
 +- %%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 
 + 
 +*** Trouble Shooting [#wa240b75] 
 +**** mono 4.4.0 にしたら,エラー続出 (0.9) [#kebad74d] 
 + 2016-03-31 17:02:39,845 ERROR (Threadpool worker) - OpenSim.Framework.Servers.HttpServer.Bas​eHttpServer [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.CreateNewC​ontext (Boolean isSecured, System.Net.IPEndPoint endPoint, System.IO.Stream stream, System.Net.Sockets.Socket sock) <0x418d2540 + 0x00063> in <filename unknown>:0 
 +  at HttpServer.HttpContextFactory.CreateCont​ext (Boolean isSecured, System.Net.IPEndPoint endPoint, System.IO.Stream stream,  System.Net.Sockets.Socket sock) <0x418d2000 + 0x001f9> in <filename unknown>:0 
 +  at HttpServer.HttpContextFactory.CreateCont​ext (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 
 + 
 +**** RunTime Error (0.8) [#t84737c5] 
 +- Missing method .ctor in assembly /usr/local/opensim/bin/OpenSim.Framework​.Console.dll, type System.Runtime.Versioning.TargetFramewor​kAttribute 
 +-- Please use ''--runtime=v4.0'' option 
 + mono --runtime=v4.0 MoneyServer.exe 
 +#br
-- OpenSim.ini +**** Viewer での接続の途中で止まる (0.8) [#b411eb98
- [Economy+- コンパイルするディレクトリ名を変えたら,マネーサーバへの接続で途中停止した. 
-   SellEnabled = "true" +- ディレクトリ名を元に戻してコンパイルしたら,直った???? 
-   CurrencyServer = "https://(MoneyServer's FQDN):8008/" +#br
-   EconomyModule  = DTLMoneyModule+
-*** Attention [#d84771e2+*** [[Development>./Devel]] [#rfbac1de
-- Not use 127.0.0.1 for UserServer's IP address at OpenSim.ini+- [[DB>./DB]] 
-- OpenSim.ini 中の UserServer のアドレスは localhost (127.0.0.1) を使用しないこと.(ユーザのアカウント識別に利用されるため)+#br
-~ +*** Indexes [#l1c0126a] 
-~+#ls2 
 +#br


トップ   新規 ページ一覧 単語検索 最終更新   ヘルプ   最終更新のRSS 1.0 最終更新のRSS 2.0 最終更新のRSS Atom

サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2024年 3月翌月
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
<今日>

オンライン状況

59 人のユーザが現在オンラインです。 (6 人のユーザが xpwiki を参照しています。)

登録ユーザ: 0
ゲスト: 59

もっと...

アクセスカウンタ

今日 : 2333233323332333
昨日 : 6869686968696869
総計 : 2317661623176616231766162317661623176616231766162317661623176616
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com