Modify double and float addresses with visual basic trainer

Status
Not open for further replies.

Veraster

In Runtime
Messages
304
Location
Houston TX
I'm trying to make a game trainer. As far as using cheat engine goes, I know what I'm doing. I'm just having trouble making a visual basic program that does the job correctly.
I've been able to get it to modify the byte values of stuff but I need to get it to modify the float and double value on addresses.
I'm also using the ReadWritingMemory.vb file that is in the description on this youtube video.

Code:
Try
            WriteInteger("Crysis3", &H90F5F70, somevalue)

        Catch ex As Exception
This will modify the byte values of that address. When I test it, cheat engine shows that the byte values of that address got changed to the value of "somevalue" while showing that the double value just went to zero. This results in nothing happening in the game that I'm trying to modify. I need it to change the double to the value of the variable "somevalue" instead of the byte value in order to work.
Does anyone know how to do this?
 
Last edited by a moderator:
Since Game Trainers basically hack the game, they are against our rules to discuss. You are modifying the game beyond the design of the developers without permission. That is hacking.

Topic Closed.
 
Status
Not open for further replies.
Back
Top Bottom