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 


Find pointer for current frame/Hook to Stage Select NarutoS4

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

Joined: 27 Aug 2020
Posts: 5
Location: NA

PostPosted: Thu Aug 27, 2020 12:59 pm    Post subject: Find pointer for current frame/Hook to Stage Select NarutoS4 Reply with quote

I'm updating an API in C++ that someone made for Naruto Shippuden Ultimate Ninja Storm 4. The original code for a function that uses the pointer is below.
int ccGeneralGameFunctions::GetCurrentFrame()
{
int frame = 0;
memcpy(&frame, (void*)(d3dcompiler_47_og::moduleBase + 0x15AE70C - 0xC00), 4);
return frame;
}

This gets the current frame of the game and is necessary as I need to assign values to something every frame. Does anyone here have an idea on how I could find an updated pointer for the new version of the game? Also, does anyone here have an idea on how I could hook cheat engine to the stage select of the game to figure out how to know which stage has been selected?
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 198

Joined: 25 Jan 2006
Posts: 8516
Location: 127.0.0.1

PostPosted: Thu Aug 27, 2020 1:45 pm    Post subject: Reply with quote

Looks like the project for this is actively maintained. Best bet would be to talk with the authors on how they are doing things:
https://github.com/zealottormunds/ns4moddingapi

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
exavadeathwitch
How do I cheat?
Reputation: 0

Joined: 27 Aug 2020
Posts: 5
Location: NA

PostPosted: Thu Aug 27, 2020 2:01 pm    Post subject: Reply with quote

I know the person who maintains it. He's updating other parts of the API and he doesn't know when he'll fix it. I also want to learn this stuff on my own.
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 Discussions 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