flagflag  

Re: LoadUrl Money

List posts in the topic

なし Re: LoadUrl Money

msg# 1.1.1.1
depth:
3
Previous post - Next post | Parent - Children.1 | Posted on 2012/2/19 18:29
iseki  Home away from home   Posts: 1581
Hi

I think that there are 2 ways.

1. One is to modify Money Module like your try.
It is smart method but it will be difficult.
I look LSL code of OpenSim now.

        public void llLoadURL(string avatar_id, string message, string url)
        {
            m_host.AddScriptLPS(1);

            IDialogModule dm = World.RequestModuleInterface<IDialogModule>();
            if (null != dm)
                dm.SendUrlToUser(
                    new UUID(avatar_id), m_host.Name, m_host.UUID, m_host.OwnerID, false, message, url);

            ScriptSleep(10000);
        }

2. Another way is to modify currency.php.
In buy_currency() function, it returns URL as errorURI.
This is comparatively easy. But it is not cool.

OK, I will try to modify Money Module.
Votes:102 Average:6.18

Posts tree

  Advanced search


Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthNov 2025Next 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
Today

Access Counter

Today : 107868107868107868107868107868107868
Yesterday : 151880151880151880151880151880151880
Total : 3747549137475491374754913747549137475491374754913747549137475491
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com