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: upgrading to 2.11  (Read 4634 times)

0 Members and 1 Guest are viewing this topic.

Offline Bart

  • BeBot User
  • **
  • Posts: 39
  • Karma: +0/-0
upgrading to 2.11
« on: February 21, 2007, 09:28:03 pm »
is there an easy way to upgrade the bot or do I have to start over from scratch again?

Offline Malosar

  • BeBot Expert
  • ****
  • Posts: 259
  • Karma: +0/-0
    • http://www.lowerdimension.com
Re: upgrading to 2.11
« Reply #1 on: February 21, 2007, 09:40:05 pm »
I guess it would depend on what version your going from and what optional modules you are running. The least you would want to do is drop your members table and let it recreate. But there are other tables which might be quite different to what your running which may need to be altered/dropped. For instance, the whoiscache table has changed significantly, though there are posts given to help upgrade the table to the current version without actually dumping all the information out.

afaik the base 2.11 doesn't include a lot of the modules most bebot users have so you would need to be careful.
Eternalist
General of The Syndicate

Offline pusikas

  • BeBot Apprentice
  • ***
  • Posts: 161
  • Karma: +0/-0
Re: upgrading to 2.11
« Reply #2 on: February 22, 2007, 11:37:45 am »
Differences between 2.10 and 2.11 are small and you can easily upgrade by hand - even if you use lots of custom modules.
The main change is AOChat.php, which no longer needs aokex. If you want the bot to display the new version number (and probably if you are running bebot on windows), you may want to use the new main.php as well. The new php.ini makes the bot log a bit more php problems, the new start.php is smarter, but not really needed to run the bot. In the modules directory, it is the files Calc.php and Items.php - but most people already use the new version of Items, and will rarely encounter the calc bug.
At least when upgrading from 2.10, I see no reason to drop the members table. But it's not like it hurts to do that. :)

If you run older versions of the bot, then... no idea. If you can read php and know how to use diff, it is not hard to find the differences between 2.11 and your old base bot. If that is worth the trouble is another question.
« Last Edit: February 22, 2007, 11:41:01 am by pusikas »
Luuv  Bot-Keeper of Vengeance ^^*

 

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