Matt Soucy
6da8ea929f
Use "normal" utils.get functions instead of _be variants
2014-07-27 16:28:43 -04:00
Matt Soucy
05cd86adc3
Use only one big-endian function
2014-07-27 16:15:32 -04:00
Matt Soucy
23326f62d4
pep8 changes
2014-07-27 15:54:17 -04:00
Matt Soucy
b1511f9533
Use the struct module instead of roll-your-own
2014-07-27 15:46:59 -04:00
polaris-
61cf8c941a
Merge pull request #53 from sepalani/patch-1
...
Update gs_utility.py, broken b64decode
2014-07-25 06:59:07 -04:00
sepalani
1378efad94
Update gs_utility.py, broken b64decode
...
Afaik, this conversion should be done like that.
2014-07-25 07:28:40 +04:00
polaris
77c315be7d
Fix edge case in backend server query parser
...
(game_match_type = '0817') where game_match_type was interpreted as an
integer resulting in a false int == string comparison.
2014-07-24 21:25:42 -04:00
polaris
fbbae8b192
Try to make natneg smoother
2014-07-23 02:43:06 -04:00
polaris
11b8a406d5
Change password check
...
Who cares about security for their login data anyway?
2014-07-22 23:47:26 -04:00
polaris
827f8d83a0
Fixed invalid filter error
...
If the first server in the server list does not have all of the
requested fields, it would assume that all of the servers lacked the
requested fields, so it would bail. This will let it keep checking
against ever server and skip the ones without the requested fields.
2014-07-22 23:00:10 -04:00
polaris
68d1c39607
Licensing part 2
2014-07-04 20:16:00 -04:00
polaris
2fdd7a5783
Now includes licensing (AGPL v3)
2014-07-04 19:40:43 -04:00
Admiral H. Curtiss
a4ab6dabc1
Make date-based download specifying more logical to the user by making Jan 1st the first item on the file list.
2014-07-03 19:09:00 +02:00
Admiral H. Curtiss
2f29689285
On games with random downloads, allow user to control them via local date.
2014-07-02 22:16:47 +02:00
polaris
c6b193ca82
Fix exception in natneg
2014-07-01 01:19:23 -04:00
polaris
40e7ea8416
Remove unneeded log command
2014-06-29 22:53:04 -04:00
polaris
b799eccc32
Remove database initialization
2014-06-29 22:36:50 -04:00
polaris
0e1253934e
Updated master server file
2014-06-29 22:36:26 -04:00
polaris
35e8cd2135
Generic gamestats http server
2014-06-29 22:33:33 -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
Admiral H. Curtiss
97e1c01a5c
Profile Server: Return Error on invalid authtoken.
2014-06-17 20:11:57 +02:00
Admiral H. Curtiss
9882da3af3
Combine user login in profile and gamestats.
2014-06-17 19:45:19 +02:00
Admiral H. Curtiss
8e535e005b
Actually return an error when authp fails.
2014-06-15 20:03:23 +02:00
Admiral H. Curtiss
982c70eba7
Better handling of getpd when no profile is found, maybe?
...
Honestly I'm not sure about this one but it's better than logging three
errors and throwing an exception.
2014-06-15 07:01:14 +02:00
Admiral H. Curtiss
68b6871754
logger != log, can't use the same syntax here...
2014-06-15 06:46:52 +02:00
Admiral H. Curtiss
72a5f99b1d
Should fix #40 and similar errors with extra backslashes.
2014-06-15 06:46:50 +02:00
Admiral H. Curtiss
2600a98f06
Fixes #39
2014-06-14 16:44:28 +02:00
polaris
45060abc19
Return all keys if none specified (2)
...
Didn't test before. This works now though.
2014-06-09 11:15:17 -04:00
polaris
ac4d659e75
Return all keys if none specified
2014-06-09 09:10:00 -04:00
polaris
173998c88b
Fix problem with parsing data in gamestats
2014-06-08 12:57:53 -04:00
polaris
ed3220e500
Force encoding on data
2014-06-08 10:00:03 -04:00
polaris
c22dd4e137
Tried to fix report, added preinit to natneg
2014-06-07 07:08:18 -04:00
polaris
de70413b6a
Start stats server on startup
2014-06-06 16:27:17 -04:00
polaris
607b0f56f2
Changed response for report
2014-06-06 05:27:32 -04:00
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