Skip to content

feat(kortz): add auto-enter PC access code button#1044

Open
Abdelakil wants to merge 2 commits into
YimMenu:enhancedfrom
Abdelakil:pr/auto-enter-pc-access-code
Open

feat(kortz): add auto-enter PC access code button#1044
Abdelakil wants to merge 2 commits into
YimMenu:enhancedfrom
Abdelakil:pr/auto-enter-pc-access-code

Conversation

@Abdelakil

@Abdelakil Abdelakil commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Adds an Auto-Enter PC Access Code in-heist shortcut button to the Kortz Center Heist tab.

Loops 3 iterations zeroing ScriptLocal(32820).At(i,2), yielding 100ms, then pressing Enter (INPUT_CELLPHONE_SELECT).

Credits: ImagineNothing

Adds Auto-Enter PC Access Code in-heist shortcut that loops 3
iterations zeroing ScriptLocal(32820).At(i,2), yielding 100ms,
and pressing Enter (INPUT_CELLPHONE_SELECT).
@Abdelakil

Abdelakil commented Jul 23, 2026

Copy link
Copy Markdown
Contributor Author

@mrbouquet69
It's already there — check Kortz Center Heist tab → In-Heist section. There's a "Disable Laser Grid" button.

{
for (int i = 0; i <= 2; i++)
{
*ScriptLocal(thread, 32820).At(i, 2).As<int*>() = 0;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be like this I think

Suggested change
*ScriptLocal(thread, 32820).At(i, 2).As<int*>() = 0;
*ScriptLocal(thread, 32818).At(1).At(i, 2).At(1).As<int*>() = 0;

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@Abdelakil

Abdelakil commented Jul 24, 2026

Copy link
Copy Markdown
Contributor Author

Tested @lmagineNothing suggestion — works correctly. The ScriptLocal chain accurately reflects native struct layout (base 32818, header skip, array stride 2, field offset 1). Pushed. Thanks for the review.

ScriptLocal(thread, 32818).At(1).At(i, 2).At(1) instead of flat 32820 offset — accurately reflects header skip, array stride, and field offset per native layout.
@Abdelakil
Abdelakil requested a review from lmagineNothing July 24, 2026 13:47

@lmagineNothing lmagineNothing left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see any problems. :)

@L7NEG

L7NEG commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

LGTM found the legacy ones and tested them it works again thx to imaginenothing on ukc

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.

3 participants