flagflag  If you want to see English page, please click "English" Button at Left.
Page Top

Overview anchor.png

  • Latest Stable Version is 0.8.2 (for OpenSim 0.8.2)
  • Latest subversion repository is for 0.9.0Dev
  • This Money Server is modified from DTL Currency and modified for Unix/Linux (It might work in MS Windows).
  • 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
  • Web Monitor function (ASP.NET) is removed from original DTL Currency.
  • Client Certification is available.
  • This does not support that sell/buy the group shared object.
  • Please use this at Your Own Risk!!
  • About this project, Milo do a lot of advice and donation to us. Thank you very much!!
 
Page Top

Supported Functions anchor.png

Page Top

Change Log anchor.png

Page Top

Download of DTL/NSL Money Server anchor.png

Page Top

Subversion anchor.png

Page Top

Compile and Install anchor.png

Page Top

for Release Version (OpenSim-X.Y.Z) anchor.png

cd (PREFIX)/opensim-X.Y.Z-source  (or opensim-X.Y.Z-release)
tar xzfv opensim.currency-X.Y.Z.tar.gz
./runprebuild.sh && xbuild
cd opensim.currency-X.Y.Z
./build.sh
cd ../bin
vi MoneyServer.ini
Page Top

for latest Dev Version (OpenSim-0.8.x Dev) anchor.png

Page Top
No Client Certification or Money Module (OpenSim.Modules.Currency.dll) only anchor.png
git clone git://opensimulator.org/git/opensim opensim
cd opensim
svn co http://www.nsl.tuis.ac.jp/svn/opensim/opensim.currency/trunk opensim.currency
./runprebuild.sh && xbuild
cd opensim.currency
./build.sh
cd ../bin
vi MoneyServer.ini 
 
Page Top
Money Server (MoneyServer.exe) with Client Certification function anchor.png
git clone git://opensimulator.org/git/opensim opensim
cd opensim
svn co http://www.nsl.tuis.ac.jp/svn/opensim/opensim.currency/trunk opensim.currency
cd opensim.currency
./build_opensim.sh
cd ../bin
vi MoneyServer.ini 

or

git clone git://opensimulator.org/git/opensim opensim
cd opensim
svn co http://www.nsl.tuis.ac.jp/svn/opensim/opensim.currency/trunk opensim.currency

patch -p1 < opensim.currency/patch/opensim.patch 
mv bin/HttpServer_OpenSim.dll bin/HttpServer_OpenSim.dll.orig
cp opensim.currency/HttpServer_OpenSim/bin/HttpServer_OpenSim.dll bin
./runprebuild.sh && xbuild
cd opensim.currency
./build.sh

cd ../bin
vi MoneyServer.ini 
 
Page Top

HttpServer_OpenSim.dll anchor.png

  • opensim-libs
     git clone git://opensimulator.org/git/opensim-libs 
     cp -Rpd opensim-libs/HttpServer/trunk/HttpServer .
     cd HttpServer/
     patch -p1 < ../opensim.currency/patch/HttpServer.patch 
     xbuild /p:Configuration=Release
 
Page Top

Settings anchor.png

Page Top

MoneyServer.ini anchor.png

Page Top

[Economy] Section in INI file anchor.png

Page Top

Helper Scripts anchor.png

  • 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.
  • Helper Scripts work with PHP-5.x, those does not work with PHP-5.3.x
  • Setup Manual of Helper Scripts is here
     
Page Top

Setting for Diva-Distro anchor.png

Page Top

Execution anchor.png

  • Execute MoneyServer after Robust.exe and before OpenSim.exe
# cd bin
# mono Robust.exe
# mono MoneyServer.exe
# mono OpenSim.exe
 
Page Top

opensim.currecncy.secure anchor.png

Page Top

Patch anchor.png

Page Top
HttpServer_OpenSim anchor.png
  • Client からのリクエスト情報を格納する HttpClientContext に Common Name を保存する SSLCommonName を追加
    • IHttpClientContext.SSLCommonName
  • Client 認証時のコールバック関数 ClientCertificateValidationCallback() の仮想関数を定義
     
Page Top
OpenSim anchor.png
  • XMLRPC のリクエスト情報を格納するXmlRpcRequest の5番目のパラメータに Common Name を格納
  • XMLRPC のリクエスト情報からCommon Name を得るには GetSSLCommonName() を使用する.
     
Page Top

etc.etc. anchor.png

Page Top

Sample Program anchor.png

Page Top

Support of StandAlone mode anchor.png

Page Top

Bugs anchor.png

  • 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
  • 0.7 R3
    • When object is set to sale original, no money is transferred. (collected at v0.7 R4)
       
Page Top

注意 anchor.png

  • MoneyServer.ini と include/config.php (またはXoopenSim/Modlos) の Helper Script用のキーは必ず同じものを指定すること.
  • OpenSim.ini 中の UserServer, CurrencyServer のアドレスは localhost (127.0.0.1) を使用しないこと ( [Network] セクションの user_server_url).これは,このIPアドレスが,Monet Server内でのユーザのアカウント識別に利用されるためである. アカウントの識別から,サーバのIPアドレスを削除しました.ハイパーグリッドであっても,アバターはUUIDのみで識別されます.
  • 0.6.9で,[Network] セクションの user_server_url が無くなったため,代わりに [Economy]セクションで UserServer を指定するように変更. UserServer は現在参照されません.
     
Page Top

Trouble Shooting anchor.png

Page Top
mono 4.4.0 にしたら,エラー続出 (0.9) anchor.png
2016-03-31 17:02:39,845 ERROR (Threadpool worker) - OpenSim.Framework.Servers.HttpServer.BaseHttpServer [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.CreateNewContext (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 を削除
     
Page Top
RunTime Error (0.8) anchor.png
  • 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
       
Page Top
Viewer での接続の途中で止まる (0.8) anchor.png
  • コンパイルするディレクトリ名を変えたら,マネーサーバへの接続で途中停止した.
  • ディレクトリ名を元に戻してコンパイルしたら,直った????
     

トップ   凍結 差分 バックアップ 複製 名前変更 リロード   新規 ページ一覧 単語検索 最終更新   ヘルプ   最終更新のRSS 1.0 最終更新のRSS 2.0 最終更新のRSS Atom
Counter: 121055, today: 54, yesterday: 60
最終更新: 2016-09-01 (木) 10:41:47 (JST) (3h) by iseki

サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2016年 9月翌月
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
<今日>

オンライン状況

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

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

もっと...

アクセスカウンタ

今日 : 3388338833883388
昨日 : 5143514351435143
総計 : 3331512333151233315123331512333151233315123331512
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com