flagflag  

Re: Setup issues

List posts in the topic

なし Re: Setup issues

msg# 1.5.1
depth:
2
Previous post - Next post | Parent - Children.1 | Posted on 2011/3/4 23:26 | Last modified
iseki  Home away from home   Posts: 1581
Hi

If you want to use Banker Avatar (buy currency), you should use Grid Mode of OpenSim.
In Stand Alone mode, "buy currency" is not work, sorry.
Because, PHP script can not get session ID from DB in Stand Alone mode.


llGiveMoney() is used like the following examples.
When someone touches this object, he get money from creator of this object.

default
{
    state_entry()
    {
        llSay(0, "Script running");
        llRequestPermissions(llGetOwner(), PERMISSION_DEBIT ); 
    }
    
     touch_start(integer num)
     {
         llSay(0, "Give Money");
         llGiveMoney(llDetectedKey(0), 100);
     }
}
Votes:215 Average:3.44

Posts tree

  Advanced search


Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 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

78 user(s) are online (4 user(s) are browsing Forum)

Members: 0
Guests: 78

more...

Access Counter

Today : 4887488748874887
Yesterday : 1625216252162521625216252
Total : 2616135126161351261613512616135126161351261613512616135126161351
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com