Help decrypting 4267 ItemType

03/22/2012 16:02 C#Nooby#16
Quote:
Originally Posted by CptSky View Post
This class will work... I added some things to the binary ItemType, plus I removed the new fields.
I've tried your code. It's only giving me 1 entry in the ItemType.txt.

Example:
Code:
Amount=1
10654  0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Here's the code I've attempted to use.

Code:
 string Path = Directory.GetCurrentDirectory() + "\\itemtype.dat";
                if (File.Exists(Path))
                {
                    ItemType ItemType = new ItemType();
                    ItemType.LoadFromDat(Path);
                    ItemType.SaveToTxt(Directory.GetCurrentDirectory() + "\\itemtype.txt");
                    Console.WriteLine("Succcess!");
                }
                Console.ReadLine();
Any solutions? Attached below is the itemtype.dat


#Request close, managed to solve my problem thanks to LostSolder05. & thank you Korvacs, & CptSky for your resources.