Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manaan Docking Bay - Player can circumvent ban from Ahto City via rapid transit #670

Closed
JCarter426 opened this issue Aug 27, 2022 · 3 comments
Labels
Exploit Tool of the weak-minded Module: Manaan Issue occurs primarily on Manaan Needs Info Further information is requested Type: Scripting This issue is related specifically to a scripting bug/error

Comments

@JCarter426
Copy link
Contributor

Supposedly, if one is banned from Ahto City for poisoning the kolto, it is still possible to return by using the "Transit Back" function of the rapid transit system, assuming the last saved location was within the city. If this is true, the Community Patch may be able to remove this exploit by clearing the global variable K_LAST_LOCATION when the ban is issued.

@JCarter426 JCarter426 added Needs Info Further information is requested Module: Manaan Issue occurs primarily on Manaan Type: Scripting This issue is related specifically to a scripting bug/error Exploit Tool of the weak-minded labels Aug 27, 2022
@DarthParametric
Copy link
Contributor

DarthParametric commented Aug 27, 2022

Alternatively, we could just lock rapid transit with a SetAreaUnescapable via an OnEnter check of the global/s for the plot state.

Edit: Looking at it (k_pman26d_enter), it already has a check of global boolean MAN_EXILED. It shuts and locks the hangar door if true. We can just extend that.

@JCarter426
Copy link
Contributor Author

JCarter426 commented Aug 27, 2022

I think rapid transit gets cleared when you leave the planet anyway, so it should be enough to clear it if you are banned. I don't think making the area unescapable would be necessary, and doing so would have the side effect of disabling party selection.

It looks like K_LAST_MODULE should also be set to "NO_MODULE" or an empty string. For some reason the script checks both.

@DarthParametric
Copy link
Contributor

I suppose we do need to leave party selection open since Xor can presumably still show up.

@DarthParametric DarthParametric changed the title Circumventing ban from Ahto City via rapid transit Manaan Docking Bay - Player can circumvent ban from Ahto City via rapid transit Aug 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Exploit Tool of the weak-minded Module: Manaan Issue occurs primarily on Manaan Needs Info Further information is requested Type: Scripting This issue is related specifically to a scripting bug/error
Projects
None yet
Development

No branches or pull requests

2 participants