Commit Graph

44 Commits

Author SHA1 Message Date
polaris-
9ca9418b57 Fix an error with natneg crashing if get_natneg_server returns None 2016-05-07 14:22:00 -04:00
Sepalani
b86dcbac74 [WIP] NATNEG: Added backup command 2016-02-17 19:17:24 +01:00
Sepalani
cdadbcbb33 [WIP] NATNEG: Added utils.get_local_addr 2016-02-17 19:17:22 +01:00
Sepalani
6b0507a3c1 [WIP] NATNEG: Added utils.get_bytes_from_ip_str 2016-02-17 19:16:40 +01:00
Sepalani
40e853c50d [WIP] NATNEG: Switched to SocketServer 2016-02-16 22:41:49 +01:00
Sepalani
e6af5e8337 [WIP] NATNEG: Added socket recovering 2016-02-16 22:41:49 +01:00
Sepalani
80a641f491 [WIP] NATNEG: Removed struct module 2016-02-16 22:41:48 +01:00
Sepalani
46391303b6 [WIP] NATNEG: Added utils.get_ip_from_str 2016-02-16 22:41:46 +01:00
Sepalani
5ed33d2170 [WIP] NATNEG: Added get_server_addr 2016-02-16 22:40:54 +01:00
Sepalani
75b900592c [WIP] NATNEG: Refactored code with function pointers
Added: Documentation
2016-02-16 22:40:50 +01:00
Sepalani
9a3d17491e [WIP] NATNEG: Commands implementation 2016-02-16 22:35:24 +01:00
sepalani
5dbd696c78 Try to fix Issue #208 2015-09-07 15:30:55 +02: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
fea1cd37ac Cleaned: gamespy_natneg_server.py 2015-09-05 21:12:46 +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
174c643d35 More matchmaking bugfix attempts 2014-08-05 08:32:55 -04:00
polaris
79d40b0561 Fixed bug to reduce noise in backend logs 2014-08-04 19:52:40 -04: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
Matt Soucy
6da8ea929f Use "normal" utils.get functions instead of _be variants 2014-07-27 16:28:43 -04:00
polaris
2fdd7a5783 Now includes licensing (AGPL v3) 2014-07-04 19:40:43 -04:00
polaris
c6b193ca82 Fix exception in natneg 2014-07-01 01:19:23 -04:00
polaris
c22dd4e137 Tried to fix report, added preinit to natneg 2014-06-07 07:08:18 -04:00
polaris
607b0f56f2 Changed response for report 2014-06-06 05:27:32 -04:00
polaris
5a2bca3a57 Added some exception catching for debugging 2014-05-28 11:26:58 -04:00
Toad King
6cca3e2dea change threading for UDP servers to only send data on threads 2014-05-24 15:26:59 -04:00
Toad King
7aeac3c525 move sleep in UDP handlers to threads 2014-05-22 06:31:08 -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
2a85dff62f Trying to make natneg more stable 2014-05-21 05:58:14 -04:00
polaris
c9d525cc02 Fix some small issues 2014-05-20 12:50:20 -04:00
polaris
42513fd601 Make natneg use backend natneg listing 2014-05-20 11:18:35 -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
11d3b32938 Fixed some small errors in NAS and natneg 2014-05-14 21:55:07 -04:00
polaris
506accf5d8 Fixes to matchmaking 2014-05-14 07:31:58 -04:00
polaris
85e0273e93 Added the address check to natneg
- Added address check to natneg. It's untested but it should hopefully
be to spec.
- Removed debug statement from QR server that was way noiser than it
really needed to be.
2014-04-27 17:36:49 -04:00
polaris
87170787f0 Rewrote connection part of natneg 2014-04-14 11:50:22 -04:00
polaris
0775bd3917 Fixes bug from f64b1e1
I hastily made a change to natneg without testing it before assuming it
would work, and it didn't work. So this fixes it properly now.
2014-04-13 10:05:56 -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