On 12/07/11 14:53, David Burden wrote:

 From my experience and what I've read elsewhere both the LibOMV Autopilot 
function in OpenSim and the osNPC
functionality are broken in the latest versions of OpenSim. Since one of my 
favourite uses for virtual worlds is playing
around autonomous avatars this is a real pain. Has anyone got any idea of the 
amount of effort needed to fix one or both
of these, as if it's reasonable and practical we might be able to find some 
resource to help fix them.

Hi David. As it happens, I've started to look at osNPC*() functions in the last couple of weeks (e.g. commits 22f25fa, ed12e38) with a view to eventually restoring the original functionality and buttressing it with some automated regression tests. I would also love to see the code in a state where NPCs would work without a client object attached.

At the moment in git master, say, create and delete work, though appearance and autopilot are broken. For an experienced OpenSim developer fixing appearance shouldn't be too hard - I think it's a case of digging around to find out why the copied avatar baked textures aren't being used properly on the NPC.

Fixing autopilot is more difficult. In principle, it should use much the same code paths as sit and "go here" on version 1 viewers, though "go here" itself doesn't appear to be working consistently. It's probably a case of fixing go and then reusing the code for npc autopilot. This would be somewhat involved, more so than fixing appearance. Fixing autopilot of NPCs should also fix it for client-side bots.

Any resource to help fix these would be very welcome.  I have to confess, they 
are low down on my priority list right now.

--
Justin Clark-Casey (justincc)
http://justincc.org/blog
http://twitter.com/justincc
_______________________________________________
Opensim-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-users

Reply via email to