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?
December 01, 2008, 11:00:17 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 2569 times)
0 Members and 1 Guest are viewing this topic.
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 877



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

MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
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: 877



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

MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 877



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

MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 877



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

MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 877



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

MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
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: 877



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

MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Nytridr
Expert
*****
Offline Offline

Gender: Male
Posts: 261


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: 877



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

MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
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
[request] Raid timers
by Elesar1
[Today at 04:41:09 PM]

Shared DB online list
by Temar
[Today at 01:55:47 AM]

relay colors
by Temar
[Today at 01:54:56 AM]

BeBot v0.6.0 released
by Alreadythere
[November 30, 2008, 05:32:00 PM]

Change to Bid.php
by Temar
[November 30, 2008, 11:41:44 AM]

OnlineOrg
by Jiheld
[November 29, 2008, 12:44:27 PM]

Silly Newbie Question.
by Temar
[November 29, 2008, 12:00:02 PM]

massive_pvp_time_table 1
by gerborg
[November 29, 2008, 06:55:35 AM]

Bot not see Guild Chat
by Delvar
[November 28, 2008, 08:30:34 AM]

Starting Bot
by Allisande
[November 28, 2008, 07:08:21 AM]
Stats
Members
Total Members: 1243
Latest: Whackoeng
Stats
Total Posts: 11144
Total Topics: 1505
Online Today: 21
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 1
Guests: 16
Total: 17
clashbot

Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.8 © Bloc | NewDef design by Bloc
Page created in 0.405 seconds with 29 queries. (Pretty URLs adds 0.031s, 4q)
Loading...