flagflag  
51: 2011-09-10 (Sat) 03:43:57 iseki source Cur: 2020-04-11 (Sat) 17:45:43 admin source
Line 1: Line 1:
-日本人のユーザがほとんどいないので(下手な)英語版のみです.リクエストがあれば日本語でも書きます. +* DTL/NSL Money Server for OpenSim [#se1ad59b]
-** Original DTL Currency Processing [#kcf82c38]+
-*** 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] +
- +
-- Latest Stable Version is 0.7.1 R2 (for OpenSim 0.7.1.x) +
-- 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.6.9, 0.7.0.x, 0.7.1.x and 0.7.2Dev+- 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
-**** 0.7.2 for OpenSim 0.7.2 Dev (Working now) [#v4b07a6e+- [[See Here>./Functions]
-- 0.7.2_Dev +- [[Client Certification>./Client Certification]] for 0.9.x
--- no patch +
--- correct send_money script bug. +
--- add BalanceMessageScvLandSale message +
--- merge with Aurora-Sim+
#br #br
-**** v0.7.1 for OpenSim 0.7.1.x [#rdb89803] +*** Change Log [#r7a89e03
-- 0.7.1 R2 +- [[ChangeLog>./ChangeLog]]
--- 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
*** Forum [#c90988f3] *** Forum [#c90988f3]
- 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
 +*** [[Client Certification>./Client Certification]] [#k58c70f3]
#br #br
-*** Download of DTL/NSL Money Server[#u2d15064] +** Download of DTL/NSL Money Server[#u2d15064] 
-**** for OpenSim [#x2bf1cc1+*** tar Ball [#v661c160
-- for 0.7.1 / 0.7.1.1 +- 0.9.1_1 for OpenSim-0.9.1 
--- http://www.nsl.tuis.ac.jp/xoops/modules/​d3downloads/index.php?page=singlefile&ci​d=8&lid=24 +-- http://www.nsl.tuis.ac.jp/xoops/modules/​d3downloads/index.php?page=singlefile&ci​d=8&lid=55
- +
-- for latest dev version (for 0.7.2Dev) +
--- svn co http://www.nsl.tuis.ac.jp/svn/opensim/op​ensim.currency/trunk opensim.currency +
- [[more old version...>./old_version]] - [[more old version...>./old_version]]
- 
-#br 
-**** for Aurora-Sim [#cd3c0906] 
-- for latest Aurora-Sim (for 0.4.3Dev) This is beta version 
--- svn co http://www.nsl.tuis.ac.jp/svn/opensim/op​ensim.currency/branches/aurora aurora.currency 
#br #br
-*** Special Download [#e4deb0ba+*** Subversion [#nd5f9697
-- OpenSim 0.7.1.1 Binary with Money Server Patch by ''Adam Farrugia'' +- latest dev version (for OpenSim-0.9.2Dev) 
--- http://www.fdn.uq.edu.au/opensim/opensim-0.7.1.1-patched.zip +-- svn co http://www.nsl.tuis.ac.jp/svn/opensim/opensim.currency/trunk opensim.currency 
--- please see [[this forum>http://www.nsl.tuis.ac.jp/xoops/modules/d3forum/ind​ex.php?topic_id=55]]+- &font(#c01010){''Attention''}; 
 +-- This uses HTTP/DAV, therefore your subversion needs to include Neon module.
#br #br
-*** Compile and Install [#uc427419] +** Compile and Install [#uc427419] 
-**** OpenSim [#vaa8ebdd] + 
-- for release version+*** 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
Line 90: Line 59:
 vi MoneyServer.ini  vi MoneyServer.ini
-- for latest dev version (Patch was abolished at 0.7.2Dev+*** for latest Dev Version [#g778de33] 
- cd (PREFIX)/opensim+ 
 +**** No Client Certification or Money Module (OpenSim.Modules.Currency.dll) only [#r08f46e7] 
 + 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  svn co http://www.nsl.tuis.ac.jp/svn/opensim/op​ensim.currency/trunk opensim.currency
- ./runprebuild.sh && nant clean && nant+ ./runprebuild.sh && xbuild
 cd opensim.currency  cd opensim.currency
 ./build.sh  ./build.sh
 cd ../bin  cd ../bin
- vi MoneyServer.ini       (modify [MySql] section) + vi MoneyServer.ini 
- +#br 
-**** [[Aurora-Sim]] [#tab1b7e6+**** Money Server (MoneyServer.exe) with Client Certification function [#n1a3992f
-- for latest dev version (0.4.3Dev) + git clone git://opensimulator.org/git/opensim opensim 
- cd (PREFIX)/aurora + cd opensim 
- svn co http://www.nsl.tuis.ac.jp/svn/opensim/op​ensim.currency/branches/aurora aurora.currency + svn co http://www.nsl.tuis.ac.jp/svn/opensim/op​ensim.currency/trunk opensim.currency 
- patch -p1 < aurora.currency/aurora_currency_latest.patch+  
 + patch -p1 < opensim.currency/patch/ opensim.server.patch
 ./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 
 +#br
-*** Settings [#v70b9150] +*** HttpServer_OpenSim.dll [#j70b6819
-**** [[MoneyServer.ini>./MoneyServer.ini]] (OpenSim/Aurora-Sim) [#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.pat​ch %%
 +-- %%  xbuild /p:Configuration=Release%%
-**** Setting of Region Server (OpenSim.ini) for OpenSim [#d9a146c0]+#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]] - [[OpenSim.ini>./OpenSim.ini]]
#br #br
-**** Setting of Region Server (Economy.ini) for Aurora-Sim [#g2fdee33+*** Avatar Class [#u3faa13b
-- [[Configuration/Modules/Economy.ini>./Ec​onomy.ini]]+- マネーサーバにおけるアバターの取り扱いを定義するためのクラス 
 +- ''ForeignAvatar'', ''HGAvatar'', ''GuestAvatar'', ''LocalAvatar'' 
#br #br
-**** [[Helper Scripts&gt;./Helper Script]]  (OpenSim/Aurora-Sim) [#yd4f306d]+**** 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 (マネーサーバの使用不可) 
 + 
 +&nbsp;; 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-7.x''
- [[Setup Manual of Helper Scripts is here>./Helper Script]] - [[Setup Manual of Helper Scripts is here>./Helper Script]]
#br #br
-*** send_money() function in Helper Scripts [#p51201fb+*** Setting for Diva-Distro [#x02c26fc] 
-- [[send_money() PHP function>./send_money]]+- [[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 #br
*** Support of StandAlone mode [#nf42a9ad] *** Support of StandAlone mode [#nf42a9ad]
-- OpenSim +- [[OpenSim-0.7.x>./standalone_0.7]]
--- [[for v0.7.1>./standalone_0.7.1]] +
--- [[for v0.7>./standalone_0.7]]+
#br #br
*** Bugs [#x4fae068] *** Bugs [#x4fae068]
-**** OpenSim [#ibab8dc3]+- 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 - 0.7.1 R2
 +-- send_money() of helper script is failed, when the ''secretCode'' argument is omitted.
- 0.7.1 R1 - 0.7.1 R1
-- The script money() (money event) does not work.  (It is corrected at R2) -- The script money() (money event) does not work.  (It is corrected at R2)
Line 149: Line 200:
- 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
*** Attention [#d84771e2] *** Attention [#d84771e2]
--  
- Not use 127.0.0.1 for ''UserServer'' and ''CurrencyServer'' at OpenSim.ini. This IP Address is used for identification of user on Money Server. 
- -
Specify same ''Secret Key of Helper Script'' in MoneyServer.ini and include/config.php (or XoopenSim/Modlos) Specify same ''Secret Key of Helper Script'' in MoneyServer.ini and include/config.php (or XoopenSim/Modlos)
--  +-  
-in 0.6.7 - 0.6.8, ''UserServer'' is setted as ''user_server_url'' at [Network] section. + %%Not use 127.0.0.1 for ''UserServer'' and ''CurrencyServer'' at OpenSim.ini. This IP Address is used for identification of user on Money Server.%% 
-- in 0.6.9 - 0.7, ''UserServer'' is setted as ''UserServer'' at [Economy] section.+-  
 +%%in 0.6.7 - 0.6.8, ''UserServer'' is setted as ''user_server_url'' at [Network] section.%% 
 +- %%in 0.6.9 - 0.7, ''UserServer'' is setted as ''UserServer'' at [Economy] section.%%  UserServer is not refered now
#br #br
-*** [[Development&gt;./Devel]] [#rfbac1de]+*** Trouble Shooting [#wa240b75] 
 +**** mono 4.4.0 にしたら,エラー続出 (0.9) [#kebad74d] 
 +&nbsp;2016-03-31 17:02:39,845 ERROR (Threadpool worker) - OpenSim.Framework.Servers.HttpServer.BaseHttpSer​ver [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 #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.TargetFramewor​kAttribute 
 +-- 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


Front page   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthApr 2024Next Month
Su Mo Tu We Th Fr Sa
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
Today

Who's Online

85 user(s) are online (9 user(s) are browsing xpwiki)

Members: 0
Guests: 85

more...

Access Counter

Today : 657657657
Yesterday : 2042920429204292042920429
Total : 2338006323380063233800632338006323380063233800632338006323380063
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com