Thread

Bots Disappearing (Sdk)

Bots Disappearing // Sdk

1  |  

ctc one

Oct 2, 2000, 11:09am
I've been using Grimm's VB Wrapper to build bots for my world.

Every so often the bot will disappear from the world. The Program will
still be running, but the bot will no longer be in the world.

Has anyone seen anything like this, or know what's happeneing, or what I
should be looking for / doing in my program?

ctc one

xelag

Oct 2, 2000, 7:00pm
What probably happens is you fail to call aw_wait on time. If aw_wait is
not called within I think 60 seconds, the bot gets disconnected. You can
call aw_wait(0) or its VB equivalent as often as you like: the AW browser
calls it for each frame, my bots call it 2x a second. I time this with a
windows timer (VB has them too), setting the timer at 500 milliseconds. In
the timer event, I call aw_wait(0).

XelaG

[View Quote]

1  |  
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn