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
a4870a82ac
Use the builtin string module instead of roll-your-own
2014-05-26 23:19:48 -04:00
Matt Soucy
57c2265b69
Take advantage of default bool conversions
2014-05-26 23:19:48 -04:00
Matt Soucy
ca4b4683ba
Take advantage of boolean operators
2014-05-26 23:19:48 -04:00
Matt Soucy
2c631489e5
More list literals (listerals?)
2014-05-26 23:19:48 -04:00
Matt Soucy
c95bebb911
Use list literals instead of constantly appending
2014-05-26 23:19:48 -04:00
Matt Soucy
692649485f
Pass list literals into functions to create gamespy message
2014-05-26 23:19:48 -04:00
Matt Soucy
d1a6309875
Use lists instead of more roundabout methods
2014-05-26 23:19:47 -04:00
Matt Soucy
a9b019825a
Use list comprehensions instead of manual creation
...
Also does some changes to use comprehensions and join instead of manually reimplementing it
2014-05-26 23:19:47 -04:00
Admiral H. Curtiss
e7837fbd4d
Match the length of some things to the real server's.
2014-05-27 04:00:39 +02:00
Admiral H. Curtiss
2b9582d981
QR: Super minor but according to my dumps there's always two 0s there.
2014-05-27 03:47:11 +02:00
Admiral H. Curtiss
1ed9b24e8a
NAS: Change some headers to be more accurate.
...
Doesn't appear to actually matter for most games but who knows, maybe
some games need the accurate data?
2014-05-27 03:04:58 +02:00
Admiral H. Curtiss
a02dab53fa
The same custom PWT tournaments for FIGS.
2014-05-27 00:15:20 +02:00
Admiral H. Curtiss
f38541d3af
Some of the PWT Tournaments didn't show up on Black 2, this should fix that.
2014-05-26 19:45:19 +02:00
Admiral H. Curtiss
93fd74579b
Dumb error, cursor.execute() doesn't handle single values.
2014-05-26 02:24:55 +02:00
Admiral H. Curtiss
c936c819ce
Storage: Change how fileids and paths are handled to closer match the real server.
2014-05-26 02:01:04 +02:00
polaris
738205b2fd
Another typo...
2014-05-25 18:24:44 -04:00
polaris
9f683206ca
Fix typo
2014-05-25 18:23:22 -04:00
polaris
5fd8d97c59
Added some error handling to the storage server
2014-05-25 18:22:27 -04:00
Admiral H. Curtiss
2842a936f6
Start storage server with other servers.
2014-05-25 23:00:42 +02:00
Admiral H. Curtiss
60d70d1cdc
Storage: Reject big files.
2014-05-25 22:54:03 +02:00
Admiral H. Curtiss
3db4da2419
Storage: Fix accessing of non-existing files.
2014-05-25 21:47:46 +02:00
Admiral H. Curtiss
aa1dcf84c7
Storage: Implement LIMIT, fix a few small issues.
2014-05-25 21:29:43 +02:00
polaris
65fe2e39be
Tried to fix base64 decoding in NAS for ingamesn
...
Examples of names that broke it before: D-9fAA**, MKIw8zC-MOwwuQ**,
MGowizB-, xXzWOP8e-w3-HCYF.
2014-05-25 09:20:08 -04:00
polaris
17e55933e1
How did this ever work???
2014-05-25 08:43:32 -04:00
polaris
13b00ae85f
Remove invalid commands from buffer
...
This should hopefully solve the issue from 4809beaad7 .
2014-05-25 08:34:56 -04:00
polaris
684e2a2c94
Revert "abort decoding query string on bad values"
...
This reverts commit 4809beaad7 .
2014-05-25 08:22:48 -04:00
Toad King
4809beaad7
abort decoding query string on bad values
2014-05-25 00:10:33 -04:00
Toad King
4aede9bb33
add stub for conntest to nas server
2014-05-25 00:00:41 -04:00
Toad King
827030f0d6
fix infinite loop with malformed messages
2014-05-25 00:00:09 -04:00
Admiral H. Curtiss
1364193e08
Storage: Tables for other WarioWare regions.
2014-05-25 05:38:04 +02:00
Admiral H. Curtiss
515ef9dd87
Storage: Fix timestamps being stored incorrectly.
2014-05-25 05:14:10 +02:00
Admiral H. Curtiss
1aadec2f47
Storage: This should make downloading of friend crates work in WarioWare but I haven't tested part of it yet.
2014-05-25 04:53:30 +02:00
polaris
9a134305ad
Fixed bug with logging out
2014-05-24 20:44:50 -04:00
Toad King
6cca3e2dea
change threading for UDP servers to only send data on threads
2014-05-24 15:26:59 -04:00
Admiral H. Curtiss
675201d3bc
Custom PWT Tournament file.
...
The PWT Tournament file has 12 slots for downloadable tournaments, only
3 of those were used in the English version. The remaining 9 were filled
with the six Asia-only tournaments as well as three of the debug
tournaments.
PWT Tournament format:
http://projectpokemon.org/forums/showthread.php?25121-PWT-Download-Tournaments
One tournament is 4628 bytes.
Last four bytes for both every individual tournament as well as the
whole file are a CRC16 CCITT checksum of all previous bytes and two null
bytes.
The added tournaments are still in Japanese, if someone wants to provide
me good translations for them feel free.
2014-05-24 20:08:32 +02:00
Admiral H. Curtiss
96e3f6145f
Storage: Download files, WarioWare freezes on this for some reason, will check out the problem later.
2014-05-24 05:47:41 +02:00
Admiral H. Curtiss
acbbc527d9
Storage: Actually save uploaded files.
2014-05-24 05:28:04 +02:00
Admiral H. Curtiss
cb2ba136aa
Loginticket is now stored, which allows the storage server to properly process GetMyRecords.
...
Also added a check so an user may only edit his own records, I dunno if
the official server actually enforced this but it makes sense to.
2014-05-24 04:02:52 +02:00
Admiral H. Curtiss
3cbb56b090
Storage: Implement CreateRecord.
2014-05-23 21:17:28 +02:00
Admiral H. Curtiss
47ca4ca2fc
Storage: Implement GetSpecificRecords, fix errors in UpdateRecord.
2014-05-23 20:33:40 +02:00
Admiral H. Curtiss
50b67314f3
Storage: Basic file uploading support (doesn't actually store the uploaded file yet)
2014-05-23 19:05:26 +02:00
Admiral H. Curtiss
c8c0ad6997
Storage: Implement UpdateRecord.
...
WarioWare DIY can now successfully delete owned games.
2014-05-23 17:49:00 +02:00
Admiral H. Curtiss
6ebaff0475
Storage: Start getting WarioWare DIY to work.
2014-05-23 15:09:23 +02:00
Admiral H. Curtiss
f4187f5d53
Storage: SearchForRecords and GetRecordCount work now, though without any filtering.
2014-05-23 04:54:07 +02:00
polaris
8ee93d1ac1
Allow server browser to start on its own
2014-05-22 21:21:50 -04:00
Toad King
e649bb4764
allow starting QR server on its own
2014-05-22 20:54:18 -04:00
Toad King
ecd1a85e60
fix QR server (how did this work before?)
2014-05-22 20:51:03 -04:00
Admiral H. Curtiss
8549ca3cb1
Some basic code for a StorageServer, doesn't work yet.
2014-05-23 02:46:47 +02:00
polaris
9687bbcce1
Removed some example DLCs
...
We have custom generated DLCs which can be looked at as an example now.
2014-05-22 11:13:03 -04:00