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?
August 28, 2008, 10:47:08 PM

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 324 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: 142


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
********
Offline Offline

Gender: Male
Posts: 674



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: 1018


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
Auto reinvite not setting...
by taconis
[Today at 10:42:56 PM]

Upcoming Channels
by zeroman
[Today at 07:51:06 PM]

Question about Notify
by zeroman
[Today at 07:49:22 PM]

MOTD module from 2.x to 4...
by Karsta
[Today at 04:56:00 PM]

Reducing the load on a se...
by Alreadythere
[Today at 03:29:35 PM]

Ported Modules
by krommel
[Today at 12:01:19 PM]

Dont get any TowerAttack ...
by Ziodberg
[Today at 10:11:56 AM]

Link 2 Guilds via 2 Bots?
by Temar
[August 27, 2008, 08:31:56 PM]

Communication between gui...
by Temar
[August 27, 2008, 08:28:49 PM]

Raid module questions
by Temar
[August 24, 2008, 04:47:34 PM]
Stats
Members
Total Members: 948
Latest: Ado
Stats
Total Posts: 10337
Total Topics: 1405
Online Today: 23
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 1
Guests: 29
Total: 30
taconis

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.505 seconds with 29 queries. (Pretty URLs adds 0.076s, 4q)
Loading...