Commit Graph

22 Commits

Author SHA1 Message Date
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
338fb37459 Some error checking and bug fixes 2014-05-29 18:56:39 -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
5a2bca3a57 Added some exception catching for debugging 2014-05-28 11:26:58 -04:00
Matt Soucy
ca4b4683ba Take advantage of boolean operators 2014-05-26 23:19:48 -04:00
polaris
8ee93d1ac1 Allow server browser to start on its own 2014-05-22 21:21:50 -04:00
polaris
2a85dff62f Trying to make natneg more stable 2014-05-21 05:58:14 -04:00
polaris
d46f9bdb24 Add natneg cookies to backend 2014-05-20 11:19:11 -04:00
polaris
506accf5d8 Fixes to matchmaking 2014-05-14 07:31:58 -04:00
polaris
4899aa0253 Fixed unexpected case in packet forwarding 2014-04-18 07:33:18 -04:00
polaris
d1af97646d Get server info from master list 2014-04-17 17:57:02 -04:00
polaris
cd67a3dd4d Return public IP instead of local IP 2014-04-16 08:45:18 -04:00
polaris
13f0525ea8 Don't send local IP and port of server 2014-04-16 07:18:33 -04:00
polaris
8cf3a3e23e Fix bug in mask, return correct port 2014-04-15 18:15:59 -04:00
polaris
7e1baf8d2f Own IP/Port response needs to be encrypted 2014-04-15 17:24:57 -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
3e0136f5be Temporary fix for endianness problem
For some reason the console doesn't always get detected properly. For
now this should attempt to look for the server the other way if it
wasn't detected as the currently set console. This is only a temporary
fix until something more permanent can be found and implemented.
2014-04-13 17:37:36 -04:00
polaris
2ba5042c9d Server cache for server browser
TODO: Prune server cache at some point
2014-04-13 15:30:08 -04:00
polaris
f64b1e1c60 Console endianness, natneg report command fix
- Added endianness based on console. This allows the Wii to connect.
- Fixed a bug where the report command was returning the wrong buffer in
natneg.
2014-04-11 18:09:22 -04:00
polaris
d4e65391cf Updated logging levels 2014-04-10 18:20:40 -04:00
polaris
97e4c6202c Added options to logger code 2014-04-10 17:35:21 -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