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

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

Author Topic: New Bot.php for changed chat-server  (Read 4680 times)

0 Members and 1 Guest are viewing this topic.

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
New Bot.php for changed chat-server
« on: August 09, 2007, 08:20:56 pm »
With the server change FC changed the names and addresses of the chat servers too. This means that without any changes the old Bot.php won't be able to connect to the chat servers at some point (FC claims to have the old names up for the moment thought).

In the SVN the 0.4 and 0.5 versions of the Bot.php are updated to the new names, download them from the links below.

0.4 version, save as .php into the Sources/ folder.
0.5 version, save as .php into the Sources/ folder.
« Last Edit: October 06, 2007, 05:56:24 pm by Alreadythere »

Offline Dracutza

  • BeBot Apprentice
  • ***
  • Posts: 126
  • Karma: +0/-0
Re: New Bot.php for changed chat-server
« Reply #1 on: August 09, 2007, 08:26:00 pm »
does this also resolve the bot crashing after roster update attempt?

Offline Dracutza

  • BeBot Apprentice
  • ***
  • Posts: 126
  • Karma: +0/-0
Re: New Bot.php for changed chat-server
« Reply #2 on: August 09, 2007, 08:34:13 pm »
Pobot [2007-08-09 18:34:50]     [ROSTER]        [UPDATE]        Starting roster update
Pobot [2007-08-09 18:34:50]     [ROSTER]        [UPDATE]        Roster update failed. Funcom XML returned 0 members.
Read error: EOF
Pobot [2007-08-09 18:34:57]     [CONN]  [ERROR] Bot has disconnected. Reconnecting in 60 seconds.

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: New Bot.php for changed chat-server
« Reply #3 on: August 09, 2007, 08:37:50 pm »
FC's server are still badly lagged, perhaps that is creating your problem?

Though the bot shouldn't crash just because it can't get any roster.

Offline Nytridr

  • BeBot Expert
  • ****
  • Posts: 262
  • Karma: +0/-0
    • Rising Sun
Re: New Bot.php for changed chat-server
« Reply #4 on: August 09, 2007, 10:55:33 pm »
it is crashing beacuse the xml part of FC charater look up isnt messed up I believe.. once they get all the links fixed and everything else working I believe this will be taken care of.  Should add to the bot kind of a fix though to turn off roster updates.  woould be much use after this but if somethign ever did happen like this at least we could shut it off and the bot would continue working. 
Co-Prez of Rising Sun RK1 (1st & only org I will ever belong to)

Offline Nytridr

  • BeBot Expert
  • ****
  • Posts: 262
  • Karma: +0/-0
    • Rising Sun
Re: New Bot.php for changed chat-server
« Reply #5 on: August 09, 2007, 10:57:45 pm »
well was going to edit my previous post to add this.. but for some reason cant find the edit button..:)

Code: [Select]
<HTML>
<HEAD><TITLE>Site Error</TITLE></HEAD>
<BODY>

<TABLE BORDER="0" WIDTH="100%">
<TR VALIGN="TOP">

<TD WIDTH="10%" ALIGN="CENTER">
&nbsp;
</TD>

<TD WIDTH="90%">
  <H2>Site Error</H2>
  <P>An error was encountered while publishing this resource.
  </P>
  <P><STRONG>Database Error</STRONG></P>
 
  Sorry, a site error occurred.<p>
<!--
Traceback (innermost last):
  File /funcom/servers/Zope/lib/python/Products/Hotfix_2002-04-15/__init__.py, line 51, in publish_module
  File /funcom/servers/Zope-2.3.2-src/lib/python/ZPublisher/Publish.py, line 187, in publish
  File /funcom/servers/Zope-2.3.2-src/lib/python/ZPublisher/Publish.py, line 162, in publish
  File /funcom/servers/Zope-2.3.2-src/lib/python/ZPublisher/BaseRequest.py, line 340, in traverse
  File /funcom/servers/Zope-2.3.2-src/lib/python/Shared/DC/ZRDB/DA.py, line 592, in __bobo_traverse__
  File /funcom/servers/Zope-2.3.2-src/lib/python/Shared/DC/ZRDB/DA.py, line 467, in __call__
    (Object: stats)
Database Error: stats is not connected to a database

-->
  <HR NOSHADE>

  <P>Troubleshooting Suggestions</P>

  <UL>
  <LI>The URL may be incorrect.</LI>
  <LI>The parameters passed to this resource may be incorrect.</LI>
  <LI>A resource that this resource relies on may be encountering an error.</LI>
  </UL>

  <P>For more detailed information about the error, please
  refer to the HTML source for this page.
  </P>

  <P>If the error persists please contact the site maintainer.
  Thank you for your patience.
  </P>
</TD></TR>
</TABLE>

</BODY>
</HTML>
Co-Prez of Rising Sun RK1 (1st & only org I will ever belong to)

 

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


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 pm]


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


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm]

* Who's Online
  • Dot Guests: 501
  • 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