Prey 2017

STN

Pleb
Staff member
Administrator
Mar 2, 2017
3,066
77
48
#1
UPDATE #4: Added some new stuff, moved most code to Lua. See presentation video below (preferably on youtube, HD enabled and in fullscreen).

[youtube]https://www.youtube.com/watch?v=-v0F1J62PKI[/youtube]

--

UPDATE #3: Updated for 1.04. Moved most code to Lua. Open game, double-click on the table and hit OK if asked to run the Lua code. Then just activate the corresponding Lua script you need. For KeyExecHandler script keys are: Numpad 4 (decreasetimedilation), Numpad 5 (normaltimedilation), Numpad 6 (increasetimedilation), Numpad 7 (FreeCamEnable) and Numpad 9 (FreeCamDisable).

--

UPDATE #2: Updated for 1.02.

--

UPDATE #1: Added pl_infiniteNeuromods. Set to 1.

--

Hello folks. Here we gooo..

° God Mode °

Fetch it from here:



Code: Select all

Prey.exe+15EE570 - 48 83 EC 28 - sub rsp,28
Prey.exe+15EE574 - 48 8B 0D A575DA00 - mov rcx,[Prey.exe+2395B20]
Prey.exe+15EE57B - 48 8B 01 - mov rax,[rcx]
Prey.exe+15EE57E - FF 90 38020000 - call qword ptr [rax+00000238]
<--
Prey.exe+E062C0 - 48 8B 41 28 - mov rax,[rcx+28]
Prey.exe+E062C4 - 48 8B 80 C0000000 - mov rax,[rax+000000C0]
Prey.exe+E062CB - C3 - ret
-->
Prey.exe+15EE584 - 48 8D 15 0D219100 - lea rdx,[Prey.exe+1F00698] { "g_godMode" }
Prey.exe+15EE58B - 4C 8B 00 - mov r8,[rax]
Prey.exe+15EE58E - 48 8B C8 - mov rcx,rax
Prey.exe+15EE591 - 41 FF 90 B8000000 - call qword ptr [r8+000000B8]
Prey.exe+15EE598 - 48 85 C0 - test rax,rax <-- returns pointer to CVar
Prey.exe+15EE59B - 74 0E - je Prey.exe+15EE5AB
Prey.exe+15EE59D - 48 8B 10 - mov rdx,[rax]
Prey.exe+15EE5A0 - 48 8B C8 - mov rcx,rax
Prey.exe+15EE5A3 - 48 83 C4 28 - add rsp,28
Prey.exe+15EE5A7 - 48 FF 62 10 - jmp qword ptr [rdx+10]
-->
Prey.exe+E31550 - 48 8B 41 48 - mov rax,[rcx+48]
Prey.exe+E31554 - 8B 00 - mov eax,[rax] <-- reads g_godMode's value from pointer at 0x48 offset inside CVar pointer
Prey.exe+E31556 - C3 - ret

And this is where it is used:



° Stamina °

All in this function:



Default value is (float)0.0. As you run, value increases till it hits the max, which is (float)100.0. That's when you get the fatigue action. See below image :p



Simply setting pl_infinite_stamina to 1 will get the job done :p

° Flashlight ° (who uses it)

All in this function:



Actually, the goodie is here:



Default value is (float)90.0. Decreasing when flashlight is on till (float)30.0 where you probably get a warning (rbx+78 = Max; rbx+7C = Current; rbx+80 = WarnThreshold).



And now the table:



Adding more soon, as I progress.

BR,
Sun
 

Attachments

The Mogician

Expert Cheater
Table Maker
Mar 4, 2017
243
19
18
#2
You beat me to it! I still have an hour before game release.
 

ColonelRVH

Expert Cheater
Table Maker
Mar 6, 2017
334
8
18
#3
He used VPN Australia with his monstrous internet bw, that's why :lol:
 

STN

Pleb
Staff member
Administrator
Mar 2, 2017
3,066
77
48
#4
Game is unlocked for me. And great job Sunbeam, i usually am the one that says the first one with a cheat but you beat me to it this time with your monstrous internet connection :p.
 

Semel

Noobzor
Mar 14, 2017
6
0
1
#6
I'd really love if we could "respec" via table.

As in disabling already taken skills and enabling others instead.
 
Apr 14, 2017
25
0
1
#8
Hi i need some help, the infinite stamina is not working for me because my character is bugged and I can not run do any of you know a work around
 
May 1, 2017
47
0
6
#9
Is there a freecamera and a fov value and timestop ? Can't find these values for the in game camera X and Y to make a freecamera/Timestop.
 
Apr 14, 2017
25
0
1
#11
SunBeam post_id=7588 time=1493992775 user_id=57 said:
If you did something that bugged your character (e.g.: changed some memory values and saved game), then I'm afraid you'll have to restart. I don't have the ability to "fix" stuff you broke, while not know what you did (don't think you remember either) :p Maybe wait till I figure out a speed mod? :)
I have no used cheat engine the entire play XD it's randomly fucked up on me in the cafetiere section
After I got froze in the freezer
 

moopa

What is cheating?
May 5, 2017
3
0
1
#13
Greetings. Is there a version for steam? Looked around, and I saw one version online, but it isn't quite as detailed as this one is so far. Thanks in advance for any help.
 

The Mogician

Expert Cheater
Table Maker
Mar 4, 2017
243
19
18
#15
willdunz post_id=7622 time=1494009096 user_id=1094 said:
Hacking minigame sucks. Is there a way to freeze the countdown timer?
Do you even video game?

If you have troubles with it, try slow down time with the speed hack function of cheat engine. It should help.
 
May 1, 2017
47
0
6
#16
Can't find the values for adding Freecamera mode and FoV toggle. Can you help ?
 

moopa

What is cheating?
May 5, 2017
3
0
1
#17
Steam version is the only version? I apologize for the redundancy of my previo0us request then, though I do have another one. I've used tables before, and more times than not, I just had to run the table whilst the game is running, and they worked fine, though this one seems to be giving me troubles. Is there a specific order to launch, or activation, or perhaps version of CE that this requires? I know the answer is most probably no, and I am just doing something minutely wrong, but I'd still like to be sure. Also, thank you kindly for the fast response last time, tis greatly appreciated.
 

STN

Pleb
Staff member
Administrator
Mar 2, 2017
3,066
77
48
#19
moopa post_id=7633 time=1494013243 user_id=3893 said:
Steam version is the only version? I apologize for the redundancy of my previo0us request then, though I do have another one. I've used tables before, and more times than not, I just had to run the table whilst the game is running, and they worked fine, though this one seems to be giving me troubles. Is there a specific order to launch, or activation, or perhaps version of CE that this requires? I know the answer is most probably no, and I am just doing something minutely wrong, but I'd still like to be sure. Also, thank you kindly for the fast response last time, tis greatly appreciated.
Game has denuvo so at this point yes steam version is the only version. Just to be clear you aren't using it on the older Prey (released in 2006 or something) right?
 

Otis_Inf

Novice Cheater
May 6, 2017
22
0
1
#20
SunBeam post_id=7584 time=1493992023 user_id=57 said:
Will post a list of all CVars and how to query each, for your needs. Also, studying how Fly/NoClip/1st/3rd person can be enabled.
I couldn't find a lot of them, but am still looking. Biggest 2 for me are timestop and hud hide, both are currently still awol :) Looking at the CryEngine sourcecode (which is on github: https://github.com/CRYTEK/CRYENGINE) and comparing it to the structs I found it seems Arkane uses a much older build, which is kind of sad. Things are also broken (SSR/SSAO is disabled even if you pick 'full res'. first have to switch it off then on again, like a printer! ;))

I'm almost done with my camera tools for Prey, and found the player pos too, this is the code:
https://github.com/FransBouma/InjectableGenericCameraSystem/blob/master/Cameras/Prey/InjectableGenericCameraSystem/Interceptor.asm#L78

That code overwrites the x/y/z in the matrix which is the view of the player. modifying the x/y/z there is moving the player around. The model they load is incomplete however, so 3rd person might not be that useful haha ;)

(edit) ah just saw your CT on page two, thanks a lot for that, will look into if I can find the hud_hide cvar (found only hud 0/2, but the code isn't called).
 
Top Bottom