|
Temar
|
 |
« 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
|
 |
« 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
|
 |
« 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
|
 |
« Reply #33 on: August 12, 2008, 12:49:27 PM » |
|
|
|
|
|
|
Logged
|
|
|
|
|
Temar
|
 |
« 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
|
 |
« 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
|
 |
« 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
|
|
|
|
|