hiker
|
f81bd5d0c5
|
Fixed names utf8ToWide and wideToUtf8; added convenience functions
taking std:;string and core::stringw as parameter (removed .c_str()
in many function calls).
|
2015-11-26 08:47:02 +11:00 |
|
hiker
|
2f126ab226
|
Moved NetworkPlayerProfile into its own file, added getter and
setters for it.
|
2015-11-26 07:41:37 +11:00 |
|
hiker
|
927969e720
|
Added new server state for 'selecting karts'.
|
2015-11-24 07:55:58 +11:00 |
|
hiker
|
078de5fe93
|
Server-side authorisation now implemented if client is on
same IP address.
|
2015-11-24 07:53:51 +11:00 |
|
hiker
|
981a4ab234
|
Fix crash when disconnecting.
|
2015-11-23 17:22:12 +11:00 |
|
hiker
|
3e9e9349c0
|
Removed commented out code.
|
2015-11-23 17:21:51 +11:00 |
|
hiker
|
064414afa3
|
Added server-side test to see if client is authorised to send commands.
|
2015-11-23 08:26:18 +11:00 |
|
hiker
|
da2671c6ee
|
An 'authorised' client can now tell the server to select karts.
|
2015-11-23 08:08:23 +11:00 |
|
hiker
|
0f38d6fb8a
|
Don't add same peer twice (which causes a crash when the peer disconnects etc)
|
2015-11-23 08:03:15 +11:00 |
|
hiker
|
f05b6f6dd7
|
Improved handling of cancelling server creation.
|
2015-11-21 12:21:50 +11:00 |
|
hiker
|
093283c5b0
|
Avoid crash if networking was selected, but not actually started.
|
2015-11-21 12:20:05 +11:00 |
|
hiker
|
1700395dc2
|
Fixed crash when no votes for a category have been received.
|
2015-11-21 12:01:45 +11:00 |
|
hiker
|
68bcd4bde3
|
Cosmetic changes only.
|
2015-11-21 11:49:15 +11:00 |
|
hiker
|
10bed9a20d
|
Used more names for protocol commands, and use switch instead of if's.
|
2015-11-21 10:39:56 +11:00 |
|
hiker
|
3ab66592cd
|
Only minor cosmetic changes.
|
2015-11-20 17:02:47 +11:00 |
|
hiker
|
7a2c7125e5
|
Used enums instead of numbers for lobby protocol subcommands.
|
2015-11-20 16:41:54 +11:00 |
|
hiker
|
73e14a964a
|
Cosmetic changes only.
|
2015-11-20 08:16:41 +11:00 |
|
hiker
|
c3e74d344f
|
Add warning message in case of an unknown command, and do not send
it to the servrer (which typically just confuses it).
|
2015-11-20 08:07:31 +11:00 |
|
hiker
|
683f0fdc07
|
Fixed incorrect index.
|
2015-11-19 14:21:56 +11:00 |
|
hiker
|
b55b91edf1
|
Use const & for std::string, cosmetic changes.
|
2015-11-19 14:20:10 +11:00 |
|
hiker
|
2b687e1051
|
Avoid crash when voting.
|
2015-11-19 14:19:01 +11:00 |
|
hiker
|
e7cc868c85
|
Removed uneccesary vector copy.
|
2015-11-19 14:18:34 +11:00 |
|
hiker
|
4813637a37
|
Cosmetic changes only.
|
2015-11-19 09:21:28 +11:00 |
|
hiker
|
5994123b98
|
Fixed crash.
|
2015-11-19 09:21:03 +11:00 |
|
hiker
|
ba4ccd5621
|
Added command line option to start a LAN server.
|
2015-11-18 17:24:56 +11:00 |
|
hiker
|
e6c2620c90
|
Print 'hide address' only in WAN mode; remove commented out code.
|
2015-11-18 13:44:25 +11:00 |
|
hiker
|
90b92419f3
|
Avoid crash in case that a player is not logged in online.
|
2015-11-18 08:15:22 +11:00 |
|
hiker
|
17f588bcf2
|
Fixed storing of EnetAddresses in TransportAddress.
|
2015-11-18 08:14:58 +11:00 |
|
hiker
|
29e0b50e14
|
Removed friend declaration; fixed crash caused by deleting the
ENetPeer when deleting an (STK) Event.
|
2015-11-17 08:11:07 +11:00 |
|
hiker
|
0ed22d0d6e
|
Fixed debug message.
|
2015-11-16 18:46:04 +11:00 |
|
hiker
|
980cdf835d
|
Avoid crash when clicking on (empty) list while server list is being refreshed.
|
2015-11-16 18:44:14 +11:00 |
|
hiker
|
785b9a9130
|
Don't try to hide address in LAN networking, other minor fixes.
|
2015-11-16 18:43:46 +11:00 |
|
hiker
|
4a3c4c552e
|
LAN clients now start to connect to the server.
|
2015-11-13 08:50:03 +11:00 |
|
hiker
|
af9018ea64
|
Moved Server and ServersManager into network directory.
|
2015-11-12 17:52:04 +11:00 |
|
hiker
|
6716dfce97
|
Removed unnecesary #include.
|
2015-11-12 12:04:36 +11:00 |
|
hiker
|
2e65b23539
|
Don't poll stk server if this is a LAN server.
|
2015-11-12 09:58:21 +11:00 |
|
hiker
|
5fc830825f
|
Refactoring: Created a separate NetworkConfiguration class which stores
all information to create the STKHost.
|
2015-11-12 09:53:12 +11:00 |
|
hiker
|
51411a796a
|
Minor refactoring of lan handling, added client's ip address and port
to the answer from the client (which can later be used when the
client requests a connection from a server).
|
2015-11-10 17:00:47 +11:00 |
|
hiker
|
833c20ceff
|
Added comment.
|
2015-11-10 08:34:45 +11:00 |
|
hiker
|
8953547305
|
Store TransportAddress of server in servers data structure. Avoid
copying the currently connected server, instead avoid modifying the
server data structure while while a client is connected to a server.
|
2015-11-10 08:31:07 +11:00 |
|
hiker
|
3a9576f109
|
Removed unnecessary #include.
|
2015-11-10 08:11:03 +11:00 |
|
hiker
|
0074550f57
|
Fixed typo.
|
2015-11-10 08:09:05 +11:00 |
|
hiker
|
0a23198be1
|
Cosmetic changes only.
|
2015-11-10 08:08:41 +11:00 |
|
hiker
|
36ebe29649
|
Fixed typo.
|
2015-11-10 08:08:22 +11:00 |
|
hiker
|
cdbc5cf15d
|
One more linux compilation fix.
|
2015-11-09 21:51:05 +11:00 |
|
hiker
|
d4856f6d64
|
Added missing #include for memcpy.
|
2015-11-09 21:38:18 +11:00 |
|
hiker
|
453ce8cf60
|
Added LAN server discovery.
|
2015-11-09 20:51:00 +11:00 |
|
hiker
|
9d9b83059d
|
Fixed deadlock (when while handing a request another request was queued).
|
2015-11-07 00:19:16 +11:00 |
|
hiker
|
60f550e9d1
|
Fixed coding style, removed unnecessary #include in hpp file.
|
2015-11-06 16:50:58 +11:00 |
|
hiker
|
47a7bd1caf
|
Print correct protocol name in 'has been terminated" message.
|
2015-11-06 16:32:18 +11:00 |
|