D2SLib
D2SLib copied to clipboard
Hi, I am able to open d2i files for example Beserker's Arsenal Armor. Then I have an instance of the Item class. So far so good. I analysed the class...
Core.ReadItem fails when trying to open a d2i file that as anything socketed in it. Futhermore, it can't open runewords
writer.WriteUInt16((ushort)(item.Armor - itemStatCost.GetByStat("armorclass")?["Save Add"].ToUInt16() ?? 0), 11); should be: writer.WriteUInt16((ushort)(item.Armor + itemStatCost.GetByStat("armorclass")?["Save Add"].ToUInt16() ?? 0), 11); ----------------- item.Armor = (ushort)(reader.ReadUInt16(11) + itemStatCost.GetByStat("armorclass")?["Save Add"].ToUInt16() ?? 0); should be: item.Armor = (ushort)(reader.ReadUInt16(11)...
Hello, I tried accessing a d2i file (created through a offline playthrough in D2R). But I get a nullreference exception when trying to read the data ``` byte[] bytes =...
Hello, I see the project is targeting .Net Core 3.1, could you also target .Net Framework 4.8? Thanks!
`idx` variable should be declared upper then cycle `foreach (var npcDialogSectionProperty in typeof(NPCDialogSection).GetProperties())` In this moment every `NPCDialogDifficulty` in `NPCDialogSection` have same data https://github.com/dschu012/D2SLib/blob/c74bb90b861251b3674c04c454f4fd0ff715ff60/src/Model/Save/NPCDialogs.cs#L30-L45
Attached file: [MfBowzon.zip](https://github.com/dschu012/D2SLib/files/6470750/MfBowzon.zip) This file has 56 items, but after parsing 55 items it reached the end of the item section, then trying to parse the 56th one from the...