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.

where to define the pass command?

Old posts that have not been replied to for several years.
Locked
c
cmn

where to define the pass command?

Post by cmn »

hi,

where can i define the pass command in eggdrop.

when i login at an irc server, there comes directly after the connect the "PASS <key>" bevore the "NICK ....." command comes.
so where can i define the pass?????


Thanks in advice
cmn
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Defaine it along with the servers.

Code: Select all

set servers {
irc.this.com:6667:password
irc.that.com:6669:drowssap
}
c
cmn

Post by cmn »

okay.

i traced the network packets.
the eggdrop sends the pass command. but it sends it in the same packent as the nick command.
the Emule does it in extra packets and wait 4 server reply.

i dunno much about the irc protokoll, but the host doesnt let me in.

what else can i do?
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Take a gander at RFC 1459 (The copy I am looking at is HERE)

Subsection 4.1.1 gives information on sending the pass command. It doesn't state packet order, so it only requires that PASS command be used before connection (which you stated it did).

The replies ERR_NEEDMOREPARAMS (461) and ERR_ALREADYREGISTERED (462) are returned. As such, it may be wise to capture these in a script, so that you can test this theory.

Code: Select all

set currss -1
bind raw - 461 capt:461
proc capt:461 {from key arg} {
  if {!$::currss == } { putlog "Not enough args used in PASS command" }
}
bind raw - 462 capt:462
proc capt:462 {from key arg} {
  if {!$::currss} { putlog "Allready registered when sending PASS command" }
}
bind evnt - "%-server" capt:evnt
proc capt:evnt {t} {
  switch -- $t {
    {connect-server} { set $::currss 0 }
    {init-server} { set $::currss 1 }
    {disconnect-server} { set $::currss -1 }
  }
}
This should give errors, only when the PASS commands fails, though I can't be sure.
c
cmn

Post by cmn »

okay. i will try it. (so far i dunno where to put the script in the config.... but i'll try.)

what else can it be, i traced it. when i log in with mirc there comes some cryptic packets and then theres the first ping command.

with eggdrop it doesnt came to the ping command. the connection is broken bevore.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

This simply sounds like the network you are on is not RFC complient, for which there is no cure, other than to ask the network to fix there servers (that is assuming they are not meant to be that way).
c
cmn

Post by cmn »

ähm.
thats my chat server.
it uses the Eshare(devine) Expressions chat software.
and this software has a depreciated irc server with it.

i dunno why it functions with mirc and do not function with eggdrop.

so u see no possibility? can i decode the messages in the packets? maybe that could help.....
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

First off, many people say the same thing, "Why does mIRC do this but no eggdrop".

The answer? mIRC isn't eggdrop.

Simalar to talking about oil and water. They are both liquids, but are very different.
Locked