Thread

vbsdk problem (Sdk)

vbsdk problem // Sdk

1  |  

the derek

Dec 22, 2000, 1:25am
i use the vb sdk
for some reason the bot is querying the wrong
place and is going from cell to cell incorrectly.
anyone else have this problem?

grimble

Dec 28, 2000, 9:43am
Ummmm nope ... but then you don't exactly explain the problem.

Firstly, have you made sure that you're setting the centre sector correctly
for the aw_query?

Secondly, what does "going from cell to cell incorrectly" mean?

Have you read and understood http://www.activeworlds.com/sdk/property.htm ??

Grims


[View Quote]

the derek

Dec 30, 2000, 5:03am
it doesnt query the cell the bots in and it will
query a cell randomly within an
area of the bot... i used code off the site...

[View Quote] > Ummmm nope ... but then you don't exactly explain the problem.
>
> Firstly, have you made sure that you're setting the centre sector correctly
> for the aw_query?
>
> Secondly, what does "going from cell to cell incorrectly" mean?
>
> Have you read and understood http://www.activeworlds.com/sdk/property.htm ??
>
> Grims
>
[View Quote]

grimble

Jan 1, 2001, 5:18pm
ok, well the position of the bot is irrelevant to the query. When you query,
the first two parms are the centre sector of the 9 that are queried. This is
described in the link provided in the previous post. The cells are then
returned in ascending sequence number order (also described in the linked
page). Its not random - its to allow bots to requery an area quicky based on
the most recent updates using the 3x3 sequence number matrix.

Grims


[View Quote]

the derek

Jan 5, 2001, 1:26am
i know that.. but it isnt getting all the property around the bot..i take it
mrgrimm aint on these ngs

[View Quote] > ok, well the position of the bot is irrelevant to the query. When you query,
> the first two parms are the centre sector of the 9 that are queried. This is
> described in the link provided in the previous post. The cells are then
> returned in ascending sequence number order (also described in the linked
> page). Its not random - its to allow bots to requery an area quicky based on
> the most recent updates using the 3x3 sequence number matrix.
>
> Grims
>
[View Quote]

mrgrimm

Jan 5, 2001, 5:12am
I read these newgroups all the time, I just don't bother replying.

I haven't had any problems with querying, it's most likely something in your
code.

-MrGrimm

[View Quote]

grimble

Jan 5, 2001, 11:16am
As I said, I don't have any problems ... I have simple bots that record
whole areas successfully.

Sounds to me like you've got the sequence number matrix wrong or you're not
handling the "incomplete" aw_callback_query messages correctly.

Grims


[View Quote]

the derek

Jan 7, 2001, 11:36pm
i took it right off the site.. and fixed some of the typos you got on there
either a typo is causing it, or i have the code in the wrong place

[View Quote] > I read these newgroups all the time, I just don't bother replying.
>
> I haven't had any problems with querying, it's most likely something in your
> code.
>
> -MrGrimm
>
[View Quote]

the derek

Jan 7, 2001, 11:36pm
woops maybe i shouldve told you this- im using the older sdk cause the new one
doesnt log in in the right place (if at all)

[View Quote] > I read these newgroups all the time, I just don't bother replying.
>
> I haven't had any problems with querying, it's most likely something in your
> code.
>
> -MrGrimm
>
[View Quote]

grimble

Jan 8, 2001, 10:01pm
Why don't you use the latest version and get that to work correctly instead
of trying to use an old version and having different problems with that?

What was the problem you used to get with v2?


[View Quote]

the derek

Jan 8, 2001, 11:08pm
there has to be an easy way to upgrade-i get all kinds of version conflicts and
once i get everything straightened out-the bot doesnt log in- it keeps logging
into gz no matter what i do

[View Quote] > Why don't you use the latest version and get that to work correctly instead
> of trying to use an old version and having different problems with that?
>
> What was the problem you used to get with v2?
>
[View Quote]

grimble

Jan 8, 2001, 11:27pm
I seem to remember you need to install v2 using the MS installer. That
should look after all that kind of stuff for you. I only had conflict probs
the first time I tried it before I read the instructions (Duh!). Installed
it a number of times since then (I clear this machine down and reinstall it
all every-so-often) with no probs.

Sounds pretty wierd though. Was it the same code you are using now? Have you
tried swapping them over and using the same code you are using with the old
version (that gets further)?

Running out of ideas ... difficult to do without getting at the code. Sorry.

Grims



[View Quote]

ox64

Mar 23, 2001, 3:34am
Did you figure out a solution to your property query problem? I have been
trying to write a bot app which queries a certain area of property, and
analyse each object, but having problems being able to get all of the
objects in the area (I am only getting 482 objects every time and there's
many many more objects in the area I'm querying). I am using the framework
off the VB wrapper site, but I believe I have something messed up in my
object handler event. Any feedback or advice is greatly appreciated from
anyone. Are these the correct variables to use in the object handler event
or is there some sorta array that returns the object information? (see
below)

Private Sub sdk_EventCellObject()
Print "Model "; sdk.AwObjectModel
Print "Description "; sdk.AwObjectDescription
Print "Object Action "; sdk.AwObjectAction
End Sub

[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