For some reason the console doesn't always get detected properly. For
now this should attempt to look for the server the other way if it
wasn't detected as the currently set console. This is only a temporary
fix until something more permanent can be found and implemented.
Something I threw together quickly this morning to make the search
server evaluations work properly. I'd like to build my own AST and
benchmark it with a large server list to see how much slower it is. In
any case, this implementation should usually be reliable despite any
slowness.
I wanted to make it easier to do searches in the future based on games,
so the game ids (not region specific, but the generic one that all
regions share) is stored in the datbase now too.
This code needs to be cleaned up later. Figured out the proper response
to handle not finding a server.
Still buggy:
- Mario Kart DS can get in-game but lags out during the peer-to-peer
game phase. Doesn't seem to be an issue with the server because at that
point the games are directly communicating?
- Phantasy Star Zero can't find any hits in matchmaking, even if server
info is returned.
Added a preliminary naswii.nintendowifi.net/ac page. This should give
enough information to handle Wii connections. The data must still be
stored in the database later.
Merged the changes made by leseratte and made some of my own. This
should possibly be enough to get Mario Kart Wii to login but I do not
have a way to test it myself.
This tool will modify the arm9.bin (or any file, really) to replace
"https://" with "http://". It's made to be easily modified to include
more replacement terms.
Send user's buddy statuses on login. This allows the player to see if
their friend is hosting a game as soon as they log in, instead of only
after the friend hosts a new game while the player is already connected
to the server.
Finally have friend games working. Matchmaking games do not work yet,
though. There are still a number of bugs to be worked out, but it's
possible to complete a few rounds of Tetris DS successfully.