Commit Graph

251 Commits

Author SHA1 Message Date
polaris
aebc1757de I am no longer a game 2014-06-05 06:58:32 -04:00
polaris
e661fa7466 Decrypt entire command in gamestats
Previously it would decrypt by packet, now it will wait for the entire
packet before trying to decrypt. This fixes games like Mega Man Star
Force.
2014-06-05 04:08:11 -04:00
polaris
000f3170e1 Added new game 2014-06-05 04:08:10 -04:00
Admiral H. Curtiss
97051e6098 NAS: Real server has a newline at the end of the returned data. 2014-06-04 23:32:41 +02:00
polaris
e85c0b0636 Tried to fix returning multiple servers in the server browser
This should hopefully make matchmaking go smoother in the future.
2014-06-04 08:52:08 -04:00
polaris
3318c0c297 Changed max_count usage in server backend 2014-06-04 07:08:45 -04:00
polaris
bf8b6644ea Added another game 2014-06-04 07:08:26 -04:00
polaris
23208e28ca Change how an empty filter is handled 2014-06-03 16:11:22 -04:00
polaris
5a6c00b74c Added more games 2014-06-03 16:11:22 -04:00
Admiral H. Curtiss
7c522eab2d Storage: Super hacky Filter evaulation, needs to be improved later. 2014-06-03 21:14:36 +02:00
Admiral H. Curtiss
cebf17efca We should also log unknown game connections, so we can add them to the game list later. 2014-06-02 19:46:18 +02:00
polaris
88eb6112d7 Check if the game is even in the secret key list 2014-06-02 13:38:24 -04:00
polaris
c4c0ebb659 Return local port if public port is set to 0
This should hopefully fix Puyo Puyo!! 20th Anniversary and Tatsunoko vs
Capcom's matchmaking. Without it, the games will not recognize their own
servers.
2014-06-02 07:18:44 -04:00
polaris
a62b29a28f Note to self: actually send message data 2014-06-02 06:38:09 -04:00
polaris
770dd64b4b Remove fields that shouldn't be there 2014-06-02 01:15:05 -04:00
polaris
2940611f52 Fix the delimiter for the block and buddy lists 2014-06-02 00:40:21 -04:00
polaris
67cb70ac12 Fixed sdkrevision
I made a mistake here. namespace is 16 in this case, not sdkrevision.
2014-06-02 00:35:17 -04:00
Admiral H. Curtiss
8d5efa344d Presumably fixes #29 2014-06-02 02:42:26 +02:00
Admiral H. Curtiss
0481f1ab13 Create some indexes in gpcm.db. 2014-06-01 18:51:18 +02:00
polaris
bb5a83f916 Add new commands where sdkrevision == 16 2014-06-01 08:36:10 -04:00
polaris
d6d22611b5 Add new game to server 2014-06-01 08:36:10 -04:00
Admiral H. Curtiss
72ce04cdd9 Merge remote-tracking branch 'origin/database_refactor' 2014-05-31 21:06:54 +02:00
Admiral H. Curtiss
b5cc713a35 Explicit log warning when SQL statement takes long. 2014-05-31 20:58:58 +02:00
Admiral H. Curtiss
2c8f29f551 Cleaner database log output. 2014-05-31 20:42:47 +02:00
polaris
2f25dab9b7 Return if the RC4 is 0 2014-05-31 14:41:17 -04:00
Admiral H. Curtiss
ca7d44339d Refactor GamespyDatabase for easier use and logging. 2014-05-31 20:13:02 +02:00
Admiral H. Curtiss
441c17ed94 Fix wrong parameter in profile server call to delete_session. 2014-05-31 20:10:43 +02:00
polaris
2102613829 Add new tables to storage server 2014-05-29 18:56:54 -04:00
polaris
338fb37459 Some error checking and bug fixes 2014-05-29 18:56:39 -04:00
polaris
aa4463aceb Add new game 2014-05-29 08:40:29 -04:00
polaris
a5ee7e9b31 Don't forward data to port 0
Also made the loop in qr more pythonic.
2014-05-28 19:11:15 -04:00
polaris
0a0e37cc11 Changed console detecting, added more debug code 2014-05-28 15:54:58 -04:00
Admiral H. Curtiss
88cf7e1c54 Storage: Clean up the table creation mess at the top, this should be much more readable and maintainable. 2014-05-28 18:15:43 +02:00
polaris
5a2bca3a57 Added some exception catching for debugging 2014-05-28 11:26:58 -04:00
Admiral H. Curtiss
7ff0467d2a Storage: Missed a Mario Kart column.
I need to do something about that table creation mess at the top
there...
2014-05-28 02:39:56 +02:00
polaris
4f7911ef95 Wait before deleting the QR session 2014-05-27 20:38:03 -04:00
Admiral H. Curtiss
1ba0e74881 Merge branch 'master' of https://github.com/polaris-/dwc_network_server_emulator 2014-05-27 20:22:32 +02:00
Admiral H. Curtiss
f3e4bb57c4 Storage: FriendInfo table for Mario Kart Wii. 2014-05-27 20:22:21 +02:00
polaris
d77f31725f Fixed error in handling data in gamestats 2014-05-27 14:01:05 -04:00
polaris
034a17d535 Fix some exceptions 2014-05-27 13:53:21 -04:00
Admiral H. Curtiss
c6cb8d0f6f NAS: Prevent download path attack. 2014-05-27 15:01:59 +02:00
polaris
e7ff9e5a67 Fix error in gamestats server from recent changes 2014-05-27 08:38:46 -04:00
polaris
672c698bec Avoid possible error if profile_data is not set 2014-05-27 08:09:33 -04:00
polaris-
cddc344d2a Merge pull request #27 from msoucy/ref/python/function-list
Just use a for loop instead of creating tons of wrapper functions
2014-05-27 08:04:41 -04:00
polaris-
72dd556447 Merge pull request #26 from msoucy/ref/python/context-managers
Make use of context managers to safely close files
2014-05-27 08:03:08 -04:00
polaris-
7879245484 Merge pull request #25 from msoucy/ref/python/lists
Use Python list comprehensions and literals when possible
2014-05-27 08:02:11 -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
Matt Soucy
3eaf22b1a6 Make use of context managers to safely close files 2014-05-27 02:38:48 -04:00
Matt Soucy
a4870a82ac Use the builtin string module instead of roll-your-own 2014-05-26 23:19:48 -04:00