Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Forum
Help
Search
Login
Register
BeBot - An Anarchy Online and Age Of Conan chat automaton
»
Archive
»
Anarchy Online Archive
»
BeBot 0.3 support
»
Topic:
older mods
Menu
Home
>Download latest<
New wiki
Forum
Discord
Donate
License
Archives
Prior versions (old)
Initial wiki (old)
Project home (old)
Bugs (old)
Blueprints (old)
Code (old)
User Info
Username:
Password:
1 Hour
1 Day
1 Week
1 Month
Forever
Welcome,
Guest
. Please
login
or
register
.
Search
Board Stats
Total Members:
989
Total Posts: 18366
Total Topics: 2501
Total Categories: 7
Total Boards: 35
Most Online: 1144
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: older mods (Read 9755 times)
0 Members and 1 Guest are viewing this topic.
kenneth
BeBot Rookie
Posts: 17
Karma: +0/-0
older mods
«
on:
July 19, 2007, 11:39:02 pm »
can the mods from bebot 0.2.0 be used with the enw bebot?
Logged
Dabaron
BeBot Apprentice
Posts: 163
Karma: +0/-0
Re: older mods
«
Reply #1 on:
July 20, 2007, 12:01:36 am »
For the most part, yes. There are some old ones that don't overly work well in .3.x though.
Logged
Temar
Contributor
Posts: 1140
Karma: +0/-0
Re: older mods
«
Reply #2 on:
July 20, 2007, 02:27:45 am »
would the new comands thing be a prob tho?
or will it still add the command under the default access right?
Logged
Ebag333
Contributor
Posts: 134
Karma: +0/-0
Re: older mods
«
Reply #3 on:
July 20, 2007, 07: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
BeBot Hero
Posts: 1288
Karma: +0/-0
Re: older mods
«
Reply #4 on:
July 20, 2007, 01:29:28 pm »
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
Print
Pages: [
1
]
Go Up
« previous
next »
BeBot - An Anarchy Online and Age Of Conan chat automaton
»
Archive
»
Anarchy Online Archive
»
BeBot 0.3 support
»
Topic:
older mods
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
Guests: 224
Hidden: 0
Users: 0
There aren't any users online.
Forum Staff
bitnykk
Administrator
Khalem
Administrator
WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal