QuestionSolvedNeed help with trainer, float writing.

Posts 1–9 of 9 · Page 1 of 1
Need help with trainer, float writing.
So i am having problems with overwriting values in floats.
I am using ReadWritingMemory.vb
All other games that i don't find floats in works perfect...
Please help me!
Code:
Dim tp As String = "10" 
        Try 
            WriteDMAFloat("ac_client", &H10F418, Offsets:={&HB8, &H360, &HE0, &H5C8, &H29C}, Value:=tp, Level:=1, nsize:=4) 

        Catch ex As Exception 

        End Try
https://www.virustotal.com/en/file/7...is/1478090011/
ReadWritingMemory_mpgh.net.rar1 KB · 8 downloads Clean
Just a VB.NET source code.

/Approved. Post back results and as always, use at your own risk.
Change Your WriteDMAFloat To This :

Code:
    Public Function WriteDMAFloat(ByVal Process As String, ByVal Address As Integer, ByVal Offsets As Integer(), ByVal Value As Single, ByVal Level As Integer, Optional ByVal nsize As Integer = 4) As Boolean
        Try
            Dim lvl As Integer = Address
            For i As Integer = 1 To Level
                lvl = ReadInteger(Process, lvl, nsize) + Offsets(i - 1)
            Next
            WriteFloat(Process, lvl, Value, nsize)
            Return True
        Catch ex As Exception
            Return False
        End Try
    End Function
For ReadDMAFloat :

Code:
    Public Function ReadDMAFloat(ByVal Process As String, ByVal Address As Integer, ByVal Offsets As Integer(), ByVal Level As Integer, Optional ByVal nsize As Integer = 4) As Single
        Try
            Dim lvl As Integer = Address
            For i As Integer = 1 To Level
                lvl = ReadInteger(Process, lvl, nsize) + Offsets(i - 1)
            Next
            Dim vBuffer As Single
            vBuffer = ReadInteger(Process, lvl, nsize)
            Return vBuffer
        Catch ex As Exception

        End Try
    End Function
You are writing a string value?!
Why don't declare tp as single?
The variable is incorrect. ^ Follow what that guy said.
To get ReadWritingMemory of Float try
ReadWritingMemory(Of Single)
Quote Originally Posted by Bamsemaster View Post
Thank you all
So did it work?
No response for more than a week, assuming solved since user said "thank you all".
Posts 1–9 of 9 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?