[Opensim-users] NPC module?

bodzette Coignet bodzettecoignet at gmail.com
Fri Sep 17 04:12:22 UTC 2010


OK opensim seems to be a pretty well put together project. It compiled in vs
2008 with no hitches and I was able to load an oar into it and attach to the
instance with an imprudence viewer no problem.
So kudos to all you guys for that. It's a much better put together project
than the viewers which are sweat and tears to get compiled. It took all of
ten minutes to get running.

As to the issue at hand: is there a standard way of invoking this code?
Right now I'm going to hack up instantiating an instance of the NPC classes
in here: public void RunCommand(string module, string[] cmdparams)
instance in the OpenSim.OpenSim class for now to see what happens.

This is probably not the correct place to put the code but for now it ought
to work if my first glance at the code is correct... I'll post the results
tomorrow.




On Thu, Sep 16, 2010 at 7:58 PM, bodzette Coignet <bodzettecoignet at gmail.com
> wrote:

> Thanks for the heads up justin.
>
> Thanks for the valuable feedback diva.
> OK this is the part of opensim that I would be *seriously* interested in
> doing so yes I volunteer to lead this.
> I'm going to install visual studio tonight and try to compile the code to
> start playing with it.
> I may have occassional questions tho as although I have ten years
> experience as a VB & VB.NET coder and so have heavy .net experience it
> will be catchup time on C#.
> But since this will be my only focus for opensim I hope to get it to a
> reasonable state.
> I'm excited to get into it to see what you have already done and hopefully
> I could lean on your experience occasionally as a mentor as you already have
> some ideas.
>
> Thanks
>
>
> On Thu, Sep 16, 2010 at 5:49 PM, <diva at metaverseink.com> wrote:
>
>> bodzette,
>>
>> Trying to do this by email is very ineffective. Jump in to the IRC, one of
>> these days.
>>
>> But yes, this is what I meant by needing someone's love, and these
>> struggles are just the beginning... wait until you have it running... you'll
>> come to the conclusion that the model is not practical and NPCs in OpenSim
>> need to be redesigned. I have worked extensively with server-side bots, and
>> my conclusion is that what we have is too complicated.
>>
>> Your assumptions that there is no interest on this from the developers is
>> incorrect. We just don't have time considering all other things that we have
>> going on. The redesign of NPCs is not a trivial task. So please jump in and
>> lead that -- your contributions will be much appreciated.
>>
>>
>> bodzette Coignet wrote:
>>
>>> Hi Justin:
>>> On your blog you have a post "passing data between a script and a region
>>> module with modSendCommand()"
>>>
>>> Is that more or less how I would go about testing whether I can invoke
>>> this code?
>>>
>>> On Thu, Sep 16, 2010 at 3:36 PM, Justin Clark-Casey <
>>> jjustincc at googlemail.com <mailto:jjustincc at googlemail.com>> wrote:
>>>
>>>    On 16/09/10 22:27, bodzette Coignet wrote:
>>>
>>>        No, I'm talking about the NPC module that's in the opensim
>>>        source code
>>>        found at the following location in the source tree:
>>>
>>>        OpenSim\Region\OptionalModules\World\NPC
>>>
>>>        Does *nobody* know who the original dev is that did this work?
>>>
>>>
>>>    That module has been there for ages.  You should be able to find out
>>>    who created it by looking in the git logs.
>>>
>>>     >From a quick code inspection, it looks like the CreateNPC method
>>>    needs to be triggered to get anything to happen.  This is hooked up
>>>    to the osNpcCreate() command (in the OSSL_Api.cs file).  You could
>>>    try invoking this command via an in-world script - it looks like
>>>    you'll need the uuid of an existing avatar to get going.  There are
>>>    some other os commands there which appear to the NPC module (say,
>>>    move, remove).
>>>
>>>    It's also very possible that this module doesn't work any more - I
>>>    haven't heard of anybody trying to use it for a long time.  The only
>>>    way to find out is to try it.
>>>
>>>    --     Justin Clark-Casey (justincc)
>>>    http://justincc.org
>>>    http://twitter.com/justincc
>>>
>>>    _______________________________________________
>>>    Opensim-users mailing list
>>>    Opensim-users at lists.berlios.de <mailto:Opensim-users at lists.berlios.de
>>> >
>>>
>>>    https://lists.berlios.de/mailman/listinfo/opensim-users
>>>
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>>
>>> _______________________________________________
>>> Opensim-users mailing list
>>> Opensim-users at lists.berlios.de
>>> https://lists.berlios.de/mailman/listinfo/opensim-users
>>>
>> _______________________________________________
>> Opensim-users mailing list
>> Opensim-users at lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/opensim-users
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-users/attachments/20100916/0a175804/attachment.html>


More information about the Opensim-users mailing list