def
7a9f316dd1
cl_cpu_throttle_inactive can be set higher than 1
2017-05-14 10:58:01 +02:00
SheikhZayx
ea0e4948b4
CSV file instead of statboard screenshot
...
En-/Disable statboard being saved as csv
2017-04-26 05:10:31 +02:00
def
4b376d239c
rename
2017-04-24 17:36:13 +02:00
Learath2
c1a4a95d61
Add ratelimiting and config options for invite
2017-04-24 14:04:50 +02:00
def
d4ed1310d2
Configurable rate limit for SQL queries
2017-04-13 09:33:26 +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
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
necropotame
b8e4e5beea
Fix style in several places
2017-03-22 19:45:14 +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
d98abf35db
Rename WEBSOCKETS
to CONF_WEBSOCKETS
2017-03-07 13:03:37 +01:00
heinrich5991
ba5af42b1f
Fix the brace style in some places
2017-03-04 15:43:49 +01:00
heinrich5991
a13cdc25b2
Merge pull request #632 from Learath2/dd_pr_friend
...
Put hearts before friends names. Closes #606
2017-03-04 15:37:24 +01:00
Dennis Felsing
4c1053c6c4
Merge pull request #635 from heinrich5991/pr_dummy_input_demo_filter
...
Refactor dummy input and demo filtering
2017-03-01 07:59:24 +01:00
heinrich5991
b841fdc203
Bump version requirement for warmup race timer
2017-03-01 00:08:56 +01:00
heinrich5991
6517567e7e
Merge pull request #602 from necropotame/gametick
...
Send the race time using warmup timer
2017-03-01 00:05:22 +01:00
heinrich5991
305a67d492
Initialize variable in the demo recorder
2017-02-28 17:16:22 +01:00
heinrich5991
e3f2316106
Revert "Revert "Refactor dummy input and demo filtering""
...
This reverts commit 187560c8c0
.
2017-02-28 10:08:14 +01:00
Dennis Felsing
187560c8c0
Revert "Refactor dummy input and demo filtering"
...
This reverts commit 8375f4888e
.
2017-02-28 08:15:35 +01:00
necropotame
6a9406dc81
Fixed merge conflict
2017-02-28 07:31:39 +01:00
necropotame
4cfe96801b
Send the race time using warmup timer
2017-02-28 07:31:24 +01:00
Learath2
fa22425f26
Add a checkbox to disable friend heart
2017-02-27 23:56:22 +03:00
Learath2
c76849c51a
Add sliders for friend chat color
2017-02-27 23:39:06 +03:00
heinrich5991
8375f4888e
Refactor dummy input and demo filtering
...
Remove references to src/game/ from src/engine/
2017-02-23 14:13:14 +01:00
Learath2
9cd5fa53e5
Fix horrible indent.
2017-02-09 13:01:19 +01:00
def
224b9d5443
echo command for clients prints to chat instead of mostly useless console
2017-01-06 00:17:53 +01:00
heinrich5991
80ea4c8590
Disallow usage of semicolons in chat commands
...
This prevents player name exploits due to tab completion of nicknames
that could result in unwanted commands being executed.
Print a deprecation message that is supposed to be removed in the
future.
2017-01-03 14:01:51 +01:00
Dennis Felsing
c92e10914a
Refactor demo speed setting, add 1.5x speed ( fixes #568 )
2016-10-28 09:31:22 +02:00
east
823e330a76
Merge pull request #554 from heinrich5991/pr_ddnet_random_timeouttoken
...
Generate server-specific timeout codes
2016-10-05 12:21:51 +02:00
ChillerDragon
944752b78a
Fixed typo.
2016-10-04 20:08:39 +02:00
heinrich5991
7ca2697135
Generate server-specific timeout codes
...
This way, servers can no longer hijack the timeout codes of clients.
Timeout codes are generated from md5(seed + dummy + server address).
If `cl_timeout_seed` is set to the empty string, the old config options
are used instead.
2016-10-02 11:36:42 +02:00
east
c9a50916b3
sv_dnsbl_vote option added
2016-09-05 11:53:26 +02:00
east
678a69bf5b
basic DNSBL implementation
2016-09-05 11:38:11 +02:00
Dennis Felsing
1990707d68
Merge pull request #527 from heinrich5991/pr_no_compressed_control
...
Disallow compressed control messages
2016-08-13 00:39:42 +02:00
heinrich5991
884ad25204
Disallow compressed control messages
2016-08-12 18:41:03 +02:00
def
28f50e4440
Revert "Implement comma in search and exclude queries to separate search terms"
...
This reverts commit 3341e18d13
.
2016-08-07 00:52:00 +02:00
def
3341e18d13
Implement comma in search and exclude queries to separate search terms
2016-08-02 22:16:02 +02:00
Dennis Felsing
8b10d15845
Merge pull request #509 from timakro/pr_no_disconnect_timeout
...
Don't send disconnect on timeout
2016-07-08 17:25:43 +02:00
Tim Schumacher
46b75886c9
Don't send disconnect on timeout
2016-07-08 17:00:47 +02:00
Dennis Felsing
45bf601570
Merge pull request #495 from heinrich5991/pr_ddnet_smaller_dummy_map
...
Reduce dummy map size from 549 bytes to 191 bytes
2016-07-03 23:26:42 +02:00
heinrich5991
0244640aca
Also don't send the token magic to unsupported clients
...
Since only the client can initiate the secure session, there's basically
no reason to send this magic to clients which didn't advertise the
feature.
2016-06-08 09:57:17 +02:00
Dennis Felsing
3dd2f23d45
Merge pull request #499 from heinrich5991/pr_ddnet_no_tokens_for_vanilla
...
Don't send token to harmless vanilla clients
2016-06-07 16:22:29 +02:00
heinrich5991
a2e64f0a16
Don't send token to harmless vanilla clients
2016-06-07 15:52:57 +02:00
H-M-H
ada3b9a5db
Merge pull request #378 from H-M-H/sqlmasters
...
separate sqlwrite and sqlread server
2016-05-28 23:00:16 +02:00
heinrich5991
4d6657e3f1
Fix CRC of dummy map
2016-05-26 11:06:56 +02:00
heinrich5991
b075f1ff1b
Use a dummy map with background
2016-05-25 23:47:34 +02:00
heinrich5991
702ed7e023
Reduce dummy map size from 549 bytes to 191 bytes
...
Also include a tool to generate said map; the map is generated without
any hacks. It could likely be made smaller using a few tricks.
2016-05-24 01:47:04 +02:00
heinrich5991
e353aa80b2
Don't send uninitialized memory over the network
2016-05-23 11:48:23 +02:00
H-M-H
b648b530d5
Merge branch 'master' into sqlmasters
2016-05-20 23:40:29 +02:00
def
1645310750
Keep reading packets after invalid control packet
2016-05-17 23:44:57 +02:00
def
695bf346ac
Make gfx_refresh_rate functional ( fixes #255 )
2016-05-10 17:43:27 +02:00
def
f3a4069867
Set gfx_highdpi to 0 as default (needs someone to fix it on Win >= 8.1 and Mac)
2016-05-08 19:40:53 +02:00
Dennis Felsing
6c771f6bff
Merge pull request #475 from east/timeoutprotfix
...
Copy resendbuffer on timeout protection
2016-05-07 23:41:54 +02:00
east
1cbaa0c4ef
copy resendbuffer on timeout protection
2016-05-07 19:28:16 +02:00
def
9bd30ce447
Make high-dpi screen support optional
2016-05-07 17:47:05 +02:00
def
c325b08087
Add inp_mouseold for warped mouse input
2016-05-07 15:59:13 +02:00
def
939f2136c0
Nicer way of handling Mac fifo rewinding (just don't use high level file streams)
2016-05-05 23:32:55 +02:00
H-M-H
319729e207
ifdef for rewind as it is only required of OS X
2016-05-05 21:15:15 +02:00
H-M-H
491d878a64
always read fifo from start
2016-05-05 20:29:31 +02:00
def
14f1670fda
Fix fifo console to remove newline character at end
2016-05-05 18:48:15 +02:00
H-M-H
e351080dd3
removed double semicolons
2016-05-04 00:24:54 +02:00
H-M-H
c9e65c7931
Merge branch 'master' into sqlmasters
2016-05-03 23:07:24 +02:00
Henningstone
be010ff370
Fixed crashbug in fifo.cpp
2016-05-03 19:17:44 +02:00
def
a954241169
style
2016-05-02 23:37:40 +02:00
def
21ac41bfae
Clean up fifo console
2016-05-02 23:36:21 +02:00
def
61e47422f6
Clean up debug messages a bit (lower case, no useless errors)
2016-05-02 21:35:32 +02:00
def
a9ed7035ee
Add inp_ignored_modifiers to ignore set of keyboard modifiers
2016-05-01 23:07:19 +02:00
def
644a23ba57
Fix folder creation
2016-05-01 14:45:47 +02:00
def
13143eac23
Reconnect for timeout instead of bans, some simplification
2016-05-01 11:12:07 +02:00
def
cc002d244d
Fix gfx_resizable to be on by default with X11
2016-05-01 03:28:41 +02:00
Dennis Felsing
f016a0eb1f
Merge pull request #436 from timakro/pr_other_gametype_entities_clear
...
added entities clear for other gametypes
2016-04-30 20:28:27 +02:00
def
1446adee2c
Window resizing only with X11 (not on Windows and Mac OS X)
2016-04-30 19:19:19 +02:00
def
644fec7e55
Resize window without restarting client
2016-04-30 17:59:58 +02:00
def
db8a126315
Merge swick's SDL2 branch
2016-04-29 21:55:48 +02:00
Tim Schumacher
4a22e762ff
added entities clear for other gametypes
2016-04-29 19:29:19 +02:00
def
86a0f46937
Add a connection limit ( fixes #408 )
2016-04-27 22:09:18 +02:00
def
0f5611c2f0
Add function to filter chat out of demo when slicing ( fixes #382 )
2016-04-27 17:05:30 +02:00
east
a5de7596fa
comments added
2016-04-23 17:44:42 +02:00
east
32ba1c9239
Antispoof dm1 fallback on flood added
2016-04-23 17:23:01 +02:00
H-M-H
e35de5a371
whether to setup a db can be configured for each server now
2016-02-20 15:33:35 +01:00
H-M-H
88ed7391da
handle exceptions from sql properly
...
- write failed sqlinserts to a file
- improved structure
2016-02-20 15:33:35 +01:00
H-M-H
1314085928
restructured sqlconnection
...
reading from and writing to several different servers is now possible
TODO:
-handle Exceptions properly (try another sqlserver)
-if everything fails while writing write the insert to a file
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
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
9e6e062793
added cl_skin_filter_string for skin quick search
2016-02-14 19:51:49 +01:00
def
0a49428e21
Veto considers time on server not in current race
2016-01-27 02:14:46 +01:00
def
56ca49f1de
More conservative default for sv_server_info_per_second
2016-01-23 15:14:22 +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
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
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
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
11a426c18b
added (console-)command usage
2015-12-23 14:29:31 +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
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
8d9dd65f0b
Merge branch 'master' into pr/317
2015-11-15 00:05:04 +01:00
Tim Schumacher
d99660f20e
Merge pull request #356 from H-M-H/helper_pw
...
Implemented Helper accesslevel
2015-10-27 02:18:00 +01:00