Originally Posted by
SmallZzy
Im not doing a binary search, and the program does work, i bet that everyone who tried to mod their gold didnt back away from the barrel after putting gold in it
I am pretty sure you do.
Code:
private void ReadFile()
{
try
{
Reader reader = new Reader(this.FilePath, Endian.Little, 0L);
reader.SearchString("000840000F", Reader.StringType.Hexadecimal, 0L, true);
this.Gold = Conversions.ToString(reader.Position);
this.TextBox1.Text = Conversions.ToString(reader.ReadInt32());
}
catch (Exception exception1)
{
ProjectData.SetProjectError(exception1);
Exception exception = exception1;
Interaction.MsgBox(Conversion.ErrorToString(), MsgBoxStyle.OkOnly, null);
ProjectData.ClearProjectError();
}
}