ZingFreelancer How do I cheat?
Reputation: 0
Joined: 18 Apr 2011 Posts: 4
|
Posted: Fri Jan 05, 2024 11:01 am Post subject: Finding pointer to trade arrival time in Against the Storm |
|
|
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.
|
|