Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReadFloat always returns 0. #136

Open
Alfred-GitHub1 opened this issue Mar 15, 2022 · 0 comments
Open

ReadFloat always returns 0. #136

Alfred-GitHub1 opened this issue Mar 15, 2022 · 0 comments

Comments

@Alfred-GitHub1
Copy link

idk what im doin wrong, i tested the AoB's in CT, there it works.
Code:
` private void button3_Click(object sender,EventArgs e) {
richTextBox1.Clear();
SampleAoBScan("10 8B 46 10 8B C8 39 09 8B 40 28 B9 05 00 00 00");
}

    public async void SampleAoBScan(string ScanPattern) {
        IEnumerable<long> AoBScanResults = await m.AoBScan(ScanPattern);
        long SingleAoBScanResult = AoBScanResults.FirstOrDefault();
        foreach (long res in AoBScanResults) {
            string[] arr = new string[4];
            arr[0] = res.ToString("X8");
            foreach (string result in arr) {
                if (string.IsNullOrEmpty(result)) { continue; }
                richTextBox1.Text += result + "\n";
                textBox5.Text = m.ReadFloat(SingleAoBScanResult.ToString("x")).ToString();
            }
        }`

any advice?
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant