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.

Connection Error on IRC server

General support and discussion of Eggdrop bots.
Post Reply
b
backdark
Voice
Posts: 3
Joined: Sat Dec 21, 2013 1:05 pm

Connection Error on IRC server

Post by backdark »

Hello all,

can you help me for connecting my eggdrop on this irc network

my file configuration eggdrop :

Code: Select all

#!~/eggdrop

##### GENERAL STUFF #####

set username ""
set admin "<email: bot2@bot2.com>"
set network "zenet"
set timezone "EST"
# set my-hostname "localhost" Laissez localhost ‡ moins que vous ayez un nom de domaine officiel
# set my-ip "1" L'adresse ip de la machine sur laquelle tourne le bot


##### LOG FILES #####

set max-logs 5

logfile mkco * "bot2.log"
logfile jkp #relai "bot2.log"

set log-time 1
set keep-all-logs 0
set switch-logfiles-at 300
set console "mkcobxs"


##### FILES AND DIRECTORIES #####

set userfile "bot2.user"
set help-path "help/"
set temp-path "/tmp"
set motd "motd"


##### BOTNET #####

# set botnet-nick "bot2"

listen 4501 all
listen 4502 bots
set protect-telnet 0
set ident-timeout 30
set require-p 1
set open-telnets 0
set connect-timeout 15
set dcc-flood-thr 3
set telnet-flood 5:60


##### MORE ADVANCED STUFF #####

set ignore-time 15
set debug-output 0
set hourly-updates 00
set notify-newusers "HQ"
set owner "k"
set default-flags "hp"
set remote-boots 2
set share-unlinks 1
set die-on-sighup 0
set die-on-sigterm 0
unbind dcc n tcl *dcc:tcl
# unbind dcc n set *dcc:set
# unbind dcc n simul *dcc:simul
set max-dcc 50
set enable-simul 1
set allow-dk-cmds 1


############## MODULES #################



#### CHANNELS MODULE #####

loadmodule channels

set chanfile "bot2.chan"
set ban-time 1500
set share-greet 0
set use-info 1

channel add #chat {
chanmode "+nt-likm"
idle-kick 0
flood-deop 3:10
flood-join 5:60
flood-ctcp 3:60
}



##### SERVER MODULE #####

loadmodule server

##### variables:
set nick "bot2"
set altnick "bot2"
set realname "bot2"
set init-server { putserv "MODE $botnick +iw-s" }
set servers {
portlane.se.eu.zenet.org:6667
}
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 default-port 6667
set server-cycle-wait 60
set server-timeout 15
set servlimit 0
set check-stoned 1
set use-console-r 0
set serverror-quit 1
set max-queue-msg 300
set trigger-on-ignore 0
set use-silence 0
set handle-mode_r 1


##### CTCP MODULE #####

loadmodule ctcp

# set ctcp-version "BitchX-75p1+ by panasync - Linux 2.2.3 : Keep it to yourself!"

##### IRC MODULE #####

loadmodule irc

set bounce-bans 0
set allow_desync 0
set kick-method 4
set learn-users 1
set wait-split 300
set wait-info 180
set modes-per-line 3
set mode-buf-length 200
set use-354 0
unbind msg - hello *msg:hello
bind msg - yo *msg:hello


##### TRANSFER MODULE #####

loadmodule transfer

##### variables:
set max-dloads 3
set dcc-block 0
set copy-to-tmp 1
set xfer-timeout 300


##### SHARE MODULE #####

#loadmodule share

##### variables:
#set allow-resync 0
#set resync-time 900
#set private-owner 0
#set private-global 0
#set private-globals "mnot"
#set private-user 0


##### FILESYSTEM MODULE #####

#loadmodule filesys

#set files-path "/home/mydir/filesys"
#set incoming-path "/home/mydir/filesys/incoming"
#set upload-to-pwd 0
#set filedb-path ""
#set max-file-users 20
#set max-filesize 1024


##### NOTES MODULE #####

loadmodule notes

set notefile "bot2.notes"
set max-notes 50
set note-life 60
set allow-fwd 0
set notify-users 1


##### CONSOLE MODULE #####

loadmodule console

##### variables:
set console-autosave 1
set force-channel 0
set info-party 0



##### SEEN MODULE #####

loadmodule seen


##### BLOWFISH MODULE #####

checkmodule blowfish


##### ASSOC MODULE #####

loadmodule assoc


##### SCRIPTS #####

source scripts/alltools.tcl
source scripts/action.fix.tcl
loadhelp userinfo.help
error on Connection : (on partie line )

Code: Select all

.status
[14:04:13] #admin# status
I am bot2, running eggdrop v1.6.21: 1 user (mem: 92k).
Online for 00:00 (background) - CPU: 00:00 - Cache hit: 33.3%
Configured with:
Admin: <email: bot2@bot2.com>
Config file: bot2.conf
OS: Linux 3.8.13-xxxx-grs-ipv6-64
Tcl library: /usr/share/tcltk/tcl8.5
Tcl version: 8.5.8 (header version 8.5.8)
Tcl is threaded.
Socket table: 20/100
Loaded module information:
    Channels: #chat (trying)
    No server currently.
    #chat               : (not on channel)
[14:04:40] -ERROR from server- Closing Link: bot[*.*.*.*] (Ping timeout: 34 seconds)
[14:04:40] Disconnecting from server.
many thanks for your help.
User avatar
caesar
Mint Rubber
Posts: 3776
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Why don't you either add more servers to it's servers list? Or replace the one you got with irc.zenet.org
Once the game is over, the king and the pawn go back in the same box.
b
backdark
Voice
Posts: 3
Joined: Sat Dec 21, 2013 1:05 pm

Post by backdark »

Hello,
Thanks for your help.
but i try to change irc server by "irc.zenet.org"


[12:33:42] Disconnecting from server.
[12:34:06] Trying server irc.zenet.org:6667
[12:34:06] Connected to irc.zenet.org
[12:34:06] -NOTICE- *** Looking up your hostname...
[12:34:06] -NOTICE- *** Found your hostname
[12:34:42] -ERROR from server- Closing Link: Bot2[*.*.*.*] (Ping timeout: 35 seconds)
[12:34:42] Disconnecting from server

have you got a solution ?
S
Shunta
Voice
Posts: 4
Joined: Mon Dec 23, 2013 4:48 am
Location: Great state of North Carolina

Re: Connection Error on IRC server

Post by Shunta »

##### SERVER MODULE #####

loadmodule server

##### variables:
set nick "bot2"
set altnick "bot2"
set realname "bot2"
set init-server { putserv "MODE $botnick +iw-s" }
set servers {
portlane.se.eu.zenet.org:6667
}
set username "" # is blank, according to what I have read, this needs to be in place

# I dont see the following
bind evnt - init-server evnt:init_server
proc evnt:init_server {type} {
global botnick
putquick "MODE $botnick +i-ws"
}
# insert above as written above following line

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

set connect-server { putlog "Connecting to server." }

set disconnect-server { putlog "Disconnected from server." }

set servers { irc.change.this:6667 irc.example.com:7000 }
# 7000-7002 are usually from what I have seen are services/server ports try 6662 to 6669, chat clients are typ 6667

# I have read somewhere that the syntax must be show like this or it errors out, not sure though, mine is and works for me
set servers {
chg.this.tld
insert.thisdiff.tld:clientporthere
}

# On the original eggbot.conf file the insert.thisdiff.tld:clientporthere also shows a :pwdgoeshere in addition to it...
# example some.irc.com:6663:foobar
# you can also insert an IP addy instead of Fully Qualified Domain name here to test

Give that a look ... I am really new to this so its just a guess, but after 4 days of pouring over all kinds of conf files, and making and breaking my system, its at least a start....
b
backdark
Voice
Posts: 3
Joined: Sat Dec 21, 2013 1:05 pm

Post by backdark »

Hello,

Many Thanks is verry good !
It's ok Now ;)

many thanks :D
S
Shunta
Voice
Posts: 4
Joined: Mon Dec 23, 2013 4:48 am
Location: Great state of North Carolina

Most welcome...

Post by Shunta »

Holy crap... :D hehe not bad for a guy who started messing with eggbot 5 days ago :)

Glad I could help

Merry Christmas & Happy New Year

Shunta
Post Reply