SLUniverse Forums - View Single Post - Proposal: Know when you can be ejected/teleported by a script BEFORE entering parcel.
View Single Post
Old 02-18-2008, 07:42 AM   #38 (permalink)
Chalice Yao
The Purple
 
Chalice Yao's Avatar
Kinda at work. Somewhat.
 
Join Date: Dec 2007
Location: Somewhere purple, Germany
Posts: 3,096
My Mood:
Quote:
Originally Posted by Huns Valens View Post
The compiler is deterministic, so there is a definite way to examine the bytecode and see whether it calls either of those functions.
That -would- be a way. On compiling (which now gets done server-side, so makes things easier), set a sort of metadata flag as soon as the instruction is encountered. That flag would be set on the script itself. Then in set intervals, the parcel checks the objects on it for such scripts with that flag, and marks itself for the minimap.

Quote:
An acceptable loss.
Can't quite agree there, really. Lots of commerical parcels have skyboxes for development of products above them, and such areas would naturally be secured in some way, making lots of those parcels flash as 'dangerous' on the minimap. Lots of people would be naturally inclined (especially new folk), to visit such parcels less after reading 'don't step on the red grass, you'll get kicked out!'

Quote:
Makes no difference whether it is on an avatar or not
I'd just check objects, not the AV.
Chalice Yao is offline   Reply With Quote