|
Haruki Watanabe
llSLCrash(void);
Join date: 28 Mar 2007
Posts: 434
|
08-23-2008 14:41
Hey pholks... once in a while, I bump into something  I have an object that's attached to the av... this object should by «buyable» with the «pay»-option from the right-click menu. Alas, when I choose pay, the money gets transferred to the other person without raising the «money»-event in the object. Which makes me come to the conclusion, that I'm not paying the object but the av itself... Any ideas how to get around this? (I do need the money-event because on payment a copy of the attached object should be delivered to the payer, without any further action of the «wearer»). Thanks a lot in advance...
|
|
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
|
08-23-2008 19:20
You are correct: you cannot pay attachments. Any attempt to do so actually pays the avatar wearing the object. Not much more to say about it. 
|
|
Michaela Kuhn
00 44 00 26 00 4D
Join date: 29 May 2007
Posts: 257
|
08-24-2008 22:39
But you can program a bypass.  Solution depends on two parts. At first you have to program object you like to get payments e.g. normal tip jar. Per script you make this object physical and phantom. Sense for Owner and implement a follower to owner position. Integrate this flying, following object in an second object like belt, hat, shoulder pad, whatever you want and rez the follower object from them. If sensor is fast enough, it gives you the illusion of weared attachment. Thats quiet simple but keep an eye on exceptions. E.g. Owner have crashed, somebody payed object and owner crashed in same moment, owner teleports to another region, owner walk to another region (check coordinates), parcel permissions of object rezing, script running, autoreturn, parcel full of prims, and if you make it temporary secure communication between giver, tipjar, rezer, owner and back of this way. And communication themself use secret channel com its not secure, use email communication it is to slow and so on and so on. But it is not impossible. 
_____________________
 [asm]ldi rmp,0xAA mov rm1,rmp ldi rmp,0x55 mov rm2,rmp[/asm]
|
|
Haruki Watanabe
llSLCrash(void);
Join date: 28 Mar 2007
Posts: 434
|
08-25-2008 03:40
Thanks Hewee & Michaela...
That's exactly the solution I came up with... I kinda fear that the parcel-restrictions for rezing objects could become an obstacle - but it seems it's the only way to go...
|