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: Ported Modules  (Read 53692 times)

0 Members and 3 Guests are viewing this topic.

Offline meatshield

  • BeBot User
  • **
  • Posts: 24
  • Karma: +0/-0
Re: Ported Modules
« Reply #15 on: July 09, 2008, 04:45:24 am »
Any get the Grats mod to work ?? I went through the file and it looked like all you had to do was turn it "On". It still isnt' doing anything... so ya :(  I suck.

Offline Vrykolas

  • BeBot Apprentice
  • ***
  • Posts: 100
  • Karma: +0/-0
Re: Ported Modules
« Reply #16 on: July 09, 2008, 12:37:05 pm »
to turn it on you use the command "!settings autogratz Enabled On" and, if you're using the modified Main.php and Bot.php it will work. 

If you update the bot from SVN you will have to check that these files haven't been overwritten and apply the changes if they have been (as of the time of writing this they are current to SVN version 19 - I need to update to version 21 of Bot.php.)


Offline CheRny

  • BeBot Rookie
  • *
  • Posts: 15
  • Karma: +0/-0
Re: Ported Modules
« Reply #17 on: July 09, 2008, 12:39:12 pm »
Any get the Grats mod to work ?? I went through the file and it looked like all you had to do was turn it "On". It still isnt' doing anything... so ya :(  I suck.
Yes, it works fine for me, but I had to do
!autogratz add <my message>
!autogratz addlevel <my message>

After I am done these it starts working and I am just adding new messages !autogratz add <my message>

BTW did you check Bot.php and Main.php as autofratz needs some changes in these files?

Offline Vrykolas

  • BeBot Apprentice
  • ***
  • Posts: 100
  • Karma: +0/-0
Re: Ported Modules
« Reply #18 on: July 09, 2008, 02:40:00 pm »
updated autogratz.zip with the latest change to Bot.php. Link is in the first post.

Offline Noer

  • BeBot Apprentice
  • ***
  • Posts: 107
  • Karma: +0/-0
Re: Ported Modules
« Reply #19 on: July 09, 2008, 02:47:04 pm »
Regarding the grats-module, could you make a diff from the original files for me?

I am currently making some changes in main.php and bot.php and maybe I can put these changes into that aswell.

Offline Vrykolas

  • BeBot Apprentice
  • ***
  • Posts: 100
  • Karma: +0/-0
Re: Ported Modules
« Reply #20 on: July 09, 2008, 03:07:24 pm »
The diff file for Bot.php is available here and the diff file for Main.php is available here.  My editor trims whitespace at the end of lines so you'll have some of that in there as well...
« Last Edit: July 09, 2008, 03:12:16 pm by Vrykolas »

Offline Noer

  • BeBot Apprentice
  • ***
  • Posts: 107
  • Karma: +0/-0
Re: Ported Modules
« Reply #21 on: July 09, 2008, 03:23:58 pm »
Thanks.

Okay, those changes are very specific for that purpose. I don't really think building that into the base code is something I want to do. :-\

Offline Vrykolas

  • BeBot Apprentice
  • ***
  • Posts: 100
  • Karma: +0/-0
Re: Ported Modules
« Reply #22 on: July 09, 2008, 03:30:00 pm »
No problem, I suspected that might be the case - I'll just carry on maintaining the modified files. :)

Offline Vrykolas

  • BeBot Apprentice
  • ***
  • Posts: 100
  • Karma: +0/-0
Re: Ported Modules
« Reply #23 on: July 09, 2008, 07:59:19 pm »
New version of the autogratz plugin linked in the first post.

Offline CheRny

  • BeBot Rookie
  • *
  • Posts: 15
  • Karma: +0/-0
Re: Ported Modules
« Reply #24 on: July 10, 2008, 06:35:05 pm »
After the last AoC patch I am not able to add any new gratz messages with name and level tags - <name> and <level> as somehow the client just cuts < and > symbols. As well as &lt; and &gt; don't show anymore in gratz help blob. Any1 has the same problem? If it's not just me, it's better to use something else instead of < and >.

Offline Vrykolas

  • BeBot Apprentice
  • ***
  • Posts: 100
  • Karma: +0/-0
Re: Ported Modules
« Reply #25 on: July 10, 2008, 10:33:27 pm »
I'm currently looking into this (among other things) but I don't seem to have a problem with it - I'll let you know more if I find something.

Offline Noer

  • BeBot Apprentice
  • ***
  • Posts: 107
  • Karma: +0/-0
Re: Ported Modules
« Reply #26 on: July 10, 2008, 11:30:27 pm »
They broke something with the chatserver last patch. It doesn't allow < and > in chat or it with truncate all after that.

Offline ripchen

  • BeBot Rookie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: Ported Modules
« Reply #27 on: July 11, 2008, 10:24:23 am »
hi there,

i've got a little Problem with the Teamspeak Module...
it wants to include :
Code: [Select]
include_once("_Colors.php");which does not exist anywhere in my rep! So the Calls the Module makes crashes the Bot.
Am i missing something? Am i plain to stupid?
Please help !

Offline Vrykolas

  • BeBot Apprentice
  • ***
  • Posts: 100
  • Karma: +0/-0
Re: Ported Modules
« Reply #28 on: July 11, 2008, 12:09:37 pm »
no - I forgot to add the file - it is available here.

Offline ripchen

  • BeBot Rookie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: Ported Modules
« Reply #29 on: July 11, 2008, 01:36:34 pm »
Thanks for the quick Reply. Got the Module loaded now but it does not seem to display anything. Will Test further though !

Thanks again.

 

* 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: 442
  • 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