BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => 0.5.x Custom/Unofficial Modules => Topic started by: shadowdamon on July 12, 2008, 08:37:28 am

Title: More XML errors
Post by: shadowdamon on July 12, 2008, 08:37:28 am
Lately out of the blue ive been getting the Funcom XML error when the roster tries to update.  My bot has been working fine for a month with no errors. It just happened suddenly, did I miss a xml update? if not I could use a working one :)
Title: Re: More XML errors
Post by: Alreadythere on July 12, 2008, 11:29:08 am
Easy explanation: FC broke their XML server and didn't fix it yet.
Title: Re: More XML errors
Post by: shadowdamon on July 13, 2008, 03:57:09 am
so its not me? oh thank god.
Title: Re: More XML errors
Post by: Nytridr on July 13, 2008, 11:48:43 am
WTB them getting it fixed.  its actually getting kind of old.. people are already complaining of there levels not updating on the bots and a few other things related to FC xml being down.
Title: Re: More XML errors
Post by: shadowdamon on July 14, 2008, 01:50:39 am
Do they even have intentions of fixing them?
Title: Re: More XML errors
Post by: Nytridr on July 14, 2008, 02:00:51 am
all I know is that its been like this for a week or 2.. so who knows.. maybe they changed something and broke it and dont even know that they broke it.. Has anyone attempted to get ahold of them to ask them about it?
Title: Re: More XML errors
Post by: Zeephonz on July 14, 2008, 02:14:55 am
I sent them an email... i think their email server is on the same machine as the XML server  ;D
Title: Re: More XML errors
Post by: Temar on July 14, 2008, 06:06:47 am
I sent them an email... i think their email server is on the same machine as the XML server  ;D
yesterday i got an email from [email protected]
telling me my account was now inactive cuz of card details. as the botton it also said

Should you require further assistance please contact [email protected]

this is for Anarchy Online Account
Title: Re: More XML errors
Post by: Nytridr on July 14, 2008, 08:53:41 am
Some problems that are being experienced from this IS:  Members are being deleted from the roster and are being set to annon..  If you have members that are complaining about this, just readd them to the roster by !member add {name}.   More and more people are being deleted every day from the numerous bots that I run, and the roster updates are failing.

Nyt
Title: Re: More XML errors
Post by: Temar on July 14, 2008, 01:06:08 pm
i havnt had this problem, my roster update just fails
Title: Re: More XML errors
Post by: Temar on July 14, 2008, 04:59:19 pm
funcom has fixed it on there end!
Title: Re: More XML errors
Post by: Glarawyn on July 14, 2008, 08:35:01 pm
Things are updating again. In the future if this happens again it would be possible to set your chached whois records to not expire by using some SQL:

UPDATE whois SET updated = UNIX_TIMESTAMP()+(86400*XXX);

This will set the updated field on the record to a timestamp that is XXX days in the future. I tried this on my bots and this fixed the lookup issues...because the records weren't expired my bots stopped trying to get XML data from people.anarchy-online.com.

Today I simply changed the sign on the SQL so that the records expired XXX days in the past:
UPDATE whois SET updated = UNIX_TIMESTAMP()-(86400*XXX);

I then ran my whois-update.php script as normal. Things are getting updated and should be getting back to normal soon.

Title: Re: More XML errors
Post by: Nytridr on July 14, 2008, 09:14:34 pm
awesome to hear.. time to change things back..:)p
Title: Re: More XML errors
Post by: Temar on July 15, 2008, 02:33:15 am
i already added code for lookup order in whois file so u can simply turn off the lookup of funcom
Title: Re: More XML errors
Post by: shadowdamon on July 21, 2008, 12:26:02 am
Well this cant be good. Im still having problems. Did i miss something?
Title: Re: More XML errors
Post by: Temar on July 21, 2008, 02:41:11 am
the problem is over funcom fixed there server...
Title: Re: More XML errors
Post by: laen on July 22, 2008, 01:03:22 am
the problem is over funcom fixed there server...

Their.

But indeed, using 0.4.3 or 0.5.2, the released versions, still give me that problem. Even with the svn-core/Whois.php set to auno_only.

0.5.2:
Code: [Select]
Warning: socket_connect(): unable to connect [111]: Connection refused in /var/www/onedot.nl/ao/bots-dev/main/14_Tools.php on line 137
Title: Re: More XML errors
Post by: shadowdamon on July 22, 2008, 11:38:56 am
Well i seem to be still having problems. prolly something wrong with my files of course...
Title: Re: More XML errors
Post by: shadowdamon on July 24, 2008, 04:28:46 am
some1 mind linking me/postin a good file. Pointing me in the right direction /thread would be nice too :)
Title: Re: More XML errors
Post by: Temar on July 24, 2008, 05:21:39 am
there is no Fix to this problem, this was Funcom not us and they fixed it, your issue must be different, funcom has know to ban IP for heavy use before
Title: Re: More XML errors
Post by: laen on July 24, 2008, 08:29:21 am
there is no Fix to this problem, this was Funcom not us and they fixed it, your issue must be different, funcom has know to ban IP for heavy use before

Thats a crappy reply. You're saying there's still a problem, but there isn't cause they fixed it. Yes there is, and the problem probably has nothing to do with IP bans since it happens even when set to auno_only.

From a Bebot developer i'd expect a bit more. Could it be a timeout, too slow data transfer, should we use the code a bit differently.. or should we use a new snapshot from svn completely instead of just Whois.php?
Title: Re: More XML errors
Post by: Alreadythere on July 24, 2008, 09:50:02 am
Did you try to change back to funcom lookups?

I think auno created some timeouts for me, which is why I switched back to FC after they fixed their stuff.
Title: Re: More XML errors
Post by: laen on July 24, 2008, 01:24:02 pm
Not yet, gonna do some more testing tonight.
Title: Re: More XML errors
Post by: shadowdamon on July 25, 2008, 07:22:41 am
I doubt im banned as i shut the bot down 50% of the time. All im asking is for a working file. If that doesnt work then something else will be wrong of course.
Title: Re: More XML errors
Post by: Sigi_cz on July 25, 2008, 10:46:08 pm
I am getting "[USER] [ERROR] Could not lookup .." too. duno what shoul i doo.
Trying to get Bebot Hyborean working, but nonworking name lookup is a bit problem..
Title: Re: More XML errors
Post by: Vrykolas on July 26, 2008, 12:56:38 am
Sigi_cz: I'm looking into the error, but it doesn't seem to cause any problems in the running of the bot - it looks like it's only an issue during startup...
Title: Re: More XML errors
Post by: Sigi_cz on July 26, 2008, 02:23:07 pm
well my problem is that i cant see any character informations.
Code: [Select]
[2008-07-26 11:45:21] [GROUP] [MSG] [~Guild] Somebody: hello
[2008-07-26 11:45:21] [BUDDY] [BUDDY-ADD] Somebody
[2008-07-26 11:45:21] [USER] [ERROR] Could not lookup Somebody whois.
[2008-07-26 11:45:21] [TELL] [OUT] -> Somebody: Nhbot has added you to the bot.
[2008-07-26 11:45:21] [BUDDY] [LOG] Somebody changed status [1] (MEMBER)
[2008-07-26 11:45:21] [ERROR] [AOChatWrapper_Core] No user specified
[2008-07-26 11:45:21] [GROUP] [MSG] [~Guild] Nhbot: "Somebody" (Lvl  ) Logged On :: [link]Details[/link]
anytime somebody logs in - no info. !whois !online !sm commands dont show anything
!is works fine.
SimplePortal 2.3.7 © 2008-2024, SimplePortal