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?
September 06, 2008, 10:03:35 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.4.x Custom/Unofficial Modules > Topic: 0.5.0_Support.php (so 0.5.0 modules work)
Pages: [1] 2   Go Down
« previous next »
Print
Author Topic: 0.5.0_Support.php (so 0.5.0 modules work)  (Read 1301 times)
0 Members and 2 Guests are viewing this topic.
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 700



WWW
0.5.0_Support.php (so 0.5.0 modules work)
« on: February 01, 2008, 06:56:57 PM »

This Module will Load the 0.5.0 Modules Making the Apropiate Changes,
Should work with all modules made for Current SVN

This module can be Placed were you want

The 0.5.0 Modules Must be placed in /custom/050/ Folder

What this Module will do is:
  • Change all $this -> bot -> core(...) calls to Correct 0.4 calls
  • Remove the prefix as 0.5 module dont get the prefix inside the message

Change Log
  • 23/06/08 [0.4] - Now Replaces core("time")
  • 23/06/08 [0.4] - Now Supports the function get_timer from timer module
  • 23/06/08 [0.4] - Return Function of Extended Modules Fixed
  • 23/06/08 [0.4] - Register Modules Added
  • 23/06/08 [0.4] - Error Class Added
  • 24/06/08 [0.5] - Now Supports the function list_timed_events which was added to 0.4 just after 0.4.3 release
  • 25/06/08 [0.6] - Added Support for New DB Functions
  • 15/07/08 [0.7] - Fixed Issue with Stopping other normal Modules loading

« Last Edit: July 15, 2008, 05:17:28 PM by Temar » Logged
Dracutza
Apprentice
***
Offline Offline

Posts: 126


Re: 0.5.0_Support.php (so 0.5.0 modules work)
« Reply #1 on: March 11, 2008, 09:31:58 AM »

heh

thanks
Logged
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 700



WWW
Re: 0.5.0_Support.php (so 0.5.0 modules work)
« Reply #2 on: April 22, 2008, 10:36:54 PM »

Updated to Support Latest SVN modules
Logged
Slacklin
Rookie
**
Offline Offline

Posts: 28


Re: 0.5.0_Support.php (so 0.5.0 modules work)
« Reply #3 on: April 23, 2008, 04:44:27 PM »

Interesting error with the latest version of this module.

Fatal error: Call to a member function in_chat() on a non-object in C:\ucom2\core\Security.php on line 1447

Still trying to track this one down but it is right now eluding my limited knowledge.
Logged
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 700



WWW
Re: 0.5.0_Support.php (so 0.5.0 modules work)
« Reply #4 on: April 23, 2008, 05:45:15 PM »

i dont see how this module an cause that prob,
altho the old version did a Chat redirect

im asuming you got a 0.4 bot and useing 0.5 Seurity.php ?

if you read it says you need to put the 0.5 modules in a certain folder, since security.php is a core you can make sure it load with core files by putting this support module in a core folder
Logged
Slacklin
Rookie
**
Offline Offline

Posts: 28


Re: 0.5.0_Support.php (so 0.5.0 modules work)
« Reply #5 on: April 23, 2008, 05:50:24 PM »

I havent replace the security module, but I will see if that is the culprit. I did at one time try and use the AccessControlGUI from version 5 but that was deleted (I did have it in the 050 folder). Not sure if that would have modified anything.

The problem ended up being the OnlineDB.php file not being in the right spot.
« Last Edit: April 24, 2008, 12:02:02 AM by jakethegamer » Logged
Slacklin
Rookie
**
Offline Offline

Posts: 28


Re: 0.5.0_Support.php (so 0.5.0 modules work)
« Reply #6 on: April 24, 2008, 12:06:42 AM »

Another bug I thought I would mention is once the module is activated all other modules in the same file location are no longer loaded. I have tested this in both the ./modules folder and ./custom/modules folder.

Any other info I can provide to help this get resolved?
Logged
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 700



WWW
Re: 0.5.0_Support.php (so 0.5.0 modules work)
« Reply #7 on: April 24, 2008, 09:28:13 AM »

since this module has to load the files it self, it cannot load from offical directories as those get loaded

put the 0.5 modules in custom/050/
Logged
Slacklin
Rookie
**
Offline Offline

Posts: 28


Re: 0.5.0_Support.php (so 0.5.0 modules work)
« Reply #8 on: April 24, 2008, 09:47:49 AM »

I think that I may have mislead you, all the version 5 modules load properly. It is the older custom 4 modules that are now refusing to load. For example I have the new twitter module loaded in the custom module folder yet when I have the 0.5.0 support module in the same folder it will not load.

c:\mybot\custom\modules\0.5.0_Support.php    <- Loads
c:\mybot\custom\modules\twitter.php     <- Does not load
c:\mybot\custom\modules\homer.php      <- Does not load
c:\mybot\custom\050\onlineorg.php        <- Loads

If I disable the module for 0.5.0 support the other modules in the same folder will load

c:\mybot\custom\modules\_0.5.0_Support.php    <- Disabled
c:\mybot\custom\modules\twitter.php     <- Loads
c:\mybot\custom\modules\homer.php      <- Loads
c:\mybot\custom\050\onlineorg.php        <- Does not load (for obvious reasons)

Now this is where it gets funky. If I move the twitter.php and homer.php plugin to the main module folder they will load

c:\mybot\custom\modules\0.5.0_Support.php    <- Loads
c:\mybot\modules\twitter.php     <- Loads
c:\mybot\modules\homer.php      <- Loads
c:\mybot\custom\050\onlineorg.php        <- Loads

To double back and test completely, I placed the 0.5.0 support module in the main module folder to see what happens.

c:\mybot\modules\0.5.0_Support.php      <- Loads
c:\mybot\custom\modules\twitter.php     <- Loads
c:\mybot\custom\modules\homer.php      <- Loads
c:\mybot\custom\050\onlineorg.php        <- Loads
c:\mybot\modules\About.php                 <- Does not load

So the module is loading all 0.5.0 modules properly it is the other 0.4.0 modules that are now not loading when the support module is in use.
Logged
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 700



WWW
Re: 0.5.0_Support.php (so 0.5.0 modules work)
« Reply #9 on: April 24, 2008, 10:00:15 AM »

ah i realised why,
when support module loads and loads its 050 modules and i used same values as wat loaded support modules
problem is they are still in use as other modules in same folder as support module still need to be loaded

Posted a fix Cheesy
Logged
Slacklin
Rookie
**
Offline Offline

Posts: 28


Re: 0.5.0_Support.php (so 0.5.0 modules work)
« Reply #10 on: April 24, 2008, 11:51:55 AM »

Seems to still be doing the same thing. To bypass it I have moved all the other modules back to the main module folder and they load great as long as they dont share the same folder as the 050 support module.
Logged
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 700



WWW
Re: 0.5.0_Support.php (so 0.5.0 modules work)
« Reply #11 on: June 22, 2008, 09:24:31 PM »

Updating with Lots of Aditional Support for 0.5 modules (see Change Log on 1st post)
Logged
Slacklin
Rookie
**
Offline Offline

Posts: 28


Re: 0.5.0_Support.php (so 0.5.0 modules work)
« Reply #12 on: June 23, 2008, 11:00:48 AM »

Ok, with the latest updates I am still encountering a problem with the SWStimer.php module. The message below is the error that is last sent before the crash.

Fatal error: Call to undefined method Timer_Core::list_timed_events() in C:\<mybot>\custom\modules\0.5.0_Support.php(60) : eval()'d code on line 124

Let me know if you need any more logs.
Logged
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 700



WWW
Re: 0.5.0_Support.php (so 0.5.0 modules work)
« Reply #13 on: June 24, 2008, 05:15:44 PM »

the function list_timed_events was added to timer core just after 0.4.3 was released, i hd the SVN version of 0.4 so didnt notice
i have Added the function to support module as its a simple function simply get latest version of this
Logged
Zweiblum
Rookie
**
Offline Offline

Posts: 44


Re: 0.5.0_Support.php (so 0.5.0 modules work)
« Reply #14 on: July 23, 2008, 05:56:36 AM »

Quote from: Slacklin on April 23, 2008, 05:50:24 PM
I havent replace the security module, but I will see if that is the culprit. I did at one time try and use the AccessControlGUI from version 5 but that was deleted (I did have it in the 050 folder). Not sure if that would have modified anything.

The problem ended up being the OnlineDB.php file not being in the right spot.

omg many thx for that help Smiley
Logged
Pages: [1] 2   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Modules > 0.4.x Custom/Unofficial Modules > Topic: 0.5.0_Support.php (so 0.5.0 modules work)
« previous next »
 
Jump to:  

Recent
Security
by Alreadythere
[Today at 10:02:42 AM]

Probs with relay from gue...
by Temar
[Today at 09:03:06 AM]

Raid spam in guild chat
by Temar
[Today at 09:01:18 AM]

Org Relaying
by Nytridr
[Today at 01:34:35 AM]

Link 2 Guilds via 2 Bots?
by Temar
[September 05, 2008, 04:22:40 PM]

SVN download
by clashbot
[September 05, 2008, 05:12:59 AM]

TWC
by Temar
[September 05, 2008, 12:27:23 AM]

How to find the guild ID?...
by Irinir
[September 03, 2008, 02:58:54 PM]

Deactivate Autoadding mem...
by Temar
[September 03, 2008, 02:49:01 PM]

0.4 Modules in 0.5 -- fou...
by Temar
[September 03, 2008, 11:06:42 AM]
Stats
Members
Total Members: 961
Latest: daltarak
Stats
Total Posts: 10408
Total Topics: 1412
Online Today: 15
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 2
Guests: 30
Total: 32
GBH
Jlee

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