Skip to content

cap flag for packets in packet.def #3017

Closed

Description

@Hyalunar

What should be documented? Is there something wrong in the documentation?
I tried to write a parser for the network protocol packets.def but could not find a documented meaning for this line:

PACKET_UNIT_BOMBARD_INFO = 66; sc, lsend, cap(bombard-info)

specifically cap(XXXX) is not defined, I only know about add-cap and `remove-cap

Do you have suggestions?
For me, with no further knowledge about the inner working, it feels like this is equivalent to add-cap, so this could probably be resolved without adding a new packet flag.

Proposed changes to the packet definition

Activity

  1. added
    documentationImprovements or additions to documentation
    UntriagedThis issue or PR needs triaging
    on Oct 7, 2026
  2. lmoureaux commented on Oct 7, 2026

    @lmoureaux
    Contributor

    Hi @Hyalunar, thanks for the report!
    The help text is wrong, the packet-wise flag is called cap(). So the help at line 120 should be changed.

    Would you mind submitting this as a pull request?

  3. added
    bugSomething isn't working
    toolsIssues related to mp, ruledit, etc along with CI and build tools.
    and removed
    UntriagedThis issue or PR needs triaging
    on Oct 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentationtoolsIssues related to mp, ruledit, etc along with CI and build tools.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions