Commit Graph

39 Commits

Author SHA1 Message Date
Sepalani
9c8cfe37ce Fixed: missing format string parameter 2016-02-09 16:46:24 +01:00
polaris-
7feb4ae0c7 Update gamespy_server_browser_server.py 2015-09-07 08:38:20 -04:00
polaris-
7a4a06f8a7 Fixed typo 2015-09-07 08:37:46 -04:00
Sepalani
2102a73b05 Improved configuration file
Added: register_page.py into cfg and pyproj

Added: Alternative configuration file

Added: Logger into configuration file
2015-09-05 22:56:19 +02:00
payet_s
dfa269c71d Added: Configuration Module/File 2015-09-05 21:15:31 +02:00
payet_s
0cf2d6d6b0 Fixed: Format string vulnerabilities 2015-09-05 21:12:44 +02:00
payet_s
879fa8e33a Cleaned: gamespy_server_browser_server.py 2015-09-05 21:12:44 +02:00
payet_s
2ba6518669 Cleaned: master_server.py, nas_server.py
Massive cleanup

Removed: Anoying UTF-8 BOM
2015-09-05 21:01:43 +02:00
payet_s
cc84f739ca Upgraded: Visual Studio solution
Changed: module comment style
2015-09-05 19:17:38 +02:00
polaris
720945c212 Use get_ip to get consistent IP address from data
This is to ensure that all functions that get an IP are getting the same
kind of data (that is, an integer with the bounds of a signed 32 bit
integer) for consistency purposes.
2014-08-03 22:45:24 -04:00
polaris
9e2c77ddff More bugfixes. Server browser server should work 2014-07-29 12:48:36 -04:00
polaris
7162bf2aa9 Loop as long as there is enough data for a packet 2014-07-29 10:15:52 -04:00
polaris
57fe3657c1 Rewrite packet handling for server browser 2014-07-29 09:46:52 -04:00
Matt Soucy
610cc2380c Use one common set of get functions 2014-07-27 16:36:19 -04:00
polaris
fbbae8b192 Try to make natneg smoother 2014-07-23 02:43:06 -04:00
polaris
2fdd7a5783 Now includes licensing (AGPL v3) 2014-07-04 19:40:43 -04: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
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