Commit Graph

26 Commits

Author SHA1 Message Date
kyle95wm
550579ae7b Console registration
I've decided to impliment a new feature into the server (disabled by default in nas_server.py) where when enabled, the server will check if a console's MAC is in BOTH the registered and pending database tables. If this is not the case, one of two error codes will be returned:
error 23888 - Console pending activation by server admin
error 23921 - Unknown console

A registration page was also included on port 9998 for users to enter their MAC and add it to the pending table. The server admin can then log in to the admin page and activate the console if they so please.
2015-07-18 16:39:04 -04:00
polaris
af35d9fff1 Hideous hacks to get friends working better 2015-01-15 22:01:04 -05:00
smtddr
44a553eca5 Admin page 2014-12-28 01:45:52 +00:00
polaris
2fdd7a5783 Now includes licensing (AGPL v3) 2014-07-04 19:40:43 -04:00
polaris
0e1253934e Updated master server file 2014-06-29 22:36:26 -04:00
Admiral H. Curtiss
876689c259 Avoid calling initialize_db() on every database connection, to hopefully improve preformance and log spam. 2014-06-17 20:52:30 +02:00
polaris
de70413b6a Start stats server on startup 2014-06-06 16:27:17 -04:00
Matt Soucy
293f07d25d Get rid of an unneeded lambda 2014-05-27 03:11:08 -04:00
Matt Soucy
3c12f33bae Just use a for loop instead of creating tons of wrapper functions 2014-05-27 03:07:24 -04:00
Admiral H. Curtiss
2842a936f6 Start storage server with other servers. 2014-05-25 23:00:42 +02:00
polaris
a103a09f9f Just scrubbing some names 2014-05-22 10:19:41 -04:00
polaris
3c0cfb432d Added simple stats server 2014-05-20 18:34:12 -04:00
polaris
0c19e2683d Force initialization of database in master server 2014-04-18 08:28:48 -04:00
Toad King
5ceff7e29f move NAS server to python, save authentication data in database instead of challenge key 2014-04-18 01:40:50 -04:00
polaris
98e97ba6d3 Added gamestats server
Not everything is implemented but it should be good enough for now.
2014-04-16 22:01:52 -04:00
polaris
8fcbc22178 Make server browser communicate through QR
This should hopefully fix a bug with networks that aren't as open, or
behind the same NAT.
2014-04-14 20:45:59 -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-
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