Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Sensor Repeater

Davis Davison
Registered User
Join date: 10 Nov 2005
Posts: 5
11-24-2009 07:26
Hi guys.

I am using a combination of llSensor and llOverMyLand to work out whether anyone is actually on my land and therefore whether I should bother to play and media for them or not.

I am reading about ways to get around the 96m limit, like placing the sensing device within range of <0,0,0>, but I think the better way to do it would be to simply offer free, copyable sensor repeaters, but I'm not sure the best way to implement this.

I am guessing that they will need to sense and then pass the data back via either a chat channel, or email. If they are on chat then personally I do not have a problem with them using the same channel, but I want to check whether anyone can see any problems?

Here is how I see them working:

1. Sense everyone within range
2. Check whether they are on a parcel owned by the owner of the player [requires sensors to be deeded where applicable]
3. Return TRUE to the original player [llRegionSay?] to tell it that there are people on that parcel
4. The player then operates as expected.

I can imagine that there is a possibility of two or more "networks" operating on the same region, so maybe I should have the "TRUE" message followed by the UUID of the land owner, or something else like that, so that the player can differentiate between thedifferent networks, without having to over complicate the system with varying channels that need to be synchronised per network.

Does anyone have any thoughts on this?

Cheers
Kayaker Magic
low carbonated footprint
Join date: 11 Sep 2008
Posts: 109
11-24-2009 14:21
If the owner of the player-object is the owner of the land, there shouldn't be any need for free copyable repeaters and deeding issues. Just tell the owner to lay down a network of repeaters when s/he is installing the player.
An alternative to llOverMyLand might be to try llGetLandOwnerAt with the position of the sensed avatar. This returns a key that can be compared to the player-object owner or some other avatar key. This would allow the owner of the player-object to be different from the land owner and still work...
Landing Normandy
Proposing 4968
Join date: 28 Nov 2005
Posts: 240
11-24-2009 14:29
You would still want to provide the customer with freely copyable repeaters though, wouldn't you?

Are you suggesting that rather than deeding the repeater to the same group as the player, that instead it sends the key of the land owner that it's on, which the player can match up to the one for either it's owner or the land that it is on itself? That sounds like the better way of doing it. I like the idea of letting the repeater do some of the processing, rather than put it all in the players script
_____________________
<VOTE PROPOSITION 4968/>
http://jira.secondlife.com/browse/VWR-4968
For SecondLife Builders who need better mapping for better building