Posted: Thu Aug 27, 2020 12:59 pm Post subject: Find pointer for current frame/Hook to Stage Select NarutoS4
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?
Joined: 25 Jan 2006 Posts: 8516 Location: 127.0.0.1
Posted: Thu Aug 27, 2020 1:45 pm Post subject:
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 _________________
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.
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