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

Re: LoadUrl Money

このトピックの投稿一覧へ

なし Re: LoadUrl Money

msg# 1.1.1.1.1.1
depth:
5
前の投稿 - 次の投稿 | 親投稿 - 子投稿なし | 投稿日時 2012-2-19 19:23
iseki  Home away from home   投稿数: 1581
Hi

引用:

Not good because send chat message not beautifull
To be sure, it is not beautiful.

I tried to modify MoneyModule.cs, and I success to work test code.
I modified AddBankerMoneyHandler() function.
    if (requestParam.Contains("amount"))
    {
        Scene scene = (Scene)client.Scene;
        int amount  = (int)requestParam["amount"];
        ret = AddBankerMoney(bankerUUID, amount, scene.RegionInfo.RegionHandle);

        //  I added following 4 lines.
        IDialogModule dlg = scene.RequestModuleInterface<IDialogModule>();
        if (dlg!=null) {
            dlg.SendUrlToUser(bankerUUID, "TEST1", UUID.Zero, UUID.Zero, false, "TEST2", "http://www.yahoo.com/");
        }
    }

SendUrlToUser() function is a correct answer.

Next problem is that where is this used?
I do not understand your payment system well yet.
Example, banker avatar does not need this URL. Is it correct?
Other all avatars get this URL, and goto WEB site. and operate WEB.
So, you send money to operated avatar (automatically?). Is it OK?

Thanks
投票数:64 平均点:4.22

投稿ツリー

  条件検索へ


サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

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

オンライン状況

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

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

もっと...

アクセスカウンタ

今日 : 4203420342034203
昨日 : 1223912239122391223912239
総計 : 2354187323541873235418732354187323541873235418732354187323541873
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com