Reading Client data
#1

Hey im working on some tools for fun.

I looked in the public source for the structure, can i use this?

I need a bit start help bc i dont know really there to start Wink

 

atm ive tried this:

 

public void load(string filename)
        {
          
            using (BinaryReader reader = new BinaryReader(File.Open(filename, FileMode.Open)))
            {
             
                reader.ReadInt32();
                for (int i = 0; reader.BaseStream.Position < reader.BaseStream.Length; i++)
                {
                     m_nAttack[i] = reader.ReadInt32(); // m_nAttack is int32 ?
                    
                }
            }
            Console.WriteLine(m_nAttack + m_strName);
        }
 

but it always gives 0 or some errors Wink



Messages In This Thread
[No subject] - by Nikolee - 02-23-2013, 08:35 PM
[No subject] - by luoo - 02-23-2013, 11:34 PM
[No subject] - by Nikolee - 02-24-2013, 12:29 PM
[No subject] - by luoo - 02-24-2013, 02:05 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)