BeBot - An Anarchy Online and Age Of Conan chat automaton

General => News => Topic started by: Alreadythere on August 23, 2007, 11:39:47 pm

Title: Adapted files for new people.anarchy-online.com address
Post by: Alreadythere on August 23, 2007, 11:39:47 pm
The character and org roster XML files are hosted on a new server by FC now. The files in the SVN are adapted to this change.

Thanks to Snarfblatt for pointing this out.

core/ files:
Roster.php (http://svn.shadow-realm.org/index.py/BeBot/branches/0.4/core/Roster.php?view=co), save as .php into the core/ directory.
Whois.php (http://svn.shadow-realm.org/index.py/BeBot/branches/0.4/core/Whois.php?view=co), save as .php into the core/ directory. Contains a fix for the currently broken defender_name XML entries too.

whois update script:
whois-update.conf (http://svn.shadow-realm.org/index.py/BeBot/branches/0.4/extra/whois-update/whois-update.conf?view=co), there are some new options to reduce the load on the FC server. Goes into extra/whois-update/ on default.
whois-update.php (http://svn.shadow-realm.org/index.py/BeBot/branches/0.4/extra/whois-update/whois-update.php?view=co),  goes into extra/whois-update/ on default. Lower load on FC server, longer timeout (in seconds instead of milliseconds now, so adapt your config!), and more output. Handles the currently broken XML files too.

Edit 1: Heavily modified Whois.php to work without the defender_rank field. No need to save the names in the table, just the level is enough. Please re-download the file using the above link.

Edit 2: Fixed small error in Whois.php. Thanks to redmagician for pointing that one out.
Title: Small problem on Whois.php
Post by: redmagician on August 24, 2007, 06:24:38 pm
Small error in Whois.php

$this -> alien_rank_name[1] = "None";

should be

$this -> alien_rank_name[0] = "None";

Thanks for the fast work on updating these modules :)
Title: Re: Adapted files for new people.anarchy-online.com address
Post by: Alreadythere on August 24, 2007, 07:12:16 pm
Thanks, files corrected.
Title: Re: Adapted files for new people.anarchy-online.com address
Post by: Aesgaard on August 26, 2007, 03:25:06 am
It still shows alien levels ? :P
Title: Re: Adapted files for new people.anarchy-online.com address
Post by: Parfet on August 30, 2007, 06:29:37 am
i'm having problems with the !autoupdate command now with this patch, trunk version, error follows
Quote
Hobsbot [2007-08-30 03:33:50]   [GROUP] [MSG]   [House of Black Star] Parfet: !rosterupdate

Fatal error: Call to a member function update_guild() on a non-object in Hobsbot/modules/Roster.php on line 165
this ends up crashing the bot & screwing up the roster so that it won't respond to some people
Code: [Select]
function update_guild() is called from
Code: [Select]
$this -> bot -> roster_core -> update_guild($force); and if i remove the argument it still has the same problem
Title: Re: Adapted files for new people.anarchy-online.com address
Post by: Parfet on August 30, 2007, 06:39:57 am
nm, somehow i got a bad copy  ??? trunk version of the core works fine
Title: Re: Adapted files for new people.anarchy-online.com address
Post by: Diablo on September 02, 2007, 09:24:10 am
Has the server status site changed also or is turned off?
Title: Re: Adapted files for new people.anarchy-online.com address
Post by: Alreadythere on September 02, 2007, 10:39:16 am
Last time I checked the probes site was still down.

It's no problem with the bot files at least.
SimplePortal 2.3.7 © 2008-2024, SimplePortal