flagflag  
35: 2011-05-05 (Thu) 00:53:52 iseki source Cur: 2020-04-11 (Sat) 17:45:43 admin source
Line 1: Line 1:
-** Money Server (Original DTL Currency)[#kcf82c38]+* DTL/NSL Money Server for OpenSim [#se1ad59b]
-*** Links [#c33fad55]+** Overview [#vaa53e04] 
 +- Latest Stable Version is ''0.9.1'' (for OpenSim 0.9.1) 
 +- Latest subversion repository is for 0.9.2Dev
-- Project: http://forge.opensimulator.org/gf/project/currency+- This Money Server is modified from [[DTL Currency>./DTL Currency Processing]] and modified for Unix/Linux (It might work in MS Windows). 
-- Source Code: svn co http://forge.opensimulator.org/svn/currency/trunk  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.x, 0.8.x, 0.9.x 
 +- Web Monitor function (ASP.NET) is removed from original DTL Currency. 
 +- [[Client Certification>./Client Certification]] is available. 
 +- This does not support that sell/buy the group shared object. 
 +- ''Please use this at Your Own Risk!!'' 
 + 
 +- ''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!!''};
-- Reference: OMC(Open Metaverse Currency): https://www.virwox.com/omc-open-metavers​e-currency.php 
#br #br
-** Our Modified Version (NSL Version) [#p25d4949+*** Supported Functions [#y5e3e741
-- Latest Version is 0.7 r4 +- [[See Here>./Functions]] 
-- This Money Server is modified version of DTL Currency Processing for Linux/Unix. As for this, some bug fixes are done. And this can be operated by OpenSim 0.6.7, 0.6.8, 0.6.9, 0.7.0.x and 0.7.1Dev +- [[Client Certification>./Client Certification]] for 0.9.x
-- But, WEB Monitor function (ASP.NET) is removed from original DTL Currency. +
-- ''Please use this at your own risk!!''+
#br #br
-*** Change Log[#z6c98d59+*** Change Log [#r7a89e03
-**** v0.7 [#lf039967] +- [[ChangeLog>./ChangeLog]]
-- 0.7_3 -> 0.7_4 +
--- Support of Banker Avatar +
--- The sales bug of the original object is corrected. +
-- 0.7_2 -> 0.7_3 +
--- Enable self money transfer. +
-- 0.7_1 -> 0.7_2 +
--- Add new mode that is to work llGiveMoney() function normally even if payer doesn't login to Opensim, +
-- 0.7 -> 0.7_1 Bug Fix +
--- llGiveMoney() is work now. But llGiveMoney() works only when the payer is logging in. +
--- PID File is created now (by skidz)+
#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 [#u2d15064] +** Download of DTL/NSL Money Server[#u2d15064] 
-- for 0.7 / 0.7.0.1 / 0.7.0.2 +*** tar Ball [#v661c160] 
--- http://www.nsl.tuis.ac.jp/xoops/modules/​d3downloads/index.php?page=singlefile&ci​d=8&lid=15 +- 0.9.1_1 for OpenSim-0.9.1 
-- for 0.6.9 +-- http://www.nsl.tuis.ac.jp/xoops/modules/​d3downloads/index.php?page=singlefile&ci​d=8&lid=55 
--- http://www.nsl.tuis.ac.jp/xoops/modules/d3downloads​/index.php?page=singlefile&cid=8&lid=14 ​+- [[more old version...>./old_version]] 
-- for 0.6.8 +#br
--- http://www.nsl.tuis.ac.jp/xoops/modules/​d3downloads/index.php?page=singlefile&ci​d=8&lid=12 +
-- for 0.6.+
--- http://www.nsl.tuis.ac.jp/xoops/modules/d3downloads/index.php?page​=singlefile&cid=8&lid=7+
-- for latest dev version (0.7.1Dev+*** Subversion [#nd5f9697] 
- svn co http://www.nsl.tuis.ac.jp/svn/opensim/op​ensim.currency/trunk opensim.currency+- 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] +** Compile and Install [#uc427419] 
-- 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
- 
 cd ../bin  cd ../bin
 vi MoneyServer.ini  vi MoneyServer.ini
-- for latest OpenSim +*** for latest Dev Version [#g778de33]
- cd (PREFIX)/opensim +
- svn co http://www.nsl.tuis.ac.jp/svn/opensim/op​ensim.currency/trunk opensim.currency +
- patch -p1 < opensim.currency/opensim_currency_latest​.patch +
- ./runprebuild.sh && nant clean && nant+
 +**** 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
 + ./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 
 +**** 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
-*** Setting of MoneyServer.ini [#y846e1a1]+*** 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%%
-**** [Startup] [#oe72f58c] +#br
-- PIDFile : Specify PID file +
-**** [MySql] [#q34d26f9] +
-- hostname : MySQL server's FQDN or IP address +
-- database : DB name of MySQL +
-- username : user name of MySQL +
-- password : password of MySQL user +
-- pooling  : MySQL pooling? +
-- port : MySQL communication port +
-- MaxConnection: Max connection number to DB.+
-**** [MoneyServer] [#kb5749c2+** Settings [#v70b9150] 
-- DefaultBalance : Initial money that new avatar has. +*** Tutorial Videos by Nick Zwart [#d2def937
-- enableForceTransfer : If this is true, llGiveMoney() function works normally even if payer doesn't login to Opensim. default is false +- http://www.slartist.com/part-6-1of2-how-to-setup-nsldtl-money-server-opensim-081_0​6ac8339d.html 
-- BankerAvatar: UUID of Banker Avatar. Banker Avatar can buy money from system with no cost. If 00000000-0000-0000-0000-000000000000 is specified, all Avatars are Banker Avatar.+- http://www.slartist.com/part-6-2of2-how-to-setup-nsldtl-money-server-opensim-081​_6a17c8c97.html 
 +- Thanks!!
#br #br
-*** Setting of Region Server (OpenSim.ini) [#d9a146c0+*** MoneyServer.ini [#a07c8101
-- OpenSim.ini +- [[MoneyServer.ini&gt;./MoneyServer.ini]]
-&nbsp;[Economy] +
-   SellEnabled = "true" +
-   UserServer = "http://(UserServer's FQDN or IP address):8002/"      ;; not use localhost or 127.0.0.1 +
-   CurrencyServer = "https://(MoneyServer's FQDN or IP address):8008/" ;; not use localhost or 127.0.0.1 +
-   EconomyModule  = DTLMoneyModule+
#br #br
-*** Support of StandAlone mode for v0.7 [#nf42a9ad+*** [Economy] Section in INI file [#d9a146c0
-- You can not use Currency Server with SQLite. +- [[OpenSim.ini>./OpenSim.ini]] 
-- If you want to execute Currency Server with  StandAlone mode, you should use MySQL DB.+#br
--- OpenSim.ini +*** Avatar Class [#u3faa13b
- [Startup+- マネーサーバにおけるアバターの取り扱いを定義するためのクラス 
- .......................... +- ''ForeignAvatar'', ''HGAvatar'', ''GuestAvatar'', ''LocalAvatar''
- ; --- Null stores nothing - effectively disabling persistence: +
- ;storage_plugin = "OpenSim.Data.Null.dll" +
- .......................... +
- ;storage_plugin = "OpenSim.Data.SQLite.dll" +
- ;storage_plugin = "OpenSim.Data.SQLiteLegacy.dll" +
- ;storage_connection_string="URI=file:OpenSim.db,version=3"; +
- .......................... +
- storage_plugin="OpenSim.Data.MySQL.dll" +
- storage_connection_string="Data Source=localhost;Database=db_name;User ID=db_id;Password=db_password;"+
--- StandaloneCommon.ini +#br
- [DatabaseService] +
- .......................... +
- ; SQLite +
- ;Include-Storage = "config-include/storage/SQLiteStandalone.​ini"; +
- .......................... +
- ; MySql +
- ; Uncomment these lines if you want to use mysql storage +
- ; Change the connection string to your db details +
- StorageProvider = "OpenSim.Data.MySQL.dll" +
- ConnectionString = "Data Source=localhost;Database=db_name;User ID=db_id;Password=db_password;"+
 +**** for Region Server [#p411b009]
 +- Regionサーバ毎に HG Avatar をどう取り扱うか指定できる.
 +- OpenSim.ini の [Economy] セクションの ''HGAvatarAs'' で指定する
 +- ''ForeignAvatar'', ''HGAvatar'', ''GuestAvatar'', ''LocalAvatar'' が指定可能.デフォルトは ''HGAvatar''
 +#br
--- And you should change ''[GridService]'' section at ''bin/config-include/StandaloneCommon.ini''. +**** for MoneyServer [#eaa618e9] 
--- Please enable ''StorageProvider = "OpenSim.Data.MySQL.dll:MySqlRegionData"'' line. +- Region毎に決めた HGAvatar の取り扱い(Avatar Class: ''HGAvatar'', ''GuestAvatar'')に対してのマネーサーバ側の挙動を指定できる 
- [GridService] +- マネーサーバの MoneyServer.ini で指定する. 
- ;; For in-memory region storage (default) +- ''LocalAvatar'' に対しては何時でも true (マネーサーバの使用可) 
- ; StorageProvider = "OpenSim.Data.Null.dll:NullRegionData" +- ''ForeignAvatar'' に対しては何時でも false (マネーサーバの使用不可)
- ;;--- For MySql region storage (alternative) +
- StorageProvider = "OpenSim.Data.MySQL.dll:MySqlRegionData"+
 + ; for HG/Guest Avatar. Foreign Avatar is always false
 + ;EnableHGAvatar = false
 + ;EnableGuestAvatar = false
 + ;HGAvatarDefaultBalance = 0
 + ;GuestAvatarDefaultBalance = 0
 +#br
--- In addition, please chage [PresenceService]section at ''bin/config-include/Standalone.ini'', too. +*** Helper Scripts [#m58a560d] 
--- Please add ''StorageProvider = "OpenSim.Data.MySQL.dll:MySqlRegionData"''. +- If you use functions that ''Buy Money from System'', ''Buy Land'' and ''send_money'', you should set up Helper Scripts
-&nbsp;[PresenceService] +- If you use %%XoopenSim or%% [[Modlos&gt;Modlos (E)]], you may not do setting Helper Script. Because XoopenSim/Modlos sets up it by automatically. 
-   LocalServiceModule = "OpenSim.Services.PresenceService.dll:PresenceService" +- Helper Scripts work with ''PHP-7.x'' 
-&nbsp;   ;;StorageProvider = "OpenSim.Data.Null.dll" +- [[Setup Manual of Helper Scripts is here&gt;./Helper Script]] 
-   StorageProvider = "OpenSim.Data.MySQL.dll"+#br
 +*** Setting for Diva-Distro [#x02c26fc]
 +- [[0.7.2>./Diva-0.7.2]]
#br #br
-*** Setup helper script [#yd4f306d+** Execution [#h4610b84
-- If you do not use [[XoopenSim>XoopenSim (E)]] or [[Modlos>Modlos (E)]] (WEB Interface), you should setup helper scripts by manual. +- Execute MoneyServer after Robust.exe and before OpenSim.exe
-- If you use [[XoopenSim>XoopenSim (E)]] or [[Modlos>Modlos (E)]], this function is setup by automatically. +
-- You need ''Web Server (ex. Apache) and PHP5 (include PHP5-XMLRPC, PHP5-CURL)'' +
-- Please copy Scripts/* to any WEB contents directory, and edit ENV_HELPER_URL, ENV_HELPER_PATH and DB information  in include/config.php+
- ex.) + # cd bin 
- mkdir (Document Root of WEB)/currency + # mono Robust.exe 
- cp -R Scripts/* (Document Root of WEB)/currency + # mono MoneyServer.exe 
- cd (Document Root of WEB)/currency + # mono OpenSim.exe 
- chown -R apache.apache +#br
- vi include/config.php+
-- Please execute viewer with "-helperuri [ENV_HELPER_URL/]" option. (ex. -loginuri http://localhost/currency/helper/ )  [''need last '/' ''] +** opensim.currecncy.secure [#ebe5d69d] 
-- Here, ENV_HELPER_URL is ''helper'' directory url  that is set in include/config.php. +- クライアント認証が可能 [[Client Certification>./Client Certification]
-- If you use 3rd party viewer (ex. Hippo, Meerkat or Imprudence etc.), you should use ''Grid Manager'' instead of "-helperuri" option.+- クライアント認証機能付き 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/opensim.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 #br
*** Bugs [#x4fae068] *** Bugs [#x4fae068]
-- %%When object is set to ''sale original'', no money is transferred.%% (collected at v0.7 r4) +- 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) 
-- 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.+#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 #br
*** Attention [#d84771e2] *** Attention [#d84771e2]
--  +-  
- Not use 127.0.0.1 for UserServer's IP address 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) 
 +-  
 + %%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.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
-- [ja]0.6.9で,[Network] セクションの ''user_server_url'' が無くなったため,代わりに [Economy]セクションで ''UserServer'' を指定するように変更.[/ja] +*** Trouble Shooting [#wa240b75] 
-in 0.6.7 - 0.6.8, UserServer is setted as ''user_server_url'' at [Network] section. +**** mono 4.4.0 にしたら,エラー続出 (0.9) [#kebad74d] 
-[en]- in 0.6.9 - 0.7, UserServer is setted as ''UserServer'' at [Economy] section.[/en]+ 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.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 
 + 
 +**** 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 #br
*** [[Development>./Devel]] [#rfbac1de] *** [[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

95 user(s) are online (32 user(s) are browsing xpwiki)

Members: 0
Guests: 95

more...

Access Counter

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