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: BeBot 0.5.0 (SVN)  (Read 20643 times)

0 Members and 5 Guests are viewing this topic.

Offline Dracutza

  • BeBot Apprentice
  • ***
  • Posts: 126
  • Karma: +0/-0
Re: BeBot 0.5.0 (SVN)
« Reply #15 on: March 29, 2008, 08:34:24 pm »
other than the ini thing, all load issues I've seen seem to be fixed now.

New thing though that I've seen A LOT in 5 as opposed to 4...

Quote
Warning: mysql_connect(): Can't connect to MySQL server on 'localhost' (10048) in P:\bot\Sources\MySQL.php on line 96
MySQL error (# 0) on query: Cannot connect to the database server!

There is no rhyme or reason to this happening.  It seems to happen regularly when launching a new bot instance before an old one is 100% done loading, but that is not always the case.  Sometimes I can get several bots to launch at "the same time" with no error, and sometimes I get it even when it's the first instance getting loaded.

Eventually it works itself out and everything appears to load fine, but I never saw this happen on 4 in the quantity is does in 5.

Offline Greengadget

  • BeBot Rookie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: BeBot 0.5.0 (SVN)
« Reply #16 on: March 29, 2008, 08:56:59 pm »
delete the 1 in core folder. Its now in main folder

thx, works fine now

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: BeBot 0.5.0 (SVN)
« Reply #17 on: March 29, 2008, 09:02:11 pm »
Quote
Warning: mysql_connect(): Can't connect to MySQL server on 'localhost' (10048) in P:\bot\Sources\MySQL.php on line 96
MySQL error (# 0) on query: Cannot connect to the database server!
I don't know what the problem with mysql itself it, maybe there is some connection per time limit.

The real reason this may happen is a change in the MySQL layer. The bot now calls mysql_connect() first, reestablishing any connection closed since the last SQL query. If the connection is still open it returns just the already existing connection, so no harm done then. As a result there may be a couple more mysql_connect() calls then before, the 0.4 version doesn't try to reconnect.

Offline Dracutza

  • BeBot Apprentice
  • ***
  • Posts: 126
  • Karma: +0/-0
Re: BeBot 0.5.0 (SVN)
« Reply #18 on: March 30, 2008, 03:37:17 am »
In the !mail module

Quote
bot: Message sendt to

sent

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: BeBot 0.5.0 (SVN)
« Reply #19 on: March 30, 2008, 04:47:09 am »
Fixed in SVN

Post Updated to 29th

 

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