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 06, 2008, 09:01:47 AM

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 2041 times)
0 Members and 1 Guest are viewing this topic.
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 772



WWW
Re: 0.4_Support for latest 0.5.1
« Reply #30 on: July 24, 2008, 08:38:34 AM »

Bebot doesnt load it, my module only loads custom/04/ and folder you put in the conf eg "mybotmobs/modules/" it loads "mybotmobs/modules/04" which is just basicly a /04/ folder inside whateva u specify, and custom/module/ cant be 1 u specified or it would be loaded twice
Logged
clashbot
Experienced
****
Offline Offline

Gender: Male
Posts: 191



Re: 0.4_Support for latest 0.5.1
« Reply #31 on: August 12, 2008, 07:32:42 AM »

was trying to get MOTD to work and I am getting an error from the support module:

fatal error: cannot access private property bot::$cron in 0.4_support.php(31) : eval()'d code on line 111

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

Gender: Male
Posts: 772



WWW
Re: 0.4_Support for latest 0.5.1
« Reply #32 on: August 12, 2008, 12:47:37 PM »

please post or point to this module so i can investigate the problem
Logged
clashbot
Experienced
****
Offline Offline

Gender: Male
Posts: 191



Re: 0.4_Support for latest 0.5.1
« Reply #33 on: August 12, 2008, 12:49:27 PM »

http://bebot.shadow-realm.org/bebot-0-4-support/motd-module-from-2-x-to-4-x/ was the original place where I found the 4.x mod
Logged
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 772



WWW
Re: 0.4_Support for latest 0.5
« Reply #34 on: August 12, 2008, 05:47:49 PM »

Done Added replacements for when a module tries to set and unset cron directly
Logged
taconis
Rookie
**
Offline Offline

Posts: 24


Re: 0.4_Support for latest 0.5
« Reply #35 on: August 22, 2008, 04:33:18 PM »

Fatal error: Can't use method return value in write context in C:\BeBot\Wolfcomm\modules\0.4_Support.php(31) : eval()'d code on line 25

exact code is....

// get contents of a file into a string
$filename = "./custom/04/".$mod;
$handle = fopen($filename, "r");
$contents = fread($handle, filesize($filename));
fclose($handle);
$contents = support_replace($contents);

The 04_support.php module is located in \modules.  All 0.4 modules are in \custom\04\.  This error occurs before any custom modules load.
« Last Edit: August 22, 2008, 09:10:11 PM by taconis » Logged
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 772



WWW
Re: 0.4_Support for latest 0.5
« Reply #36 on: August 22, 2008, 10:35:47 PM »

the erro say its code from a modules it loading, thats why it says eval()'d code, check the module listed above the error
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
!items database
by cthulhu
[October 05, 2008, 11:36:16 AM]

Supplies needed module
by viper
[October 05, 2008, 11:11:13 AM]

Assist
by Foxy
[October 05, 2008, 05:09:02 AM]

How's 0.5.x coming? Wonde...
by Hyde
[October 04, 2008, 04:59:20 PM]

TWC
by Elesar1
[October 04, 2008, 12:55:59 PM]

Org in AoC
by Alreadythere
[October 04, 2008, 04:50:00 AM]

OnlineOrg
by Slacklin
[October 04, 2008, 03:06:00 AM]

Learning .NET, Mono, C#, ...
by Vhab
[October 04, 2008, 02:39:03 AM]

guild taxes module for ag...
by Elesar1
[October 03, 2008, 09:06:09 AM]

MediaControl
by Elesar1
[October 03, 2008, 08:38:18 AM]
Stats
Members
Total Members: 983
Latest: Titerris
Stats
Total Posts: 10740
Total Topics: 1448
Online Today: 15
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 3
Guests: 34
Total: 37
Sudoka
cthulhu
Karsta

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