BeBot - An Anarchy Online and Age Of Conan chat automaton

Development => Coding and development discussion => Topic started by: Hurtig on January 04, 2009, 03:40:50 pm

Title: AO chat server connect/disconnect events (non-buddy/PG)?
Post by: Hurtig on January 04, 2009, 03:40:50 pm
Hi all :)

Sorry for my n00bish questions here, but I'm fairly green when it comes to Bebot's and AOChat's code base. Please be gentle =)

I have been poking around in the bebot and aochat code base trying to figure out how it works. I have primarily looked at how events are received, registered and parsed in the following files:

Bot.php
Main.php
AOChat.php
AOChatWrapper.php

One thing I have noticed is that there are events for buddy logon/logoff and for private group joins/leaves, but nothing for non buddy/PG.

I seem to recall an "AORC" type client where I would get constant spam every time someone connected/disconnected the AO chat servers...

Is it possible to receive an event every time someone joins or leaves the AO chat server via the AOChat.php lib?

Or is the only alternative to list all characters on a dimension and poll them for their online status at regular intervals?

Cheers!

Hurt
Title: Re: AO chat server connect/disconnect events (non-buddy/PG)?
Post by: Vhab on January 05, 2009, 06:42:13 am
Short answer: no

Long answer: yes. But you'll need to crawl AO's site for organization ID's, pull xml for all organizations to build your own characters database, use alot of slaves or rotate through the characters to get online status using your friendslist.

You only receive logon/logoff events for friends. What you saw in aorc are probably events from your temporary friends. (they get auto added when you receive a tell from someone ingame)

If you're on RK1 try /tell vhanet !tracker :)
SimplePortal 2.3.7 © 2008-2024, SimplePortal