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:221 Average:3.44

Posts tree

  Advanced search


Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthJan 2026Next 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

215 user(s) are online (7 user(s) are browsing Forum)

Members: 0
Guests: 215

more...

Access Counter

Today : 4311843118431184311843118
Yesterday : 4558745587455874558745587
Total : 4843209348432093484320934843209348432093484320934843209348432093
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com