DTL/NSL Money Server for Diva Distro 0.7.2 
Setup Diva-Distro 0.7.2 
- download from https://github.com/diva/d2/downloads
- Set up with MySQL
Unpack MoneyServer and copy files to diva bin directory 
- 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 
- 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 
- 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 
- 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 
- 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 
- 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 
- 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.
Counter: 5364,
today: 2,
yesterday: 2
最終更新: 2013-04-25 (木) 09:38:32 (JST) (4383d) by iseki