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

[Core] Do not use %pos% to get the current position of the player #20

Open
LucBerge opened this issue Dec 27, 2020 · 0 comments
Open

[Core] Do not use %pos% to get the current position of the player #20

LucBerge opened this issue Dec 27, 2020 · 0 comments
Assignees
Labels
bot detection vulnerability Reference a vulnerability against bot detection and suggest a solution core Related to the core of the bot enhancement New feature or request
Milestone

Comments

@LucBerge
Copy link
Member

LucBerge commented Dec 27, 2020

Is your feature request related to a problem? Please describe.
When a program begins, the player position need to be retrieved for transportation API (to know where to go). It is currently done by doing %pos% in the chat. When the general channel is not displayed, it's impossible to get the position back. Because of this, every program has to have the Channel.GENERAL set in the builder. Moreover, frequently running %pos% is a vulnerability for bot detection.

Describe the solution you'd like
The idea is simply to not use %pos% to get the current position of the player.

Describe alternatives you've considered

  • Using OCR to get the position on the top-left hand corner : not always visible and not always readable, rejected.
  • Find how other bots do it (Flatybot...etc).
@LucBerge LucBerge added the enhancement New feature or request label Dec 27, 2020
@LucBerge LucBerge self-assigned this Dec 27, 2020
@LucBerge LucBerge added the bot detection vulnerability Reference a vulnerability against bot detection and suggest a solution label Dec 27, 2020
@LucBerge LucBerge added this to the 2.6x milestone Dec 27, 2020
@LucBerge LucBerge changed the title Do not use %pos% to get the current position of the player [Core] Do not use %pos% to get the current position of the player Dec 8, 2022
@LucBerge LucBerge added the core Related to the core of the bot label Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot detection vulnerability Reference a vulnerability against bot detection and suggest a solution core Related to the core of the bot enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant