Skip to content
New issue

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

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

Already on GitHub? # to your account

The script does not recognise friend request screen (EN) #423

Open
eurazov opened this issue Mar 10, 2021 · 0 comments
Open

The script does not recognise friend request screen (EN) #423

eurazov opened this issue Mar 10, 2021 · 0 comments

Comments

@eurazov
Copy link

eurazov commented Mar 10, 2021

The script does not recognise friend request screen because there is no "friendrequest.png" image in the game as seen in the screenshot.
A possible fix is to change the image to "support_region_tool.png" and use it to detect the friend request screen as I did here. The change in code would be to replace line 183 in modules/game.lua with
game.RESULT_FRIEND_REQUEST_REGION = Region(2240,691,181,96)
Not tested for other game regions, so not issuing a pull request yet.
Screenshot_2021-03-10-09-12-44

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant