Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Calling RPM with base address gives different value.

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
shoesrunning
How do I cheat?
Reputation: 1

Joined: 03 Mar 2016
Posts: 5

PostPosted: Tue Oct 11, 2016 2:14 am    Post subject: Calling RPM with base address gives different value. Reply with quote

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.
Back to top
View user's profile Send private message
sbryzl
Master Cheater
Reputation: 6

Joined: 25 Jul 2016
Posts: 252

PostPosted: Tue Oct 11, 2016 10:07 am    Post subject: Reply with quote

Are you sure the base address you are targeting does not change?

What value are you getting and what value do you expect?

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?
Back to top
View user's profile Send private message
shoesrunning
How do I cheat?
Reputation: 1

Joined: 03 Mar 2016
Posts: 5

PostPosted: Tue Oct 11, 2016 2:34 pm    Post subject: Reply with quote

sbryzl wrote:
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.
Back to top
View user's profile Send private message
shoesrunning
How do I cheat?
Reputation: 1

Joined: 03 Mar 2016
Posts: 5

PostPosted: Sat Oct 15, 2016 5:51 am    Post subject: This post has 1 review(s) Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites