[Opensim-dev] Controlling bots via inworld scripts‏‏

Domain Admin admin at glscripting.org
Mon May 17 17:25:21 UTC 2010


In Opensimulator and correct me if I am wrong you can use C# so that means
you can create your bot inworld and that would be a good way to keep the
process there but yeah i have been making bots for about a year or more now
you use object im to your bot :) llInstantMessage and to recieve you would
use like listen or something.

On Mon, May 17, 2010 at 10:19 AM, dz <dz at bitzend.net> wrote:

> Aloha,
>
> I have been using libomv/testclient based bots for months now, most
> recently with 0.8.1.  In my experience, it is easy to control them using
> in-world scripts.  I regularly start the testclient bot using the
> --scriptfile command line option, using the designated script to define an
> in-world object as the bots "master" (see SetMasterKey).  This allows me to
> use llInstantMessage to send commands to the bots and control them.
>
> However, recent releases of OpenSim seem to have changed the functionality
> related to walking movement.  Specifically the "autopilot" function calls
> that used to trigger a bot to walk to a specified location.  I haven't been
> able to isolate the server side changes responsible.  My response was also
> to design a scripted attachment  which I have programmed and tested.  When
> attached to an avatar driven by a "regular" client, this attachment uses
> llMoveToTarget and is successful at "dragging" my avatars around a
> pre-defined course.  When I attach the same scripted device to my bots, they
> do not move.
>
> I am continuing my testing of the libomv/testclient based bots with the
> newest 0.8.1 release, but have not had any success to date.  I am pursuing
> the following options....
>
> *  Radically increasing the force applied to the attachment -  Some of my
> experiments were successful at getting bots to move when i gave them a
> target to follow.   When I placed the target VERY close to the bot,  I COULD
> get it to move slightly, leading me to believe the solution might be related
> to bot/ground friction issues.
>
> * Building a physical object that moves around the course I desire and
> having the bot "sit" on the moving object.  With the recent updates to lsl
> vehicle function in OpenSim, this may be the easiest short-term solution.
>
> * Reworking the client movement functions to eliminate the use of Autopilot
> based functions.
>
> For my purposes, it is very important that the bots "walk".  It would be
> easiest if this was accomplished in the manner most similar to a "regular"
> avatar, as this allows me to use existing AO devices, rather than having to
> pre-program all of the animations into a script.  Please keep us all
> up-to-date  on your findings  :)
>
> 2010/5/17 izze euler <izzee at hotmail.co.uk>
>
>>  Hi,
>>
>> I have created a bot via a web service, but I was wondering if it is
>> possible to control the bot via inworld scripts? I have tried to do this
>> with an attachment to the bot, however, I can't move the bot even when the
>> attachment is physical and I try to move using llMoveToTarget. I know the
>> script is running as I have llSay messages between moves.
>>
>> Has anyone managed to do this? Or have any ideas I can try?
>>
>> Kind Regards,
>> Izze
>> ------------------------------
>> Get a free e-mail account with Hotmail. Sign-up now.
>>
>> _______________________________________________
>> Opensim-dev mailing list
>> Opensim-dev at lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/opensim-dev
>>
>>
>
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20100517/a2865a45/attachment-0001.html>


More information about the Opensim-dev mailing list