Change font size
It is currently Sat Feb 16, 2019 9:02 am

Forum rules


{L_IMAGE}



Post a new topicPost a reply Page 1 of 1   [ 2 posts ]
Author Message
 Post subject: NPC Autonator
PostPosted: Fri Feb 01, 2013 8:45 am 

Joined: Wed Feb 16, 2011 10:45 pm
Posts: 11
I made a script to make and command npcs throuth notecards, so it's a lot easier to build for example a welcome bot. I put it on the opensim wiki including instructions : http://opensimulator.org/wiki/NPC_Automator_2.0

I hope it's of use to you.

I'm working on a third version that supports templates and hierarchical notecards.


Top
 Profile  
 
 Post subject: Re: NPC Autonator
PostPosted: Sun Feb 03, 2013 7:50 am 
Site Admin

Joined: Sun Jul 04, 2010 8:20 pm
Posts: 480
Nice work! One thing i think needs to be clarified however, is

{L_QUOTE}:
For this script to work, ossl must be enabled with a threat level of VeryHigh.


Setting threat level higher is probably not the best suggestion. Changing the threat level opens the possibility of abuse from functions like osTerrainSetHeight, Allow_osSetRegionWaterHeight, Allow_osParcel*(to name a few) It is much safer to use the appropriate Allow_os for the functions you need to the [Xengine] section of your OpenSim.ini

for example:
{L_CODE}:
   
    Allow_osNpcCreate = true
    Allow_osNpcRemove = true
    Allow_osNpcGetRot = true
    Allow_osNpcSetRot = true
    Allow_osNpcGetPos = true
    Allow_osNpcMoveTo = true
    Allow_osNpcMoveToTarget = true
    Allow_osNpcStopMoveToTarget = true
    Allow_osNpcSay = true
    Allow_osOwnerSaveAppearance = true
    Allow_osAgentSaveAppearance =
    Allow_osNpcSaveAppearance = true
    Allow_osNpcLoadAppearance = true
    Allow_osNpcSit = true
    Allow_osNpcStand = true
    Allow_osNpcPlayAnimation = true
    Allow_osNpcStopAnimation = true


If you want to restrict these functions to yourself, replace "true" with your uuid or a list of user's uuid separated by commas.

Several variation for permissions can be combined

{L_CODE}:
    ; Comma separated list of owner classes that allow the function for a particular class of owners. Choices are
    ; - PARCEL_GROUP_MEMBER:  allow if the object group is the same group as the parcel
    ; - PARCEL_OWNER:         allow if the object owner is the parcel owner
    ; - ESTATE_MANAGER:       allow if the object owner is an estate manager
    ; - ESTATE_OWNER:         allow if the object owner is the estate owner
    ; Allow_osSetRegionWaterHeight = 888760cb-a3cf-43ac-8ea4-8732fd3ee2bb, PARCEL_OWNER, ESTATE_OWNER>, ...


dan


Top
 Profile  
 
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 1 of 1   [ 2 posts ]


Who is online

Users browsing this forum: legacy_google [bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
610nm Style by Daniel St. Jules of Gamexe.net