<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Just tested it and AllowOSFunctions = true is not needed. <br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Marcus Alexander Link <manupool@gmail.com><br><b><span style="font-weight: bold;">To:</span></b> opensim-users@lists.berlios.de<br><b><span style="font-weight: bold;">Sent:</span></b> Fri, September 17, 2010 3:44:56 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [Opensim-users] NPC module?<br></font><br>
Is the<br>AllowOSFunctions = true<br><br>really neccessary or should allowing a function for an agent explicitly<br>Allow_osNpcCreate = UUID (your uuid)<br><br>have more 'weight' and keep the overall AllowOSFunctions = false?<br><br>On 9/17/10, Juliana Dutra <<a ymailto="mailto:kila01@yahoo.com" href="mailto:kila01@yahoo.com">kila01@yahoo.com</a>> wrote:<br>> On Opensim.ini add to xengine section<br>><br>> [XEngine]<br>> AllowOSFunctions = true<br>> Allow_osNpcCreate = UUID (your uuid)<br>><br>><br>><br>><br>><br>> ________________________________<br>> From: Justin Clark-Casey <<a ymailto="mailto:jjustincc@googlemail.com" href="mailto:jjustincc@googlemail.com">jjustincc@googlemail.com</a>><br>> To: <a ymailto="mailto:opensim-users@lists.berlios.de" href="mailto:opensim-users@lists.berlios.de">opensim-users@lists.berlios.de</a><br>> Sent: Thu, September 16, 2010 5:47:57 PM<br>> Subject: Re:
 [Opensim-users] NPC module?<br>><br>> On 16/09/10 23:23, bodzette Coignet wrote:<br>>> Hi Justin:<br>>> On your blog you have a post "passing data between a script and a region<br>>> module with modSendCommand()"<br>>><br>>> Is that more or less how I would go about testing whether I can invoke<br>>> this code?<br>><br>> No, you would invoke the npc via normal script commands with an os prefix,<br>> e.g.<br>><br>> default<br>> {<br>>      touch_start(integer total_number)<br>>      {<br>>          key cloneKey = osNpcCreate("Scary", "Clone", <134, 194, 43>,<br>> llDetectedKey(0));<br>>      }<br>> }<br>><br>> There's no real documentation of these apart from the code (in <a target="_blank" href="http://OSSL_Api.cs">OSSL_Api.cs</a>).<br>><br>> However, they are the last four in the list
 at<br>><br><span>> <a target="_blank" href="http://www.scengine.org/index.php?option=com_content&view=article&id=10:opensim-api-functions&catid=6:os-api-functions&Itemid=14">http://www.scengine.org/index.php?option=com_content&view=article&id=10:opensim-api-functions&catid=6:os-api-functions&Itemid=14</a></span><br>><br>><br>> It also looks like someone else already tried them without success.  Which<br>> leads<br>> me to suspect that they no longer work.<br>><br><span>> <a target="_blank" href="http://www.osgrid.org/forums/viewtopic.php?f=5&t=2699">http://www.osgrid.org/forums/viewtopic.php?f=5&t=2699</a></span><br>><br>> Remember, you will need to enable OSSL functions at a High threat level.<br>> Information on how to do this should be<br>><br>> available via Google.<br>><br>>><br>>> On Thu, Sep 16, 2010 at 3:36 PM, Justin Clark-Casey<br>>>
 <<a ymailto="mailto:jjustincc@googlemail.com" href="mailto:jjustincc@googlemail.com">jjustincc@googlemail.com</a> <mailto:<a ymailto="mailto:jjustincc@googlemail.com" href="mailto:jjustincc@googlemail.com">jjustincc@googlemail.com</a>>> wrote:<br>>><br>>>     On 16/09/10 22:27, bodzette Coignet wrote:<br>>><br>>>         No, I'm talking about the NPC module that's in the opensim<br>>>         source code<br>>>         found at the following location in the source tree:<br>>><br>>>         OpenSim\Region\OptionalModules\World\NPC<br>>><br>>>         Does *nobody* know who the original dev is that did this work?<br>>><br>>><br>>>     That module has been there for ages.  You should be able to find out<br>>>     who created it by
 looking in the git logs.<br>>><br>>>      >From a quick code inspection, it looks like the CreateNPC method<br>>>     needs to be triggered to get anything to happen.  This is hooked up<br>>>     to the osNpcCreate() command (in the OSSL_Api.cs file).  You could<br>>>     try invoking this command via an in-world script - it looks like<br>>>     you'll need the uuid of an existing avatar to get going.  There are<br>>>     some other os commands there which appear to the NPC module (say,<br>>>     move, remove).<br>>><br>>>     It's also very possible that this module doesn't work any more - I<br>>>     haven't heard of anybody trying to use it for a long time.  The only<br>>>     way to find out is to try it.<br>>><br>>>    
 --<br>>>     Justin Clark-Casey (justincc)<br><span>>>    <a target="_blank" href="http://justincc.org">http://justincc.org</a></span><br><span>>>    <a target="_blank" href="http://twitter.com/justincc">http://twitter.com/justincc</a></span><br>>><br>>>     _______________________________________________<br>>>     Opensim-users mailing list<br>>>    <a ymailto="mailto:Opensim-users@lists.berlios.de" href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</a> <mailto:<a ymailto="mailto:Opensim-users@lists.berlios.de" href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</a>><br>>>    <a href="https://lists.berlios.de/mailman/listinfo/opensim-users" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a><br>>><br>>><br>>><br>>><br>>>
 _______________________________________________<br>>> Opensim-users mailing list<br>>> <a ymailto="mailto:Opensim-users@lists.berlios.de" href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</a><br>>> <a href="https://lists.berlios.de/mailman/listinfo/opensim-users" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a><br>><br>><br>> --<br>> Justin Clark-Casey (justincc)<br>> <a href="http://justincc.org" target="_blank">http://justincc.org</a><br>> <a href="http://twitter.com/justincc" target="_blank">http://twitter.com/justincc</a><br>> _______________________________________________<br>> Opensim-users mailing list<br>> <a ymailto="mailto:Opensim-users@lists.berlios.de" href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</a><br>> <a href="https://lists.berlios.de/mailman/listinfo/opensim-users"
 target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a><br>><br><br><br>-- <br>Marcus A. Link<br>Entrepreneur @Manupool<br>A Product Development Community<br><br><span><a target="_blank" href="http://www.manupool.de">http://www.manupool.de</a></span><br>Mobile: +49 1577 422 0000<br>_______________________________________________<br>Opensim-users mailing list<br><a ymailto="mailto:Opensim-users@lists.berlios.de" href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</a><br><a href="https://lists.berlios.de/mailman/listinfo/opensim-users" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a><br></div></div>
</div></body></html>