Official eMule-Board: Registering New Opcodes And Tags!? - Official eMule-Board

Jump to content


Page 1 of 1

Registering New Opcodes And Tags!?

#1 User is offline   netfinity 

  • Master of WARP
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1658
  • Joined: 23-April 04

Posted 24 November 2005 - 12:40 AM

As many modders including myself, create new features that requires new opcodes and tags there is a need to coordinate this.

My suggestion is that a new opcode 'OP_MODEXTENSION' is created where modders can register sub-opcodes under, via the eMule devs. The same also goes for tags; a new tag 'ET_MODFEATURES' should be created and a modder registers one or a set bits.

The benefit of this would be better control of what tags are used and reduce the waste and overhead.

As for myself I would like to register the following;

Quote

Feature flags:
ETMODF_UNSOLICITEDPARTSTATUS
Tell client we accept and can make use of OP_PARTSTATUS messages sent at any time for files we are asking for or that the client asks from us. Can be used to tell a source that we are now also a complete source and can be spread via source exchange. Note! Clients supporting this tag is not allowed to forget part-status information when going A4AF. (Will post full spec. if accepted)
ETMODF_SUBCHUNKTRANSFER
Tell client we support and understand AICH sized sub-part maps (OPMOD_SUBCHUNKMAPS) for incomplete blocks, being sent to us.

OP-codes:
OPMOD_SUBCHUNKMAPS
Used to send small sets (upto 5 parts) of AICH sized sub-part maps, for incomplete blocks, when the client doesn't need any of our complete blocks. There will be certain quarantine times before blocks will published to a client this way in order to avoid unnecessary overhead and spreading of possibly corrupt data.


Regards,
netfinity
eMule v0.50a [NetF WARP v0.3a]
- Compiled for 32 and 64 bit Windows versions
- Optimized for fast (100Mbit/s) Internet connections
- Faster file completion via Dynamic Block Requests and dropping of stalling sources
- Faster searching via KAD with equal or reduced overhead
- Less GUI lockups through multi-threaded disk IO operations
- VIP "Payback" queue
- Fakealyzer (helps you chosing the right files)
- Quality Of Service to keep eMule from disturbing VoIP and other important applications (Vista/7/8 only!)
0

#2 User is offline   SlugFiller 

  • The one and only master slug
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 6988
  • Joined: 15-September 02

Posted 24 November 2005 - 06:55 PM

Well, string tags would take care of the tags thing while in testing phase. Once you think your feature is ready for cross-mod use, you should probably coordinate a free opcode with the other main modders(the official devs probably won't be as cooperative), as Maella did for the mod-id tag.

I'm not sure about opcodes, though. However, with a tag for turning certain opcode sending on/off, there is no chance of a collision, so long as you do not accept or send the opcode without receiving the tag. Then, you can use whatever opcode is not already used by other supported features in the same mod.

Again, once testing is done, you can coordinate a free opcode, and thus allow others to implement support for that same protocol.
Why haven't you clicked yet?

SlugFiller rule #1: Unsolicited PMs is the second most efficient method to piss me off.
SlugFiller rule #2: The first most efficient method is unsolicited eMails.
SlugFiller rule #3: If it started in a thread, it should end in the same thread.
SlugFiller rule #4: There is absolutely no reason to perform the same discussion twice in parallel, especially if one side is done via PM.
SlugFiller rule #5: Does it say "Group: Moderators" under my name? No? Then stop telling me about who you want to ban! I really don't care! Go bother a moderator.
SlugFiller rule #6: I can understand English, Hebrew, and a bit of Japanese(standard) and Chinese(mandarin), but if you speak to me in anything but English, do expect to be utterly ignored, at best.
0

  • Member Options

Page 1 of 1

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users