Posted: Tue Oct 11, 2016 2:14 am Post subject: Calling RPM with base address gives different value.
I've been using CE to find the address of values in Street Fighter V that are responsible for character location and hitboxes.
So I've managed to find what I think is the base address responsible for the x-location of one of the characters.
Changing the value at this address causes the character move on the x-axis.
I'm writing a program in Java and using JNI to calling ReadProcessMemory and passing the base address I got from CE however I'm getting a totally different value.
I'm not sure what I offset I need to add or how I need to transpose the base address I find in CE.
Are you sure the base address you are targeting does not change?
I watch the address the CE Memory Viewer. I'm able to change the value at that address before and after the ReadProcessMemory call(returns a different value each time) in CE and it still works.
sbryzl wrote:
What value are you getting and what value do you expect?
ReadProcessMemory returns a different value each time I do the call.
I expect to get whatever value I see in the CE Memory Viewer at that address. The value starts at -1.5 (float) [BFC00000] but changes as I move the character back and forth.
sbryzl wrote:
Can you just use the address you've found to have an effect without an offset and see if that gives the correct value to test it?
I'm not sure what you mean exactly by "have an effect". So far I've just changed the value via CE while is Street Fighter running. I haven't tried to change it via WriteProcessMemory since I want to make sure I'm passing the correct address first.
Update: I fixed the issue I was having. Turns out that native call to OpenProcess was returning returning null instead of a valid handle so when I called ReadProcessMemory the JNI was passing the incorrect handle thus reading from the process.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum