Benau
e3cf054ea7
Fix #1835
2016-03-05 12:55:20 +08:00
Benau
6fd6dd8792
Remove hack
2016-03-05 10:04:05 +08:00
Benau
70d5114dd7
Display localized name instead of English translation
2016-03-05 09:49:03 +08:00
hiker
ab641b0dad
Replaced the filename for packet log file in the UserConfig with a
...
flag to enable/disable this debug output in the file STDOUT.packets
(where stdout is the final set at startup).
2016-03-03 17:10:18 +11:00
hiker
4947881d10
Removed unnecessary #include in hpp file.
2016-03-03 16:42:46 +11:00
hiker
43b3684e12
Fixed memory leak.
2016-03-03 09:39:14 +11:00
hiker
5ddd577080
Removed incorrect warning messages.
2016-03-03 09:38:53 +11:00
hiker
e1892bc4fd
Try to fix handling a kart finishing the race.
2016-03-02 16:58:41 +11:00
Marianne Gagnon
14c8ecddb5
Add waiting screen for networking
2016-03-01 18:58:51 -05:00
hiker
85f15d7221
Removed unnecessary broadcast functions.
2016-03-01 17:13:31 +11:00
hiker
b26c4fc372
Send the kart updates with proper token set.
2016-03-01 17:12:04 +11:00
hiker
c77522c07f
Removed ProtocolManager::sendMessageExcept() function.
2016-03-01 16:50:45 +11:00
hiker
052e369df2
Removed unnecessary setting of token, use ProtocolManager sendExcept
...
instead of loop.
2016-03-01 16:45:42 +11:00
hiker
d9f607fc24
Merge branch 'refactor-network-string' of github.com:supertuxkart/stk-code into refactor-network-string
2016-03-01 11:56:49 +11:00
hiker
d086501035
Merge branch 'refactor-network-string' of https://github.com/supertuxkart/stk-code into refactor-network-string
2016-03-01 11:55:57 +11:00
hiker
e3c7033aa1
Fixed incorrect level of info message.
2016-03-01 11:54:09 +11:00
hiker
753868361f
Removed many token settings and tests, which are now done in
...
Event and when sending the message.
2016-03-01 09:56:33 +11:00
hiker
1f53923c45
Fixed potentially incorrect code in getFloat; added memory leak check;
...
improved handling of m_current_offset; let the NetworkString autpmatically
add the size for the type and token, so the user code only needs to allocate
space for the real content.
2016-03-01 09:54:26 +11:00
Benau
96a10ce92c
Update strings
2016-02-29 10:59:42 +08:00
hiker
b18712f8c2
Added some output when running unit tests.
2016-02-29 13:53:15 +11:00
Benau
4438664907
Merge remote-tracking branch 'origin/master' into fix_replay
2016-02-29 10:25:19 +08:00
hiker
390fee96da
Try to fix linux release builds.
2016-02-29 11:40:02 +11:00
hiker
a6fbd019fb
Fixed linux compilation.
2016-02-29 11:09:40 +11:00
hiker
00347d2743
Removed explicitly setting token (which is now done when sending
...
a message to a client).
2016-02-28 16:42:32 +11:00
hiker
6c022cec6b
Use sendMessageToPeershangingToken instead of creating new messages
...
in a loop.
2016-02-28 16:41:54 +11:00
hiker
ceb831d852
Removed STKHost::sendMessage function.
2016-02-28 16:26:48 +11:00
hiker
4b9d9cfc92
Replaced Protocol::sendMessage (which was either a send or a broadcast
...
depending on if the caller is a client or server) with explicitly named
functions.
2016-02-28 16:18:08 +11:00
hiker
c9d3577a13
Removed unnecessary sendMessage function in ProtocolManager.
2016-02-28 15:57:41 +11:00
hiker
58505eeb88
Started to set token in the 'lower level' functions, removing the need
...
to set the token in each protocol. Started to remove some of the
unnecessary send* functions.
2016-02-28 15:54:43 +11:00
hiker
9a16595261
Renamed NewNetworkString to NetworkString.
2016-02-28 14:58:15 +11:00
hiker
1e49595c53
Further improved look of NetworkString log messages. Added unit testing.
2016-02-28 14:55:48 +11:00
hiker
be815e4234
Fixed various bugs caused by switching to new NetworkString class.
2016-02-26 16:38:59 +11:00
hiker
5c32cbe1be
Fixed crash (getUInt takes m_current_offset into account, which made
...
the indices partially invalid).
2016-02-26 09:20:13 +11:00
hiker
8621437e07
Use NetworkString's log function.
2016-02-25 17:02:51 +11:00
hiker
2357e965b4
Fixed crash, and started to improve log output.
2016-02-25 17:00:08 +11:00
hiker
6f55877e94
Fixec various crashes.
2016-02-25 16:54:31 +11:00
Marianne Gagnon
ba4e9d1a79
Tweak default config as suggested in ticket #2438 , it's not perfect but seems much better that what we had previously in most cases
2016-02-24 19:20:14 -05:00
hiker
03f4339cee
Handle error in lan connection.
2016-02-25 09:49:45 +11:00
hiker
9d546d4980
Use BareNetworkString to correctly decode requests-for-servers.
2016-02-25 09:49:09 +11:00
hiker
1655a4889d
Use BareNetworkString.
2016-02-25 09:48:47 +11:00
hiker
28bb228914
Added missing initialisation.
2016-02-25 09:46:17 +11:00
hiker
2e8ddb1c50
Added a new base class 'BareNetworkString' for NetworkString,
...
used it for some of the messages exchanged before the ProtocolManager
is started (i.e. establishment of initia connection).
2016-02-24 20:32:11 +11:00
hiker
98ba11d9ba
Started to introduce new network string. It compiles, but certainly
...
does not work yet.
2016-02-23 16:29:57 +11:00
Benau
abdd32c070
Fix warning
2016-02-22 07:43:29 +08:00
Benau
8f1daabbe1
Merge remote-tracking branch 'origin/master' into fix_replay
2016-02-22 07:26:26 +08:00
auriamg
c0bfd46ee9
Merge pull request #2441 from tobbi/missing_override
...
Add forgotten override's where necessary
2016-02-21 18:18:25 -05:00
Benau
dafde30077
Fix crash when press save replay key when it's not initialized.
2016-02-21 15:13:32 +08:00
Tobias Markus
d8cce95b0e
Add forgotten override's where necessary
2016-02-21 01:36:15 +01:00
Benau
abd9ed189c
Merge remote-tracking branch 'origin/master' into fix_replay
2016-02-19 08:43:11 +08:00
auriamg
91bd844dca
Merge pull request #2439 from Odd0002/master
...
Update AngelScript to version 2.30.2
2016-02-18 18:37:03 -05:00