flagflag  If you want to see English page, please click "English" Button at Left.
35: 2011-05-05 (木) 00:53:52 iseki ソース 36: 2011-05-06 (金) 14:55:42 admin ソース
Line 1: Line 1:
-** Money Server (Original DTL Currency)[#kcf82c38]+** Original DTL Currency Server [#kcf82c38]
*** Links [#c33fad55] *** Links [#c33fad55]
Line 9: Line 9:
#br #br
-** Our Modified Version (NSL Version) [#p25d4949] +** DTL/NSL Money Server (Our Modified Version) [#p25d4949] 
-- Latest Version is 0.7 r4 +- Latest Version is 0.7.1 r1 (coming soon!!) 
-- 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+- This Money Server is modified version of DTL Currency Processing for Linux/Unix. As for this, some bug fixes are done and functions are extended. And this can be operated by OpenSim 0.6.7-0.6.9, 0.7.0.x, 0.7.1 and 0.7.2Dev
- But, WEB Monitor function (ASP.NET) is removed from original DTL Currency. - But, WEB Monitor function (ASP.NET) is removed from original DTL Currency.
-- ''Please use this at your own risk!!''+- ''Please use this at Your Own Risk!!''
#br #br
*** Change Log[#z6c98d59] *** Change Log[#z6c98d59]
 +**** v0.7.1 [#rdb89803]
 +- 0.7.1 r1
 +-- Money can be sent to any avatars.
 +-- Upload charge and Group Create charge are available.
 +-- Update Balance Message is changed.
 +-- Minimum patch for source code (In the future, the patch disappears).
 +
**** v0.7 [#lf039967] **** v0.7 [#lf039967]
- 0.7_3 -> 0.7_4 - 0.7_3 -> 0.7_4
Line 29: Line 36:
-- PID File is created now (by skidz) -- 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
Line 34: Line 42:
*** Download [#u2d15064] *** Download [#u2d15064]
 +- for 0.7.1
 +-- It is testing now. coming soon.
- for 0.7 / 0.7.0.1 / 0.7.0.2 - for 0.7 / 0.7.0.1 / 0.7.0.2
-- http://www.nsl.tuis.ac.jp/xoops/modules/​d3downloads/index.php?page=singlefile&ci​d=8&lid=15 -- http://www.nsl.tuis.ac.jp/xoops/modules/​d3downloads/index.php?page=singlefile&ci​d=8&lid=15
Line 74: Line 84:
**** [Startup] [#oe72f58c] **** [Startup] [#oe72f58c]
-- PIDFile : Specify PID file+- ''PIDFile'' : Specify PID file 
**** [MySql] [#q34d26f9] **** [MySql] [#q34d26f9]
-- hostname : MySQL server's FQDN or IP address +- ''hostname'' : MySQL server's FQDN or IP address 
-- database : DB name of MySQL +- ''database'' : DB name of MySQL 
-- username : user name of MySQL +- ''username'' : user name of MySQL 
-- password : password of MySQL user +- ''password'' : password of MySQL user 
-- pooling  : MySQL pooling? +- ''pooling'' : MySQL pooling? 
-- port : MySQL communication port +- ''port'' : MySQL communication port 
-- MaxConnection: Max connection number to DB.+- ''MaxConnection'' : Max connection number to DB.
**** [MoneyServer] [#kb5749c2] **** [MoneyServer] [#kb5749c2]
-- DefaultBalance : Initial money that new avatar has. +- ''DefaultBalance'' : Initial money that new avatar has. 
-- enableForceTransfer : If this is true, llGiveMoney() function works normally even if payer doesn't login to Opensim. default is false +- ''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. 
-- 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.+- ''enableForceTransfer'' : If this is true, llGiveMoney() function works normally even if payer doesn't login to Opensim. default is false 
 +- ''MoneyScriptAccessKey'' : Secret key of Helper Script. Specify same key in Scripts/include/config.php or WI(XoopenSim/Modlos) 
 +- ''MoneyScriptIPaddress'' : IP address of server that Helper Script execute at. Not use 127.0.0.1 
 +#br 
 + 
 +*** Setting of Helper Script [#yd4f306d] 
 + 
 +- If you do not use [[XoopenSim>XoopenSim (E)]] or [[Modlos>Modlos (E)]] (Web Interface), you should setup helper scripts by manual. 
 +- 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 
 + 
 +- command ex.: 
 + mkdir (Document Root of WEB)/currency 
 + cp -R Scripts/* (Document Root of Web)/currency 
 + cd (Document Root of Web)/currency 
 + chown -R apache.apache . 
 + vi include/config.php 
 + 
 +- include/cpnfig.php: 
 + // URL of Helper Script 
 + if (!defined('ENV_HELPER_URL'))  define('ENV_HELPER_URL',  'http://202.26.159.139/currency/helper')​; 
 + // Path of Helper Script 
 + if (!defined('ENV_HELPER_PATH')) define('ENV_HELPER_PATH', '/home/apache/htdocs/currency/helper/');​ 
 + 
 + define('OPENSIM_DB_HOST',    'localhost');                  // FQDN or IP addess of MySQL DB server 
 + define('OPENSIM_DB_NAME',    'opensim_db');                // DB name of MySSQL 
 + define('OPENSIM_DB_USER',    'opensim_user');              // User ID of DB 
 + define('OPENSIM_DB_PASS',    'opensim_pass');              // Password of DB 
 + 
 + define('CURRENCY_SCRIPT_KEY', '123456789');                  // Secret key of Helper Script 
 + define('USER_SERVER_URI',    'http://202.26.159.214:8002'); // URL of User Server. Not use localhost or 127.0.0.1 
 + 
 +- Please execute viewer with "-helperuri [ENV_HELPER_URL/]" option. (ex. -loginuri http://localhost/currency/helper/ )  [''need last '/' ''] 
 +- Here, ENV_HELPER_URL is ''helper'' directory url  that is set in include/config.php. 
 +- If you use 3rd party viewer (ex. Hippo, Meerkat or Imprudence etc.), you should use ''Grid Manager'' instead of "-helperuri" option. 
#br #br
Line 94: Line 141:
 [Economy]  [Economy]
   SellEnabled = "true"    SellEnabled = "true"
-   UserServer = "http://(UserServer's FQDN or IP address):8002/"       ;; not use localhost or 127.0.0.1 +   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+   CurrencyServer = "https://(MoneyServer's FQDN or IP address):8008/" ;; not use localhost or 127.0.0.1
   EconomyModule  = DTLMoneyModule    EconomyModule  = DTLMoneyModule
-#br 
-*** Support of StandAlone mode for v0.7 [#nf42a9ad] +   ;; Money Unit fee to upload textures, animations etc 
-- You can not use Currency Server with SQLite. +   PriceUpload = 30
-- If you want to execute Currency Server with  StandAlone mode, you should use MySQL DB.+
--- OpenSim.ini +    ;; Money Unit fee to create groups 
- [Startup] +    PriceGroupCreate = 200
- ;.......................... +
- ;; --- 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;"+
 +** send_money() function at Helper Script [#p51201fb]
 +- You can send money to any avatars by ''send_money()'' function in Helper Script.
 +- To use this function, you should set same script key at ''include/config.php (CURRENCY_SCRIPT_KEY)'' and ''MoneyServer.ini (MoneyScriptAccessKey)''.
 +- If you use WI(XoopenSim/Modlos). Script key is ''Money Script Access key''.
 +- Everyone that can execute send_money script can send money to any avatars, so please set access control for this script neatly.
--- And you should change ''[GridService]'' section at ''bin/config-include/StandaloneCommon.in​i''. +- Sample Script 
--- Please enable ''StorageProvider = "OpenSim.Data.MySQL.dll:MySqlRegionData"'' line. + <?php 
- [GridService] + require_once('include/env_interface.php')
- ;; For in-memory region storage (default) + require_once('helper/helpers.php');
- ; StorageProvider = "OpenSim.Data.Null.dll:NullRegionData" +
- ;;--- For MySql region storage (alternative) +
- StorageProvider = "OpenSim.Data.MySQL.dll:MySqlRegionData" +
- +
- +
--- In addition, please chage [PresenceService]section at ''bin/config-include/Standalone.ini'', too. +
--- Please add ''StorageProvider = "OpenSim.Data.MySQL.dll:MySqlRegionData"''. +
- ;[PresenceService] +
-    LocalServiceModule = "OpenSim.Services.PresenceService.dll:PresenceSer​vice" +
- ;   ;;StorageProvider = "OpenSim.Data.Null.dll" +
-   StorageProvider = "OpenSim.Data.MySQL.dll"+
 + send_money("f68be2b2-8229-4b7b-a21a-3f253441cd2d", 100);
 + ?>
#br #br
-*** Setup helper script [#yd4f306d+*** Support of StandAlone mode [#nf42a9ad
-- If you do not use [[XoopenSim>XoopenSim (E)]] or [[Modlos>Modlos (E)]] (WEB Interface), you should setup helper scripts by manual. +- [[for v0.7.1>./standalone_0.7.1]] 
-- If you use [[XoopenSim>XoopenSim (E)]] or [[Modlos>Modlos (E)]], this function is setup by automatically. +- [[for v0.7>./standalone_0.7]]
-- 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.) +
- mkdir (Document Root of WEB)/currency +
- cp -R Scripts/* (Document Root of WEB)/currency +
- cd (Document Root of WEB)/currency +
- chown -R apache.apache . +
- vi include/config.php +
- +
-- Please execute viewer with "-helperuri [ENV_HELPER_URL/]" option. (ex. -loginuri http://localhost/currency/helper/ )  [''need last '/' ''] +
-- Here, ENV_HELPER_URL is ''helper'' directory url  that is set in include/config.php. +
-- If you use 3rd party viewer (ex. Hippo, Meerkat or Imprudence etc.), you should use ''Grid Manager'' instead of "-helperuri" option. +
#br #br
*** Bugs [#x4fae068] *** Bugs [#x4fae068]
-- %%When object is set to ''sale original'', no money is transferred.%% (collected at v0.7 r4) +- 0.7.1 r1 
-- 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.+-- Charge message of "Group Creation" displayed ''L$100'' at any time. 
 +- 0.7 r4 
 +-- %%When object is set to ''sale original'', no money is transferred.%% (collected at v0.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.
#br #br
*** 注意 [#d84771e2] *** 注意 [#d84771e2]
-- OpenSim.ini 中の UserServer のアドレスは localhost (127.0.0.1) を使用しないこと ( [Network] セクションの ''user_server_url'').これは,このIPアドレスが,Monet Server内でのユーザのアカウント識別に利用されるためである. +- 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用のキーは必ず同じものを指定すること. 
 +
- 0.6.9で,[Network] セクションの ''user_server_url'' が無くなったため,代わりに [Economy]セクションで ''UserServer'' を指定するように変更. - 0.6.9で,[Network] セクションの ''user_server_url'' が無くなったため,代わりに [Economy]セクションで ''UserServer'' を指定するように変更.
- + 
-+
#br #br


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

サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2024年 4月翌月
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
<今日>

オンライン状況

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

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

もっと...

アクセスカウンタ

今日 : 2494249424942494
昨日 : 8008800880088008
総計 : 2327813023278130232781302327813023278130232781302327813023278130
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com