Commit Graph

37 Commits

Author SHA1 Message Date
polaris
42c155fddc Attempted to fix updatepro/getprofile problem
Attempted to fix problem where updatepro does not properly update the
field(s), causing the game to call getprofile waiting for it to update.
2014-04-10 17:35:19 -04:00
polaris
986627e645 Significantly changed the layout of the server.
All parts of the server can now be run on their own or used as a class.
master_server.py will start running all of the servers at once.
2014-04-10 17:35:17 -04:00
polaris-
b334433752 Update README.md 2014-04-09 20:26:13 -04:00
polaris
23aae4d552 Fixed some buddy list things.
Also, for some reason Phantasy Star Zero matchmaking lobbies work now. I
didn't change anything that should've affected that but who knows?
2014-04-09 18:46:48 -04:00
polaris
29160bf721 Store sig in database
Also fixed some tabs.
2014-04-09 13:13:24 -04:00
polaris
d427f25a0f Some bug fixes from the cleanup 2014-04-09 10:04:24 -04:00
polaris
5d9af5dace Matchmaking working slightly better
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.
2014-04-09 09:09:29 -04:00
polaris
cfc939257a Changed how server browser handles queries 2014-04-09 06:12:29 -04:00
polaris
9a90d70732 Return firstname in getprofile if it's set 2014-04-08 16:24:52 -04:00
polaris
63cdaf3666 Preliminary matchmaking
I don't know how well it works yet until more testing is done, but
matchmaking works now.
2014-04-08 16:10:59 -04:00
polaris
d5086d0909 Added firstname column to database.
Required for the Wii.
2014-04-08 15:33:55 -04:00
polaris
6b5ffc8543 Implemented response for "otherslist" 2014-04-08 14:20:50 -04:00
polaris
9ca80fa6f9 Tried to fix Wii logins 2014-04-08 14:03:02 -04:00
polaris
a74bc36f26 naswii.nintendowifi.net
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.
2014-04-08 11:43:13 -04:00
polaris
2e41215d09 Fixed bugs from merge, save leftover command data 2014-04-07 14:24:20 -04:00
polaris
5cb276d384 Merged changes made by leseratte
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.
2014-04-07 13:53:18 -04:00
polaris
0fc1b39c2f Added acctcreate to NAS, added gsps server stub 2014-04-06 14:06:30 -04:00
polaris
fb6e439888 Added compatibility to readme, updated db for PS0 2014-04-06 07:04:08 -04:00
polaris
13a37e8e6e Fixed crash in natneg and made statuses per-game
- Fixed crash in natneg.
- Made status updates only send to friends who are playing the same
game.
2014-04-05 18:45:46 -04:00
polaris
61f0f135f8 Made tool to patch arm9.bin to fix HTTPS commands
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.
2014-04-05 17:46:13 -04:00
polaris
465acdc6ec Send user's buddy statuses on login
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.
2014-04-05 16:29:22 -04:00
polaris-
6dc7c54ed7 Rename gamespy/gs_server_database.py to gs_server_database.py
Forgot to move this file to the main directory.
2014-04-05 14:06:58 -04:00
polaris-
c738d94959 Create README.md 2014-04-05 06:16:46 -04:00
polaris
35680370d1 Server browser, natneg
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.
2014-04-05 06:07:18 -04:00
polaris
4f3871e4ba Added games list
- Added the games list that will be parsed to get the unique game key.
This list comes from Luigi Auriemma's website.
2014-04-01 21:54:21 -04:00
polaris
c59645a6aa PlayerSpy server now written with Twisted
- Rewrote the PlayerSpy server to easily handle more than 1 connection.
It now requires Twisted to run.
- The basics for the buddy list have been added. Friends can be added
and authorized, as well as sending status messages to buddies. The
feature is still incomplete, however. It's enough to show a friends only
game in Tetris DS, though.
2014-04-01 21:29:40 -04:00
polaris
48f753f88e Make getprofile use the id instead of session key
Fixed some broken code that stopped the game from logging in.
2014-04-01 06:55:15 -04:00
polaris
3ba94e1725 Started to implement the server browser 2014-04-01 06:04:06 -04:00
polaris-
5bf10bcdb4 Rename master_server.py to qr_server.py 2014-03-31 07:10:55 -04:00
polaris
3df984eb0d Fixed encryption, implemented more QR server stuff
- Fixed the RC4/Base64 encryption method (seems to be more commonly
known as "gsmsalg").
- Implemented more of the query and reporting server.
2014-03-31 07:07:10 -04:00
polaris
5de4dae622 More documentation
- Fixed an error in the gamespy player server.
- Added documentation for what seems to be a matchmaking command.
2014-03-30 19:04:01 -04:00
polaris
d92d4aad42 Added RC4, basic master server commands
- Added RC4 used to respond back to the master server after command
0x01.
- Added basic commands that the server will receive from the game.
- Added more documentation about the master server commands.
2014-03-30 14:51:06 -04:00
polaris
74df6f1ea7 Documentation, tidying up
- Moved some gamespy-related utility functions to where they should've
been.
- Added more documentation.
2014-03-30 08:37:52 -04:00
polaris
63a173cf1f Fix some indentation errors
- Fixed some errors made last night while formatting the code using
PyCharm.
- Added more documentation for the \bm\ command on the GameSpy server.
- Added some documentation for the opcodes used on the master server.
2014-03-30 06:37:49 -04:00
polaris
eae79e9def Cleaned up
Cleaned up the code using PyCharm. Also added a few comments about the
master server.
2014-03-29 23:41:47 -04:00
andromeda32
107017c0af Typo fix
Fixed a typo in the startup message.
2014-03-29 21:50:36 -04:00
andromeda32
f9c710af99 Initial code.
Contains enough code to allow Tetris DS to get to the post-login wifi
menu.

This is very rough, basic code. I expect it to change quite a bit from
its current format once I start adding more features. It's nowhere near
ready for public use yet.
2014-03-29 21:41:02 -04:00