In this particular case, you could make inventory calls to insert an item copy but there's no give_copy method - one
would need to call additem with the right folder details.
The services are quite dumb and handle only simple operations - all the logic for co-ordinating something like inventory
give, for example, takes place on the simulator. In the IM offline case, I think (without checking) that the IM is
stored in the offline service, then on login to a simulator the simulator pulls off all the offline messages and replay
them, at which point the give is processed.
I would say that the services are deliberately simple. By only handling simple operations they do not need to preserve
state, so like the web, can be easily scaled up simply by adding more service instances (unlike the simulators
themselves, which are the massive state chokepoint and one of the reasons why it's hard to scale up to more avatars).
Simple services are also more reliable and arguably more flexible, since one can compose many operations from simple
calls (though one could also have another service layer which implements certain things by calling simpler services).
On 26/10/12 04:27, Serendipity Seraph wrote:
Interesting. So there is nothing like a layer where I can simply say,
give_copy(objectX, userY) and just have it be so? I have to presume that the
ROBUST on standalone server does this all the time. If in world I open an IM
to a user and give them an object, even if they are not online at the time, it
more or less works. So what does that call? Why can't this be wrapped in an
external call to do the same thing? Is it a security issue?
- s
On Oct 25, 2012, at 6:54 PM, Justin Clark-Casey wrote:
This is currently a very complicated thing to do. In principle, if every
object was backed by an IAR then one could load the IAR when the user buys.
Except that there's currently no way to easily remotely load IARs
(RemoveAdminPlugin lacks this feature).
The alternative is to start adding inventory items directly by invoking methods
on the ROBUST InventoryService but this is deep black magic. There is some
information at [1] but because these calls were not designed to be invoked
directly, doing so is extremely tricky and requires a high level of knowledge
of how assets and inventory work in OpenSimulator. I cannot help any further
than this.
[1] http://opensimulator.org/wiki/InventoryService
On 25/10/12 09:31, Hashim wrote:
Hi,
i want to know how can we give access in opensim when user
select the item on website.
i have created 10 regions in my grid, and the same i place on my website. when
user buy from viewer it is ok but when
user select the region on website then i want to give access to that perticular
user in virtual world. how can i do it
...please help me out regarding this issue. atleast if user buys the object on
website he shoud get rights on that
object inside the virtual world...thank you
Kind regards
Hashim
*TRUST 300 *
Road No.2, Plot No.89,
Ground Floor, Banjara Hills,
Hyderabad-500 034
India
PPlease consider the environment before printing this email.
This email is for the use of the intended recipient(s) only. If you have
received this email in error, please notify the
sender immediately and then delete it. If you are not the intended recipient,
you must not keep, use, disclose, copy or
distribute this email without the author's prior permission. We have taken
precautions to minimize the risk of
transmitting software viruses, but we advise you to carry out your own virus
checks on any attachment to this message.
We cannot accept liability for any loss or damage caused by software viruses.
The information contained in this
communication may be confidential and may be subject to the attorney-client
privilege. If you are the intended recipient
and you do not wish to receive similar electronic messages from us in the
future then please respond to the sender to
this effect.
_______________________________________________
Opensim-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-users
--
Justin Clark-Casey (justincc)
OSVW Consulting
http://justincc.org
http://twitter.com/justincc
_______________________________________________
Opensim-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-users
_______________________________________________
Opensim-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-users
--
Justin Clark-Casey (justincc)
OSVW Consulting
http://justincc.org
http://twitter.com/justincc
_______________________________________________
Opensim-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-users