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

fix Charselect exploit #86

Closed
wants to merge 2 commits into from

Conversation

stonedDiscord
Copy link
Collaborator

anyone can send anyone with a 1 in the IPID to the charselect using
/charselect 1 -1

after this only moderators will be able to do that

Copy link
Owner

@Crystalwarrior Crystalwarrior left a comment

Choose a reason for hiding this comment

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

It's supposed to do the permission check in the force_charselect section:
https://github.com/Crystalwarrior/KFO-Server/pull/86/files#diff-60ba0c0b584dbfd37a69ce61aa5de8f3e3adbd4e39457a97d704b7de23fed386R174

This command is also supposed to be usable by CM's and GM's in case someone is hoarding a character etc. but not allow normal users to force someone into a char

@stonedDiscord
Copy link
Collaborator Author

The macro only works for command definitions, not random functions

@Crystalwarrior
Copy link
Owner

better implementation merged into main

@stonedDiscord stonedDiscord deleted the charselect branch March 31, 2023 12:56
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