CommentsV2
From EMule Wiki
(Difference between revisions)
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
THIS IS NOT FINAL... | THIS IS NOT FINAL... | ||
feel free to edit and add suggestions | feel free to edit and add suggestions | ||
Line 15: | Line 7: | ||
= Specifications = | = Specifications = | ||
The packer was therefor altered by adding the file hast on the top: | The packer was therefor altered by adding the file hast on the top: | ||
− | + | <pre> | |
[hast128 16] // file hash | [hast128 16] // file hash | ||
[uint8 1] // rating | [uint8 1] // rating | ||
[string n] // comment | [string n] // comment | ||
− | + | </pre> | |
In the Mod Prot this alternated packet is to be send with the ModProt ID and under the same opcode as used usually. | In the Mod Prot this alternated packet is to be send with the ModProt ID and under the same opcode as used usually. | ||
= Compatibility Note = | = Compatibility Note = | ||
− | Mods | + | Mods > 0.48 should _not_ anymore ounce support for this alteration in the usual hello and also ignore if a never client sends v2, because it may be an official v2 that may be incompatible with the SF v2. |
[[category:Mod_protocol_extensions]] | [[category:Mod_protocol_extensions]] |
Latest revision as of 11:36, 24 November 2010
THIS IS NOT FINAL... feel free to edit and add suggestions
Introduction
Comments V2 is a feature form SF and it allows sending comments to people that have the file complete, it basically allows to send comments for arbitrary files the remote side have.
Specifications
The packer was therefor altered by adding the file hast on the top:
[hast128 16] // file hash [uint8 1] // rating [string n] // comment
In the Mod Prot this alternated packet is to be send with the ModProt ID and under the same opcode as used usually.
Compatibility Note
Mods > 0.48 should _not_ anymore ounce support for this alteration in the usual hello and also ignore if a never client sends v2, because it may be an official v2 that may be incompatible with the SF v2.