polaris-
2096833dc8
Merge pull request #268 from sepalani/nat
...
NATNEG - Refactoring
2016-04-06 22:07:42 -04:00
Sepalani
9f92df2be8
[WIP] NAS: Moved qs methods in utils
2016-02-23 23:01:53 +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
46391303b6
[WIP] NATNEG: Added utils.get_ip_from_str
2016-02-16 22:41:46 +01:00
Sepalani
64fd44663f
Utils: Do not print \r\n\t in hexdump
2016-02-13 02:21:23 +01:00
payet_s
3090c8089d
Cleaned: other/utils.py
2015-09-05 21:01:44 +02:00
payet_s
cc84f739ca
Upgraded: Visual Studio solution
...
Changed: module comment style
2015-09-05 19:17:38 +02:00
polaris
6f81fce1e2
Timed rotating logger, "logs" folder now default
2014-10-23 21:07:15 -04:00
smtddr
f6f6bdafed
Support PAL/NTSC or international or something...
...
A Tatsunok-vsCapcom(TvC) player in Croatia, using the PAL version the game,
was never able to play other people until these changes were made. This is
probably how the official servers worked.
2014-09-01 15:08:16 -07: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
39c389306d
Unpack signed to unsigned
2014-07-29 10:17:15 -04:00
polaris
d6ae76e7e8
More overloads for util functions
2014-07-29 10:02:41 -04:00
polaris
0e8fc9e322
Use str instead of bytearray
...
Fixes change I made in 97277fb
2014-07-29 10:01:17 -04:00
polaris
97277fb9b0
Add optional overload to the get_short and get_int functions
2014-07-29 09:46:28 -04:00
Matt Soucy
ee6193cdd8
Remove deprecated get_*_be functions
2014-07-27 16:37:03 -04:00
Matt Soucy
23326f62d4
pep8 changes
2014-07-27 15:54:17 -04:00
Matt Soucy
b1511f9533
Use the struct module instead of roll-your-own
2014-07-27 15:46:59 -04:00
polaris
68d1c39607
Licensing part 2
2014-07-04 20:16:00 -04:00
Matt Soucy
a4870a82ac
Use the builtin string module instead of roll-your-own
2014-05-26 23:19:48 -04:00
polaris
43e2e1b89e
Tried to match original server's return values
...
The original server returns uppercase only in these areas it seems, so
emulate that.
2014-04-18 15:56:42 -04:00
polaris
6b47de9655
Fixed bug #2
...
Exception "variable 'now' referenced before assignment"
2014-04-11 10:31:30 -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
polaris
35680370d1
Server browser, natneg
...
Finally have friend games working. Matchmaking games do not work yet,
though. There are still a number of bugs to be worked out, but it's
possible to complete a few rounds of Tetris DS successfully.
2014-04-05 06:07:18 -04:00
polaris
3ba94e1725
Started to implement the server browser
2014-04-01 06:04:06 -04:00
polaris
74df6f1ea7
Documentation, tidying up
...
- Moved some gamespy-related utility functions to where they should've
been.
- Added more documentation.
2014-03-30 08:37:52 -04:00
polaris
eae79e9def
Cleaned up
...
Cleaned up the code using PyCharm. Also added a few comments about the
master server.
2014-03-29 23:41:47 -04:00
andromeda32
f9c710af99
Initial code.
...
Contains enough code to allow Tetris DS to get to the post-login wifi
menu.
This is very rough, basic code. I expect it to change quite a bit from
its current format once I start adding more features. It's nowhere near
ready for public use yet.
2014-03-29 21:41:02 -04:00