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.

Stupid bot >_<

Old posts that have not been replied to for several years.
Locked
M
MeJseL
Halfop
Posts: 61
Joined: Tue Nov 18, 2003 7:30 am
Location: Gothenburg , sweden

Stupid bot >_<

Post by MeJseL »

The problem started today when i was restarting the bot..

Code: Select all

Eggdrop v1.6.13 (C) 1997 Robey Pointer (C) 2002 Eggheads
[12:33] --- Loading eggdrop v1.6.13 (Sat Nov 22 2003)
[12:33] Listening at telnet port 100 (bots)
[12:33] Listening at telnet port 50 (users)
[12:33] Userinfo TCL v1.07 loaded (URL BF GF IRL EMAIL DOB PHONE ICQ).
[12:33] use '.help userinfo' for commands.
[12:33] Tcl error in file 'eggdrop.conf':
[12:33] can't read "server-timeout": no such variable
    while executing
"set ident(timeout) "${server-timeout}""
    (file "scripts/winident.tcl" line 64)
    invoked from within
"source scripts/winident.tcl"
    (file "eggdrop.conf" line 72)
[12:33] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
then i removed the winident.tcl
and then it start complaining about another script i have that works:

Code: Select all

Eggdrop v1.6.13 (C) 1997 Robey Pointer (C) 2002 Eggheads
[12:36] --- Loading eggdrop v1.6.13 (Sat Nov 22 2003)
[12:36] Listening at telnet port 100 (bots)
[12:36] Listening at telnet port 50 (users)
[12:36] Userinfo TCL v1.07 loaded (URL BF GF IRL EMAIL DOB PHONE ICQ).
[12:36] use '.help userinfo' for commands.
[12:36] Tcl error in file 'eggdrop.conf':
[12:36] bad type, should be one of: act, away, bcst, bot, chat, chjn, chof, chon
, chpt, dcc, disc, evnt, filt, link, load, nkch, note, time, unld
    while executing
"bind pub -|- "!cal" pub:calc"
    (file "scripts/apa/cal.tcl" line 1)
    invoked from within
"source scripts/apa/cal.tcl"
    (file "eggdrop.conf" line 79)
[12:36] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
Then i removed that to .. but it started to complain about all my "addons"
so i removed all .. then:

Code: Select all

Eggdrop v1.6.13 (C) 1997 Robey Pointer (C) 2002 Eggheads
[12:38] --- Loading eggdrop v1.6.13 (Sat Nov 22 2003)
[12:38] Listening at telnet port 100 (bots)
[12:38] Listening at telnet port 50 (users)
[12:38] Userinfo TCL v1.07 loaded (URL BF GF IRL EMAIL DOB PHONE ICQ).
[12:38] use '.help userinfo' for commands.
[12:38] Tcl error in file 'eggdrop.conf':
[12:38] bad type, should be one of: act, away, bcst, bot, chat, chjn, chof, chon
, chpt, dcc, disc, evnt, filt, link, load, nkch, note, time, unld
    while executing
"unbind msg - ident *msg:ident"
    (file "eggdrop.conf" line 101)
[12:38] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
he didnt like my unbind ether so i removed all those to ... then the bot did start up ..

And i added all my addons and unbinds again and rehashed the bot ...
and everything worked .. so i restarted it again to see if it would work ...
and the same problems came up :/

here is my conf:

Code: Select all

# ===================================================================
# Config
# ===================================================================

set username "Monkey"

set admin "MeJseL mejsel_1337@hotmail.com"

set userfile "aPa.user"

set botnet-nick "aPa"

set chanfile "aPa.chan"

set owner "MeJseL"

set nick "aPa^^"

set altnick "aPa^^`"

set realname "Owned by MeJseL"

listen 100 bots

listen 50 users

#set my-hostname "217.209.40.235"
#set my-ip "217.209.40.235"

set network "Other"
set timezone "CET"
set notify-newusers "$owner"

# ===================================================================
# Global chan
# ===================================================================

set global-flood-chan 60:60
set global-flood-deop 3:10
set global-flood-kick 3:10
set global-flood-join 60:60
set global-flood-ctcp 3:60
set global-flood-nick 60: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 0
set global-exempt-time 60
set global-invite-time 60

# ===================================================================
# Server
# ===================================================================

set init-server { putserv "MODE $botnick +i-ws" }

set default-port 6667
set servers {
se.quakenet.org
}

# ===================================================================
# Eggdrop Script
# ===================================================================

source scripts/alltools.tcl
source scripts/action.fix.tcl
source scripts/compat.tcl
source scripts/userinfo.tcl
source scripts/winident1.2.tcl
source scripts/egghttp.tcl

# ===================================================================
# aPa script
# ===================================================================

source scripts/apa/cal.tcl
source scripts/apa/chankey.tcl
source scripts/apa/commands.tcl
source scripts/apa/date.tcl
source scripts/apa/dns.tcl
source scripts/apa/file.tcl
source scripts/apa/google.tcl
source scripts/apa/Limit.tcl
source scripts/apa/ping.tcl
source scripts/apa/q-auth.tcl
source scripts/apa/shoutcast.tcl
source scripts/apa/uptime.tcl
source scripts/apa/version.tcl
source scripts/apa/vote.tcl

# ===================================================================
# Unbind
# ===================================================================

unbind msg - ident *msg:ident
unbind msg - addhost *msg:addhost
unbind dcc n simul *dcc:simul
unbind dcc n tcl *dcc:tcl
unbind dcc n set *dcc:set

# ===================================================================
# Modules
# ===================================================================

loadmodule dns
loadmodule channels
loadmodule server
loadmodule ctcp
loadmodule irc
loadmodule transfer
loadmodule share
loadmodule notes
loadmodule console
loadmodule blowfish
loadmodule uptime
loadhelp userinfo.help
#loadmodule wire
#loadmodule assoc
#loadmodule woobie
#loadmodule seen

# ===================================================================
# Övrigt
# ===================================================================

set offset "0"
set max-logs 5
set max-logsize 0
set quick-logs 0
set log-time 1
set keep-all-logs 0
set logfile-suffix ".%d%b%Y"
set switch-logfiles-at 300
set quiet-save 0
set console "mkcobxs"
set sort-users 0
set help-path "help/"
set text-path "text/"
set temp-path "tmp/"
set motd "text/motd"
set telnet-banner "text/banner"
set userfile-perm 0600
set remote-boots 2
set share-unlinks 1
set protect-telnet 0
set dcc-sanitycheck 0
set ident-timeout 5
set require-p 0
set open-telnets 0
set stealth-telnets 0
set use-telnet-banner 0
set connect-timeout 15
set dcc-flood-thr 3
set telnet-flood 5:60
set paranoid-telnet-flood 1
set resolve-timeout 15
set ignore-time 15
set hourly-updates 00
set notify-newusers "$owner"
set default-flags "hp"
set whois-fields "url birthday"
set die-on-sighup 0
set die-on-sigterm 1
set must-be-owner 1
set max-dcc 50
set enable-simul 1
set allow-dk-cmds 1
set dupwait-timeout 5
set mod-path "modules/"
set force-expire 0
set share-greet 0
set use-info 1
set net-type 5
set keep-nick 1
set strict-host 0
set quiet-reject 1
set lowercase-ctcp 0
set answer-ctcp 3
set flood-msg 5:60
set flood-ctcp 3:60
set never-give-up 1
set strict-servernames 0
set server-cycle-wait 60
set server-timeout 60
set servlimit 0
set check-stoned 1
set use-console-r 0
set debug-output 0
set serverror-quit 1
set max-queue-msg 300
set trigger-on-ignore 0
set double-mode 0
set double-server 0
set double-help 0
set optimize-kicks 1
set stack-limit 4
set ctcp-mode 0
set bounce-bans 1
set bounce-modes 0
set max-bans 20
set max-modes 30
set kick-fun 0
set ban-fun 0
set learn-users 0
set wait-split 600
set wait-info 180
set mode-buf-length 200
set no-chanrec-info 0
set bounce-exempts 0
set bounce-invites 0
set max-exempts 20
set max-invites 20
set prevent-mixing 1
set max-dloads 3
set dcc-block 1024
set copy-to-tmp 1
set xfer-timeout 30
set share-compressed 1
set files-path "filesys"
set incoming-path "filesys/incoming"
set upload-to-pwd 0
set filedb-path ""
set max-file-users 20
set max-filesize 1024
set max-notes 50
set note-life 60
set allow-fwd 0
set notify-users 1
set notify-onjoin 1
set console-autosave 1
set force-channel 0
set info-party 0
Anyone knows whats wrong? .. btw im using windrop >_<

hope somone can help me.
yeah!
User avatar
gumbydammit
Master
Posts: 311
Joined: Thu Sep 05, 2002 4:52 pm
Location: Canada
Contact:

Post by gumbydammit »

while executing
"unbind msg - ident *msg:ident"
You really should use the eggdrop.conf that came with your bot.. certain things order does matter.. you cannot unbind something if you have not yet loaded the module which binds it..
while executing
"set ident(timeout) "${server-timeout}""
you are missing this variable in your conf ( the module which it belongs to is not loaded yet) again i advise you to use the one that came with your bot..
while executing
"bind pub -|- "!cal" pub:calc"
This error is also because of the rearranging you did in your conf.. a pub bind is part of the irc module.. which you do not load until later. In other words use the conf that was given to you with your bot.. and all these errors go away :P
a.k.a. hellios
M
MeJseL
Halfop
Posts: 61
Joined: Tue Nov 18, 2003 7:30 am
Location: Gothenburg , sweden

Post by MeJseL »

hehe, i just paisted the Modules befor the eggdrop scripts and it worked :] ... thx dude
yeah!
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Is there a reason you don't use the default .conf file (after doing the proper settings in it ofcource)? Also, why do people use some screwed up .conf files and even get eggdrop from not worthy of trust or belief sites and not from the official ones?
Once the game is over, the king and the pawn go back in the same box.
User avatar
gumbydammit
Master
Posts: 311
Joined: Thu Sep 05, 2002 4:52 pm
Location: Canada
Contact:

Post by gumbydammit »

Ya its amazing how many errors you see because of ermm "custom" conf files.. Even a pretty experienced user still needs to refer to the conf from time to time to read a comment. So if you absolutely NEED to use a custom one, i hope you at least kept a copy the default one MeJseL or you are sure to run into a situation where you need to refer to it.
a.k.a. hellios
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

Yeah, I always go to the conf file to read some comments. Its pretty handy.
M
MeJseL
Halfop
Posts: 61
Joined: Tue Nov 18, 2003 7:30 am
Location: Gothenburg , sweden

Post by MeJseL »

hehe i want my conf clean from all text , but of corse i have an extra conf to look at when i get errors .. but i was lucky this time that i found the error fast :]
yeah!
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

The comented lines are just for the human knowledge and ignored by the tcl and eggdrop..
Once the game is over, the king and the pawn go back in the same box.
b
bobjuh
Master
Posts: 268
Joined: Wed Oct 03, 2001 8:00 pm
Location: Netherlands
Contact:

Post by bobjuh »

I also have my own Custom Config i also have to look at the original config some times
Locked