ThreadBoard ArchivesSite FeaturesActiveworlds SupportHistoric Archives |
Making a Bot Invisible (Sdk)
Making a Bot Invisible // Sdkkristy8963147Jul 13, 2002, 4:48pm
This is kind of a dumb question but what's the code for making a bot
invisible. Delphi is prefered but any language will do. __________________________________________________________________ Kristy ICQ#: 76500997 Current ICQ status: + More ways to contact me i See more about me: __________________________________________________________________ zeo toxionJul 13, 2002, 5:03pm
Do not call aw_state_change and the bot will not appear in the world.
-- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- A message from Zeo Toxion -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- [View Quote] grimbleJul 13, 2002, 7:42pm
True enough answer, but I think a little more guidance/info would be helpful
here. Bots don't have "invisibility" without some sacrifices unless it enters the world in Global Mode (AW_ENTER_GLOBAL attribute which gives you information overload in comparison). Because the bot is not actually present as an avatar, it has no hearing radius - because there's no centre point for the radius, usually the avatar's position. As with the browser, this radius usually acts as a filter for the interaction events for other avatars (entering, leaving, moving and chatting within the local area), and so these events will not be supplied to the bot at all. If you have caretaker rights in the world, you can use Global Mode to stay invisible and still receive these events, but there is still no hearing radius to restrict which events are delivered and you get ALL the avatar add, delete and change events and all chat events occurring in the whole world. Things you can do without announcing your position in a world where you don't have caretaker rights include property surveys and object add/change/deletes. Grims [View Quote] zeo toxionJul 13, 2002, 7:47pm
And another thing is the bot cannot use aw_say while invisible since there
is no avatar for it to come from. It cannot recevive whispers either since it won't show in the whisper list. The main way to communicate while invisibile is console messages. -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- A message from Zeo Toxion -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- [View Quote] |