Jump to content

Tracker response with warning message


expert01

Recommended Posts

I can't find info on implementing the "warning message" flag into my tracker.

I've got this:

d15:warning message14:This is a tested8:intervali1800e5:peerslee

for my response right now, using utorrent build 2999. It says "tracker reply has no peers field".

Anyone have a sample response with the warning message?

Link to comment
Share on other sites

It's a list of dictionaries. From what I understand, "d" is already defined at the beginning of the response, and can not be defined again. I attempted to add the warning message inside (after peers but before the closing e), and it worked fine, but didn't display the warning message.

Link to comment
Share on other sites

Er, whoops! list of dictionaries... That's correct... It wouldn't make sense if the peers list were a dictionary xD

There's nothing wrong with having a nested dictionary either, but it's irrelevant for this problem. Can you try putting the warning message at the end? Dictionaries key/value pairs are *supposed* to be sorted in key alphabetical order (though I seriously doubt it's the problem -- still worth a try).

Edit: Oh, wait, I see the reason. The tracker response is supposed to be one entire dictionary:

d8:intervali1800e5:peersle15:warning message14:This is a teste

warning message is a key in the tracker response dictionary, not a key in a separate dictionary.

Link to comment
Share on other sites

It can be freely edited -- you just need to sign up for an account there. Regardless, just a bit more careful reading of provided documentation is the least people can do (myself included xD). The wiki does outline it very clearly, after all :P

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...