SMSG_GARRISON_COMPLETE_MISSION_RESULT not fully readed

Open
#732 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
csharp

Research direction

Start in WowPacketParserModule.V7_0_3_22248/Parsers/GarrisonHandler.cs at HandleGarrisonFinishMission, especially the read reported at line 331. Reproduce the SMSG_GARRISON_COMPLETE_MISSION_RESULT packet and trace the preceding Packet.ReadUInt32 calls against the available packet data. Done means the packet is parsed without EndOfStreamException.

Written by the indexing model from the issue text.

Description

[5] FollowerDBID: 0
System.IO.EndOfStreamException
Unable to read beyond the end of the stream.
at System.IO.BinaryReader.InternalRead(Int32 numBytes)
at System.IO.BinaryReader.ReadUInt32()
at WowPacketParser.Misc.Packet.ReadUInt32(String name, Object[] indexes) in C:\Users\thord\Desktop\shadowlandsparser\WowPacketParser\Misc\PacketReads.cs:line 382
at WowPacketParserModule.V7_0_3_22248.Parsers.GarrisonHandler.HandleGarrisonFinishMission(Packet packet) in C:\Users\thord\Desktop\shadowlandsparser\WowPacketParserModule.V7_0_3_22248\Parsers\GarrisonHandler.cs:line 331
at WowPacketParser.Parsing.Handler.Parse(Packet packet, Boolean isMultiple) in C:\Users\thord\Desktop\shadowlandsparser\WowPacketParser\Parsing\Handler.cs:line 149

Dominant language
C#
Stars
539
Forks
392
PR merge metrics
No merged PRs in 30d

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from TrinityCore/WowPacketParser

All issues in TrinityCore/WowPacketParser

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.