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: Roster update isint working.  (Read 28351 times)

0 Members and 1 Guest are viewing this topic.

Offline Karsta

  • BeBot User
  • **
  • Posts: 28
  • Karma: +0/-0
Roster update isint working.
« on: February 06, 2010, 10:57:46 am »
bebot is version .67 and it didnt work on .65 either

Kbot [ROSTER]   [UPDATE]        Starting roster update for guild id: 4270081 on RK2
Kbot [ROSTER]   [UPDATE]        XML for the  guild  obtained
Kbot [ROSTER]   [UPDATE]        Roster update failed. Funcom XML returned 0 members.

I tried changing org id and it did work for another org but it doesnt work for our org.
We have had this same problem for some time and i tought its cos org is too big and i cleared ~200 members but it didnt help.

Number of members: 741, and 1 206 lines in kbot_users sql DB.

Karstas

Offline Karsta

  • BeBot User
  • **
  • Posts: 28
  • Karma: +0/-0
Re: Roster update isint working.
« Reply #1 on: February 08, 2010, 10:42:09 am »
Changed back to 0.65 and now roster update works.
Tried 0.67 and it doesn't work so theres something wrong i think.

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: Roster update isint working.
« Reply #2 on: February 08, 2010, 05:36:55 pm »
Apologies for the late reply.

The timeout settings in 0.6.7 might be a bit agressive and this is likely what is causing your issues.

in main/14_Tools.php find line 94
Code: [Select]
function get_site($url, $strip_headers = 0, $server_timeout = 5, $read_timeout = 10)
Change the read timeout from 10 up to 15 or 20 and see if that helps you.
Please let me know which value works best for you.

In 0.6.6 and earlier the timeout value was never even paid attention to, which caused severe problems when funcom servers became unresponsive as the bot could hang for long enough to be disconnected by the server.
BeBot Founder and Fixer Kingpin

Offline Karsta

  • BeBot User
  • **
  • Posts: 28
  • Karma: +0/-0
Re: Roster update isint working.
« Reply #3 on: February 09, 2010, 12:49:52 am »
Apologies for the late reply.

np it was pretty quick.

and that timeout change helped thx.

Karstas

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: Roster update isint working.
« Reply #4 on: February 09, 2010, 10:58:50 am »
Did 15 do the trick for you or did you need to go to 20?
BeBot Founder and Fixer Kingpin

Offline Karsta

  • BeBot User
  • **
  • Posts: 28
  • Karma: +0/-0
Re: Roster update isint working.
« Reply #5 on: February 10, 2010, 01:49:53 pm »
I just put 30 and it worked, but now tested with 15 and didnt work.
20 was good again.

Offline Shelly

  • BeBot Apprentice
  • ***
  • Posts: 192
  • Karma: +0/-0
Re: Roster update isint working.
« Reply #6 on: March 30, 2010, 12:29:19 am »
I have been using 30 for the past month, but just recently the bots started lagging really bad... set it for 20 and they are working better...

Anyone heard of any changes FC has done to chat? Seems lots of bots are lagging badly.

Offline redmagician

  • BeBot Rookie
  • *
  • Posts: 13
  • Karma: +0/-0
Re: Roster update isint working.
« Reply #7 on: March 30, 2010, 10:14:38 pm »
It's probably People of Rubi-Ka.
I've noticed problems getting PoRK to load for the past two weeks or so.

It took 6 minutes just now to get a 503 error.

Offline Shelly

  • BeBot Apprentice
  • ***
  • Posts: 192
  • Karma: +0/-0
Re: Roster update isint working.
« Reply #8 on: March 31, 2010, 01:43:35 am »
I emptied the users table in the database and that seems to have cured the lag... I am thinking that the member cleanup FC did confused the bot... I am now combing thru the exported data to see if I can recover the guestlist to re-import.
« Last Edit: April 01, 2010, 11:09:48 pm by Shelly »

Offline Shelly

  • BeBot Apprentice
  • ***
  • Posts: 192
  • Karma: +0/-0
Re: Roster update isint working.
« Reply #9 on: April 01, 2010, 11:12:23 pm »
Cleaning up the roster table definitely helped. The bots are running much better now... Maybe not looking up the inactive members that FC modified did the trick. I also set the roster to "fallback" mode.

Offline plugz

  • BeBot User
  • **
  • Posts: 35
  • Karma: +0/-0
Re: Roster update isint working.
« Reply #10 on: April 02, 2010, 01:18:29 pm »
Found a tweak that seems to get the bot functioning properly again

Goto settings, tools
under tools:
set tools force_sockets Off
set tools get_site Sockets

restart the bot after that

once I did this, the bot started reacting like you'd expect it to again.

Offline Shelly

  • BeBot Apprentice
  • ***
  • Posts: 192
  • Karma: +0/-0
Re: Roster update isint working.
« Reply #11 on: April 02, 2010, 11:15:29 pm »
Thanks, but I am already set there that same as you suggested. But Also when I try to bring up a web browser to http://people.anarchy-online.com ... it just hangs. I am really starting to think this is an FC issue.

This is the only thing I get back from that site...

Quote
This webpage is not available.

The webpage at http://people.anarchy-online.com/ might be temporarily down or it may have moved permanently to a new web address.

*edit -- I set the bot to use curl instead of sockets (!set tools get_site Curl) and seems a bit more responsive. That was mentioned in a different thread.
« Last Edit: April 02, 2010, 11:41:36 pm by Shelly »

Offline Shelly

  • BeBot Apprentice
  • ***
  • Posts: 192
  • Karma: +0/-0
Re: Roster update isint working.
« Reply #12 on: April 05, 2010, 03:31:17 am »
It seems there is really something wrong with the FC servers... Perhaps they changed their ports again? The XML down load I got after clearing the member table was really quite old. And does not seem to be updating.

Offline taconis

  • BeBot User
  • **
  • Posts: 34
  • Karma: +0/-0
Re: Roster update isint working.
« Reply #13 on: April 06, 2010, 01:55:54 am »
Wolfcomm [23:40:06]     [ERROR] [tools] Coult not connect to server 208.82.193.43:80 (http://people.anarchy-online.com/character/bio/d/l/name/charactername/bio.xml) Reason (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.)

^^^ Is the exact error on the bot.  Return timer was set to 20 and sockets are off.   It cycles 4 times on a character name found in the bot roster and then goes to the next name.  The most interesting thing that I have found is that it errors/times out on buddies (non-org members but alts).  Org members come up clean on the roster update.

Offline Shelly

  • BeBot Apprentice
  • ***
  • Posts: 192
  • Karma: +0/-0
Re: Roster update isint working.
« Reply #14 on: April 06, 2010, 04:12:59 am »
The most interesting thing that I have found is that it errors/times out on buddies (non-org members but alts).  Org members come up clean on the roster update.

The Org members are probably being populated by the XML cache and not the actual FC servers.
Quote
!settings Member
Roster:  Fallback
  Description: What should we use to look up organization information? (Fallback means that if XML fails the cache will be used)
  Change to: [ XML | WhoisCache | Fallback ]
-and-
Quote
!settings Whois
LookupOrder:  funcom_auno
  Description: Which order should we use to look up players information?
  Change to: [ funcom_auno | auno_funcom | funcom_only | auno_only ]

Just a semi-educated guess :)

 

* 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: 196
  • 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