@SunBeam - thanks for that info. I've almost got something together for Vehicle Health because of you. I just need to find a consistent pointer that I can use and it'll be ready... But my eyes feel like they're bleeding and need a break.
Here's a script that gets CPawn and CPlayer for you. Use them in deterministics (can make the other scripts player-sided as well, if it matters):
@SunBeam - thanks for that info. I've almost got something together for Vehicle Health because of you. I just need to find a consistent pointer that I can use and it'll be ready... But my eyes feel like they're bleeding and need a break.
Here's a script that gets CPawn and CPlayer for you. Use them in deterministics (can make the other scripts player-sided as well, if it matters):
This is quite awesome. This will help be get my addresses much faster when I crash my game. haha
When I began this endeavor, I found that when I'm in a helicopter, it seems to write a pointer I can use to get to the CPawnEntity and it changes when I get out of the helicopter. Trouble is, that same spot doesn't seem to exist in say, a truck. My inexperience here is getting the better of me as I'm seem to be failing to determine when I am in a vehicle that's receiving damage. I thought I had it with that address, but the game threw a wrench into that idea as it only seemed to work in my helicopter.
{ Game : FarCry5.exe
Version: 1.2.0
Date : 2018-04-01
Author : gir489
Infinite Stamina}
[ENABLE]
aobscanmodule(Stamina,FC_m64.dll,74 32 48 8B 8B 10 04 00 00) // should be unique
registersymbol(Stamina)
Stamina:
db EB
[DISABLE]
unregistersymbol(Stamina)
Stamina:
db 74
EDIT: I ran in to a problem last night where blowing up the statue didn't start the mission. Don't know if this is caused by this specific feature, but yet again, it's another thing I need to work out... Fucking hate this engine...
EDIT2: This appears to be caused from the fact I shot it up with a chopper then didn't leave the area first. I could've sworn the first time I did, it gave me the quest immediately, but who knows. I debugged it, and only saw calls coming from the patch address for stamina when in use. So I think the patch should be fine. I also noticed with the old method, some bodies were being frozen in place... Might want to use this version instead to fix that.
Last edited by gir489 on Mon Apr 02, 2018 8:37 pm, edited 2 times in total.
Make sure the comparison is direct, through a single register, else you might have the same problem I had with Unlimited Clip Ammo. I used to get the CPlayer pointer from [R14+offset], but then I learned the function is used by multiple other systems, so R14 could be either NULL or not a pointer, not to mention the offset in R14 could've been NULL or not a pointer So I said "fuck it" and studied one or two member-functions in CWeapon (RCX at the clip ammo subtraction location) and figured out how to get CPawn from CWeapon You have the script here
I just registered first to say thanks to Sunbeam for the bypass and allowing us to play FC5 as we see fit.
Also thank you to everyone pitching in with tables and scripts.
Which brings me to my second reason for posting. I have two requests for scripts and hope someone will answer the challenge.
1- Any way to lock the clock to daytime? This game does not really offer strategic reasons to play during nighttime but, mainly, it looks so good that I want to play during daytime only.
2- Any way to reduce the amount of XP received? I find that progress is way too fast since every activity (even Clutch Nixon challenges!) award Resistance Points. Something like 0.85 the original values? Or an on/off toggle?
Is it possible to bypass that encrypted save thing and use ANY save on the internet? I finished the game and don't want to spend my time collecting everything for %100. I know i can cheat everything but i'm completionist and want to use another save. If you use another save you'll be greeted with the Granite error -200000. Hopefully there's a way to bypass this with a Cheat Engine table. It was done on Shadow of War. So why not in this game?
Because that game belongs to another vendor. Ubisoft savegames are encrypted with account_id; no way to decrypt and re-encrypt with another's id. You want to take some random save and make it work on a legit id, which will never happen. For Ubi, that's cheating.
Because that game belongs to another vendor. Ubisoft savegames are encrypted with account_id; no way to decrypt and re-encrypt with another's id. You want to take some random save and make it work on a legit id, which will never happen. For Ubi, that's cheating.
What a bummer. PC really used to be an open platform where everything could be possible. After all these years it's going downwards. PC is being locked off like consoles. There are even platform exclusive titles on PC! Wow. This is the exact reason i'm looking out for a crack for this game so i can use any save like with AC:O which is not cracked on the latest update with DLC. I own all these games and i don't care about moral. I want to have this cracked wide open so i can do with it whatever i please. I bought the Gold Edition. It's mine! My own! My precious!
Here is the player pointers for Health, Armor, Stamina I found, I hope these pointers are the right ones for all systems/hardware. Let me know if they work under [Pointers].
Because that game belongs to another vendor. Ubisoft savegames are encrypted with account_id; no way to decrypt and re-encrypt with another's id. You want to take some random save and make it work on a legit id, which will never happen. For Ubi, that's cheating.
What a bummer. PC really used to be an open platform where everything could be possible. After all these years it's going downwards. PC is being locked off like consoles. There are even platform exclusive titles on PC! Wow. This is the exact reason i'm looking out for a crack for this game so i can use any save like with AC:O which is not cracked on the latest update with DLC. I own all these games and i don't care about moral. I want to have this cracked wide open so i can do with it whatever i please. I bought the Gold Edition. It's mine! My own! My precious!
The people will argue differently, as well as the law. You do not own the game, you have a `license` to use it. But I feel you, I say the same thing, its mine once I buy it with my hard earned, sweaty and bloody cash dollars.
Update your Infinite Stamina script you have of mine with the one I posted that's more efficient. I found that while testing the one you have again, bodies would get stuck in mid-air... The new version doesn't have that problem.
I also noticed with the old method, that when jumping, Stamina would decrease. New version fixed this.