Could you please give a 30 second description of what you did so I can quickly get into the coding?<br><br><div class="gmail_quote">On Fri, Sep 17, 2010 at 2:40 PM, Juliana Dutra <span dir="ltr"><<a href="mailto:kila01@yahoo.com">kila01@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><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 <<a href="mailto:manupool@gmail.com" target="_blank">manupool@gmail.com</a>><div class="im">
<br><b><span style="font-weight: bold;">To:</span></b> <a href="mailto:opensim-users@lists.berlios.de" target="_blank">opensim-users@lists.berlios.de</a><br></div><b><span style="font-weight: bold;">Sent:</span></b> Fri, September 17, 2010 3:44:56 AM<div>
<div></div><div class="h5"><br><b><span style="font-weight: bold;">Subject:</span></b> Re: [Opensim-users] NPC module?<br></div></div></font><div><div></div><div class="h5"><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 href="mailto:kila01@yahoo.com" target="_blank">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 href="mailto:jjustincc@googlemail.com" target="_blank">jjustincc@googlemail.com</a>><br>
> To: <a href="mailto:opensim-users@lists.berlios.de" target="_blank">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 href="http://OSSL_Api.cs" target="_blank">OSSL_Api.cs</a>).<br>><br>> However, they are the last four in the list
 at<br>><br><span>> <a href="http://www.scengine.org/index.php?option=com_content&view=article&id=10:opensim-api-functions&catid=6:os-api-functions&Itemid=14" target="_blank">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 href="http://www.osgrid.org/forums/viewtopic.php?f=5&t=2699" target="_blank">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 href="mailto:jjustincc@googlemail.com" target="_blank">jjustincc@googlemail.com</a> <mailto:<a href="mailto:jjustincc@googlemail.com" target="_blank">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 href="http://justincc.org" target="_blank">http://justincc.org</a></span><br><span>>>    <a href="http://twitter.com/justincc" target="_blank">http://twitter.com/justincc</a></span><br>
>><br>>>     _______________________________________________<br>>>     Opensim-users mailing list<br>>>    <a href="mailto:Opensim-users@lists.berlios.de" target="_blank">Opensim-users@lists.berlios.de</a> <mailto:<a href="mailto:Opensim-users@lists.berlios.de" target="_blank">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 href="mailto:Opensim-users@lists.berlios.de" target="_blank">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 href="mailto:Opensim-users@lists.berlios.de" target="_blank">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 href="http://www.manupool.de" target="_blank">http://www.manupool.de</a></span><br>Mobile: +49 1577 422 0000<br>
_______________________________________________<br>Opensim-users mailing list<br><a href="mailto:Opensim-users@lists.berlios.de" target="_blank">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></div>
</div></div><br>_______________________________________________<br>
Opensim-users mailing list<br>
<a 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></blockquote></div><br>