llGiveInventoryList not working cross sim
|
Grim Hathor
Registered User
Join date: 26 Jun 2004
Posts: 36
|
04-16-2005 17:36
Found very sporadic behavior using llGiveInventoryList when trying to give to an agent in a different sim(like the wiki says is possible). I asked Don Linden about it and got this responce
Don Linden: llGiveInventoryList doesn't work cross-sim (unless that person has a camera pointed at the sim, i believe)
Anyone tested that strange behavior yet?
|
Catherine Omega
Geometry Ninja
Join date: 10 Jan 2003
Posts: 2,053
|
04-16-2005 17:45
Can we confirm if this means "the camera can see into the sim" or just that the camera must be pointing east, if the sim is east, regardless of distance? Either way, it's pretty weird.
|
Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
|
04-16-2005 19:28
Dunno. I have tested llGiveInventory across several sims and it worked fine. Not sure why llGiveInventoryList would work any differently. 
_____________________
---
|
Christopher Omega
Oxymoron
Join date: 28 Mar 2003
Posts: 1,828
|
04-16-2005 22:17
I vaguely remember a Linden saying that llGiveInventoryList doesn't work cross-sim to reduce load on the asset server and/or to prevent spam.
==Chris
|
Christopher Omega
Oxymoron
Join date: 28 Mar 2003
Posts: 1,828
|
04-16-2005 22:22
From: Catherine Omega Can we confirm if this means "the camera can see into the sim" or just that the camera must be pointing east, if the sim is east, regardless of distance? Either way, it's pretty weird. I think the technical term for it is 'being a child agent' in the other simulator. It only happens if your avatar is in close proximity to the sim edge, or when the av's view crosses the sim border. If the sim shows up in the mini-map, and your avatar is not within the sim, then you are considered a child agent to that sim. It seems to make sence, since you are connected to the sim in exactly the same way as if you were inside the sim. ==Chris
|
Catherine Omega
Geometry Ninja
Join date: 10 Jan 2003
Posts: 2,053
|
04-17-2005 06:10
From: Christopher Omega I think the technical term for it is 'being a child agent' in the other simulator. Yes, that's correct. I'm wondering if that's the only circumstance in which it will work, or if it's a direction issue. Has anyone actually tested to see if it DOES allow you to give an object to someone in a neighbouring sim? Don could be wrong here.
|
Francis Chung
This sentence no verb.
Join date: 22 Sep 2003
Posts: 918
|
04-17-2005 09:02
I discovered this behaviour (and bug reported it) when writing the Seburo update system back in 1.3.
llGiveInventoryList() can deliver to agents not in the local sim, but not reliably. IIRC, the rules that seemed to govern it working/not working were kinda hokey. Something like, "agent has been in this sim within the last 5 minutes".
So you could teleport away, and it would still work, but not for long.
Whatever the reason for this bug/inconsistency, don't depend on it working. What I do is send the person an object, and ask them to rez it, so that it can do an llGiveInventoryList(). (Not pretty)
Alternatively, you can call llGiveInventoryItem() multiple times. (Even less pretty)
_____________________
-- ~If you lived here, you would be home by now~
|
Jon Marlin
Builder, Coder, RL & SL
Join date: 10 Mar 2005
Posts: 297
|
06-09-2005 06:32
I just ran into this as well. Can anyone update the wiki page with this information?
I don't have access to the wiki from work, so I can't do it right now...
- Jon
|
Newfie Pendragon
Crusty and proud of it
Join date: 19 Dec 2003
Posts: 1,025
|
06-10-2005 07:55
That sorta makes sense in a way. When one is close to a neighbouring sim, the SL client would likely have to make a connection to the neighbouring sim in order to retrieve the prims that are within view.
The question I'd have is..if the agent has their own prim inventory that is tied directly to them, where is it stored? Wouldn't llGiveInventoryList need only to involve the sim in which the 'giving' prim is? The destination sim isn't getting the objects, the agent is.
- Newfie
|
Alondria LeFay
Registered User
Join date: 2 May 2003
Posts: 725
|
09-24-2005 19:25
I adjusted the Wiki after loosing much hair over this problem!
|