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?
December 02, 2008, 03:19:07 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 > Official modules > Topic: Updated Relay_GUILD.php
Pages: [1]   Go Down
« previous next »
Print
Author Topic: Updated Relay_GUILD.php  (Read 2113 times)
0 Members and 1 Guest are viewing this topic.
Xenixa
BeBot Contributor
Expert
*******
Offline Offline

Posts: 307



Updated Relay_GUILD.php
« on: November 17, 2005, 05:11:55 PM »

ftp://xen.afraid.org/bebot_files/Relay_GUILD.php

This version adds a command (!guestlist) to display a list of Guests that are on the guests table while ingame
- Shows Name with a Link to Whois, a Link to Remove, Date/Time Added and Who added them.
- Adjusts guests table to add columns for Name, Date/Time Added, and Added By
- Incorporated Craized's Notify.php module.
 --Note: Remove Notify.php if you have his module installed prior to restarting with this one.
- Guest join notify function code from Craized's Notify.php extended to add missing Guest info to the guests table. i.e. their name and when added.

Give a whirl and lemme know if it works for you.
Logged

<<< Hack's in Zend Studio

All my Custom Bebot files may be Found Here <-clicky
jjones666
BeBot Contributor
Champion
*******
Offline Offline

Posts: 353


Updated Relay_GUILD.php
« Reply #1 on: November 18, 2005, 02:53:30 AM »

Hi Xenixa,

Works fine here - both the old version (with notify.php seperately) and the newer version with notify incorporated.

Thanks a lot, very useful plugin :-)

-jj-
Logged
Ainen
Rookie
**
Offline Offline

Posts: 22



Updated Relay_GUILD.php
« Reply #2 on: November 29, 2005, 04:37:09 PM »

Is there a way to make the !guest command accessable to Members - not just admins? I have Members assigned the rights using Custom Rights Management, but looking at the Relay_GUILD.php it looks like the admin is hardcoded.
Logged

BeBot 0.3.4 svn 91 // PHP 4.3.9 // MySQL 4.1.12
Alreadythere
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1085


Updated Relay_GUILD.php
« Reply #3 on: November 29, 2005, 05:25:20 PM »

Easy solution, just remove the outernmost if.
Logged
Akarah
BeBot Contributor
Rookie
*******
Offline Offline

Posts: 72


WWW
Updated Relay_GUILD.php
« Reply #4 on: November 29, 2005, 05:29:39 PM »

i need to hack relay_guild up to support IGN-style relaying.. that is, keeping a list of syntax characters and sending to a specific bot when a specific char is used, and only when that char is used, not otherwise.

typically have had a setup like this:

in a 6 bot network, i was previously relaying:

bot1 -> bot2 via "-"
bot2 -> bot1 via "-"
bot1 -> bot3 via "@"
bot3 -> bot1 via "@"
bot2 -> bot4 via "@"
bot4 -> bot2 via "@"
bot5 -> bot1 via "@"
bot1 -> bot5 via ":"
bot6 -> bot1 via "@"
bot1 -> bot6 via "="

so someone in bot1's org could talk to the orgs of bot2,bot3,bot5,bot6.
someone in bot2's org could talk to the orgs of bot1,bot4
etc..

it's troublesome reinventing the wheel, when IGN already had all this stuff written, but i think starting from scratch (or rather, heavily modifying the existing relay_GUILD) is the best answer in this situation.

this is on my todo list, but i'm not sure if i have the technical expertise to pull it off. time will tell Smiley
Logged
Xenixa
BeBot Contributor
Expert
*******
Offline Offline

Posts: 307



Updated Relay_GUILD.php
« Reply #5 on: November 29, 2005, 06:26:02 PM »

That's alot of work... not to mention alot of code bloat for one module.
 Your better off creating another module that allows you to set Pre-commands or <pre> to specific Bot relay's. I know Khalem was working on spicing up the gcr(guild chat relay) stuff for the next bot release. May want to see what he has instore first being as you'll probably want to stay as compatible as you can with the rest of the code base.
Logged

<<< Hack's in Zend Studio

All my Custom Bebot files may be Found Here <-clicky
Akarah
BeBot Contributor
Rookie
*******
Offline Offline

Posts: 72


WWW
Updated Relay_GUILD.php
« Reply #6 on: November 29, 2005, 07:41:10 PM »

well i'm definitely prepared to take my time in doing it, since i'm not only addicted to actually playing AO, i'm also possibly about to be working two jobs;)
Logged
Khalem
BeBot Founder
Administrator
Grandmaster
********
Offline Offline

Gender: Male
Posts: 670



WWW
Re: Updated Relay_GUILD.php
« Reply #7 on: December 12, 2005, 09:49:38 PM »

Added to SVN
Logged

BeBot Founder and Fixer Kingpin
Madman coder and destroyer of good code
MatHack
Guest
Re: Updated Relay_GUILD.php
« Reply #8 on: December 25, 2005, 08:34:10 PM »

To comment on Akarah's post from November 29, 2005:

Is that not Guildrelay_GUILD stuff?

Anyway, been testing around with it, a major problem is that you need to have bots use same prefix for the guildrelay to work Roll Eyes

Maybe stuff for another thread though... since this is about Relay_GUILD.
Logged
Mephistobane
Rookie
**
Offline Offline

Posts: 21


Re: Updated Relay_GUILD.php
« Reply #9 on: June 21, 2006, 09:24:54 PM »

so how can i get the bot to relay private-group chat to guildchat,and vice-versa? i've seen this done before,but i dont see how to activate it from a command either in Xen's post or the replies afterwards
Logged
Naturalistic
BeBot Contributor
Experienced
*******
Offline Offline

Posts: 221


Re: Updated Relay_GUILD.php
« Reply #10 on: June 22, 2006, 01:24:36 AM »

Using !relay in tell...
Logged

220/25 Eternalist Doctor
-----------------------------
Campalot Coding Co-ordinator and Super Admin
http://www.campalot.info/index.php
Pages: [1]   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Modules > Official modules > Topic: Updated Relay_GUILD.php
« previous next »
 
Jump to:  

Recent
Log playtime from buddys ...
by IKShadow
[Today at 06:48:12 AM]

[request] Raid timers
by Elesar1
[December 01, 2008, 04:41:09 PM]

Shared DB online list
by Temar
[December 01, 2008, 01:55:47 AM]

relay colors
by Temar
[December 01, 2008, 01:54:56 AM]

BeBot v0.6.0 released
by Alreadythere
[November 30, 2008, 05:32:00 PM]

Change to Bid.php
by Temar
[November 30, 2008, 11:41:44 AM]

OnlineOrg
by Jiheld
[November 29, 2008, 12:44:27 PM]

Silly Newbie Question.
by Temar
[November 29, 2008, 12:00:02 PM]

massive_pvp_time_table 1
by gerborg
[November 29, 2008, 06:55:35 AM]

Bot not see Guild Chat
by Delvar
[November 28, 2008, 08:30:34 AM]
Stats
Members
Total Members: 1244
Latest: Armonkens
Stats
Total Posts: 11145
Total Topics: 1505
Online Today: 25
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 3
Guests: 15
Total: 18
Stealth
Kentarii
Ifris

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.406 seconds with 29 queries. (Pretty URLs adds 0.029s, 4q)
Loading...