ThreadBoard ArchivesSite FeaturesActiveworlds SupportHistoric Archives |
Re: Anyone know how to make a bot respond in VB? (Sdk)
Re: Anyone know how to make a bot respond in VB? // SdkxelagApr 4, 2001, 8:08pm
[View Quote]
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 ! |