Thread

Re: Anyone know how to make a bot respond in VB? (Sdk)

Re: Anyone know how to make a bot respond in VB? // Sdk

1  |  

xelag

Apr 3, 2001, 2:23pm
If you don't call AW_WAIT, you don't collect the events anyway, and after 60
seconds or so, your bot gets disconnected. So as MrGrimm says: *install*
the event handler using AwEventSet AW_EVENT_AVATAR_ADD (or else
sdk_EventAvatarAdd() will never get triggered because it is not recognised
as an event handler by the aw.dll), and then *call* sdk.AwWait 0 once a
second (or more often if you like, I call it 16 times a second now in the
new xelagot, the AW browser calls it at every frame). To call AwWait, you
can use a windows Timer if you like, set to an interval of 1000 milliseconds
or even less (mine is at 64 milliseconds)

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