Commit graph

4366 commits

Author SHA1 Message Date
heinrich5991 921cfb29f8 Fix use-after-free on unbind 2017-04-13 02:09:42 +02:00
heinrich5991 1b88017fc5 Fix crashbug in bind system
Restore old behavior around the bind's Get() function, return "" if
there is no bind. Fixes #730.
2017-04-13 02:09:42 +02:00
Learath2 38cd5e89a5 Revert "Missed a case. Fixes #730" 2017-04-13 01:51:00 +02:00
Dennis Felsing 6f93be03cc Merge pull request #733 from Learath2/dd_pr_chatoverlap
Fix chat overlapping
2017-04-13 01:30:54 +02:00
Learath 0b6c6f353d Fix chat overlapping. One to go #723 2017-04-13 01:14:53 +02:00
Dennis Felsing 72e9571d57 Merge pull request #732 from Learath2/dd_pr_bindfix
Missed a case. Fixes #730
2017-04-13 01:13:24 +02:00
Learath2 30a9469df2 Missed a case. Fixes #730 2017-04-13 01:06:40 +02:00
Dennis Felsing 40d3b4071d Merge pull request #729 from Learath2/dd_pr_friendcoll
Strict checking for friends
2017-04-12 11:16:20 +02:00
Learath 9d2fb7dfda Missed one check 2017-04-12 11:13:54 +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
Learath 611b66e503 Fix a case reported in #723 2017-04-10 03:06:16 +02:00
Learath 45bc79b94b Fix alignmend... Fixes #687 2017-04-09 03:46:02 +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
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
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
Learath2 55c5c3eac6 Properly calculate the width. Fixes #699 2017-03-22 12:10:22 +01:00
Learath2 2849e23003 Fix line width. Closes #687 2017-03-22 09:56:28 +01:00
def 125764815b Update credits (I probably missed a few) 2017-03-16 19:17:24 +01:00
heinrich5991 b904822d57 Merge pull request #680 from necropotame/pr-i586-killborder
Fix #586 (display the killing clipping rectangle)
2017-03-16 17:00:57 +01:00
necropotame c63c54d68e Changes after heinrich5991's review of #586 - Fix code alignment 2017-03-16 16:51:52 +01:00
necropotame 5ddf0a5421 Changes after heinrich5991's review of #586 - Fix some more comments 2017-03-16 16:41:58 +01:00
necropotame 9bae313929 Changes after heinrich5991's review of #586 - Code cleanup, Fix typo, Fix bug with Y clipping 2017-03-16 16:39:29 +01:00
necropotame 4027b3dc01 Add error message in case of invalid argument for /timer 2017-03-15 12:22:13 +01:00
necropotame 6f58c49f7d Fix #586 (display the killing clipping rectangle) 2017-03-15 12:06:13 +01:00
necropotame e4345307c1 Fix #662 (timer command displays the wrong state) 2017-03-15 11:11:01 +01:00
Dennis Felsing 32a1fa0c07 Merge pull request #672 from Learath2/dd_pr_hearts
Forgot m_Friend isn't initialized, also align the messages
2017-03-13 12:04:47 +01:00
Learath2 3bd94b9ada Forgot m_Friend isn't initialized, also align the messages 2017-03-12 22:32:05 +01:00
heinrich5991 54c5faa64c Complete the refactor 2017-03-12 19:52:29 +01:00
Alexandre Díaz 3589ed0b0f Start refactor... 2017-03-12 19:30:55 +01:00
heinrich5991 ccb9db9899 Merge pull request #652 from Learath2/dd_pr_invite
Add /invite for locked teams. Fixes #647
2017-03-12 19:04:55 +01:00
Learath2 c81f53ab6b Forgot CID can be -1 2017-03-12 17:37:16 +01:00
Learath2 9919173ceb Just color the heart preserving team information. Fixes #606 2017-03-10 18:49:39 +01:00
Learath2 0b0783f13c Fix styling issues, use uint for bitmask 2017-03-10 14:52:49 +01:00
Dennis Felsing 4e39aea2f7 Version 10.4.3 2017-03-09 14:23:40 +01:00
Dennis Felsing 761c3c9be1 Merge pull request #646 from heinrich5991/pr_ddnet_brace_style
Fix the brace style in some places
2017-03-09 13:31:21 +01:00
heinrich5991 5b63a33095 Merge pull request #639 from Learath2/dd_pr_rconauth2
New auth system for rcon.
2017-03-06 20:57:42 +01:00
heinrich5991 6302e4d7e0 Fix some style issues and a > to >= 2017-03-06 20:11:23 +01:00