Re: Anyone know how to make a bot respond in VB? (Sdk)
Re: Anyone know how to make a bot respond in VB? // Sdk
Apr 4, 2001, 8:39pm
[View Quote]"xelag" <xelag at 3dee.nl> wrote in message news:3acb9b64$1 at server1.Activeworlds.com...
> "baron" <tjlainas at informatics.gr> wrote in message
> news:3aca2e63$1 at server1.Activeworlds.com...
>
> Lots of benefits: when doing intensive property querying, for example, it runs *much* faster, because it is only when you call aw_wait that the bot collects the info sent by the servers (events, callbacks) and consequently can act upon that information. So, if you collect it once a second, you can only respond once a second, but if you collect 16 times a second, you can spead up the response.
>
> Obviously, if the bot is doing nothing and there are little or no events coming, this benefit won't show. I could test the difference when I made the new 3.1 world backup routines using the cell iterator. The backup was done16x faster when I changed the bot's heartbeat (where it calls aw_wait) from 1 beat a second to 16 beats a second !
>
>
Makes sense, even though 64ms sounds like a too short interval to me, most likely my CPU doesn't share my opinion. Will do some testing on this, thanks XelaG :)
|
Baron
|