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, 10:41:31 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 2567 times)
0 Members and 1 Guest are viewing this topic.
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 877



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

MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
clashbot
Experienced
****
Online Online

Gender: Male
Posts: 192



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



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

MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
clashbot
Experienced
****
Online Online

Gender: Male
Posts: 192



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



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

MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
taconis
Rookie
**
Offline Offline

Posts: 25


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



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

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: 17
Total: 18
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.516 seconds with 29 queries. (Pretty URLs adds 0.041s, 4q)
Loading...