|
Rock Ryder
Registered User
Join date: 6 Oct 2006
Posts: 384
|
03-25-2007 08:38
Hi,
I am wondering if it is possible to get a listing of all scripted objects and their locations in a SIM, in much the same way as World, Region/Estate, Debug, Get Top Scripts.
Some of the samples of code I have seen, and all the tools I have purchased inworld all seem to be limited to 96m in any direction. One tool, which 'claimed' to scan an entire sim, only tells you, after buying the device, that it will scan a sim at approx the same altitude, so for a SkyHome owner like me, that is pretty limited.
I am the SIM owner if that helps. Unfortunately the info provided in Get Top Scripts can not be copied and pasted.
Regards, Rock
|
|
Osgeld Barmy
Registered User
Join date: 22 Mar 2005
Posts: 3,336
|
03-25-2007 15:45
the only way for a script to see other scripted objects is with use of a sensor, which is limited to a range of 96m in a 3d sphere
|
|
Escort DeFarge
Together
Join date: 18 Nov 2004
Posts: 681
|
03-25-2007 16:11
...and returns 16 sets of values max last time i looked
_____________________
http://slurl.com/secondlife/Together
|
|
Rock Ryder
Registered User
Join date: 6 Oct 2006
Posts: 384
|
03-25-2007 19:04
From: Osgeld Barmy the only way for a script to see other scripted objects is with use of a sensor, which is limited to a range of 96m in a 3d sphere Then wouldn't it be a simple matter to put the script into a prim, then send the prim out as a probe to cover the sim up to 768m and back down again, move sideways and repeat until the entire sim had been covered in 3d, pausing at every 96m to scan and IM back the results of the scan? Am I missing something here? Rock
|
|
Kenn Nilsson
AeonVox
Join date: 24 May 2005
Posts: 897
|
03-25-2007 19:24
You're not missing anything at all...and, in fact, you can scan in partial slices in order to catch as many scripts as possible...
...however, you will very likely still run into situations where the sensor grabs only the first 16 out of 24 scripts detected...
...and...that's gonna be one hell of a process to put the prim through.
_____________________
--AeonVox--Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms chasing ghosts, eating magic pills, and listening to repetitive, addictive, electronic music.
|
|
Gregory McLeod
Registered User
Join date: 21 Oct 2006
Posts: 278
|
03-27-2007 07:41
Am I missing something or are all scripts not subject to the owners permissions. I am not a sim owner so am puzzled. Would this allow the owner to extract all the scripts from objects found?
|
|
Deanna Trollop
BZ Enterprises
Join date: 30 Jan 2006
Posts: 671
|
03-27-2007 08:00
From: Gregory McLeod Would this allow the owner to extract all the scripts from objects found? No, the Top Scripts option simply allows the sim owner or administrator to see how much of the sim's processing time is used by the scripts in the sim. They can't see the script contents or what the scripts are doing. And the "roaming script detector" object being discussed is capable of even less, since, if I understand the description on the wiki llSensor page, a sensor isn't capable of discerning an unscipted object from a inactive scripted object (i.e., one which doesn't have an open listener or running timer), so at most it will only return names of objects with active scripts, but not the names of the scripts themselves. Oh, and one other problem with such a detector is the very real possibility that it will be unable to enter certain parcels, thus preventing it from doing a "complete" scan of a sim, as limited as that would be to begin with.
|