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 20637 times)

0 Members and 1 Guest are viewing this topic.

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
BeBot 0.5.0 (SVN)
« on: January 19, 2008, 07:59:55 am »
This is a Clean Copy of SVN as it is today - 1 April 2008

Please be warned that this is not a stable release codebase. If you are not familiar with MySQL and know how to edit your database DO NOT USE THIS RELEASE.
The codebase works for me without issues (unless otherwise stated in the changelog), but that doesnt mean it will work just fine for you.

Changes (right click and Save as, the Attachment Already Includes these changes)

* 0.5 Released!
« Last Edit: May 07, 2008, 11:47:04 am by Temar »

Offline Nogoal

  • BeBot Apprentice
  • ***
  • Posts: 77
  • Karma: +0/-0
Re: BeBot 0.5.0 (SVN)
« Reply #1 on: March 19, 2008, 06:13:31 pm »
I updated my bots with current SVN today (1326) and everything is working fine atm except news_on_log_on.

I tried to change default to on or reset but looks like it doesn't work with alts, gonna try with main when I'll be back home.

To [Aotn]: !preferences set default News 5 On
[Angels of the Night] Aotn: [2008-03-19 15:34:31] [PREFS] [SECURITY] Mygoal attempted to change default value with out required authoroty!
Aotn:  You have insufficient authoroty to reset this preference!

To [Aotn]: !preferences reset 5
[Angels of the Night] Aotn: [2008-03-19 15:57:04] [PREFS] [SECURITY] Mygoal attempted to reset preferences with out required authoroty!
Aotn:  You have insufficient authoroty to reset this preference!

Also mail blob crash aorc. Some ' are missing to close href. Lines 206, 210, 231, 232, ...

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: BeBot 0.5.0 (SVN)
« Reply #2 on: March 19, 2008, 06:36:14 pm »
Thanks, added the missing ' and corrected those typos.

Didn't look into the preferences myself yet though.

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: BeBot 0.5.0 (SVN)
« Reply #3 on: March 26, 2008, 08:22:31 pm »
Bump for Big Update

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: BeBot 0.5.0 (SVN)
« Reply #4 on: March 27, 2008, 02:28:17 pm »
just out of curiosity, what sort of changes to the db are required to update 4.3 to 5? I take it , it is not as simple as extracting 5 and setting it up to use the same db as 4.3?

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: BeBot 0.5.0 (SVN)
« Reply #5 on: March 27, 2008, 02:45:04 pm »
Migration from 0.4.3 to 0.5 will be seamless DB wise if you use the same config file. All tables get updated to the newest versions.

Moving back to 0.4.3 will be impossible without direct changes to some tables then though. And 0.5 brings a couple more tables I think.

If you want to run a testbot besides your existing 0.4.3 bot(s) it shouldn't cause any problem, I can't remember any of the global tables being touched. This is without any guarantees though, there were a couple of hundred changes to trunk :)

Offline Dracutza

  • BeBot Apprentice
  • ***
  • Posts: 126
  • Karma: +0/-0
Re: BeBot 0.5.0 (SVN)
« Reply #6 on: March 27, 2008, 03:26:36 pm »
upgraded our test 4.x bot to 5.0 without incident this morning.

Very! Nice!

Offline Blueeagle

  • Omnipotent
  • BeBot Hero
  • ******
  • Posts: 323
  • Karma: +0/-0
Re: BeBot 0.5.0 (SVN)
« Reply #7 on: March 27, 2008, 03:36:37 pm »
Well then you've been damned lucky. Because 0.5 has been broken much lately. :p
The only problem that can't be solved by adding another wrapper is having too many wrappers.

Offline Dracutza

  • BeBot Apprentice
  • ***
  • Posts: 126
  • Karma: +0/-0
Re: BeBot 0.5.0 (SVN)
« Reply #8 on: March 27, 2008, 04:06:44 pm »
Well then you've been damned lucky. Because 0.5 has been broken much lately. :p


didn't try the IRC mod yet (which I need to before moving the org bot to 5, but zero brokeness (as far as I can tell) with the 26/3 zip.

Offline Dracutza

  • BeBot Apprentice
  • ***
  • Posts: 126
  • Karma: +0/-0
Re: BeBot 0.5.0 (SVN)
« Reply #9 on: March 29, 2008, 06:17:34 pm »
a few things I've been seeing and not sure if it's an issue or not really

Quote
bot [2008-03-29 16:07:53]    [SETTINGS]      [LOAD]  Loaded settings from database.
bot [2008-03-29 16:07:53]    [MAIN]  [LOAD]  06_Settings.php
MySQL error (# 0) on query: CREATE TABLE IF NOT EXISTS access_control_saves (
                                        name varchar(50) NOT NULL default '',
                                        description varchar(150) NULL,
                                        commands TEXT NOT NULL default '',
                                        PRIMARY KEY (name)
                                )
BLOB/TEXT column 'commands' can't have a default value
bot [2008-03-29 16:07:53]    [SETTINGS]      [SAVED] schemaversion for module accesscontrol set to 3 as datatype int
Quote
bot [2008-03-29 16:07:56]    [SETTINGS]      [SAVED] schemaversion for module timer set to 3 as datatype int
bot [2008-03-29 16:07:57]    [MAIN]  [LOAD]  15_Timer_Core.php
bot [2008-03-29 16:07:57]    [CORE]  [ERROR] Module 'ini' does not exist or is not loaded.
bot [2008-03-29 16:07:57]    [CORE]  [ERROR] Module 'ini' does not exist or is not loaded.

Quote
bot [2008-03-29 16:08:05]    [MOD]   [LOAD]  ModulesControlGUI.php
// bot [2008-03-29 16:08:05] [MOD]   [LOAD]  News.php
bot [2008-03-29 16:08:05]    [MOD]   [LOAD]  Notify.php

Offline Dracutza

  • BeBot Apprentice
  • ***
  • Posts: 126
  • Karma: +0/-0
Re: BeBot 0.5.0 (SVN)
« Reply #10 on: March 29, 2008, 06:36:32 pm »
buddylist in a raidbot

Quote
bot [2008-03-29 16:30:28]    [TELL]  [INC]   Dracutza: buddylist

Warning: asort() expects parameter 1 to be array, null given in P:\bot\modules\Roster.php on line 282

Warning: Invalid argument supplied for foreach() in P:\bot\modules\Roster.php on line 284

bot [2008-03-29 16:30:28]    [TELL]  [OUT]   -> Dracutza: 0 buddies in bot's buddylist :: [link]click to view[/link]

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: BeBot 0.5.0 (SVN)
« Reply #11 on: March 29, 2008, 06:47:17 pm »
Quote
bot [2008-03-29 16:07:53]    [SETTINGS]      [LOAD]  Loaded settings from database.
bot [2008-03-29 16:07:53]    [MAIN]  [LOAD]  06_Settings.php
MySQL error (# 0) on query: CREATE TABLE IF NOT EXISTS access_control_saves (
                                        name varchar(50) NOT NULL default '',
                                        description varchar(150) NULL,
                                        commands TEXT NOT NULL default '',
                                        PRIMARY KEY (name)
                                )
BLOB/TEXT column 'commands' can't have a default value
bot [2008-03-29 16:07:53]    [SETTINGS]      [SAVED] schemaversion for module accesscontrol set to 3 as datatype int
Fixed in SVN.

Quote
bot [2008-03-29 16:07:56]    [SETTINGS]      [SAVED] schemaversion for module timer set to 3 as datatype int
bot [2008-03-29 16:07:57]    [MAIN]  [LOAD]  15_Timer_Core.php
bot [2008-03-29 16:07:57]    [CORE]  [ERROR] Module 'ini' does not exist or is not loaded.
bot [2008-03-29 16:07:57]    [CORE]  [ERROR] Module 'ini' does not exist or is not loaded.
This one is strange, I just checked, and there is no call to core("ini") before it's created.

Quote
bot [2008-03-29 16:08:05]    [MOD]   [LOAD]  ModulesControlGUI.php
// bot [2008-03-29 16:08:05] [MOD]   [LOAD]  News.php
bot [2008-03-29 16:08:05]    [MOD]   [LOAD]  Notify.php
Fixed the output in SVN, it's just visual though.

Quote
bot [2008-03-29 16:30:28]    [TELL]  [INC]   Dracutza: buddylist

Warning: asort() expects parameter 1 to be array, null given in P:\bot\modules\Roster.php on line 282

Warning: Invalid argument supplied for foreach() in P:\bot\modules\Roster.php on line 284

bot [2008-03-29 16:30:28]    [TELL]  [OUT]   -> Dracutza: 0 buddies in bot's buddylist :: [link]click to view[/link]
Added a check for an empty buddylist.

Thanks for posting all those!

Offline Greengadget

  • BeBot Rookie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: BeBot 0.5.0 (SVN)
« Reply #12 on: March 29, 2008, 09:07:12 pm »
i tried the latest 0.5 zip and i get this error

Fatal error: Cannot redeclare class AccessControl_Core in C:\Program Files\PHP\c
ore\AccessControl.php on line 62

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: BeBot 0.5.0 (SVN)
« Reply #13 on: March 29, 2008, 09:27:52 pm »
delete the 1 in core folder. Its now in main folder

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: BeBot 0.5.0 (SVN)
« Reply #14 on: March 29, 2008, 09:35:56 pm »
i tried the latest 0.5 zip and i get this error

Fatal error: Cannot redeclare class AccessControl_Core in C:\Program Files\PHP\core\AccessControl.php on line 62
Best use the zip as base for any custom modules, don't just copy it over any existing directory. Several files have different directories or slightly changed names.

 

* 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