$GetNickList problems...

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
Kandjar
Posts: 4
Joined: 2003-03-12 06:16

$GetNickList problems...

Post by Kandjar » 2003-03-12 07:25

I have got a problem with the connection protocol.. I'm going to create a hub, and I use the standart DC to test my tool. :D :D

The first step was the lock authentificatoin, it seems to work well :lol:

After DC send to me the user's nick :D
I validate it, and send to it the "$Hello <nick>"
(if I don't do that, nothing else appened... )

Finally DC asks me the user list by sending the string : "$GetNickList|" :)

I reply by "$NickList op1$$op2$$op3$$nick1$$nick2$$nick3$$||$OpList op1$$op2$$op3||" but nothing appened.. I have dupplicate the "|" by watching the data received from a hub on internet. I have already tried with just one "|", but it's the same ! Nothing appened... :?

Can anyone help me ? How should I send the user list to DC ?
:?: :?: :?:

ender
Posts: 224
Joined: 2003-01-03 17:47

Post by ender » 2003-03-12 10:14

After you send $NickList and $OpList, the client is logged-in (it should send it's $MyINFO if it hasn't yet). You should process it's chat messages then, $GetINFOs etc.

aDe
Forum Moderator
Posts: 138
Joined: 2003-01-07 09:14
Location: SE
Contact:

Post by aDe » 2003-03-12 10:24

the only thing I can think of that could be wrong; is that you don't have $$ after the last opname.

Kandjar
Posts: 4
Joined: 2003-03-12 06:16

Post by Kandjar » 2003-03-12 11:55

ender wrote:After you send $NickList and $OpList, the client is logged-in (it should send it's $MyINFO if it hasn't yet). You should process it's chat messages then, $GetINFOs etc.
It sends me the user infos ($MyINFO) just after receiving the "$Hello nick", and, the $MyINFO is following by a "$GetNickList", at this moment I'll try to send to it the nicks' list.

Kandjar
Posts: 4
Joined: 2003-03-12 06:16

Post by Kandjar » 2003-03-12 11:56

aDe wrote:the only thing I can think of that could be wrong; is that you don't have $$ after the last opname.
I'm sure it's not that :)

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

Post by ivulfusbar » 2003-03-12 14:31

"log exactly" what is sent back and forth: and you should also read up on $QuickList, http://forum.dcstats.net/showthread.php?s=&threadid=802


You can read the history about quicklist in different threads on that cite.
Everyone is supposed to download from the hubs, - I don´t know why, but I never do anymore.

Locked