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

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

Author Topic: Colors module  (Read 33496 times)

0 Members and 1 Guest are viewing this topic.

Offline Karsta

  • BeBot User
  • **
  • Posts: 28
  • Karma: +0/-0
Re: Colors module
« Reply #15 on: February 14, 2007, 07:30:03 pm »
doesnt help, same error still

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: Colors module
« Reply #16 on: February 14, 2007, 09:27:02 pm »
Did you add those lines inside the Bot class?

That's were the module expects them.

Offline Karsta

  • BeBot User
  • **
  • Posts: 28
  • Karma: +0/-0
Re: Colors module
« Reply #17 on: February 15, 2007, 08:52:44 am »
yep, inside bot.php

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: Colors module
« Reply #18 on: February 15, 2007, 12:09:08 pm »
Hm.

Did a backport of the 0.3 version, it should run without any modifications to the bot class. Though it won't offer the advantages of global colors as 0.2 doesn't support table prefixes.

Offline Karsta

  • BeBot User
  • **
  • Posts: 28
  • Karma: +0/-0
Re: Colors module
« Reply #19 on: February 15, 2007, 03:50:37 pm »
hmmm, now colors.php works, but get this from level.php


Fatal error: Call to a member function define_color() on a non-object in D:\Prog
ram files\Funcom\kbot\BeBot\modules\Level.php on line 40

http://bebot.link/index.php/topic,580.0.html using this one

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: Colors module
« Reply #20 on: February 21, 2007, 11:32:08 am »
Did you put the colors module into the core/ directory? It has to be loaded before the level.php or it can't work.

Offline Karsta

  • BeBot User
  • **
  • Posts: 28
  • Karma: +0/-0
Re: Colors module
« Reply #21 on: February 22, 2007, 04:26:14 pm »
hmmm, this is wierd

i did put in core as u can see in BeBot\core\colors.php on line 11

but, now i got orginal bot.php and edited it and redownloaded others, and it WORKS

:)

so thx for all the help, finally it works
time to get new modules and problems :D

Offline Hectares

  • BeBot Rookie
  • *
  • Posts: 4
  • Karma: +0/-0
Re: Colors module
« Reply #22 on: March 16, 2007, 05:23:54 am »
Ok I put the colors.php into the core directory but it doesn't seem to be loading. I get no new commands and when I startup my bot I get no errors. Any ideas?

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: Colors module
« Reply #23 on: March 16, 2007, 09:54:40 am »
Actually that's right, the colors module itself only offers functions to other modules. It doesn't offer any commands.

I'll try to backport the ColorsInterface.php out of the SVN to 0.2 later today, that's the interface to change colors of schemes. Of course that only is any help if any module is using schemes.

Offline versatos

  • BeBot Rookie
  • *
  • Posts: 10
  • Karma: +0/-0
Re: Colors module
« Reply #24 on: September 28, 2011, 07:51:49 pm »
i know this is a very late reply

but can someone provide me this color.php

 

* Recent Posts
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 ]


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm ]

* Who's Online
  • Dot Guests: 191
  • 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