Commit Graph

28 Commits

Author SHA1 Message Date
Sepalani
e3ec45baf3 Backend: Fix KeyError during NATNEG init 2024-03-16 23:26:00 +04:00
Sepalani
341293dade Backend: SQL LIKE command added 2016-07-21 19:49:33 +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
f7877ced40 Cleaned: gamespy_backend_server.py 2015-09-05 21:12:47 +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-
144f07597f Fix local variable referenced before assignment exception
Allows any server to be added to the list if there is no filter specified.
2014-11-04 07:56:53 -05: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
polaris
df31b2345a Refactored backend server a little 2014-08-03 22:40:31 -04:00
Matt Soucy
1fbec2fd37 Some dictionary-related cleanup 2014-07-27 15:11:55 -04:00
polaris
77c315be7d Fix edge case in backend server query parser
(game_match_type = '0817') where game_match_type was interpreted as an
integer resulting in a false int == string comparison.
2014-07-24 21:25:42 -04:00
polaris
827f8d83a0 Fixed invalid filter error
If the first server in the server list does not have all of the
requested fields, it would assume that all of the servers lacked the
requested fields, so it would bail. This will let it keep checking
against ever server and skip the ones without the requested fields.
2014-07-22 23:00:10 -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
3318c0c297 Changed max_count usage in server backend 2014-06-04 07:08:45 -04:00
polaris
23208e28ca Change how an empty filter is handled 2014-06-03 16:11:22 -04:00
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
polaris
2a85dff62f Trying to make natneg more stable 2014-05-21 05:58:14 -04:00
polaris
25dd2a9d27 Added natneg listing to backend server 2014-05-20 11:17:52 -04:00
polaris
506accf5d8 Fixes to matchmaking 2014-05-14 07:31:58 -04:00
polaris
38c2b97daf Evaluate search queries as restricted Python
Something I threw together quickly this morning to make the search
server evaluations work properly. I'd like to build my own AST and
benchmark it with a large server list to see how much slower it is. In
any case, this implementation should usually be reliable despite any
slowness.
2014-04-13 10:40:47 -04:00
polaris
e5555b891e Return server's console information 2014-04-12 05:20:20 -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
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