egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Connection Error on IRC server

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
backdark
Voice


Joined: 21 Dec 2013
Posts: 3

PostPosted: Sat Dec 21, 2013 1:13 pm    Post subject: Connection Error on IRC server Reply with quote

Hello all,

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

my file configuration eggdrop :
Code:
#!~/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:
.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.
Back to top
View user's profile Send private message
caesar
Mint Rubber


Joined: 14 Oct 2001
Posts: 3741
Location: Mint Factory

PostPosted: Sun Dec 22, 2013 10:56 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
backdark
Voice


Joined: 21 Dec 2013
Posts: 3

PostPosted: Mon Dec 23, 2013 7:36 am    Post subject: Reply with quote

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 ?
Back to top
View user's profile Send private message
Shunta
Voice


Joined: 23 Dec 2013
Posts: 4
Location: Great state of North Carolina

PostPosted: Mon Dec 23, 2013 1:42 pm    Post subject: Re: Connection Error on IRC server Reply with quote

Quote:
##### 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....
Back to top
View user's profile Send private message
backdark
Voice


Joined: 21 Dec 2013
Posts: 3

PostPosted: Mon Dec 23, 2013 4:08 pm    Post subject: Reply with quote

Hello,

Many Thanks is verry good !
It's ok Now Wink

many thanks Very Happy
Back to top
View user's profile Send private message
Shunta
Voice


Joined: 23 Dec 2013
Posts: 4
Location: Great state of North Carolina

PostPosted: Mon Dec 23, 2013 5:21 pm    Post subject: Most welcome... Reply with quote

Holy crap... Very Happy hehe not bad for a guy who started messing with eggbot 5 days ago Smile

Glad I could help

Merry Christmas & Happy New Year

Shunta
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber