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.

Config File Not Loaded

General support and discussion of Eggdrop bots.
Post Reply
t
thenashy
Voice
Posts: 4
Joined: Sun Nov 18, 2012 11:43 pm

Config File Not Loaded

Post by thenashy »

I have looked over the forums, and am still not able to work out what is wrong. I am very new to all of this, so I apologise if I've made a rookie error.

Eggdrop v1.6.21 (C) 1997 Robey Pointer (C) 2011 Eggheads
[20:35:22] --- Loading eggdrop v1.6.21 (Mon Nov 19 2012)
[20:35:22] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
-bash-3.2$
I am following these install steps: http://www.egghelp.org/setup.htm

I am using Unrealircd in /home/irc/Unreal
Effdrop is in /home/irc/botdir

I have renamed the config as config.config. I have also attempted to download a premade short conig

Type ./eggdrop -m bhq.config

The following is my config:

Code: Select all

#! /home/irc/botdir/eggdrop
# ^- Set that to the directory Eggdrop is in, i.e. "#! /home/lamest/egg/eggdrop"
#
# $Id: eggdrop.simple.conf,v 1.21 2002/07/25 20:44:55 wcc Exp $
#
# This is a sample configuration file for your bot.  You will definitely
# want to edit this to set up your bot. Right now, it creates a bot called
# "LamestBot" which sits on the channel #lamest.
#
# IMPORTANT: Remember to make install and cd to the directory it created
# (~/eggdrop by default) before you continue. Running the bot from
# eggdrop1.6.x/ will not work.
#
# PLEASE EDIT THIS FILE COMPLETELY! YOUR BOT WILL NOT FUNCTION PROPERLY IF
# YOU DO NOT CONFIGURE IT CORRECTLY! WE CAN NOT STRESS THIS ENOUGH!
#
# More options can be found in the files in doc/settings/.

# Don't edit the following 11 lines.
set mod-path "modules/"
set help-path "help/"
set text-path "text/"
loadmodule dns
loadmodule channels
loadmodule server
loadmodule ctcp
loadmodule irc
loadmodule notes
loadmodule console
loadmodule blowfish

# Start configuring here.

##### Settings:

# Set the nick the bot uses on IRC, and on the botnet
# unless you specify a separate botnet-nick, here.
set nick "BHQ Bot"

# Set the alternative nick which the bot uses on IRC if the nick specified by 'set nick'
# is unavailable. All '?' characters will be replaced by random numbers.
set altnick "BHQ Bot "

# Set here what should be displayed in the real-name field for the bot on IRC.
set realname "/msg BroncosHQ Bot"

# This is the bot's server list. The bot will start at the first server listed,
# and cycle through them whenever it gets disconnected. You need to change these
# servers to YOUR network's servers.
#
# The format is:
#   server[:port[:password]]
#
# Both the port and password fields are optional; however, if you want to set a
# password you must also set a port. If a port isn't specified it will default to
# your default-port setting.
set servers {
  50.31.98.119:6667
}

# This adds the channel #lamest to the bot's channel list. You should change
# this to a channel you would like the bot to join.
channel add #bhq {
  chanmode "+nt-likm"
  idle-kick 0
  stopnethack-mode 0
}

channel set #bhq +enforcebans +dynamicbans +userbans +dynamicexempts +greet
channel set #bhq +userexempts +dynamicinvites +userinvites +protectops
channel set #bhq +protectfriends +statuslog +revenge -protecthalfops +cycle
channel set #bhq +revengebot +dontkickops +autovoice -autoop -autohalfop
channel set #bhq -bitch -secret -shared

# [0/1/2/3/4/5] What is your network?
# 0 = EFnet (non +e/+I hybrid)
# 1 = IRCnet
# 2 = Undernet
# 3 = DALnet
# 4 = EFnet +e/+I hybrid
# 5 = Others
set net-type 0

# Set here the port where the Eggdrop should listen for telnet connections.
listen 3333 all

# Un-comment the next line and set the list of owners of the bot.
# You NEED to change this setting.
set owner "Nashy"

##### Files & Directories:

# The following two lines define where to store the bots user and
# channel files.
set userfile "LamestBot.user"
set chanfile "LamestBot.chan"

# This defines where the bot should store temp files.
set temp-path "/tmp"

# This creates a logfile named eggdrop.log containing private msgs/ctcps,
# commands, errors, and misc. info from any channel.
logfile msbxco * "logs/eggdrop.log"

# This creates a logfile of joins, parts, netsplits, kicks, bans,
# mode changes, and public chat on the channel #lamest.
logfile jpk #lamest "logs/lamest.log"

# Set the default console flags here.
set console "mkcobxs"

##### Uptime module:

# This module reports uptime statistics to http://uptime.eggheads.org.
# Go look and see what your uptime is! It takes about 9 hours to show up,
# so if your bot isn't listed, try again later.
#
# Information sent to the server includes the bot's uptime, botnet-nick,
# server, version, and IP address. This information is stored in a temporary
# logfile for debugging purposes only. The only publicly available information
# will be the bot's botnet-nick, version and uptime. If you do not wish for this
# information to be sent, comment out the following line.
loadmodule uptime

# You have to remove this line to make your bot start.
#die "Please make sure you edit your config file completely."

##### SCRIPTS #####

# This is a good place to load scripts to use with your bot.

# This line loads script.tcl from the scripts directory inside your Eggdrop's
# directory. All scripts should be put there, although you can place them where
# you like as long as you can supply a fully qualified path to them.
#
# source scripts/script.tcl

source scripts/alltools.tcl
source scripts/action.fix.tcl

# Use this script for Tcl and Eggdrop downwards compatibility.
# NOTE: This can also cause problems with some newer scripts.
source scripts/compat.tcl

# This script provides many useful informational functions, like setting
# users' URLs, e-mail address, ICQ numbers, etc. You can modify it to add
# extra entries.
source scripts/userinfo.tcl
loadhelp userinfo.help
w
willyw
Revered One
Posts: 1202
Joined: Thu Jan 15, 2009 12:55 am

Re: Config File Not Loaded

Post by willyw »

thenashy wrote:
...
Eggdrop v1.6.21 (C) 1997 Robey Pointer (C) 2011 Eggheads
[20:35:22] --- Loading eggdrop v1.6.21 (Mon Nov 19 2012)
[20:35:22] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
-bash-3.2$
...

I have renamed the config as config.config.
...
Type ./eggdrop -m bhq.config
If you've named the conf file, "config.config", then use:
./eggdrop -m config.config
so it can find it.

...
I have also attempted to download a premade short conig
...
Often, the 'premade' conf just bring headache, and waste time.

Why not start with the fully commented eggdrop.conf that you got when you followed that install procedure?
Carefully edit it as needed.
Then YOU know what is in it.

I hope this helps.
t
thenashy
Voice
Posts: 4
Joined: Sun Nov 18, 2012 11:43 pm

Post by thenashy »

Thanks, I ended up starting over and got it to work. :)
Post Reply