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: Autoinvite and alert plugin discussion.  (Read 15576 times)

0 Members and 1 Guest are viewing this topic.

Offline ghostimage

  • BeBot Rookie
  • *
  • Posts: 13
  • Karma: +0/-0
Autoinvite and alert plugin discussion.
« Reply #15 on: January 17, 2007, 03:09:02 pm »
Figured it out. I hadn't used the earlier versions of Module_Settings, so I wasn't aware that it was supposed to be in \core not \modules. Some other plugins using this module had worked OK because they came after "M" and so were loaded after module_settings anyway. These two didn't work because they tried load in before it :D
« Last Edit: January 17, 2007, 03:12:53 pm by ghostimage »

Offline bmoscato

  • BeBot User
  • **
  • Posts: 51
  • Karma: +0/-0
Autoinvite and alert plugin discussion.
« Reply #16 on: January 22, 2007, 08:54:26 pm »
Is there a way to have a guests text display in org chat?  Currently when a guest joins they end up in a private chat group but not org chat.

Offline jjones666

  • Contributor
  • *******
  • Posts: 353
  • Karma: +0/-0
Autoinvite and alert plugin discussion.
« Reply #17 on: January 22, 2007, 09:14:00 pm »
use !relay and it will link guest chat with org chat.

-jj-

Offline bmoscato

  • BeBot User
  • **
  • Posts: 51
  • Karma: +0/-0
Autoinvite and alert plugin discussion.
« Reply #18 on: January 22, 2007, 09:27:23 pm »
Hey JJ

I have the updated Roster_Guild.php and Relay_Guild.php running on my bot.  When I try to talk in the guest channel I receive:

Error: Chat group Exobot2 is currently not available.
Then on the server side I get the error message that MSVCR71.dll is missing.

Bryan

Offline bmoscato

  • BeBot User
  • **
  • Posts: 51
  • Karma: +0/-0
Autoinvite and alert plugin discussion.
« Reply #19 on: January 22, 2007, 09:55:16 pm »
OK, I got rid of the .dll error but now I have:

Fatal error: Call to a member function lookup() on a non-object in C:\BeBot\modules\Relay_GUILD.php on line 281

---

Line 281:    $who = $this -> bot -> whois -> lookup($name);

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Autoinvite and alert plugin discussion.
« Reply #20 on: January 22, 2007, 09:59:18 pm »
You need my whois cache.

Offline bmoscato

  • BeBot User
  • **
  • Posts: 51
  • Karma: +0/-0
Autoinvite and alert plugin discussion.
« Reply #21 on: January 22, 2007, 10:31:57 pm »
I'm know I sound like a noob, but why do I need WhoisCache?  I have no idea what I'm suppsed to do to get WhoisCache running on my server.

Do I need:

WhoisCache.php
Whois-Update.php
WhoisCache.conf

What directories do they go in if they don't go in Core or Module?

---

Also, after downloading the three modules that are a couple of posts up from:

http://www.jjones.co.uk/files/autoinv.php
http://www.jjones.co.uk/files/relay_guild.php
http://www.jjones.co.uk/files/alert.php

I get the same error that ghostimage did:

Connected to MySQL
[2007-01-22 21:36:17]   [CORE]  [LOAD]  Admin.php

Fatal error: Call to a member function create() on a non-object in C:\BeBot\core
\Alert.php on line 52

C:\BeBot>pause
Press any key to continue . . .

---

Line 52: $this -> bot -> set -> create ($module, "status", FALSE, $longdesc, "On;Off", FALSE, $disporder=1);

---

I tried to move Alert.php and autoinv.php to the core directory, but I get the same error.

Bryan
« Last Edit: January 22, 2007, 10:40:42 pm by bmoscato »

Offline Malosar

  • BeBot Expert
  • ****
  • Posts: 259
  • Karma: +0/-0
    • http://www.lowerdimension.com
Autoinvite and alert plugin discussion.
« Reply #22 on: January 22, 2007, 10:53:00 pm »
The function lookup() is in the WhoisCache module is why you need it. The instructions in AlreadyThere's post explain what files go where and how to configure it.
Eternalist
General of The Syndicate

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Autoinvite and alert plugin discussion.
« Reply #23 on: January 23, 2007, 08:40:03 am »
I'm know I sound like a noob, but why do I need WhoisCache?  I have no idea what I'm suppsed to do to get WhoisCache running on my server.

Do I need:

WhoisCache.php
Whois-Update.php
WhoisCache.conf

What directories do they go in if they don't go in Core or Module?
I've put WhoisCache.php into my Core directory. Too many other modules need it in my bot.

Whois-Update.php and .conf are in my scripts directory, which is independant of any bot. As long as you make sure both are in the same directory and don't put them into the Core or Modules directory you won't run into problems.

Also, after downloading the three modules that are a couple of posts up from:

http://www.jjones.co.uk/files/autoinv.php
http://www.jjones.co.uk/files/relay_guild.php
http://www.jjones.co.uk/files/alert.php

I get the same error that ghostimage did:

Connected to MySQL
[2007-01-22 21:36:17]   [CORE]  [LOAD]  Admin.php

Fatal error: Call to a member function create() on a non-object in C:\BeBot\core
\Alert.php on line 52

C:\BeBot>pause
Press any key to continue . . .

---

Line 52: $this -> bot -> set -> create ($module, "status", FALSE, $longdesc, "On;Off", FALSE, $disporder=1);

---

I tried to move Alert.php and autoinv.php to the core directory, but I get the same error.
And another module needed, this time Glarawyn's Module Settings.

Offline jjones666

  • Contributor
  • *******
  • Posts: 353
  • Karma: +0/-0
Autoinvite and alert plugin discussion.
« Reply #24 on: January 23, 2007, 08:58:31 am »
Topic split from Xenixa's experimental rooster_guild topic, continue discussion here.

-jj-
« Last Edit: January 23, 2007, 01:51:20 pm by jjones666 »

Offline jjones666

  • Contributor
  • *******
  • Posts: 353
  • Karma: +0/-0
Re: Autoinvite and alert plugin discussion.
« Reply #25 on: January 28, 2007, 03:03:01 am »
Update to relay_guild.php:

- Added a switchable option to automatically turn on the relay when bot starts up.

Above link applies.

-jj-

Offline Dabaron

  • BeBot Apprentice
  • ***
  • Posts: 163
  • Karma: +0/-0
Re: Autoinvite and alert plugin discussion.
« Reply #26 on: February 13, 2007, 07:10:56 am »
Ok, for the "relay auto turning on" part I assume that is part of the Relay.php file.  Specifically the
Code: [Select]
if (!isset($this -> bot -> settings['Relay']['status'])but it isn't actually creating the relay status in my settings table.  Is there something I need to do to have it make it or does it need to be done manually?  If needs to be manually created is it a 1 or 0 type thing or what?

Offline jjones666

  • Contributor
  • *******
  • Posts: 353
  • Karma: +0/-0
Re: Autoinvite and alert plugin discussion.
« Reply #27 on: February 13, 2007, 08:46:47 am »
Check the "module_settings" entry in DB.  Hopefully, we'll have no need for the "settings" one soon :-)

!settings in GC should display and allow you the change all of the modules options.  Just a tip, I only have APF settings in the "old style" settings module left so you can fairly well completely delete that module.

-jj-

Offline Dabaron

  • BeBot Apprentice
  • ***
  • Posts: 163
  • Karma: +0/-0
Re: Autoinvite and alert plugin discussion.
« Reply #28 on: February 18, 2007, 01:04:48 am »
Heh, forgot about that command vs using the settings table.  Thanks JJ

 

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