System.ArgumentOutOfRangeException - SMSG_UPDATE_OBJECT
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start with Enums/Version/UpdateFields.cs at GetUpdateFieldName and Parsing/Parsers/UpdateHandler.cs at ReadDynamicValuesUpdateBlock. Reproduce the V5_3_0_16992 creature-spawn parse and compare the detected build with the V5_3_0_16981 module shown in the stack trace. Done means the packet parses without the reported index exception.
Written by the indexing model from the issue text.
Description
Got the following error when it was parsing SMSG_UPDATE_OBJECT for the creature spawns when I parsed a sniff from 5.3.0 16992
Detected build: V5_3_0_16992
Detected locale: enUS
Targeted database: BattleForAzeroth
System.ArgumentOutOfRangeException
Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
The actual value was -1.
at System.Collections.Generic.SortedList2.GetKey(Int32 index)
at System.Collections.Generic.SortedList2.KeyList.get_Item(Int32 index)
at WowPacketParser.Enums.Version.UpdateFields.GetUpdateFieldName[T](Int32 field) in D:\WowPacketParser-master\WowPacketParser\Enums\Version\UpdateFields.cs:line 165
at WowPacketParser.Parsing.Parsers.UpdateHandler.ReadDynamicValuesUpdateBlock(Packet packet, ObjectType type, Object index, Boolean isCreating, Dictionary`2 oldValues) in D:\WowPacketParser-master\WowPacketParser\Parsing\Parsers\UpdateHandler.cs:line 487
at WowPacketParser.Parsing.Parsers.UpdateHandler.ReadDynamicValuesUpdateBlockOnCreate(Packet packet, ObjectType type, Object index) in D:\WowPacketParser-master\WowPacketParser\Parsing\Parsers\UpdateHandler.cs:line 113
at WowPacketParserModule.V5_3_0_16981.Parsers.UpdateHandler.ReadCreateObjectBlock(Packet packet, WowGuid guid, UInt32 map, Object index) in D:\WowPacketParser-master\WowPacketParserModule.V5_3_0_16981\Parsers\UpdateHandler.cs:line 56
at WowPacketParserModule.V5_3_0_16981.Parsers.UpdateHandler.HandleUpdateObject(Packet packet) in D:\WowPacketParser-master\WowPacketParserModule.V5_3_0_16981\Parsers\UpdateHandler.cs:line 39
at WowPacketParser.Parsing.Handler.Parse(Packet packet, Boolean isMultiple) in D:\WowPacketParser-master\WowPacketParser\Parsing\Handler.cs:line 149
- Dominant language
- C#
- Stars
- 522
- Forks
- 387
- Avg merge
- 3d 6h
- Merged PRs (30d)
- 4
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from TrinityCore/WowPacketParser
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
TrinityCore/WowPacketParser#990 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
TrinityCore/WowPacketParser#953 ·
-
3.4.3.55392 Open
Difficulty 4/5 3-5 days Newbie friendliness 20/100
TrinityCore/WowPacketParser#866 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
TrinityCore/WowPacketParser#836 · 2 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
TrinityCore/WowPacketParser#833 ·
All issues in TrinityCore/WowPacketParser
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
nightscout/nocturne#1425 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Documentation
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
cake-build/cake#5024 ·
-
Frontend status/draft TechnicalDebt
Difficulty 2/5 1-2 days Newbie friendliness 75/100
Altinn/altinn-auth#4143 ·