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:100 Average:6.20

Posts tree

  Advanced search


Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthJul 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 31
Today

Who's Online

79 user(s) are online (1 user(s) are browsing Forum)

Members: 0
Guests: 79

more...

Access Counter

Today : 764764764
Yesterday : 1029010290102901029010290
Total : 2745402427454024274540242745402427454024274540242745402427454024
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com