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 MonthDec 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

Access Counter

Today : 111180111180111180111180111180111180
Yesterday : 120233120233120233120233120233120233
Total : 3810176538101765381017653810176538101765381017653810176538101765
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com