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!
  • Kyr: Quote
    Live free or die.


    March 03, 2010, 03:28:21 AM
  • Kyr: cancel that
    March 03, 2010, 03:27:53 AM
  • Kyr: I never do!
    March 03, 2010, 03:27:41 AM
  • Kyr: I never use it
    March 03, 2010, 03:26:11 AM
  • TBK: nope :P
    March 01, 2010, 10:17:40 PM
  • WeZoN: no one uses this shoutbox ? :P
    February 26, 2010, 07:11:06 AM
  • WeZoN: check out aoc custom modules ^^  alliance chat from Borgan is up
    February 03, 2010, 06:48:24 AM
  • Yite: I see dead people
    February 02, 2010, 06:47:32 AM
  • squattinbull: I love Bebot!
    January 12, 2010, 12:16:03 PM
  • Riccarr: First Shout of 2010! Woohoo!
    January 07, 2010, 01:09:48 PM
  • Shakor: Happy new year!
    December 31, 2009, 01:04:18 PM
  • Shelly: Merry Christmas Everyone!
    December 25, 2009, 09:17:35 PM
  • Iheaca: Happy Christmas to all !
    December 24, 2009, 04:07:01 AM
  • Getrix: Happy xmas everytone! =)
    December 24, 2009, 01:07:49 AM
  • Temar: why does forum keep rolling back
    December 23, 2009, 02:05:48 PM
  • Shakor: Bebot not working for AoC patch 1.06 :)
    December 13, 2009, 06:33:00 PM
  • Khalem: Seems there is something wrong with the dutch language files :\
    December 10, 2009, 06:12:35 AM
  • WeZoN: i thnk you guys should check your footer.php ^^
    December 04, 2009, 08:12:07 AM
  • BongTechnician: O.o
    December 03, 2009, 09:39:54 PM
  • PBbot: Hi
    November 17, 2009, 11:12:10 AM

* Board Stats

  • stats Total Members: 1450
  • stats Total Posts: 14828
  • stats Total Topics: 2018
  • stats Total Categories: 7
  • stats Total Boards: 31
  • stats Most Online: 168

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

0 Members and 1 Guest are viewing this topic.

Offline Temar

  • Developer
  • ********
  • Posts: 1132
    • 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
  • Developer
  • ********
  • 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: 1132
    • 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: 1132
    • 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: 1132
    • 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: 1132
    • 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: 1132
    • 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: 1132
    • 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

Bebot filling up my disc space? by Shaidar
[Today at 04:30:55 AM]


bebot issue? by TBK
[March 13, 2010, 07:57:06 PM]


AoChatwrapper_Core error by the hundreds by Runemy
[March 11, 2010, 07:44:14 PM]


MOVED: New Commands Module plz :) by Temar
[March 11, 2010, 05:18:21 PM]


Raid armor search module by TBK
[March 11, 2010, 12:32:45 PM]


* Who's Online

  • Dot Guests: 11
  • Dot Hidden: 0
  • Dot Users: 2
  • Dot Users Online:

* Forum Staff

Khalem admin Khalem
Administrator
admin Alreadythere
Administrator
Temar gmod Temar
Developer