collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18366
  • stats Total Topics: 2501
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: 0.4_Support for latest 0.5  (Read 44392 times)

0 Members and 1 Guest are viewing this topic.

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: 0.4_Support for latest 0.5.1
« Reply #30 on: July 24, 2008, 03:38:34 pm »
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

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: 0.4_Support for latest 0.5.1
« Reply #31 on: August 12, 2008, 02:32:42 pm »
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


Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: 0.4_Support for latest 0.5.1
« Reply #32 on: August 12, 2008, 07:47:37 pm »
please post or point to this module so i can investigate the problem

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: 0.4_Support for latest 0.5.1
« Reply #33 on: August 12, 2008, 07:49:27 pm »
http://bebot.link/bebot-0-4-support/motd-module-from-2-x-to-4-x/ was the original place where I found the 4.x mod

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: 0.4_Support for latest 0.5
« Reply #34 on: August 13, 2008, 12:47:49 am »
Done Added replacements for when a module tries to set and unset cron directly

Offline taconis

  • BeBot User
  • **
  • Posts: 34
  • Karma: +0/-0
Re: 0.4_Support for latest 0.5
« Reply #35 on: August 22, 2008, 11: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 23, 2008, 04:10:11 am by taconis »

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: 0.4_Support for latest 0.5
« Reply #36 on: August 23, 2008, 05:35:47 am »
the erro say its code from a modules it loading, thats why it says eval()'d code, check the module listed above the error

 

* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm ]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am ]

* Who's Online
  • Dot Guests: 406
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal