flagflag  

Re: LoadUrl Money

List posts in the topic

なし Re: LoadUrl Money

msg# 1.1.1.1.1.1
depth:
5
Previous post - Next post | Parent - No child | Posted on 2012/2/19 19:23
iseki  Home away from home   Posts: 1581
Hi

Quote:

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
Votes:64 Average:4.22

Posts tree

  Advanced search


Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next Month
Su Mo Tu We Th Fr Sa
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
Today

Who's Online

39 user(s) are online (5 user(s) are browsing Forum)

Members: 0
Guests: 39

more...

Access Counter

Today : 5180518051805180
Yesterday : 6761676167616761
Total : 2371763723717637237176372371763723717637237176372371763723717637
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com