Menu

#2 Won't relay from IRC Channel to Guild Chat

v1.0 (example)
open
nobody
None
5
2008-06-16
2008-06-16
Anonymous
No

Greetings,

The bot is successfully relaying chat from the guild channel in game to the irc channel. But it's not relaying chat from irc to guild chat. I'm 100% sure I've setup my config file right, but I'll post it here anyways just to show you.

# This config is in pure Python, so just change the stuff after '=' unless you know what you're doing.

#### AOC CONFIGURATION ####

# Don't touch
config = {}
config['irc'] = {}
config['aoc'] = {}

# If your server isn't supported (it will give an error) contact me so I can add it.
# See CONTACT for more info on how to contact me
# Current list:
# fury, dagon, mitra, ymir, ishtar, aquilonia, soulstorm, omm, crom,
# tyranny, deathwhisper, zug, dargoth, dereketo, thog, set, wicanna
config['aoc']['dimension'] = "dereketo"

# Your AoC username/password
config['aoc']['username'] = "TakenOut"
config['aoc']['password'] = "TakenOut"

# Ingame character name for your bot
# You can be logged onto the other characters on your account while the bot runs, so making a lvl1 bot-only character is usually smart
config['aoc']['character'] = "Ivbot"

#### IRC CONFIGURATION ####
config['irc']['chans'] = ["#General"]
# Example of hanging on more than one channel:
#config['irc']['chans'] = ["#channel1", "#channel2"]
# Example of channels with passwords:
#config['irc']['chans'] = [ ["#channel", "key"], ["#channel2", "key2"] ]

config['irc']['nick'] = "IVRelay"
config['irc']['host'] = "irc.invictrum.com"
config['irc']['port'] = 6667

# nick!user@host, user@host or host of an admin on IRC
# If you are unsure of this one, do /whois <your nick> on the IRC server and copy paste the part 'after <your nick>!'.
# For example for me, /whois helge_ gives 'helge_!~helge@cipher123.users.quakenet.org', and the user@host I need is '~helge@cipher123.users.quakenet.org'.
# Note that the layout might be different in your IRC client (some clients skip the '!' after nick)
config['irc']['admin'] = ['Taken Out']
# Example of having several admins:
#config['irc']['admin'] = ['nick1!user1@host1', 'user2@host2', 'host3']

# Charactername of an admin on AoC
config['aoc']['admin'] = ['Durroch']
# Example of having several admins:
#config['aoc']['admin'] = ['Charactername1', 'Charactername2']

# List of characters that can start a command
config['cmd'] = ['!', '-', '.']

# The plugins to load at start. These are case sensitive atm.
# If you don't want spam in your terminal, just disable EchoBot.
# IMPORTANT FOR DEVS: Classname and filename must be identical
config['plugins'] = ['EchoBot', 'Whois', 'Admin', 'Relay', 'Random']

#### PLUGINS CONFIGURATION ####

# Don't touch
config['relay'] = {}

# Channels to relay guildchat to/from
config['relay']['channels'] = ["#General"]

# Which events to relay
# Full list: guild, ircmsg, ircjoin, ircpart, ircquit, ircaction (/me), aocconnect, aocdisconnect
# NOTE: No netsplit detection on join/quit
config['relay']['events'] = ['guild', 'ircmsg', 'ircjoin', 'ircpart', 'ircquit', 'ircaction', 'aocconnect', 'aocdisconnect']

Best Regards,
Durroch
cody.lundquist@gmail.com

P.S.
You spelled Derketo wrong in the server list ;).

Discussion

  • Helge Milde

    Helge Milde - 2008-06-16

    Logged In: YES
    user_id=2113948
    Originator: NO

    Hey.
    I'm pretty sure this was fixed in one of the last commits.. Can you try again with an svn update? This is if the problem is that your channelnames aren't all lowercase.
    If the above doesn't work, try changing #General to #general in the config and see if that helps.

    Helge

     
  • Helge Milde

    Helge Milde - 2008-06-16

    Logged In: YES
    user_id=2113948
    Originator: NO

    Sorry. I never did commit that one.. Fixed now

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.