Thanks so much.<div><br><br><div class="gmail_quote">On Thu, Sep 16, 2010 at 10:35 PM, Juliana Dutra <span dir="ltr"><<a href="mailto:kila01@yahoo.com">kila01@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div style="font-family:times new roman,new york,times,serif;font-size:12pt">On Opensim.ini add to xengine section<br><br>[XEngine] <br>AllowOSFunctions = true<br>Allow_osNpcCreate = UUID (your uuid)<br><div><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> Justin Clark-Casey <<a href="mailto:jjustincc@googlemail.com" target="_blank">jjustincc@googlemail.com</a>><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><b><span style="font-weight:bold">Sent:</span></b> Thu, September 16, 2010 5:47:57 PM<br>
<b><span style="font-weight:bold">Subject:</span></b> Re: [Opensim-users] NPC module?<br></font><div><div></div><div class="h5"><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, e.g.<br><br>default<br>{<br>     touch_start(integer total_number)<br>     {<br>         key cloneKey = osNpcCreate("Scary", "Clone", <134, 194, 43>, 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>).  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>It also looks like someone else already tried them without success.  Which leads 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.  Information on how to do this should be <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>
</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></div>