NintendoClients icon indicating copy to clipboard operation
NintendoClients copied to clipboard

ACNH: how to search for friends with open gates?

Open ioistired opened this issue 4 years ago • 5 comments

It'd be great to be able to search for open islands without a Dodo Code. What is the process for that?

ioistired avatar Jun 07 '20 08:06 ioistired

Any update on this? It's now more useful to me as I want to find out how to become someone's friend without having to bot visiting their island and leaving again. Being their friend, in turn, would be useful in order to automate sending letters to someone with just their switch friend code.

ioistired avatar Jul 04 '20 08:07 ioistired

Sorry I have very little time at the moment because of my bachelor's thesis. I also want to redesign the code with an async library before I implement any new features, because the current scheduler is really broken. You'll have to figure this out on your own for now.

kinnay avatar Jul 04 '20 12:07 kinnay

ok

ioistired avatar Jul 05 '20 02:07 ioistired

well, I'll leave this open as a reminder for me to figure it out.

ioistired avatar Jul 05 '20 02:07 ioistired

I figured it out. The game calls FindMatchmakeSessionByParticipant. The friend pids are probably obtained from the baas server (2.0.0/users/<id>/friends).

kinnay avatar Aug 25 '20 10:08 kinnay

I implemented 2.0.0/users/<id>/friends: https://github.com/kinnay/NintendoClients/commit/71d77bb086c330be80df155b4eb26767a27664d2

kinnay avatar Nov 25 '22 15:11 kinnay