L* R*
HOME FORUM DOWNLOADS
Content
  Links
     Browse SVN
     SVN Commit log
     Documentation (Wiki)
  Developers
     Taskmanager
User
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 21, 2008, 08:23:11 PM

Login with username, password and session length
Search



Advanced search
Support GoPHP5.org
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Modules > Modules for older versions > 0.2.x Custom/Unofficial Modules > Topic: Autoinvite and alert plugin discussion.
Pages: 1 [2]   Go Down
« previous next »
Print
Author Topic: Autoinvite and alert plugin discussion.  (Read 1581 times)
0 Members and 1 Guest are viewing this topic.
ghostimage
Freshman
*
Offline Offline

Posts: 13


Autoinvite and alert plugin discussion.
« Reply #15 on: January 17, 2007, 09:09:02 AM »

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 Cheesy
« Last Edit: January 17, 2007, 09:12:53 AM by ghostimage » Logged
bmoscato
Rookie
**
Offline Offline

Posts: 51


Autoinvite and alert plugin discussion.
« Reply #16 on: January 22, 2007, 02: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.
Logged
jjones666
BeBot Contributor
Champion
*******
Offline Offline

Posts: 353


Autoinvite and alert plugin discussion.
« Reply #17 on: January 22, 2007, 03:14:00 PM »

use !relay and it will link guest chat with org chat.

-jj-
Logged
bmoscato
Rookie
**
Offline Offline

Posts: 51


Autoinvite and alert plugin discussion.
« Reply #18 on: January 22, 2007, 03: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
Logged
bmoscato
Rookie
**
Offline Offline

Posts: 51


Autoinvite and alert plugin discussion.
« Reply #19 on: January 22, 2007, 03: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);
Logged
Alreadythere
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1077


Autoinvite and alert plugin discussion.
« Reply #20 on: January 22, 2007, 03:59:18 PM »

You need my whois cache.
Logged
bmoscato
Rookie
**
Offline Offline

Posts: 51


Autoinvite and alert plugin discussion.
« Reply #21 on: January 22, 2007, 04: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, 04:40:42 PM by bmoscato » Logged
Malosar
Expert
*****
Offline Offline

Posts: 259


WWW
Autoinvite and alert plugin discussion.
« Reply #22 on: January 22, 2007, 04: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.
Logged

Eternalist
General of The Syndicate
Alreadythere
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1077


Autoinvite and alert plugin discussion.
« Reply #23 on: January 23, 2007, 02:40:03 AM »

Quote from: bmoscato on January 22, 2007, 04: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?
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.

Quote from: bmoscato on January 22, 2007, 04:31:57 PM
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.
Logged
jjones666
BeBot Contributor
Champion
*******
Offline Offline

Posts: 353


Autoinvite and alert plugin discussion.
« Reply #24 on: January 23, 2007, 02:58:31 AM »

Topic split from Xenixa's experimental rooster_guild topic, continue discussion here.

-jj-
« Last Edit: January 23, 2007, 07:51:20 AM by jjones666 » Logged
jjones666
BeBot Contributor
Champion
*******
Offline Offline

Posts: 353


Re: Autoinvite and alert plugin discussion.
« Reply #25 on: January 27, 2007, 09:03:01 PM »

Update to relay_guild.php:

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

Above link applies.

-jj-
Logged
Dabaron
Apprentice
***
Offline Offline

Gender: Male
Posts: 145


Re: Autoinvite and alert plugin discussion.
« Reply #26 on: February 13, 2007, 01:10:56 AM »

Ok, for the "relay auto turning on" part I assume that is part of the Relay.php file.  Specifically the
Code:
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?
Logged
jjones666
BeBot Contributor
Champion
*******
Offline Offline

Posts: 353


Re: Autoinvite and alert plugin discussion.
« Reply #27 on: February 13, 2007, 02: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-
Logged
Dabaron
Apprentice
***
Offline Offline

Gender: Male
Posts: 145


Re: Autoinvite and alert plugin discussion.
« Reply #28 on: February 17, 2007, 07:04:48 PM »

Heh, forgot about that command vs using the settings table.  Thanks JJ
Logged
Pages: 1 [2]   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Modules > Modules for older versions > 0.2.x Custom/Unofficial Modules > Topic: Autoinvite and alert plugin discussion.
« previous next »
 
Jump to:  

Recent
Change text in remember "...
by gerborg
[Today at 05:14:57 PM]

Log playtime from buddys ...
by Temar
[November 20, 2008, 10:33:57 AM]

Vote Core module and Simp...
by Temar
[November 19, 2008, 09:26:52 AM]

Restrict access for one m...
by Organizer
[November 19, 2008, 03:21:19 AM]

Custom / Revised Modules ...
by Elesar1
[November 17, 2008, 03:51:46 PM]

TWC
by Temar
[November 16, 2008, 11:39:12 AM]

Are there any FUN modules...
by Elesar1
[November 15, 2008, 07:39:15 PM]

Call to a member function...
by exxie
[November 15, 2008, 09:29:31 AM]

Ported Modules
by Alreadythere
[November 14, 2008, 06:10:07 PM]

cURL and other non-defaul...
by Temar
[November 14, 2008, 04:11:44 PM]
Stats
Members
Total Members: 1235
Latest: DDDepressionnn
Stats
Total Posts: 11037
Total Topics: 1496
Online Today: 16
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 1
Guests: 9
Total: 10
upstart

Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.8 © Bloc | NewDef design by Bloc
Page created in 0.388 seconds with 29 queries. (Pretty URLs adds 0.032s, 4q)
Loading...