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 


Finding pointer to trade arrival time in Against the Storm

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

Joined: 18 Apr 2011
Posts: 4

PostPosted: Fri Jan 05, 2024 11:01 am    Post subject: Finding pointer to trade arrival time in Against the Storm Reply with quote

Greetings!
I've run into a wall and like to find a workaround relying on experience of you esteemed selves. I have done tutorial at cheatengine wiki and watched some guides to get an understanding for the process of point scanning.

I am trying to find pointer to a timer in Against the Storm. The value is a float clamped between 0 and 1, generated by this peace of code.
Code:
private void UpdateTravelProgress()
    {
      if (this.State.visit == null || (double) this.State.visit.travelProgress >= 1.0)
        return;
      this.State.visit.travelProgress += Time.deltaTime * (1f / this.State.visit.travelRawDuration) * Serviceable.EffectsService.GetTraderIntervalRate();
      this.State.visit.travelProgress = Mathf.Clamp01(this.State.visit.travelProgress);
    }


I have no problem finding this value by searching for a float between X.X and Y.Y, but I have no luck finding stable pointer for it. The value for travelProgress is reset after each trader visit, it basically become useless. Looking into what accesses this address (F5) crashes the game for me.

I take any advice I can get, thank you in advance.
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