Board ArchivesSite FeaturesActiveworlds SupportHistoric Archives |
roomie // User Search
roomie // User SearchNewbie Bot Programming - can't "see" bot; get 439Mar 29, 2004, 2:32am
Hi Everyone,
I am an experienced C/C++ programmer new to bot programming. I have created a bot which seems to login OK, but I can't "see" the bot when I'm in the same world. I handle the AW_EVENT_AVATAR_ADD and the bot gets a callback for my avatar - good. When I make the bot try to say something or whisper something to my avatar, I get 439 - RC_NO_CONNECTION - bad. Do I have to have certain permissions to run a bot (I'm a new citizen)? Do I have to be in a particular world (I am testing in AW)? What is the AW_MY_STATE attribute for (my bot seems to have state 0)? Thanks!! - me Newbie Bot Programming - can't "see" bot; get 439Mar 29, 2004, 1:10pm
Yayy!!!!!!!!!!!!
It worked! It worked! *jumps up and down laughing I tried my bot in Xelagon and all works great now! (I also increased the frequency of calling aw_wait and called it with param 0 - so that might have been it too) Thanks everyone. You have a great community here. By the way, I played around with a Xelagot several months ago when I was working on some webpages for someone else's aw project. I logged in and logged in the bot and told it to "come here." While I waited around for the bot to show up I was creepily reminded by that short horror story about the old couple whose only son is lost tragically at sea (or something like that). The man finds some kind of genie lamp with three wishes and brings it home to his wife. They wish for something innocuous to test it and it comes true with some kind of unforseen twist (can't remember the details). So the wife grabs up the lamp and wishes for her son to come home. Nothing happens, but the man is filled with a sense of foreboding. In the middle of the night, they hear this horrible scratching and moaning at the door. The wife runs to open it and the man in horror realizes that they have raised the undead. He snatches up the lamp and just before the door opens, wishes the son back to the grave. The door opens and nothing is there... Anyway, the bot was very nicely behaved and all - nothing like an undead corpse. :-) Thanks for the great application! I'll let you all know how it goes. Anyone know of any natural language processing bots out there? (cuz that's what I'm working on) Thanks again everyone! - me [View Quote] |