This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Need help with Eggdrop Configuration [Previously Channel]

Old posts that have not been replied to for several years.
Locked
h
hfhf6

Need help with Eggdrop Configuration [Previously Channel]

Post by hfhf6 »

I just got Windrop (windows port) and I was rather overwhelmed by the config file, but after nosing through it for about 3 hours, I thought I had if all done right. Upon running the RunOnce.bat, I recieved the error "No such channel record"

At first I thought this was because in the Channel section, I put in the channel password right after the name, and I thought maybe the program thought I was trying to set some odd option. (the password is a bunch of random letters and numbers)

I therefore changed the channel line to another channel on the same network without a password, but I got the same error. My question is: Where does the channel record come from? Does the bot try to connect to said channel, and see if its real, or does it look somewhere else in the config for the channel name, which I had missed. In the FAQ for that error, it says that I should check the spelling of my channel name, but the only kind of error I would see as possible from a spelling error is one in which two instances of the channel in the config were spelled differently. From what I know of IRC, if you connect to a not existent channel, it is formed for you, therefore eliminating the problem of trying to join a nonexistent channel and failing to join.

Thank you for any help you can give me to configure my eggdrop bot.

-hfhf6
Last edited by hfhf6 on Thu Jul 15, 2004 11:42 am, edited 1 time in total.
s
subhro

Post by subhro »

Hi,

First of all I would say that having a static channel is a very bad idea according to me. Because you have to kill the bot if you want to take teh bot off a static channel which is a *very* bad idea. So I would recommend, completely omit the channel section. Getting back to the point, the error you got is because of some inconsistency in the configuration file. You have tried to set channel parameters without defining the channel first. If you can post the channel sections of your config file we may try to further comment on it.

Regards

Subhro
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Check this section
#### CHANNELS MODULE ####
And check that the following is set:

Code: Select all

#### CHANNELS MODULE ####

# This module provides channel related support for the bot. Without it,
# you won't be able to make the bot join a channel or save channel
# specific userfile information.
loadmodule channels

# Enter here the filename where dynamic channel settings are stored.
set chanfile "LamestBot.chan"

# Set this setting to 1 if you want your bot to expire bans/exempts/invites set
# by other opped bots on the channel.
set force-expire 0

# Set this setting to 1 if you want your bot to share user greets with other
# bots on the channel if sharing user data.
set share-greet 0

# Set this setting to 1 if you want to allow users to store an info line.
set use-info 1

# The following settings are used as default values when you .+chan #chan or .tcl
# channel add #chan. Look in the section below for explanation of every option.

set global-flood-chan 10:60
set global-flood-deop 3:10
set global-flood-kick 3:10
set global-flood-join 5:60
set global-flood-ctcp 3:60
set global-flood-nick 5:60
set global-aop-delay 5:30
set global-idle-kick 0
set global-chanmode "nt"
set global-stopnethack-mode 0
set global-revenge-mode 0
set global-ban-time 120
set global-exempt-time 60
set global-invite-time 60

set global-chanset {
        -autoop         -autovoice
        -bitch          +cycle
        +dontkickops    +dynamicbans
        +dynamicexempts +dynamicinvites
        -enforcebans    +greet
        -inactive       -nodesynch
        -protectfriends +protectops
        -revenge        -revengebot
        -secret         -seen
        +shared         +statuslog
        +userbans       +userexempts
        +userinvites    -protecthalfops
        -autohalfop
}
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
h
hfhf6

Post by hfhf6 »

Ok, I realized that I did a channel set #channel without a channel add #channel. I've gotten the nonpassworded channel working to a degree, in that the runonce.bat doesn't report an error, and tells me to /msg the bot and whatever, but it doesn't show up in the channel.

I'm guessing now that some IP setting is screwy or something and the program can't connect to the internet. I'll also set to work getting the passworded channel working. (Is a keyed chan the same as a pwed chan)

Thanks for your help.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Comment out "set my-hostname" and use "set my-ip"

Enabling the winident script may also help with "set username" set.

Code: Select all

##### WINDROP SCRIPTS #####

# Ident script for Windrop by FireEgl@EFnet <FireEgl@LinuxFan.com>
# uses username value for ident name by default
# read the start of script for more documentation
# uncomment (remove # in front of line) next line to activate
source scripts/winident1.2.tcl
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
h
hfhf6

Post by hfhf6 »

I've got all those setting done, but Eggdrop won't appear in IRC. I checked the FAQ again, and when I tried to shut down eggdrop, I found that it was not running. I then tried to start eggdrop -n but I got the "No userfile" error. I started it eggdrop -mn as they suggest, and I got the "Bot will appear in IRC soon" message. I checked Windows task Manager, and eggdrop wasn't running, so I don't really know what the problem is. What I'm thinking is, perhaps eggdrop couldn't connect to the irc server, and that being the only server on its list, shut down. I don't know for sure though, as I'm not getting any errors...

-hfhf6
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Give the bot more than one network server to use. Maybe change the default port from 6667 to 7000. :)
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Locked