Thread

HamBot using SDK, no entry in Atlantis? (Sdk)

HamBot using SDK, no entry in Atlantis? // Sdk

1  |  

x@x.com (xelag)

Oct 22, 1998, 8:13pm
I started using the SDK option in HamBot today. In Beta world it logs
fine, in Atlantis the program freezes when getting world info. Can
somebody explain that?

I've been working at a bot script for HamBot for a few days in 'hambot
mode', and this developmen is frustrating, since I 'live' in Atlantis.

What priviliges do SDK bots have. May they build, send telegrams...
just as its citizen owner does?

TIA, XelaG


Alex Grigny de Castro
name: agrigny
domain: xs4all.nl
e-mail: <name> at <domain>

jw

Oct 22, 1998, 9:02pm
[View Quote] > I started using the SDK option in HamBot today. In Beta world it logs
> fine, in Atlantis the program freezes when getting world info. Can
> somebody explain that?
>
> I've been working at a bot script for HamBot for a few days in 'hambot
> mode', and this developmen is frustrating, since I 'live' in Atlantis.
>
> What priviliges do SDK bots have. May they build, send telegrams...
> just as its citizen owner does?

all, yes, no.

>
>
> TIA, XelaG
>
> Alex Grigny de Castro
> name: agrigny
> domain: xs4all.nl
> e-mail: <name> at <domain>

hamfon

Oct 22, 1998, 9:57pm
> I started using the SDK option in HamBot today. In Beta world it logs
> fine, in Atlantis the program freezes when getting world info. Can
> somebody explain that?

The problem is that Atlantis is a newer (2.1) world, with a list of citizen
numbers who are allowed to run bots. (A bot-rights parameter, similar to
build-rights, etc). I just checked, and the only citizen number allowed to
run bots at this very instant is Cryonics.

The call to aw_enter() seems to have a problem (or the implementation in
HamBot does, maybe ;-) , causing HamBot to hang.

To fix this problem, you need to talk to Cryonics to get your citizen
number enabled to run bots.

HamBot will continue to run in "native" mode (non-SDK), tho, even in worlds
with bot-rights. This will probably work until the encryption is
*required*.

> What priviliges do SDK bots have. May they build, send telegrams...
> just as its citizen owner does?

The SDK bots may build, but may not (currently... ;-) send telegrams or
keep contact lists. HamBot allows telegrams and contact lists, but only
when you log in your bot as a REAL citizen (not as a tourist, and not using
the SDK).

x@x.com (xelag)

Oct 23, 1998, 2:27pm
On 22 Oct 1998 15:57:22 -0800, "HamFon" <ncrowle at sprintmail.com>
[View Quote] Thanks, HamFon, for your reply.

Yesterday night I parked 2 bots in my home in Atlantis and closed the
browser. When I returned (hours later), they were gone. The log says:

Sending AvatarPosition 445106NS 308156WE 50A 1326, Av 22(0) for bot 0
Sending World message 0x08, length 19, for instance 0
Socket send returned error 10058
Socket send to world failed - instance 0
Sending AvatarPosition 445256NS 308306WE 100A 1326, Av 3(0) for bot 1
Sending World message 0x08, length 19, for instance 1
Socket send returned error 10058
Socket send to world failed - instance 1
Sending AvatarPosition 445183NS 308093WE 50A 1407, Av 22(0) for bot 0
Sending World message 0x08, length 19, for instance 0
Socket does not exist - can not send
....
Sending AvatarPosition 445201NS 308117WE 50A 422, Av 22(0) for bot 0
Sending World message 0x08, length 19, for instance 0
Socket does not exist - can not send
Socket send to world failed - instance 0
Sending AvatarPosition 445351NS 308267WE 100A 422, Av 3(0) for bot 1
Sending World message 0x08, length 19, for instance 1
Socket does not exist - can not send
Socket send to world failed - instance 1
....
This went on for hours, I suppose (the log file is 4.7 megabytes!).
But I've had this happen before after a few minutes. Does this mean
that the connection to the server was lost at a certain point? Can one
recover the bots at the same place and state? The script in HamBot
goes on running, messages in MainLoop are still processed, HamBot
attempts to send them to the server, and the bots are not actually
'killed', although they dont have a socket. This means IMHO that the
information about the bots is still present. Can I, as user, trap this
refusal 'event' in the script, so that I can KillBot and StartBot my
bots at the same place and state?

BTW, I'm having a lot of fun with this program. Hope things like
string processing and trigonometry (for a 'move forward' action, for
instance) will be added, and more user variables. A suggestion that
would add more possibilities easily: ChopFirstWord B$ A$ , where B$ is
the chopped bit? Old syntax ChopFirstWord A$ (one parameter) should
still work for compatibility. And maybe IfVarIsEqual A$ x Text (case
insensitive)?

Cheers and thanks for your answer. XelaG




XelaG:
>
HamFon:
>The problem is that Atlantis is a newer (2.1) world, with a list of citizen
>numbers who are allowed to run bots. (A bot-rights parameter, similar to
>build-rights, etc). I just checked, and the only citizen number allowed to
>run bots at this very instant is Cryonics.
>
>The call to aw_enter() seems to have a problem (or the implementation in
>HamBot does, maybe ;-) , causing HamBot to hang.
>
>To fix this problem, you need to talk to Cryonics to get your citizen
>number enabled to run bots.
>
>HamBot will continue to run in "native" mode (non-SDK), tho, even in worlds
>with bot-rights. This will probably work until the encryption is
>*required*.
>
XelaG:
>
HamFon:
>The SDK bots may build, but may not (currently... ;-) send telegrams or
>keep contact lists. HamBot allows telegrams and contact lists, but only
>when you log in your bot as a REAL citizen (not as a tourist, and not using
>the SDK).

Alex Grigny de Castro
name: agrigny
domain: xs4all.nl
e-mail: <name> at <domain>

x@x.com (xelag)

Oct 23, 1998, 8:48pm
On 22 Oct 1998 15:57:22 -0800, "HamFon" <ncrowle at sprintmail.com>
[View Quote] HamFon:

Refering to your suggestion of asking Cryonics, I got this message:

Telegram from Cryonics, sent 15 minutes ago:
At this time we are not allowing SDK bots in COF worlds other than COF
bots.

XelaG's question:

HamFon's answer:
>The problem is that Atlantis is a newer (2.1) world, with a list of citizen
>numbers who are allowed to run bots. (A bot-rights parameter, similar to
>build-rights, etc). I just checked, and the only citizen number allowed to
>run bots at this very instant is Cryonics.


Alex Grigny de Castro
name: agrigny
domain: xs4all.nl
e-mail: <name> at <domain>

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