Commit graph

6391 commits

Author SHA1 Message Date
heinrich5991 b29a733c4f Add DoS protection to server info requests
Only allow 10 requests per second before falling back to smaller server
info responses.
2016-01-22 16:42:46 +01:00
heinrich5991 957844e234 Add comment about when sv_join_vote_delay doesn't apply 2016-01-21 00:09:11 +01:00
def 8636e6004a Print client ID as decimal number, not hexadecimal 2016-01-20 16:33:02 +01:00
heinrich5991 384668928b Add sv_join_vote_delay
This is a new delay that specifies how many seconds you have to wait
before making your first vote. In case the server was only recently
filled (e.g. by a map change or if people start joining an empty
server), this delay is disabled (in the first case, because it's normal
to join after a map change, in the second case because you might have
joined the empty server to vote for a different map).
2016-01-19 23:52:28 +01:00
heinrich5991 bb35e57f6c Clarify that the unit for ban time is seconds 2016-01-19 22:26:20 +01:00
H-M-H 4f1d38a769 Merge pull request #409 from heinrich5991/pr_ddnet_limit_vote_reason
Fix length of vote reason display in chat
2016-01-19 18:35:12 +01:00
heinrich5991 c0a90f98b8 Fix length of vote reason display in chat
Fixes #407.
2016-01-19 15:00:41 +01:00
heinrich5991 294a962141 Fix a few style issues in voting code 2016-01-19 14:58:52 +01:00
heinrich5991 0dc7cca136 Merge pull request #405 from vainiovano/master
Improve the handling of invalid skins.
2016-01-19 12:12:54 +01:00
Väinö Mäkelä f1038b0092 Obey the Teeworlds code formatting rules. 2016-01-18 18:20:47 +02:00
Väinö Mäkelä cb84cf2216 Improve the handling of invalid skins.
CDataFileReader::Open(): Check the return status of io_read()
before reading the buffer, to avoid reading uninitialized data
in case the file was shorter than a full header.

CSkins::SkinScan(): Check that the image is high enough.
2016-01-17 10:48:21 +02:00
def ac61c8fed5 Format cl_showid a bit nicer 2016-01-10 22:35:14 +01:00
H-M-H db857e7130 Merge pull request #398 from H-M-H/new_version
Version 9.1
2016-01-04 18:52:08 +01:00
H-M-H 2b99131907 Version 9.1 2016-01-04 15:21:59 +01:00
H-M-H e41b4f463d Merge pull request #389 from H-M-H/command_usage
added (console-)command usage fixes #387
2016-01-03 20:59:32 +01:00
def c78ade00c1 Fix bug where timed out people can connect more than sv_max_clients_per_ip times 2016-01-03 01:42:28 +01:00
def 7223d0ecc1 Use a do-while loop instead 2016-01-02 19:51:22 +01:00
H-M-H eaafe4ca05 Merge pull request #396 from east/securerand
secure_rand() as replacement for client source port generation
2016-01-02 17:43:23 +01:00
east 5267dfa9ac secure_rand: range [0, RAND_MAX] 2016-01-02 15:51:21 +01:00
east f3f33904f7 secure_rand() as replacement for client source port generation 2016-01-02 15:37:44 +01:00
H-M-H cc2bbd62ca if there is no matching ']' do not attempt to read
beyond the given string
2015-12-29 00:45:51 +01:00
H-M-H 8e24ef8020 commanddescription can now be placed directly in
the commandparamsstring: "s[file]"
2015-12-28 16:19:52 +01:00
H-M-H 927c9d1999 forgot to adjust one usage 2015-12-23 14:51:55 +01:00
H-M-H 11a426c18b added (console-)command usage 2015-12-23 14:29:31 +01:00
def 5a2ee37891 Add clang compiler detection 2015-12-23 04:20:56 +01:00
def ad509beab7 Remove -lrt as it doesn't work on OpenBSD and is not required on Linux 2015-12-23 03:50:51 +01:00
H-M-H cf482c5e1e Merge pull request #386 from H-M-H/faking_bugfix
prevent serverlogspam
2015-12-18 13:20:57 +01:00
H-M-H 80531130e5 made it beautiful ^^ 2015-12-18 13:17:45 +01:00
H-M-H 830726f392 prevent serverlogspam 2015-12-17 16:27:35 +01:00
Dennis Felsing 8d63d0d536 Merge pull request #385 from H-M-H/faking_bugfix
FIRST trim the name and THEN compare it to others !
2015-12-16 20:20:29 +01:00
H-M-H bd0c496837 FIRST trim the name and THEN compare it to others ! 2015-12-16 20:15:43 +01:00
heinrich5991 af91bbcbfb Merge pull request #383 from Laxa/vs2015-warning
Fix some VS2015 compiler warnings
2015-12-09 20:37:22 +00:00
laxa c9244d6386 Better and cleaner fix thanks to @heinrich5991 2015-12-09 21:33:06 +01:00
laxa c177a90f35 Fix some VS2015 compiler warnings 2015-12-05 16:52:12 +01:00
H-M-H c38cba9bd0 Merge pull request #373 from H-M-H/eyewheel
Eyewheel (by Chairn and CytraL)
2015-12-01 14:02:22 +01:00
H-M-H bdd23aa8e1 Merge pull request #379 from H-M-H/fixmacsql
fixed mysql compiling on mac
2015-11-22 15:34:57 +01:00
H-M-H 8f8053de3d fixed mysql compiling on mac 2015-11-22 15:23:10 +01:00
H-M-H 019fb0ea07 Merge pull request #359 from Schwertspize/patch-1
Fix vulnerability, see official teeworlds news
2015-11-21 15:40:28 +01:00
H-M-H b3b38dd0d3 minior cleanup of eyewheel 2015-11-16 21:15:37 +01:00
timgame 2874e18ce0 dont restore empty config values at start 2015-11-16 20:31:56 +01:00
H-M-H 2fbccb8133 Merge pull request #366 from nzyuzin/master
Reset statboard after a game restart
2015-11-15 19:09:43 +01:00
H-M-H df5af50168 Merge pull request #374 from heinrich5991/pr_ddnet_minor
Cleanup of #369
2015-11-15 15:47:00 +01:00
heinrich5991 d9e606193b Fix typo in autoexec_server.cfg 2015-11-15 14:40:12 +00:00
heinrich5991 31d9b8d001 Cleanup of #369 2015-11-15 14:40:07 +00:00
H-M-H 940e46ad88 Merge pull request #369 from user578/master
Fix wrong calculation of weapon Angle in demo player
2015-11-15 14:28:16 +01:00
user578 403114906a Changed comment. 2015-11-15 02:44:40 +03:00
H-M-H 0af5af2f0f fixed eyewheel (originally from Chairn) 2015-11-15 00:31:24 +01:00
H-M-H 8d9dd65f0b Merge branch 'master' into pr/317 2015-11-15 00:05:04 +01:00
user578 2c48229370 Fix wrong calculation of weapon Angle in demo player. Changed constants to pi. 2015-11-14 19:34:48 +03:00
user578 af7ea2b92a Add *.dll to .gitignore (for Windows) 2015-11-13 23:40:12 +03:00