#author("2023-12-30T11:20:45+00:00","default:iseki","iseki")
#author("2023-12-30T11:20:56+00:00","default:iseki","iseki")
*** DTL/NSL Money Server for Diva Distro 0.7.2 [#n6af16b0]

**** Setup Diva-Distro 0.7.2 [#o4a14e88]
- download from https://github.com/diva/d2/downloads
- Set up with MySQL


**** Down Load DTL/NSL Money Server v0.7.2 [#m255224a]
- http://www.nsl.tuis.ac.jp/xoops/modules/d3downloads/index.php?page=singlefile&cid=8&lid=26

**** Unpack MoneyServer and copy files to diva bin directory [#d0563a25]
- copied files
-- bin\MoneyServer.exe
-- bin\OpenSim.Data.MySQL.MySQLMoneyDataWrapper.dll
-- bin\OpenSim.Forge.Currency.dll
-- config\MoneyServer.exe.config
-- config\MoneyServer.ini
-- config\SineWaveCert.pfx

**** Edit bin\MoneyServer.ini [#sef2be30]
- Change information of connection to MySQL DB
- Example
 [MySql]
 ;
 ;Connection parameters of MySQL
 hostname = localhost
 database = diva_distro
 username = diva_user
 password = diva_pass
 pooling  = false
 port = 3306
- Set other options.


**** Edit bin\OpenSim.ini [#tbc1186d]
- Change [Economy] section
- Example
 [Economy]
    SellEnabled = "true"
    UserServer = "http://172.22.1.79:9000/"       ;; not use localhost or 127.0.0.1
    CurrencyServer = "https://172.22.1.79:8008/"  ;; not use localhost or 127.0.0.1
    EconomyModule  = DTLNSLMoneyModule
 
    ;; Money Unit fee to upload textures, animations etc
    PriceUpload = 30
    ;; Money Unit fee to create groups
    PriceGroupCreate = 200

**** Execute Web Server and copy scripts to Web Server [#t3b31709]
- Execute Web Server with PHP module

- Copy ''Scripts'' folder of MoneyServer to Web Server
- %%If you use OS that does not support symbolic link (ex. Windows XP), please use http://www.nsl.tuis.ac.jp/DownLoad/SoftWare/OpenSim/opensim_scripts-0.7.2.tgz %%



**** Setup Helper Scripts [#v6894224]
- Edit include/config.php
- Example 
 // Please set this hepler script URL and directory
 if (!defined('ENV_HELPER_URL'))  define('ENV_HELPER_URL',  'http://172.22.1.79/opensim_scripts/helper/');
 if (!defined('ENV_HELPER_PATH')) define('ENV_HELPER_PATH', '/home/apache/htdocs/opensim_scripts/helper/');
 
 // Please set MySQL DB access information
 define('OPENSIM_DB_HOST', '172.22.1.79');
 define('OPENSIM_DB_NAME', 'diva_distro');
 define('OPENSIM_DB_USER', 'diva_user');
 define('OPENSIM_DB_PASS', 'diva_pass'); 
  
 // Money Server Access Key
 // Please set same key with MoneyScriptAccessKey in MoneyServer.ini
 define('CURRENCY_SCRIPT_KEY', '123456789');
 
 // Please set user(robust) server's URL
 define('USER_SERVER_URI', 'http://172.22.1.79:9000/');  // not use localhost or 127.0.0.1




**** Execute Viewer with -helperurl option [#y5497d7e]
- Please execute viewer with "-helperuri [ENV_HELPER_URL/]" option. 
- ex. -helperurl http://172.22.1.79/opensim_scripts/helper/  [need last '/' ]
 


**** First Time of Execution [#e94874e6]
+ Execute OpenSim.exe
+ Execute MoneyServer.exe

- If you see error message of ''handleGetBalance''
-- Try buy Money. This becomes an error. But DB is created.
-- And try re-login. 

*** Trouble Shooting [#if1bfa83]
**** When login, http session is disconnected. [#v821c900]
+ Check ''Internet Option''
+ If you use Proxy Server, do not use it.


**** When first login, you see error message of ''handleGetBalance'' [#kbe419cc]
+ Try buy Money. This becomes an error. But DB is created.
+ And try re-login.

#br

トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 ページ一覧 検索 最終更新   ヘルプ   最終更新のRSS