collapse collapse

Menu


* User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Search



* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • Shaidar: haha, sorry about the spam. Was trying to search :D
    August 21, 2010, 10:20:00 AM
  • Drizzurdeen: on holiday
    August 06, 2010, 04:04:41 AM
  • dillinger: Where is Getrixxxxx?? :/
    August 01, 2010, 04:17:36 PM
  • Yite: oh noes
    July 27, 2010, 09:07:27 AM
  • Khalem: Vacation time, expect things to be more quiet than usual for a week or two
    July 26, 2010, 04:26:32 PM
  • WeZoN: neve too late to make you even more nuts ^^
    July 22, 2010, 02:19:47 PM
  • Khalem: I've been nute for years. Too late :)
    July 21, 2010, 01:10:19 PM
  • Glarawyn: Driving you nuts with suggestions yet Khalem?
    July 13, 2010, 11:05:18 PM
  • Tyrence: I can't seem to reply to a thread either.  Says "Database Error"
    July 08, 2010, 11:51:29 AM
  • risenlore: shouty shout
    June 27, 2010, 06:34:06 PM
  • risenlore: yo
    June 27, 2010, 06:33:58 PM
  • ubermensch: i need halp! :P
    June 15, 2010, 06:48:01 AM
  • Getrix: PM bugging again :S waiting tomorrow to reply some ItemDB requests
    June 13, 2010, 04:29:50 PM
  • Yite: for what it's worth I got a PM from someone :)
    June 07, 2010, 04:08:59 AM
  • Khalem: PM's appear to be sent as intended, but for some reason things are timing out. Will investigate tomorrow.
    June 03, 2010, 03:16:59 PM
  • Getrix: Looks like the PM on forum have some problem.. Getting white page when trying to send
    June 02, 2010, 04:11:06 PM
  • Patromonus: not sure of my PM's are working :S
    June 02, 2010, 12:18:55 PM
  • Bhaltair: Yite, you are the best!
    May 19, 2010, 10:53:03 PM
  • Yite: Ah that's not the items (db) module but the gitems (items craftable by guild) you're looking for [url]http://bebot.shadow-realm.org/aoc-0-6-x-customunofficial-modules/items-crafted-by-guild/msg12293/#msg12293[/url]
    May 18, 2010, 03:19:48 AM
  • Bhaltair: I was pretty sure that was doable before. I think that was for gemcutting only.
    May 17, 2010, 09:23:46 PM

* Board Stats

  • stats Total Members: 1633
  • stats Total Posts: 15863
  • stats Total Topics: 2158
  • stats Total Categories: 7
  • stats Total Boards: 31
  • stats Most Online: 168

Author Topic: 0.4_Support for latest 0.5  (Read 6367 times)

0 Members and 1 Guest are viewing this topic.

Offline Temar

  • Developer
  • ********
  • Posts: 1133
    • AoFiles
0.4_Support for latest 0.5
« on: March 13, 2008, 10:59:40 PM »
Over last few Months alot of changes have happened to SVN 0.5
Making Nearly all Old Modules even those that were made for 0.5 before this update
no longer work

This Module Will Update the modules as it loads it

I will post update to this module as needed

This module will load ALL modules in the /custom/04/ folder

And now load All custom directoreis you set in the .conf file eg u set it to load

  $core_directories = "./Leetboss/core";   // optional additional core directories

it will load anything in ./Leetboss/core/04

So basicly "04" inside Extra Folders you set.

if like me you have removed the check for $this -> bot -> commpre with message from the 0.4 module you need to add this line in the constructor or readd the prefix
Code: [Select]
$this -> dontuseprefix = TRUE;
« Last Edit: August 12, 2008, 05:47:13 PM by Temar »
MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Bot or Forum Hosting: http://hosting.aofiles.com

Offline Dracutza

  • BeBot Apprentice
  • ***
  • Posts: 126
Re: 0.4_Support for latest 0.5
« Reply #1 on: March 27, 2008, 07:55:18 PM »
using your lastest 0.5.0 zip

Fatal error: Call to undefined method Bot::get_module() in P:\bot\main\99_0.4
_Support.php on line 261

Offline Blueeagle

  • Omnipotent
  • BeBot Hero
  • ******
  • Posts: 321
Re: 0.4_Support for latest 0.5
« Reply #2 on: March 27, 2008, 08:08:04 PM »
$this->bot->get_module() is now called $this->bot->core()
The only problem that can't be solved by adding another wrapper is having too many wrappers.

Offline Temar

  • Developer
  • ********
  • Posts: 1133
    • AoFiles
Re: 0.4_Support for latest 0.5
« Reply #3 on: March 27, 2008, 08:50:41 PM »
sorry had already altered it but forgot to post update
MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Bot or Forum Hosting: http://hosting.aofiles.com

Offline Temar

  • Developer
  • ********
  • Posts: 1133
    • AoFiles
Re: 0.4_Support for latest 0.5
« Reply #4 on: April 03, 2008, 08:12:54 PM »
Fixed Broken Redirects and the Whois Section
MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Bot or Forum Hosting: http://hosting.aofiles.com

Offline Temar

  • Developer
  • ********
  • Posts: 1133
    • AoFiles
Re: 0.4_Support for latest 0.5
« Reply #5 on: May 05, 2008, 10:46:07 PM »
Done load of Changes and Improvments

And now load All custom directoreis you set in the .conf file eg u set it to load

  $core_directories = "./Leetboss/core";   // optional additional core directories

it will load anything in ./Leetboss/core/04

So basicly "04" inside Extra Folders you set.
MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Bot or Forum Hosting: http://hosting.aofiles.com

Offline Temar

  • Developer
  • ********
  • Posts: 1133
    • AoFiles
Re: 0.4_Support for latest 0.5.1
« Reply #6 on: May 08, 2008, 12:04:27 PM »
Posted Update to work with 0.5.1

0.5.0 users need to update Bot.php
MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Bot or Forum Hosting: http://hosting.aofiles.com

Offline Dracutza

  • BeBot Apprentice
  • ***
  • Posts: 126
Re: 0.4_Support for latest 0.5.1
« Reply #7 on: May 10, 2008, 12:54:52 PM »
older versions were called 99_0.4_Support and stored in /main

where should this get placed now?

Offline Dracutza

  • BeBot Apprentice
  • ***
  • Posts: 126
Re: 0.4_Support for latest 0.5.1
« Reply #8 on: May 10, 2008, 01:01:51 PM »
nevermind

/custom/core seems to work fine

Offline Dracutza

  • BeBot Apprentice
  • ***
  • Posts: 126
Re: 0.4_Support for latest 0.5.1
« Reply #9 on: May 10, 2008, 01:03:26 PM »
sadly though this still doesn't work for 0.4 mods that contain whitespaces in their command.

!apf set now
!quote add

still don't work :(

Offline Temar

  • Developer
  • ********
  • Posts: 1133
    • AoFiles
Re: 0.4_Support for latest 0.5.1
« Reply #10 on: May 10, 2008, 01:39:58 PM »
commands can only be 1 word so im not sure what you mean
MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Bot or Forum Hosting: http://hosting.aofiles.com

Offline Nytridr

  • BeBot Expert
  • ****
  • Posts: 262
    • Rising Sun
Re: 0.4_Support for latest 0.5.1
« Reply #11 on: May 10, 2008, 01:45:56 PM »
sadly though this still doesn't work for 0.4 mods that contain whitespaces in their command.

!apf set now
!quote add

still don't work :(


Not sure what you mean Drac, I know if you parse the comamnds in the scripts you can have more then one argument to the commands.  If you are making a script give us an example of what you are trying to do.
« Last Edit: May 10, 2008, 01:55:04 PM by Nytridr »
Co-Prez of Rising Sun RK1 (1st & only org I will ever belong to)

Offline Dracutza

  • BeBot Apprentice
  • ***
  • Posts: 126
Re: 0.4_Support for latest 0.5.1
« Reply #12 on: May 10, 2008, 03:30:57 PM »
same thing I've mentioned in each mods respective thread.

!quote add <quote> - Adds <quote> to database

To [bot]: !quote add no it does not
bot: #293 - Shadynator: do you realise how hard it is to target a tiny jumping leet after 8 beers [Contributed by: Ferryd]

!apf set now - Sets the timer. Use when Gatekeeper shouts "I'm opening the gates now!

To [bot]: apf set now
bot: The Outzone gates will open in 6 hours, 40 minutes, and 13 seconds.

Those are the only two 0.4 modules I use, and it seems like neither get past the initial command.  !quote add blah , !quote del 293, !quote beers all result in a quote being displayed.  !apf set now, !apf set web, !apf set 04:00:00 all result in just the displaying of the timer.

Offline Dracutza

  • BeBot Apprentice
  • ***
  • Posts: 126
Re: 0.4_Support for latest 0.5.1
« Reply #13 on: May 10, 2008, 03:34:55 PM »
and I'm not complaining or anything... was just wishful thinking, that's all.

Offline Temar

  • Developer
  • ********
  • Posts: 1133
    • AoFiles
Re: 0.4_Support for latest 0.5.1
« Reply #14 on: May 10, 2008, 05:38:57 PM »
the Issue was to do with Prefix, it should now Modify the 0.4 modules to correct that

but if like me you have removed the check for $this -> bot -> commpre with message from the 0.4 module you need to add this line in the constructor or readd the prefix
Code: [Select]
$this -> dontuseprefix = TRUE;

Dracutza im happy you are telling me these issues , i cant fix problems if people dont tell me :p
« Last Edit: May 10, 2008, 05:41:01 PM by Temar »
MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Bot or Forum Hosting: http://hosting.aofiles.com

 


* Recent Posts

Autogratz Modul for Verison 0.6.5 by Yite
[Today at 02:42:16 AM]


Online Active Users by Argothep
[September 02, 2010, 05:47:40 PM]


New Central itemDB (!item[s|reg]) by Tsamoonia
[September 02, 2010, 01:10:32 PM]


Changing time by Tsamoonia
[September 02, 2010, 11:25:04 AM]


Autoinvite not working? by lulifuz
[September 02, 2010, 07:18:51 AM]


* Who's Online

  • Dot Guests: 12
  • Dot Hidden: 0
  • Dot Users: 4
  • Dot Users Online:

* Forum Staff

Khalem admin Khalem
Administrator
Temar gmod Temar
Developer