Hey everyone ^^
I'm making a little program that gathers the player coordinates from World of Warcraft via memory reading, the only problem I'm having so far is that I have no idea how to convert my hexes to floats, and it's honestly driving me nuts :P.
As you can see, as a float the value is "-8371,0859375"
but since my program isn't converting it, im getting "3322072152" instead
Process Arch = Process.GetProcessesByName("Wow"); Memory.OpenProcess(Arch.Id); uint XCoordinate = uint.Parse("8BCBE8", System.Globalization.NumberStyles.HexNumber); label4.Text = Memory.Read<uint>(Memory.BaseAddress + XCoordinate).ToString(); uint ZCoordinate = uint.Parse("901E3C", System.Globalization.NumberStyles.HexNumber); label7.Text = Memory.Read<uint>(Memory.BaseAddress + ZCoordinate).ToString();
any idea on how i can convert this?
thank you for reading :)