collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18366
  • stats Total Topics: 2501
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

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

0 Members and 1 Guest are viewing this topic.

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
0.4_Support for latest 0.5
« on: March 14, 2008, 04:59:40 am »
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 13, 2008, 12:47:13 am by Temar »

Offline Dracutza

  • BeBot Apprentice
  • ***
  • Posts: 126
  • Karma: +0/-0
Re: 0.4_Support for latest 0.5
« Reply #1 on: March 28, 2008, 01:55:18 am »
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: 323
  • Karma: +0/-0
Re: 0.4_Support for latest 0.5
« Reply #2 on: March 28, 2008, 02:08:04 am »
$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

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: 0.4_Support for latest 0.5
« Reply #3 on: March 28, 2008, 02:50:41 am »
sorry had already altered it but forgot to post update

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: 0.4_Support for latest 0.5
« Reply #4 on: April 04, 2008, 03:12:54 am »
Fixed Broken Redirects and the Whois Section

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: 0.4_Support for latest 0.5
« Reply #5 on: May 06, 2008, 05:46:07 am »
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.

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: 0.4_Support for latest 0.5.1
« Reply #6 on: May 08, 2008, 07:04:27 pm »
Posted Update to work with 0.5.1

0.5.0 users need to update Bot.php

Offline Dracutza

  • BeBot Apprentice
  • ***
  • Posts: 126
  • Karma: +0/-0
Re: 0.4_Support for latest 0.5.1
« Reply #7 on: May 10, 2008, 07: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
  • Karma: +0/-0
Re: 0.4_Support for latest 0.5.1
« Reply #8 on: May 10, 2008, 08:01:51 pm »
nevermind

/custom/core seems to work fine

Offline Dracutza

  • BeBot Apprentice
  • ***
  • Posts: 126
  • Karma: +0/-0
Re: 0.4_Support for latest 0.5.1
« Reply #9 on: May 10, 2008, 08: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

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: 0.4_Support for latest 0.5.1
« Reply #10 on: May 10, 2008, 08:39:58 pm »
commands can only be 1 word so im not sure what you mean

Offline Nytridr

  • BeBot Expert
  • ****
  • Posts: 262
  • Karma: +0/-0
    • Rising Sun
Re: 0.4_Support for latest 0.5.1
« Reply #11 on: May 10, 2008, 08: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, 08: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
  • Karma: +0/-0
Re: 0.4_Support for latest 0.5.1
« Reply #12 on: May 10, 2008, 10: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
  • Karma: +0/-0
Re: 0.4_Support for latest 0.5.1
« Reply #13 on: May 10, 2008, 10:34:55 pm »
and I'm not complaining or anything... was just wishful thinking, that's all.

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: 0.4_Support for latest 0.5.1
« Reply #14 on: May 11, 2008, 12:38:57 am »
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 11, 2008, 12:41:01 am by Temar »

 

* 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
  • Dot Guests: 111
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal