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

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

Author Topic: Updated Relay_GUILD.php  (Read 8856 times)

0 Members and 1 Guest are viewing this topic.

Offline Xenixa

  • Contributor
  • *******
  • Posts: 307
  • Karma: +0/-0
Updated Relay_GUILD.php
« on: November 17, 2005, 11: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.
<<< Hack's in Zend Studio

All my Custom Bebot files may be Found Here <-clicky

Offline jjones666

  • Contributor
  • *******
  • Posts: 353
  • Karma: +0/-0
Updated Relay_GUILD.php
« Reply #1 on: November 18, 2005, 08: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-

Offline Ainen

  • BeBot User
  • **
  • Posts: 22
  • Karma: +0/-0
Updated Relay_GUILD.php
« Reply #2 on: November 29, 2005, 10: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.
BeBot 0.3.4 svn 91 // PHP 4.3.9 // MySQL 4.1.12

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Updated Relay_GUILD.php
« Reply #3 on: November 29, 2005, 11:25:20 pm »
Easy solution, just remove the outernmost if.

Offline Akarah

  • Contributor
  • *******
  • Posts: 72
  • Karma: +0/-0
    • http://synergyfactor.net/
Updated Relay_GUILD.php
« Reply #4 on: November 29, 2005, 11: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 :)

Offline Xenixa

  • Contributor
  • *******
  • Posts: 307
  • Karma: +0/-0
Updated Relay_GUILD.php
« Reply #5 on: November 30, 2005, 12:26:02 am »
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.
<<< Hack's in Zend Studio

All my Custom Bebot files may be Found Here <-clicky

Offline Akarah

  • Contributor
  • *******
  • Posts: 72
  • Karma: +0/-0
    • http://synergyfactor.net/
Updated Relay_GUILD.php
« Reply #6 on: November 30, 2005, 01:41:10 am »
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;)

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: Updated Relay_GUILD.php
« Reply #7 on: December 13, 2005, 03:49:38 am »
Added to SVN
BeBot Founder and Fixer Kingpin

MatHack

  • Guest
Re: Updated Relay_GUILD.php
« Reply #8 on: December 26, 2005, 02:34:10 am »
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 ::)

Maybe stuff for another thread though... since this is about Relay_GUILD.

Offline Mephistobane

  • BeBot User
  • **
  • Posts: 21
  • Karma: +0/-0
Re: Updated Relay_GUILD.php
« Reply #9 on: June 22, 2006, 04:24:54 am »
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

Offline Naturalistic

  • Contributor
  • *******
  • Posts: 221
  • Karma: +0/-0
Re: Updated Relay_GUILD.php
« Reply #10 on: June 22, 2006, 08:24:36 am »
Using !relay in tell...
220/25 Eternalist Doctor
-----------------------------
Campalot Coding Co-ordinator and Super Admin
http://www.campalot.info/index.php

 

* Recent Posts
[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm]


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 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: 443
  • 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