H-M-H
c4ab59e4c3
fixed use of locks for threading:
...
each sqlserver has its own lock now
-> it is required that every connect call is followed by a disconnect call
2016-02-20 15:33:35 +01:00
H-M-H
15f2e07c48
moved sqlserver stuff into CServer-class
...
as sqlconnections should not last only
until next mapreload
2016-02-20 15:33:35 +01:00
H-M-H
6ba10d2719
mastersqlservers are working now
...
TODO: move the sqlserver objects somewhere else
so they wont be destroyed on every reload
2016-02-20 15:33:35 +01:00
H-M-H
5e4456584f
started with sqlmasters
...
+ added #ifdef for sql_server.cpp
(fixes compilation for release mode)
2016-02-20 15:33:35 +01:00
H-M-H
9ed66f7adc
Cleanup of Sqlconnection
...
-moved all connectionstuff to a new class
-moved sqlstring functions to an own file
-do not give threads access to CSqlScore
2016-02-20 15:33:35 +01:00
Tim Schumacher
e183a17117
removed other gametypes files and gametype setting
2016-02-16 14:29:11 +01:00
Tim Schumacher
9e6e062793
added cl_skin_filter_string for skin quick search
2016-02-14 19:51:49 +01:00
Tim Schumacher
94f3da4a47
removed localize for search symbol
2016-02-12 21:31:58 +01:00
Tim Schumacher
438720959b
added quick search for skin selection
2016-02-12 18:52:10 +01:00
Tim Schumacher
7276aeb15b
move kill messages down when fps is shown
2016-02-12 15:53:57 +01:00
H-M-H
42a68636b5
tweaked respawndelay a bit
2016-02-02 21:14:46 +01:00
H-M-H
cb1c63c652
Merge pull request #410 from heinrich5991/pr_ddnet_join_vote_delay
...
Add sv_join_vote_delay
2016-01-29 12:58:05 +01:00
def
aded433400
Fix client version number (a bit too late, oops)
2016-01-27 02:18:10 +01:00
Dennis Felsing
269bd3df4b
Merge pull request #412 from heinrich5991/pr_ddnet_overlong_utf8_server
...
Kick people using overlong UTF-8 sequences
2016-01-27 02:15:19 +01:00
def
0a49428e21
Veto considers time on server not in current race
2016-01-27 02:14:46 +01:00
heinrich5991
a1923b154b
Only ignore messages on invalid UTF-8, don't kick players
2016-01-27 01:48:19 +01:00
heinrich5991
d4eefefa26
Kick people using overlong UTF-8 sequences
...
This works around the bug in older clients (including vanilla) that
interpret those sequences incorrectly.
2016-01-27 01:24:02 +01:00
def
52224875b4
Style cleanup
2016-01-23 21:44:45 +01:00
def
51504d2bd2
Switch dummy snapshots as well to prevent snapshot accumulation ( fixes #400 )
2016-01-23 21:42:35 +01:00
def
56ca49f1de
More conservative default for sv_server_info_per_second
2016-01-23 15:14:22 +01:00
def
b77e95090e
Reset m_ServerInfoFirstRequest on map change
2016-01-22 17:53:46 +01:00
heinrich5991
90ba4c5986
Make join vote delay the default
2016-01-22 17:44:53 +01:00
heinrich5991
96f0eddbb8
Add sv_max_server_info_per_second
...
This controls how many complete server info responses are sent per
second.
2016-01-22 16:42:54 +01:00
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
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
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
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
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
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
H-M-H
bd0c496837
FIRST trim the name and THEN compare it to others !
2015-12-16 20:15:43 +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
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