collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18366
  • stats Total Topics: 2501
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: AO chat server connect/disconnect events (non-buddy/PG)?  (Read 5200 times)

0 Members and 1 Guest are viewing this topic.

Offline Hurtig

  • BeBot Rookie
  • *
  • Posts: 5
  • Karma: +0/-0
AO chat server connect/disconnect events (non-buddy/PG)?
« 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

Offline Vhab

  • Contributor
  • *******
  • Posts: 180
  • Karma: +0/-0
    • VhaBot Forum
Re: AO chat server connect/disconnect events (non-buddy/PG)?
« Reply #1 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 :)

 

* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm ]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am ]

* Who's Online
  • Dot Guests: 109
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal