Commit Graph

151 Commits

Author SHA1 Message Date
polaris
7379dc2a7a Small fixes
- Sometimes the game sends port 0 as the port to forward to. Obviously
this isn't right, so *try* to match up the server with something, even
if it may or may not be right. Hopefully it's right.
- Tried to fix friends games in some games. Metroid Prime: Hunters seems
to look for the dwc_pid for a friend, and sometimes the friend never
does a statechanged, so assume that any state except 2 should be added
to the server list.
2014-05-22 08:49:14 -04:00
Toad King
7aeac3c525 move sleep in UDP handlers to threads 2014-05-22 06:31:08 -04:00
polaris
4391e85642 More misc bugs 2014-05-21 23:17:25 -04:00
polaris
ceb8652f3c Fix misc bugs
How did these even work before?
2014-05-21 22:14:24 -04:00
polaris
411a829624 Fixed bug in natneg, threading for UDP packets 2014-05-21 21:50:47 -04:00
Toad King
c85fe43ab2 add 50ms delay to udp packet processing, fixes errors in UDP packets getting dropped in some games 2014-05-21 21:10:15 -04:00
polaris-
2a776973e4 Update README.md 2014-05-21 17:37:19 -04:00
polaris-
d652d565fe Update README.md 2014-05-21 16:30:00 -04:00
polaris-
78263346b0 Update README.md 2014-05-21 16:12:40 -04:00
polaris
30229b9fa5 More error checking
Sometimes it fails to decode a string. Try to figure out why.
2014-05-21 12:21:42 -04:00
polaris
ba7b808623 Error checking
Why does this error even occur? Does the session get pruned by keep
alive or is it not properly started (between server restarts)?
2014-05-21 08:36:31 -04:00
polaris
2a85dff62f Trying to make natneg more stable 2014-05-21 05:58:14 -04:00
polaris-
f661e8d434 Merge pull request #15 from AdmiralCurtiss/dlcrestore
Restored downloadable missions for Pokemon Ranger 2 and 3.
2014-05-21 05:53:22 -04:00
Admiral H. Curtiss
7bd6023117 Ranger 2 downloadable missions. 2014-05-21 02:37:12 +02:00
polaris
3c0cfb432d Added simple stats server 2014-05-20 18:34:12 -04:00
polaris
4fc163ec75 Only count lines with data as for dls1 count 2014-05-20 18:33:49 -04:00
Admiral H. Curtiss
05d2b06970 Ranger 3 JP downloadable missions.
Someone needs to test if the US and JP missions actually work, I just
based them off some saves off GameFAQs and how the EU version handles
data.
2014-05-20 23:41:43 +02:00
Admiral H. Curtiss
9b2ed931f8 Ranger 3 US and EU downloadable missions. 2014-05-20 21:45:45 +02:00
polaris
c9d525cc02 Fix some small issues 2014-05-20 12:50:20 -04:00
polaris
04f6b1ac04 Fix some small exceptions that sometimes occur
Mostly harmless
2014-05-20 11:37:52 -04:00
polaris
f64ea72096 Updated .gitignore
Tired of seeing junk in the list
2014-05-20 11:30:39 -04:00
polaris
d1c417260f Return correct file count
A listing file with no entries may contain just "\r\n", so strip that
before counting
2014-05-20 11:22:31 -04:00
polaris
e6a97fe002 Build entire command if it spans multiple packets 2014-05-20 11:21:09 -04:00
polaris
c696686e32 Store own server so we can retrieve it for natneg 2014-05-20 11:19:51 -04:00
polaris
d46f9bdb24 Add natneg cookies to backend 2014-05-20 11:19:11 -04:00
polaris
42513fd601 Make natneg use backend natneg listing 2014-05-20 11:18:35 -04:00
polaris
25dd2a9d27 Added natneg listing to backend server 2014-05-20 11:17:52 -04:00
polaris
3a4faf53d4 Turn binary blob into base64 2014-05-20 11:15:59 -04:00
polaris
8405999a66 natneg: Try local port if it's available
natneg needs to be rewritten to be more stable based on the official
documentation.
2014-05-19 18:21:43 -04:00
polaris
febe43c6a7 Proper response for /pr 2014-05-19 18:18:18 -04:00
polaris
57c462e170 Implemented /pr
Fixes issue with FF:CC not being able to login.
2014-05-18 17:16:51 -04:00
polaris
12367dcf0b Updated devname field in DB 2014-05-17 15:52:55 -04:00
polaris-
b92e9588ce Merge pull request #12 from AdmiralCurtiss/mysterygift
Pokémon DPPHGSS Mystery Gifts
2014-05-17 15:51:33 -04:00
Admiral H. Curtiss
5c4fb55164 Korean Generation 4 Mystery Gifts. 2014-05-17 21:13:38 +02:00
Admiral H. Curtiss
0fcae8bbe8 Japanese Generation 4 Mystery Gifts. 2014-05-17 21:13:37 +02:00
Admiral H. Curtiss
ac44e14a3d FIGS Generation 4 Mystery Gifts. 2014-05-17 21:13:36 +02:00
Admiral H. Curtiss
7e5146d031 English Generation 4 Mystery Gifts.
Includes official ones, as well as a few Japanese and custom created
ones to add data not originally distributed at all. (Poketch apps,
Pokewalker courses, Azure Flute, Lock Capsule, etc.)
2014-05-17 21:13:34 +02:00
Admiral H. Curtiss
fa9f7805e1 Randomize available DLC files for specific games. (Pokemon Mystery Gift) 2014-05-17 21:13:33 +02:00
polaris
ee0c320985 Fixed bug in NAS when multiple hosts are used 2014-05-16 20:10:35 -04:00
polaris-
aa132add91 Update README.md 2014-05-16 11:07:58 -04:00
polaris-
f302583506 Update README.md 2014-05-16 11:07:35 -04:00
polaris
b8ade9e127 Enabled keep alive in profile server 2014-05-16 09:07:24 -04:00
polaris
6d9dd42238 Implemented keep alive on QR server 2014-05-16 08:24:08 -04:00
polaris-
e27ab3a1e4 Merge pull request #10 from AdmiralCurtiss/master
Small fix to file list filtering on DLC server.
2014-05-16 06:59:56 -04:00
Admiral H. Curtiss
77470afeb5 SVCLOC action: Reply to server 0000. 2014-05-16 03:27:19 +02:00
Admiral H. Curtiss
e912be417a File list filtering: If no files, return a newline. 2014-05-15 22:08:14 +02:00
polaris
0e0d4bebe5 Implement getpd 2014-05-15 14:56:41 -04:00
Admiral H. Curtiss
809d7f90fa Merge remote-tracking branch 'upstream/master' 2014-05-15 17:35:27 +02:00
polaris-
ec4d2d18a9 Merge pull request #9 from ToadKing/master
Add more download server support
2014-05-14 21:56:32 -04:00
polaris
11d3b32938 Fixed some small errors in NAS and natneg 2014-05-14 21:55:07 -04:00