Commit graph

3183 commits

Author SHA1 Message Date
heinrich5991 16f2899e3f Finished CNetTokenCache
Added basic support for mastersrv

Conflicts:
	bam.lua
	src/engine/shared/network_client.cpp
2015-09-03 18:41:32 +02:00
heinrich5991 9222e37aae added CNetTokenCache 2015-09-03 18:37:15 +02:00
heinrich5991 ea27d546ac fixed some things about connless packets
Conflicts:
	src/engine/client/client.cpp
	src/engine/server/server.cpp
2015-09-03 18:36:52 +02:00
heinrich5991 24d299ea34 Finalized server-client communication over the new protocol
Still missing:
	- Master server
	- Version server

Conflicts:

	src/engine/client/serverbrowser.cpp
	src/engine/shared/network.cpp

Conflicts:
	src/engine/client/client.cpp
	src/engine/client/serverbrowser.cpp
2015-09-03 18:33:57 +02:00
heinrich5991 3df02af240 fixed Hash function in src/engine/shared/network_token.cpp 2015-09-03 18:31:01 +02:00
heinrich5991 a92a2f5bdd added support for receiving connless packets over a connection
Conflicts:
	src/engine/shared/network_client.cpp
2015-09-03 18:30:38 +02:00
heinrich5991 1c15f404b2 added functionality to send connless packets to the connection peer
also reworked server info sending
FUNCTIONALITY TO RECEIVE CONNLESS PACKETS FROM THE CONNECTION
PEER IS STILL MISSING

Conflicts:
	src/engine/server/server.cpp
2015-09-03 18:27:14 +02:00
heinrich5991 bbf261891c Added typedef for the tokens 2015-09-03 18:22:09 +02:00
heinrich5991 66fcf9308c Changed CNetClient and CNetServer to work with CNetTokenManager
Conflicts:
	src/engine/shared/network_client.cpp
2015-09-03 18:21:52 +02:00
heinrich5991 2ba3cf859f Added response token and CNetTokenManager
Conflicts:

	src/engine/shared/network_client.cpp
2015-09-03 18:14:14 +02:00
heinrich5991 eaa036ed0f added support for tokens to connless packets
Conflicts:

	src/engine/shared/network.cpp
	src/engine/shared/network.h
2015-09-03 18:14:04 +02:00
heinrich5991 40978b87e9 added support for tokens in netbase and netconnnection (NOT TESTED)
preserves backward compatiblity for connless packets

Conflicts:

	src/engine/shared/network.cpp
	src/engine/shared/network.h
	src/engine/shared/network_conn.cpp
2015-09-03 18:13:51 +02:00
heinrich5991 058dc8d1ba added md5 library to teeworlds
Conflicts:
	bam.lua
2015-09-03 18:12:59 +02:00
oy f6862947d0 added reverse chat name completion by zwelf 2015-08-31 20:09:51 +02:00
oy a7a1aaff1d added game layer tile set picker + brush manipulation fix by Speedy-Consoles. #1159 2015-08-31 19:36:46 +02:00
oy 1a9e7a1ed0 cleaned up map handling. #1227 2015-08-31 19:35:10 +02:00
oy 43e38941dd Added fix for intersectline by Speedy-Consoles. #1205 2015-08-31 19:08:48 +02:00
Choupom c63551b450 fixed some memory leaks 2015-08-30 19:03:33 +02:00
Choupom b18d218c98 refactored CFlag 2015-08-30 18:48:55 +02:00
Choupom e86a486688 refactored CEntity 2015-08-30 18:46:46 +02:00
oy 453f720212 disabled the map checker 2015-08-30 18:12:15 +02:00
oy e401679055 fixed last commit 2015-08-30 18:10:31 +02:00
KillaBilla 008c50d429 fixed behaviour for standard maps, added a nullptr check 2015-08-30 17:22:28 +02:00
KillaBilla 52da970427 fixed code style and whitespaces 2015-08-30 17:22:28 +02:00
KillaBilla 1ea6100a3b removed debug messages 2015-08-30 17:22:27 +02:00
KillaBilla e96f1995b2 fixed mapchecker, made it check subdirs too before giving up 2015-08-30 17:22:26 +02:00
oy 16d201517e fixed warnings with mingw 2015-08-30 16:57:13 +02:00
oy 0c2b1d4ab4 removed some unused stuff 2015-08-30 16:45:59 +02:00
oy 6e8cbf072d increased range of the serverlist request token. #1366 2015-08-30 11:21:31 +02:00
oy 246bebb773 show notification about disabled remote console only once 2015-08-30 10:47:35 +02:00
oy 66d9c5f790 reset tab completion just in case of manipulation. #1340 2015-08-30 10:00:13 +02:00
oy c92c633b95 fixed last commit 2015-08-30 09:58:00 +02:00
Zwelf b65b02c345 Fixes issues pointed out by heinrich5991
Byte lenghts of 128 Bytes is enouth and DDNet is using this lenghts too.
2015-08-30 08:54:42 +02:00
Zwelf 1df383ad90 Added initialisation of the variable aBuf
Sorry, didn't find this in the history of ddnet.
2015-08-30 08:54:42 +02:00
def f8278ec032 Display map name while downloading
Conflicts:
	src/engine/client.h
	src/engine/client/client.h
2015-08-30 08:54:41 +02:00
msiglreith 26ab35dab1 Change libpath of freetype on windows
* Make libpath of freetype libraries consistent with sdl2 libpath (/lib/arch)
* Remove trailing whitespaces in freetype.lua
2015-08-30 08:51:07 +02:00
Henningstone afb0a69264 Update year in licence.txt
year in datasrc/languages and datasrc/maps does also need updating
2015-08-30 08:49:33 +02:00
oy 329e6261f3 removed the extra projectile. #1381
Conflicts:
	src/game/client/gameclient.cpp
	src/game/server/entities/character.cpp
2015-08-30 08:46:51 +02:00
oy 7f78915171 fixed mouse lock in the editor. Closes #1383 2015-08-30 08:42:28 +02:00
oy b5095427b2 fixed a possible crash within snapshot handling and some misspellings. Closes #1382 2015-08-30 08:42:04 +02:00
encypruon d41c4b4dbd Fixed econ clients don't get dropped when banned 2015-08-30 08:41:45 +02:00
oy f9f9249477 fixed frozen input when leaving a server with active chat 2015-08-30 08:41:26 +02:00
oy 5b5a5875b8 made utf8 decoding check for valid continuation bytes. Closes #1373 2015-08-30 08:38:25 +02:00
oy 51c44953ca check for valid codevalue range on utf8 decoding 2015-08-30 08:37:58 +02:00
oy 014f77eefc skip duplicate error string. Closes #1339 2015-08-30 08:37:39 +02:00
oy 6722e8e3b1 fixed wrong types within vector constructors. Closes #1371 2015-08-30 08:37:10 +02:00
oy cbe133dce0 let the client check if a connection is still established and for the correct peer address before processing data. Closes #1356 2015-08-30 08:36:34 +02:00
oy cc2dcd865a force vital check on essential cl/srv messages and added additional sequence checking
Conflicts:
	src/engine/client/client.cpp
	src/engine/server/server.cpp
2015-08-30 08:31:29 +02:00
oy d4c00097a5 separated connless packet handling and use random port for client's server connection 2015-08-30 08:22:04 +02:00
oy b9e4c7e979 made server info requests more strict
Conflicts:
	src/engine/client/serverbrowser.cpp
2015-08-30 08:20:24 +02:00