Thread

Hi (Sdk)

Hi // Sdk

1  |  

jackbnimble

Jun 14, 2002, 7:33pm
Hi! Well, im finally using the newsgroups! *waits for warm welcome*

jackbnimble

Jun 14, 2002, 7:38pm
The first item on my mind is query caching. (I know i didnt spell that right)

I know there is a way to do this since ive seen a website mentioning
this. What im asking is does anyone know a way to save query data
therefor speeding up the next query? My idea is to save the object data
and sequence numbers to a file, and reload it when the app is restarted.

ananas

Jun 15, 2002, 1:57am
Bot object queries sure can be saved to a file and be reloaded,
all bots with building capabilities do that. Format is usually
the propdump format that Mauz (http://mauz.info) describes on
her worldbuilders page.

The "sequence numbers", together with the X and Z value of a
query, can be calculated from the location of the object, that
is part of the propdump, so actually the feature is already
implemented, somehow.


[View Quote]

jackbnimble

Jun 15, 2002, 2:34pm
Thanks! I have a contact who will love to hear that as well.


[View Quote] > Bot object queries sure can be saved to a file and be reloaded,
> all bots with building capabilities do that. Format is usually
> the propdump format that Mauz (http://mauz.info) describes on
> her worldbuilders page.
>
> The "sequence numbers", together with the X and Z value of a
> query, can be calculated from the location of the object, that
> is part of the propdump, so actually the feature is already
> implemented, somehow.
>
>
[View Quote]

jackbnimble

Jun 15, 2002, 3:01pm
Ok, I believe i have figured out the basics of how to use propdump for
my bots, but two questions remain.
1. How is it possible to get the sequence numbers from a propdump file?

2. In vb how could i split the action,description,and file name using
the corresponding leth data?

[View Quote] > Bot object queries sure can be saved to a file and be reloaded,
> all bots with building capabilities do that. Format is usually
> the propdump format that Mauz (http://mauz.info) describes on
> her worldbuilders page.
>
> The "sequence numbers", together with the X and Z value of a
> query, can be calculated from the location of the object, that
> is part of the propdump, so actually the feature is already
> implemented, somehow.
>
>
[View Quote]

grimble

Jun 15, 2002, 5:06pm
The documented propdump format doesn't include the object number which means
you'd have to rescan anyway. Without the object number you can't handle the
object delete or select events or issue any object change, delete, click or
select calls.

Unfortunately, unless all objects in the cell are dumped to the file, the
sequence not implied by the contents. I would recommend a custom format
prefered by the programmer. Just my opinion - it really depends what the bot
is responsible for in the world. There's only a need to dump the objects you
care about, and a structured format (I don't recommend this unless you've
already got suitable gerator/parser code or componant, but I create all my
files in XML now) in my experience is best rather than a flat one.

Grims.

[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