Skip to content

[47] Fix quest complete item reward trailer#96

Open
alseif0x wants to merge 5 commits into
3.4.3from
57-47-c-questpkt123-+-questreward1-quest-packetreward-serialization-bugs
Open

[47] Fix quest complete item reward trailer#96
alseif0x wants to merge 5 commits into
3.4.3from
57-47-c-questpkt123-+-questreward1-quest-packetreward-serialization-bugs

Conversation

@alseif0x

@alseif0x alseif0x commented Jul 2, 2026

Copy link
Copy Markdown
Owner

Refs #57

QA pending: do not merge until packet capture validation, CI, and Codex reviewer verdict are complete. This is a partial #57 slice and must not close the issue.

Summary:

  • Implements the QUESTPKT.3 slice by serializing the trailing ItemReward ItemInstance in SMSG_QUEST_GIVER_QUEST_COMPLETE.
  • Adds byte-level tests for the empty ItemInstance trailer and flag branches.
  • Documents remaining QUESTPKT.1, QUESTPKT.2, and QUESTREWARD.1 gaps.

Validation reported locally:

  • PROTOC=/home/cdmonio/.local/protoc/bin/protoc cargo test -p wow-packet --lib
  • PROTOC=/home/cdmonio/.local/protoc/bin/protoc cargo test -p wow-packet quest_giver_quest_complete --lib
  • cargo fmt --all -- --check
  • git diff --check

Manual QA pending: capture quest-complete packet against C++.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 60f6b9e59d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread crates/wow-packet/src/packets/quest.rs Outdated
@alseif0x

alseif0x commented Jul 4, 2026

Copy link
Copy Markdown
Owner Author

@codex review

alseif0x commented Jul 4, 2026

Copy link
Copy Markdown
Owner Author

QA validation checklist:

  • Complete a quest with no item reward and confirm the completion/reward window behaves normally.
  • Complete a quest with a fixed item reward and confirm the item appears correctly and accepting the reward completes the quest.
  • Complete a quest with selectable item rewards if available; selecting one should work without disconnect, packet parse errors, or shifted/missing reward data.
  • Watch for client crashes, server packet errors, or reward UI corruption around quest-complete flows.

Note: this PR still needs the Codex reviewer verdict green on the current head before it is merge-ready.

alseif0x commented Jul 4, 2026

Copy link
Copy Markdown
Owner Author

@codex review

The previous Codex reviewer verdict run timed out waiting for a clean review on current HEAD 39def6dcb4; it did not report new actionable feedback. Please review the current head again.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Delightful!

Reviewed commit: 39def6dcb4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

alseif0x added 2 commits July 7, 2026 13:56
Align quest details/reward packet layout with C++ for the Sallina quest flow, preserve live creature GUID semantics, refresh quest-log slots on accept/abandon, and add integrated wow-test-bot QA tooling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[47] [C#-QUESTPKT.1/2/3 + QUESTREWARD.1] Quest packet/reward serialization bugs

1 participant