Page 1 of 1

[Requests] Stray 's total game time(Steam version)

Posted: Fri Jul 22, 2022 11:47 am
by darkbear
Anyone can help? I need a Stray's total game time for "I Am Speed" achievement, is there anyone can help?

Thank you so much

Re: [Requests] Stray 's total game time(Steam version)

Posted: Fri Jul 22, 2022 12:24 pm
by SunBeam
As far as I'm aware, there are dedicated functions in the actual UE4 that let you unlock ALL achievements (or achievement by id). So that's my tip for whoever wants to do this. Cheers.

Re: [Requests] Stray 's total game time(Steam version)

Posted: Fri Jul 22, 2022 1:21 pm
by darkbear
SunBeam wrote:
Fri Jul 22, 2022 12:24 pm
As far as I'm aware, there are dedicated functions in the actual UE4 that let you unlock ALL achievements (or achievement by id). So that's my tip for whoever wants to do this. Cheers.
Thank you, but I only need this game time function, also I don't want they VAC ban me because I'm just cheat @total game time, so if I got this cheat only that may more safe for me, Thanks

Re: [Requests] Stray 's total game time(Steam version)

Posted: Fri Jul 22, 2022 8:31 pm
by SunBeam
darkbear wrote:
Fri Jul 22, 2022 1:21 pm
I don't want they VAC ban me
I have never seen or heard of anyone on this forum getting "VAC banned". That is 2378129837129 years old and no one does that anymore. Please stop focusing on irrelevant stuff, like being banned, for frivolous cheating.

Re: [Requests] Stray 's total game time(Steam version)

Posted: Sat Jul 23, 2022 10:50 am
by maikerock
SunBeam wrote:
Fri Jul 22, 2022 12:24 pm
As far as I'm aware, there are dedicated functions in the actual UE4 that let you unlock ALL achievements (or achievement by id). So that's my tip for whoever wants to do this. Cheers.
Hi, what is UE4?

Re: [Requests] Stray 's total game time(Steam version)

Posted: Sat Jul 23, 2022 2:54 pm
by SunBeam
maikerock wrote:
Sat Jul 23, 2022 10:50 am
Hi, what is UE4?
Image

There are no game-related CheatManger functions/commands, only the stock ones. If there were any HKCheatManager functions/commands, the developers made sure to strip them completely from the Shipping build.

There seems to be a DebugMenu (that needs to be constructed; it doesn't exist out of thin air) that contains several things:

Code: Select all

Function /Script/Hk_project.HKGameInstance:_CheatDebugMenuEntry_B12Memories_OnAPressed
Function /Script/Hk_project.HKGameInstance:_CheatDebugMenuEntry_B12Memories_OnXPressed
Function /Script/Hk_project.HKGameInstance:_CheatDebugMenuEntry_Backpack_OnAPressed
Function /Script/Hk_project.HKGameInstance:_CheatDebugMenuEntry_GodMode_OnAPressed
Function /Script/Hk_project.HKGameInstance:_CheatDebugMenuEntry_OnUpdate
Function /Script/Hk_project.HKGameInstance:_CheatDebugMenuEntry_TorchLight_OnAPressed 
Then there's this:

Image

Function prototype is:

Code: Select all

WriteAchievementProgress( _
                          ObjectProperty WorldContextObject, _    RDX
                          ObjectProperty PlayerController, _      R8
                          NameProperty AchievementName, _         R9
                          FloatProperty Progress, _               RSP+20
                          IntProperty UserTag _                   RSP+28
                        )
The implicit __this pointer in the above is OnlineSubsystemUtils (the context, the UObject, the RCX you need).

AchievementName is an Enum:

Code: Select all

Enum /Script/Hk_project.EAchievement
EAchievement::Achievement_ACH_001
EAchievement::Achievement_ACH_002
EAchievement::Achievement_ACH_003
EAchievement::Achievement_ACH_004
EAchievement::Achievement_ACH_005
EAchievement::Achievement_ACH_006
EAchievement::Achievement_ACH_007
EAchievement::Achievement_ACH_008
EAchievement::Achievement_ACH_009
EAchievement::Achievement_ACH_010
EAchievement::Achievement_ACH_011
EAchievement::Achievement_ACH_012
EAchievement::Achievement_ACH_013
EAchievement::Achievement_ACH_014
EAchievement::Achievement_ACH_015
EAchievement::Achievement_ACH_016
EAchievement::Achievement_ACH_017
EAchievement::Achievement_ACH_018
EAchievement::Achievement_ACH_019
EAchievement::Achievement_ACH_020
EAchievement::Achievement_ACH_021
EAchievement::Achievement_ACH_022
EAchievement::Achievement_ACH_023
EAchievement::Achievement_ACH_024
EAchievement::Achievement_Count
EAchievement::Achievement_MAX
So there you have it. Now find the above, properly format the required arguments and CALL it :) Good luck!

P.S.: You can always use Steam Achievement Manager to unlock Steam achievements... -> [Link]. No idea why you didn't know of this.