Skip to content

Add spt_disable_portal_roll_offset#465

Merged
lipsanen merged 2 commits into
OutOfBoundsOffice:masterfrom
evanlin96069:👁️🦶🧘
Apr 28, 2026

Hidden character warning

The head ref may contain hidden characters: "\ud83d\udc41\ufe0f\ud83e\uddb6\ud83e\uddd8"
Merged

Add spt_disable_portal_roll_offset#465
lipsanen merged 2 commits into
OutOfBoundsOffice:masterfrom
evanlin96069:👁️🦶🧘

Conversation

@evanlin96069
Copy link
Copy Markdown
Contributor

For the new Portal rule

Whether the player is oob will be determined based on the player's camera position disregarding drunk cam

No Steampipe support yet because the function in question got inlined there. We don't often have this problem (VAG clipping glitch) when verifying Steampipe runs anyway.

Also, fixed the GetPlayerMins/Maxs signature. All x86 ABIs require that for returning structs by value we copy the sret argument into %rax/%eax (depending on ABI) for the return.

@lipsanen
Copy link
Copy Markdown
Collaborator

I think an alternative way that would not require new hooks would be to modify the CViewSetup in the render function that the overlay hooks and you could check for this cvar in the oob detector code. idk which is better here

@lipsanen
Copy link
Copy Markdown
Collaborator

Ah I see you were talking about alternative approaches in the discord with bill, I guess this is good to go then

@lipsanen lipsanen merged commit 2d4531f into OutOfBoundsOffice:master Apr 28, 2026
8 checks passed
@lipsanen
Copy link
Copy Markdown
Collaborator

tyty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants