|
|
|
WarKirby Magojiro made changes - 04/Jun/07 07:34 PM
Would love to have llGetAvatarKeysOnEstate() certainly. On the issue of llDetected* bloat, a big issue that also needs addressed is the lack of any other way to get the information they provide, as such it would be nice to have more llKey2* calls. I've posted these in SVC-348
McCabe Maxsted made changes - 11/Jul/07 06:56 AM
Angel Fluffy made changes - 22/Jul/07 06:52 PM
Highly useful. This would eliminate SLBanLink.com's reliance on sensors, thus reducing load on sims as well as being useful from a security point of view.
More generally it would make it far easier to monitor a sim without the use of MANY sensors and relay scripts.
Angel Fluffy made changes - 22/Jul/07 10:26 PM
Thomas Shikami made changes - 23/Jul/07 05:54 AM
I linked this to WEB-240 as these functions, especially llGetAvatarKeysOnEstate, llGetAvatarKeysOnRegion would be possible to implement as a capability and from a capability it isn't far to implement as a dataserver event
Angel Fluffy made changes - 23/Jul/07 03:32 PM
Angel Fluffy made changes - 23/Jul/07 03:32 PM
Angel Fluffy made changes - 06/Aug/07 08:04 AM
Why would it need a dataserver event? The information is right there in the simulator. Dataservers are for gathering information about things outside of it, like assets, and agents.
This function should be able to return immediately.
SignpostMarv Martin made changes - 26/Sep/07 06:02 PM
One note;
I'd suggest changing the implementation, as the lists returned by these functions could be pretty huge. An alternative would be to do it like object inventory calls: int llGetNumberOfAgentsInEstate() Or: with constants for mode:
Haravikk Mistral made changes - 12/Oct/07 01:43 AM
Rob Linden made changes - 22/Dec/07 12:57 AM
Rob Linden made changes - 22/Dec/07 01:13 AM
Rob Linden made changes - 22/Dec/07 01:42 AM
Rob Linden made changes - 23/Dec/07 12:09 AM
Rob Linden made changes - 23/Dec/07 12:25 AM
Your implementation idea sounds neat, but I really thintk it needs a monolithis list return form, too. Having all the keys neatly compiled into a list would be very helpful, and cut down on list building. which would otherwise be required to create one
That wouldn't be a safe implementation, Haravikk, as you can't be sure no agents entered or left the sim while you worked with the data (i.e. between you asking for data on avatar 3 and avatar 4, avatar 3 might leave, making avatar 4 avatar 3... etc. Headache
That said, a monolithic list could be pretty unpleasant - I can envision scripts running out of memory because they picked up a list of 50 keys. Perhaps implement this in an event. For example, llGetAgentKeys(int mode) could trigger a sensor event (or it's own event) with the data. Hmm, those are very good points. I guess it's not as big of a deal now that Mono is on the horizon, since it has an upper limit of 64k which wouldn't make a list of 50 or even 100 avatars that big a deal, since it would take up around 5.8k tops.
I guess a list would be the best bet then, with a delay to offset the creation of the list. If it comes to it one script could be made that fetches the list, and then feeds the entries into another script one at a time.
Sue Linden made changes - 13/Nov/08 12:01 PM
Sue Linden made changes - 13/Nov/08 04:26 PM
Sue Linden made changes - 13/Nov/08 04:37 PM
Sue Linden made changes - 13/Nov/08 04:44 PM
Ezian Ecksol made changes - 23/Jan/09 06:28 AM
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
llSensorRayCollision: Performs a ray collision test agains world geometry and returns the 16 closest objects that the ray collides with. Ray could easily be specified w/ a vector.
llSensorSweptSphereCollision: Same as above, but uses swept-sphere (or maybe capsule) collision testing. (w/ vector and sphere radius)
When I say "world geometry" I mean "objects/prims". Although, it might be interesting to be able to see if a ray hits the ground. Maybe a llDetectedStruckGround or something similar could facilitate this.
I don't imagine that either of these calls would introduce a great deal of lag, and I also don't imagine they would be that hard to add. However, they would provide for quite a little bit of usefulness in creating automated scripts. Furthermore, I believe that a properly crafted specialized sensor call could generate less lag than the usual llSensor("", NULL_KEY, ACTIVE|PASSIVE, 96.0,PI) calls that are in just about every single script that uses sensor.
Just my $0.02
-Thordain Curtis