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?
October 12, 2008, 11:31:50 PM

Login with username, password and session length
Search



Advanced search
Support GoPHP5.org
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Modules > 0.5.x Custom/Unofficial Modules > Topic: 0.4_Support for latest 0.5
Pages: [1] 2 3   Go Down
« previous next »
Print
Author Topic: 0.4_Support for latest 0.5  (Read 2112 times)
0 Members and 8 Guests are viewing this topic.
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 783



WWW
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:
$this -> dontuseprefix = TRUE;
« Last Edit: August 12, 2008, 05:47:13 PM by Temar » Logged
Dracutza
Apprentice
***
Offline Offline

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
Logged
Blueeagle
Omnipotent
BeBot Developer
Expert
********
Offline Offline

Gender: Male
Posts: 313



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()
Logged

The only problem that can't be solved by adding another wrapper is having too many wrappers.
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 783



WWW
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
Logged
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 783



WWW
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
Logged
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 783



WWW
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.
Logged
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 783



WWW
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
Logged
Dracutza
Apprentice
***
Offline Offline

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?
Logged
Dracutza
Apprentice
***
Offline Offline

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
Logged
Dracutza
Apprentice
***
Offline Offline

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 Sad
Logged
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 783



WWW
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
Logged
Nytridr
Expert
*****
Offline Offline

Gender: Male
Posts: 255


WWW
Re: 0.4_Support for latest 0.5.1
« Reply #11 on: May 10, 2008, 01:45:56 PM »

Quote from: Dracutza 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 Sad

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 » Logged

Co-Prez of Rising Sun RK1 (1st & only org I will ever belong to)
Dracutza
Apprentice
***
Offline Offline

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.
Logged
Dracutza
Apprentice
***
Offline Offline

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.
Logged
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 783



WWW
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:
$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 » Logged
Pages: [1] 2 3   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Modules > 0.5.x Custom/Unofficial Modules > Topic: 0.4_Support for latest 0.5
« previous next »
 
Jump to:  

Recent
Bossloot for 5.2
by Brac
[Today at 04:45:17 PM]

!security Levels
by Nytridr
[Today at 02:00:16 PM]

Ported Modules
by Jiheld
[Today at 09:00:13 AM]

raid/point system suggest...
by Temar
[October 11, 2008, 11:45:40 PM]

!timers suggestions: alts...
by Alreadythere
[October 11, 2008, 03:19:46 PM]

!server does not work
by Alreadythere
[October 11, 2008, 06:54:38 AM]

TWC
by clashbot
[October 10, 2008, 08:52:57 AM]

Using Bebot in AoC Raid c...
by IKShadow
[October 09, 2008, 02:38:50 PM]

!items database
by cthulhu
[October 09, 2008, 08:00:27 AM]

File upload issue
by GBH
[October 08, 2008, 10:33:40 AM]
Stats
Members
Total Members: 988
Latest: Talmahera
Stats
Total Posts: 10808
Total Topics: 1458
Online Today: 15
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 1
Guests: 22
Total: 23
Zeephonz

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.568 seconds with 28 queries. (Pretty URLs adds 0.231s, 4q)
Loading...