L* R*
HOME FORUM DOWNLOADS
Content
  Links
     Browse SVN
     SVN Commit log
     Documentation (Wiki)
  Developers
     Taskmanager
User
Welcome, Guest. Please login or register.
Did you miss your activation email?
October 07, 2008, 04:33:31 AM

Login with username, password and session length
Search



Advanced search
Support GoPHP5.org
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Support > Support for older versions > BeBot 0.3 support > Topic: older mods
Pages: [1]   Go Down
« previous next »
Print
Author Topic: older mods  (Read 351 times)
0 Members and 1 Guest are viewing this topic.
kenneth
Freshman
*
Offline Offline

Posts: 16


older mods
« on: July 19, 2007, 04:39:02 PM »

can the mods from bebot 0.2.0 be used with the enw bebot?
Logged
Dabaron
Apprentice
***
Offline Offline

Gender: Male
Posts: 145


Re: older mods
« Reply #1 on: July 19, 2007, 05:01:36 PM »

For the most part, yes.  There are some old ones that don't overly work well in .3.x though.
Logged
Temar
BeBot Developer
Grandmaster
********
Online Online

Gender: Male
Posts: 773



WWW
Re: older mods
« Reply #2 on: July 19, 2007, 07:27:45 PM »

would the new comands thing be a prob tho?
or will it still add the command under the default access right?
Logged
Ebag333
BeBot Contributor
Apprentice
*******
Offline Offline

Posts: 132


Re: older mods
« Reply #3 on: July 20, 2007, 12:36:00 AM »

Any older modules you'd have to either strip of everything fancy, or heavily modify to utilize all the new functions (settings, security, etc).

Should be relatively straightforward to port over, however.
Logged
Alreadythere
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1052


Re: older mods
« Reply #4 on: July 20, 2007, 06:29:28 AM »

There shouldn't be a need for many changes when moving from 0.2 to 0.3.

Most important changes for modules are the table prefix system and the new security system.

To make a table local for a bot just put #___ (# followed by three _) before all your tablenames in SQL calls. Best would be to call $this->bot->db->define_tablename($tablename, $prefix) in the TABLE CREATE call though, with $tablename the name you are using (the part after #___ in your calls) and $prefix either true or false, depending on whether the table should be prefixed or not.

For hardcoded security checks in modules just call $this->bot->securiyt->check_access($name, $level), with $level on of the defined security levels instead of any admin->in_group() calls or similar.

Of course, using the new settings system, color tags or other new core modules may help.
Logged
Pages: [1]   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Support > Support for older versions > BeBot 0.3 support > Topic: older mods
« previous next »
 
Jump to:  

Recent
TWC
by Temar
[Today at 02:49:27 AM]

raid/point system suggest...
by Vain
[October 06, 2008, 08:53:00 PM]

!items database
by cthulhu
[October 05, 2008, 11:36:16 AM]

Supplies needed module
by viper
[October 05, 2008, 11:11:13 AM]

Assist
by Foxy
[October 05, 2008, 05:09:02 AM]

How's 0.5.x coming? Wonde...
by Hyde
[October 04, 2008, 04:59:20 PM]

Org in AoC
by Alreadythere
[October 04, 2008, 04:50:00 AM]

OnlineOrg
by Slacklin
[October 04, 2008, 03:06:00 AM]

Learning .NET, Mono, C#, ...
by Vhab
[October 04, 2008, 02:39:03 AM]

guild taxes module for ag...
by Elesar1
[October 03, 2008, 09:06:09 AM]
Stats
Members
Total Members: 983
Latest: Titerris
Stats
Total Posts: 10743
Total Topics: 1448
Online Today: 10
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 5
Guests: 52
Total: 57
Noer
Wolfbiter
Temar
IKShadow
Baja

Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.8 © Bloc | NewDef design by Bloc
Page created in 0.163 seconds with 29 queries. (Pretty URLs adds 0.028s, 4q)
Loading...