Commit graph

14146 commits

Author SHA1 Message Date
Learath 9d2fb7dfda Missed one check 2017-04-12 11:13:54 +02:00
Learath ec1581f13a Strict checking for friends. Fixes #539 2017-04-12 11:04:20 +02:00
Learath 47f405e160 Remove tees that don't belong 2017-04-12 10:33:02 +02:00
Dennis Felsing d146b51189 Merge pull request #728 from Learath2/dd_pr_bindlen
Allow arbitrary length binds
2017-04-12 10:12:05 +02:00
Learath 6895b5a180 Check if the allocation succeeded. 2017-04-12 10:05:22 +02:00
Learath ae23924e81 Add arbitrary length binds. Fixes #642 2017-04-12 10:05:22 +02:00
Dennis Felsing 0ec19e6004 Merge pull request #727 from Learath2/dd_pr_mapdownload
Take a blind stab at #718
2017-04-12 07:59:33 +02:00
Learath2 568b5e5603 Pointers should be set to NULL 2017-04-12 01:20:39 +02:00
Learath 389b432758 Take a blind stab at #718 2017-04-11 21:47:27 +02:00
Learath d29f2306ef Tees must be teamed up before loading 2017-04-11 21:18:26 +02:00
Dennis Felsing 348687f629 Merge pull request #725 from Learath2/dd_pr_chatrender
Fix a case reported in #723
2017-04-10 08:11:27 +02:00
Learath 611b66e503 Fix a case reported in #723 2017-04-10 03:06:16 +02:00
Dennis Felsing 1641be5025 Merge pull request #722 from Learath2/dd_pr_chatalign
Fix alignment for chat....
2017-04-09 08:05:15 +02:00
Learath 45bc79b94b Fix alignmend... Fixes #687 2017-04-09 03:46:02 +02:00
Learath 95690a1cf7 Reimplement sv_pause_frequency 2017-04-09 01:16:48 +02:00
Learath 5626259b27 Rework pause. Fixes force_pause 2017-04-09 00:20:41 +02:00
Henritees 33cdfee821 Handle multi-line motd correctly in the console
Rewrote MOTD processing to handle both kinds of newlines correctly
and added an option to disable printing it to the console.

Closes #711.
2017-04-03 12:29:31 +02:00
Learath2 079c53471c Remove unnecessary check. Fixes #714 2017-04-02 19:39:22 +02:00
trml 1211746491 Don't use predicted position for the hook when spectating 2017-04-02 18:41:55 +02:00
HMH 4a0abf6747 Access the correct Flags variable for saving maplayers 2017-04-01 18:16:02 +02:00
Learath2 9d0e054a06 Remove heart from on reset messages. Fixes #710 2017-04-01 15:19:20 +02:00
east bffb989a11 add generated rcon password as default auth key 2017-03-29 14:56:44 +02:00
east 0377c020f2 Merge pull request #322 from heinrich5991/pr_ddnet_extended_info
Introduce new, vanilla-compatible server info protocol (also known as: the solution to all problems)
2017-03-29 14:00:34 +02:00
heinrich5991 1d81d56850 Introduce new, vanilla-compatible server info protocol
This means that we have a reliable and fast way to query for extended info,
while also not wasting network bandwidth.

The protocol is designed to be extensible, there's four bytes space for
encoding more request types (currently zeroed), and there's one string in each
response packet and one string for each player available (currently the empty
string).

The protocol itself has no problems with more than 64 players, although the
current client implementation will drop the player info after the 64th player,
because it uses a static array for storage.

Also fixes #130, the player list is just sorted each time new player info
arrives.
2017-03-29 12:56:13 +02:00
Learath2 ed30c0b636 Clear only on a dc. Let rcon work during map change 2017-03-28 14:24:53 +02:00
Learath2 b52ed30618 Reset input when server/map changes. Fixes #633 2017-03-28 14:24:53 +02:00
Dennis Felsing a4d2ba8f2e Merge pull request #707 from heinrich5991/pr_ddnet_cmakelists_fix_versionsrv
CMakeLists.txt: Make the versionsrv's dependency on nethash.cpp explicit
2017-03-28 14:13:01 +02:00
heinrich5991 713b3db4a2 CMakeLists.txt: Make the versionsrv's dependency on nethash.cpp explicit 2017-03-28 12:50:19 +02:00
heinrich5991 e7d8c44bcc Test on Travis CI
This will allow us to test on macOS in the future.
2017-03-28 02:00:21 +02:00
Learath2 93ac8a97b1 Only reset auth on server change 2017-03-28 01:47:24 +02:00
Learath2 80f9d7a2ca Reset the username input on server/map change. 2017-03-28 01:47:24 +02:00
HMH 7ef108c818 Fix style in some places which the previous fix missed 2017-03-23 22:28:06 +01:00
Learath2 d3bf89d7d3 Handle double click on server browser correctly. Fixes #597 2017-03-22 23:14:09 +01:00
Learath2 6377355d4a Use %g. Get rid of comparison 2017-03-22 23:11:03 +01:00
Learath2 625433ed42 Fix double slowdown. Display the correct speed. Fixes #607 2017-03-22 23:11:03 +01:00
necropotame b8e4e5beea Fix style in several places 2017-03-22 19:45:14 +01:00
Dennis Felsing b42ae74d29 Merge pull request #701 from Learath2/dd_pr_hudsettings
Properly calculate the width. Fixes #699
2017-03-22 12:47:14 +01:00
Learath2 55c5c3eac6 Properly calculate the width. Fixes #699 2017-03-22 12:10:22 +01:00
Dennis Felsing 70fec01fda Merge pull request #700 from Learath2/dd_pr_multiline
Fix line width. Closes #687
2017-03-22 09:57:31 +01:00
Learath2 2849e23003 Fix line width. Closes #687 2017-03-22 09:56:28 +01:00
heinrich5991 c5269fc764 Deny warnings on CI 2017-03-21 09:19:02 +01:00
Dennis Felsing 90b51d140a Merge pull request #688 from heinrich5991/pr_ddnet_cmake_client_link_order
Fix link order for the client libraries
2017-03-20 08:29:30 +01:00
heinrich5991 f5446ca3b0 Fix unsigned/signed comparison warning when interacting with freetype 2017-03-19 17:19:59 +01:00
heinrich5991 1be6a5d397 CMake every target 2017-03-19 17:18:17 +01:00
heinrich5991 d52870cb35 Remove GREATER_EQUAL (introduced in CMake 3.7) 2017-03-19 17:18:17 +01:00
heinrich5991 57009f6467 Generator expressions using COMPILE_LANGUAGE are only available from 3.3 2017-03-19 17:18:17 +01:00
heinrich5991 ec0f0b28d7 Fix cmake/FindFreetype.cmake a bit 2017-03-19 17:18:17 +01:00
heinrich5991 efb43ddff8 Remove usages of target_sources
This command would require CMake 3.1.
2017-03-19 17:18:17 +01:00
heinrich5991 fb84568cd5 Also test CMake on CircleCI 2017-03-19 17:18:17 +01:00
heinrich5991 e1728eced4 Add appveyor.yml 2017-03-18 17:09:04 +01:00