polaris
199cdc835e
Small tweaks part 2
2014-04-17 16:56:27 -04:00
polaris
ec3410c8c2
Small tweaks, nothing major
2014-04-17 16:55:33 -04:00
polaris
98e97ba6d3
Added gamestats server
...
Not everything is implemented but it should be good enough for now.
2014-04-16 22:01:52 -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
fc19fdd347
Send buddy requests sooner, fix bug in QR
2014-04-15 16:24:02 -04:00
polaris
6cdf7ea3ae
Updated sql statement
2014-04-15 15:32:25 -04:00
polaris
e40ec23d12
Update buddy list variable
2014-04-15 15:12:47 -04:00
polaris
ab381297ee
Send status to friends when going offline part 2
2014-04-15 15:06:14 -04:00
polaris
a53609bdc5
Send status to friends when going offline
2014-04-15 15:03:55 -04:00
polaris
1de133d779
Started implementing more buddy commands
2014-04-15 15:00:14 -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
87170787f0
Rewrote connection part of natneg
2014-04-14 11:50:22 -04:00
polaris
e14e986a50
leseratte's patches
...
Fixes various typos and errors and also fixes a bug in
perform_otherslist.
2014-04-14 06:57:10 -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
acf67b2857
Somehow missed the actual insert code
2014-04-13 13:14:50 -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
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
bdaaba296a
Store the gameid in the database
...
I wanted to make it easier to do searches in the future based on games,
so the game ids (not region specific, but the generic one that all
regions share) is stored in the datbase now too.
2014-04-12 05:26:36 -04:00
polaris
728b0d12cf
Import the profile data Wiimm has gathered
...
This is only the tool to import it into the database. The actual data
will need to be provided on your own.
2014-04-12 05:24:56 -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
25ff93469b
Fixed problem with profile id
2014-04-11 10:58:14 -04:00
polaris
6b47de9655
Fixed bug #2
...
Exception "variable 'now' referenced before assignment"
2014-04-11 10:31:30 -04:00
polaris
156948f401
Fixed a bug in the update_profile sql query
2014-04-10 19:14:15 -04:00
polaris
d4e65391cf
Updated logging levels
2014-04-10 18:20:40 -04:00
polaris
7f39c5cf66
Log all sqlite commands
2014-04-10 17:35:22 -04:00
polaris
97e4c6202c
Added options to logger code
2014-04-10 17:35:21 -04:00
polaris
42c155fddc
Attempted to fix updatepro/getprofile problem
...
Attempted to fix problem where updatepro does not properly update the
field(s), causing the game to call getprofile waiting for it to update.
2014-04-10 17:35:19 -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-
b334433752
Update README.md
2014-04-09 20:26:13 -04:00
polaris
23aae4d552
Fixed some buddy list things.
...
Also, for some reason Phantasy Star Zero matchmaking lobbies work now. I
didn't change anything that should've affected that but who knows?
2014-04-09 18:46:48 -04:00
polaris
29160bf721
Store sig in database
...
Also fixed some tabs.
2014-04-09 13:13:24 -04:00
polaris
d427f25a0f
Some bug fixes from the cleanup
2014-04-09 10:04:24 -04:00
polaris
5d9af5dace
Matchmaking working slightly better
...
This code needs to be cleaned up later. Figured out the proper response
to handle not finding a server.
Still buggy:
- Mario Kart DS can get in-game but lags out during the peer-to-peer
game phase. Doesn't seem to be an issue with the server because at that
point the games are directly communicating?
- Phantasy Star Zero can't find any hits in matchmaking, even if server
info is returned.
2014-04-09 09:09:29 -04:00
polaris
cfc939257a
Changed how server browser handles queries
2014-04-09 06:12:29 -04:00
polaris
9a90d70732
Return firstname in getprofile if it's set
2014-04-08 16:24:52 -04:00
polaris
63cdaf3666
Preliminary matchmaking
...
I don't know how well it works yet until more testing is done, but
matchmaking works now.
2014-04-08 16:10:59 -04:00
polaris
d5086d0909
Added firstname column to database.
...
Required for the Wii.
2014-04-08 15:33:55 -04:00
polaris
6b5ffc8543
Implemented response for "otherslist"
2014-04-08 14:20:50 -04:00
polaris
9ca80fa6f9
Tried to fix Wii logins
2014-04-08 14:03:02 -04:00
polaris
a74bc36f26
naswii.nintendowifi.net
...
Added a preliminary naswii.nintendowifi.net/ac page. This should give
enough information to handle Wii connections. The data must still be
stored in the database later.
2014-04-08 11:43:13 -04:00
polaris
2e41215d09
Fixed bugs from merge, save leftover command data
2014-04-07 14:24:20 -04:00
polaris
5cb276d384
Merged changes made by leseratte
...
Merged the changes made by leseratte and made some of my own. This
should possibly be enough to get Mario Kart Wii to login but I do not
have a way to test it myself.
2014-04-07 13:53:18 -04:00
polaris
0fc1b39c2f
Added acctcreate to NAS, added gsps server stub
2014-04-06 14:06:30 -04:00
polaris
fb6e439888
Added compatibility to readme, updated db for PS0
2014-04-06 07:04:08 -04:00
polaris
13a37e8e6e
Fixed crash in natneg and made statuses per-game
...
- Fixed crash in natneg.
- Made status updates only send to friends who are playing the same
game.
2014-04-05 18:45:46 -04:00