Bot 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
Brian
Posts: 31
Joined: 2003-04-04 13:28
Location: Ontario, Canada
Contact:

Bot problems

Post by Brian » 2003-04-15 18:37

I connect to my NMDC hub and send the key for the botpass it connects shows in the userlist but never receives any messages therefore cant respond to commands what do i do?

Moch
Posts: 71
Joined: 2003-03-21 22:29

Post by Moch » 2003-04-16 12:46

Could you give a little bit more info? After you send a $Key there is moer you have to do. You must be already using $VaidateNick if the nick is showing up... but after you get $Hello from the hub you need to send the $Version command and then a $MyINFO...You can find the syntax for these in the DC Protocol Spec (that I am sure you must be using eh?) The handshake info in the Docs are not very good... as in it doesn't say anything about $Version until you read the Client to Hub commands (and I think it is a necissary part of the handshake) and also it makes you beleive that you need to send $MyINFO first... which I have found to be false with a couple hubs...

So Make sure you are doing:
$Key ...
$ValidateNick ...
[other stuff if a password is required]
$Version ...
$MyINFO ...

Brian
Posts: 31
Joined: 2003-04-04 13:28
Location: Ontario, Canada
Contact:

Post by Brian » 2003-04-16 14:09

My login goes like this:

Client Connected
$Key
$ValidateNick
[Password stuff]
$MyINFO String
$Version
$GetNickList

TasMan
Posts: 196
Joined: 2003-01-03 08:31
Location: Canada
Contact:

Post by TasMan » 2003-04-16 15:27

Do you recieve any messages after the $Lock|? If not the bot pass musn't be correct....why not use one of the lock to keys on the board - mine has a decent speed for VB and the bot can increase compatability.....
Shadows Direct Connect Hub - Taking away the light from NMDCH, leaving only shadows.....

Brian
Posts: 31
Joined: 2003-04-04 13:28
Location: Ontario, Canada
Contact:

Post by Brian » 2003-04-16 15:33

i get everything back after the login is done it wont receive anything after that

TasMan
Posts: 196
Joined: 2003-01-03 08:31
Location: Canada
Contact:

Post by TasMan » 2003-04-16 15:34

What is the last message you recieve from the hub then?
Shadows Direct Connect Hub - Taking away the light from NMDCH, leaving only shadows.....

HaArD
Posts: 147
Joined: 2003-01-04 02:20
Location: Canada http://hub-link.sf.net
Contact:

Post by HaArD » 2003-04-16 17:56

Check this thread: http://dcplusplus.sourceforge.net/forum ... tokax+axdc

Ptokax is very strict on sign-on, if you can get it to work on a Ptokax hub then NMDC hubs will be easy...

HaArD

Brian
Posts: 31
Joined: 2003-04-04 13:28
Location: Ontario, Canada
Contact:

Post by Brian » 2003-04-16 22:07

i got it to work on Ptokax it was so easy just NMDC is a homo and the last thing i get from the server is the last MyINFO from the users

Nev
Programmer
Posts: 40
Joined: 2003-01-03 13:29

Post by Nev » 2003-05-08 00:25

$MyINFO String
$Version
$GetNickList

should be

$Version
$GetNickList
$MyINFO String
[url=dchub://ancient.myftp.org]ancient.myftp.org - [BBB][Sunet][Tele2] ONLY! @ 20GB (ISP/IP/Share Scripted)[/url]

Locked