Registered Users ($MyPass)

Technical discussion about the NMDC and <a href="http://dcpp.net/ADC.html">ADC</A> protocol. The NMDC protocol is documented in the <a href="http://dcpp.net/wiki/">Wiki</a>, so feel free to refer to it.

Moderator: Moderators

Locked
wastingtape
Posts: 7
Joined: 2003-09-02 04:24
Location: Hawaiian islands
Contact:

Registered Users ($MyPass)

Post by wastingtape » 2003-09-04 02:30

I've looked at the protocol specification on a few sites (obviously none official). I can't figure it out. Can $MyPass be used by registered users who have only registered their nick, or can it only be used by Ops?

ivulfusbar
Posts: 506
Joined: 2003-01-03 07:33

Post by ivulfusbar » 2003-09-04 17:03

Well?
After that the client has sent "$ValidateNick <nickname>|", the hub might respond with "$GetPass|" and expect the client to send its password with "$MyPass <password>|". So yes, this is done by all clients using "passwords". If the user is only a registered user and not OP, then skip sending "$LogedIn". Anyway, the link below will explain it to you.

You can read more on http://1stleg.com/download/Documents/DC ... Login.html

you-have-probably-not-read-the-best-none-official-protocol-specification-ly'ers
Everyone is supposed to download from the hubs, - I don´t know why, but I never do anymore.

wastingtape
Posts: 7
Joined: 2003-09-02 04:24
Location: Hawaiian islands
Contact:

Post by wastingtape » 2003-09-05 00:55

You skip the $LogedIn! That's it. The problem i was having, was that it would always activate the Op menu. When i original read the protocol specs, i knew it seemed like it could be done, but after trying it i wasn't sure.

Thanks. This helped.

And no, i havn't seen that linked site before either. *bookmarks*

Locked