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: Frustration LoL  (Read 3130 times)

0 Members and 1 Guest are viewing this topic.

Offline Vivek Mjod

  • BeBot Rookie
  • *
  • Posts: 9
  • Karma: +0/-0
Frustration LoL
« on: December 23, 2011, 12:23:02 am »
I lost MySQL data base in a computer fail, but I had my bebot files backed up...

I installed MySQL on the new computer, followed the same directions for MySQL set up and copied the Bebot files over from my backup.

Now the bot will only run if I remove 6 mods that I had added... BEER, Bound, Blackadder, Homer, and two other custom I made (Conan and Southpark)...

It was difficult to lose the MySQL database info, but that can be recreated with a little time, any Ideas why only a few mods no longer work?

Offline Tyrence

  • BeBot User
  • **
  • Posts: 41
  • Karma: +0/-0
Re: Frustration LoL
« Reply #1 on: December 23, 2011, 06:12:39 pm »
You gotta post the error messages or no one will be able to help you.....

Offline Vivek Mjod

  • BeBot Rookie
  • *
  • Posts: 9
  • Karma: +0/-0
Re: Frustration LoL
« Reply #2 on: December 27, 2011, 06:59:35 pm »
This is the error I get when I place one or more of these files back in the bot:

"Fatal error: Cannot redeclare class beer in C:\Program files\AOC Bebot-0.6.8\modules\aoc\Beer.php on line 118"

"Fatal error: Cannot redeclare class adder in C:\Program files\AOC Bebot-0.6.8\modules\aoc\Blackadder.php on line 107"

"Fatal error: Cannot redeclare class Bound in C:\Program files\AOC Bebot-0.6.8\modules\aoc\Bound.php on line 370"

Offline Getrix

  • Contributor
  • *******
  • Posts: 509
  • Karma: +0/-0
Re: Frustration LoL
« Reply #3 on: December 27, 2011, 08:16:00 pm »
Check if you have doublicated your modules.


C:\Program files\AOC Bebot-0.6.8\modules\aoc\
C:\Program files\AOC Bebot-0.6.8\custom\modules\

Costume modules should be placed in "\custom\modules" only and not "\modules\aoc\" (atleast not both places;)
Success is not final, failure is not fatal: it is the courage to continue that counts.
- Sorry, i dont have time to reply question on PM. Make a topic.

Offline Glarawyn

  • BeBot Hero
  • ******
  • Posts: 521
  • Karma: +0/-0
Re: Frustration LoL
« Reply #4 on: March 12, 2012, 04:21:08 pm »
Going forward, get your database backing up! The MySQL n00b Help thread is somewhat out of date, but the section on backing up MySQL is still valid. On Linux setup a crontab to backup the data, on windows do it from a scheduled task. Then make sure your backup software backs up the resulting SQL dump.

 

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