BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => BeBot 0.2 support => Topic started by: jjones666 on December 10, 2006, 05:56:18 pm

Title: Only current solution to FC XML issues regarding !whois failures.
Post by: jjones666 on December 10, 2006, 05:56:18 pm
Regulars, please feel free to correct any wrong assumptions.  I saw a lot of people slating bebot for being unable to do !whois correctly.

Problem:
Character information is not viewable via !whois.
ie. !whois anglife [xbot]: www.anarchy-online.com was too slow to respond.

Cause:
Funcom XML for characters simply does not work for all new characters (created since last ~2 months).  This is not a bebot specific issue, I think all bots use this XML for !whois information.  Example:

Old character (works):
http://www.anarchy-online.com/character/bio/d/1/name/jackjonez
New character (doesn't work):
http://www.anarchy-online.com/character/bio/d/1/name/anglife

Information:
Funcom XML for organisations works fine.

Current Workaround:
Caching of characters in database using organisation XML rather than character XML - pulling information from database for !whois and other selected modules:

Prerequisites:
Whois cache - http://bebot.link/index.php/topic,223.0.html (be sure to realise currently there is a seperate script which you need to manually run outside the bot to update the cache).
Modified !whois - http://bebot.link/index.php/topic,314.0.html
Modified towerattack - http://bebot.link/index.php/topic,230.0.html

Limitations:
New characters that are not in org cannot be fixed.
Obviously the Funcom org XML only updates daily.

Cheers,

-jj-
Title: Re: Only current solution to FC XML issues regarding !whois failures.
Post by: Khalem on December 11, 2006, 04:18:08 pm
Just want to add that 0.3 svn gives more sane error replies when Funcom XML fails for whatever reason instead of the "too slow to respond" regardless of what the actual problem is, not to mention current svn has auno fallback.
Title: Re: Only current solution to FC XML issues regarding !whois failures.
Post by: pusikas on December 14, 2006, 07:43:58 am
Typical n00b question prolly: does this all work with the 0.2.10 bot? I know it is in the 0.2 support forum, but reading the linked threads made me unsure...
Title: Re: Only current solution to FC XML issues regarding !whois failures.
Post by: Alreadythere on December 14, 2006, 07:50:42 am
Yes, you can get all those to run under 0.2.x.
Title: Re: Only current solution to FC XML issues regarding !whois failures.
Post by: mesa on December 14, 2006, 11:44:18 pm
this is some great stuff guys thanks much for this, it finally seems to have solved the charID headaches for me for now.

couple things I might suggest.  A breif explaination that you need to !whois someone for the cache to being getting org info on them

I found that some of the whois commands early in post JJ linked to by glarywn didnt add to the whois but later down in the post i think they did.  for sure having a modified !whois, !online, !blacklist alts and tower attack all in one place would be helpful.

some info on having a proper .ini would also be nice

but again great work here, this cache is a real lifesaver :)
Title: Re: Only current solution to FC XML issues regarding !whois failures.
Post by: Alreadythere on December 15, 2006, 09:46:36 am
for sure having a modified !whois, !online, !blacklist alts and tower attack all in one place would be helpful.
Not sure anyone is going to do that as 0.3 has all that included.
SimplePortal 2.3.7 © 2008-2025, SimplePortal