Commit graph

672 commits

Author SHA1 Message Date
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
heinrich5991 90ba4c5986 Make join vote delay the default 2016-01-22 17:44:53 +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 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
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 0e532adb67 Implemented Helper accesslevel
basically just copied everything from moderator-accesslevel implementation

note however that mod_command changed to access_level
2015-10-23 04:21:07 +02:00
heinrich5991 3a069093d7 Fix settings compare
It was just using a heuristic, comparing the first 24 bytes. Memory unsafety
for configs that were shorter than 24 bytes.
2015-08-27 16:20:56 +02:00
heinrich5991 cc0d0fa728 Fix config_store for old maps that don't contain MAPITEMTYPE_INFO
Just add one in this case.
2015-08-27 15:46:51 +02:00
heinrich5991 d56f80f0f5 Fix temp file creation in case no temp file is needed 2015-08-27 13:37:34 +02:00
heinrich5991 e954e55533 Removed *_dump and *_reset from the list of game commands 2015-08-27 13:00:43 +02:00
heinrich5991 d13ebf93a2 Add config_store and config_retrieve tool 2015-08-27 12:55:35 +02:00
heinrich5991 bf1f7d6ccd (Safely) execute settings embedded in maps 2015-08-27 12:55:34 +02:00
heinrich5991 6a17d2700d Fix saving the config into the map 2015-08-27 12:51:24 +02:00
SushiTee 7bd0f276d4 saving server settings within the map and loading them on init 2015-08-27 12:51:24 +02:00
heinrich5991 a3246ed099 Save the config into the map when the server loads the map 2015-08-27 12:51:24 +02:00
def 9d5459d731 Check IDs in a more reasonable order 2015-08-12 15:54:03 +02:00
def 8401c43edb Remove a message to prevent server log spamming 2015-08-05 22:43:57 +02:00
def a04578b3ba Add switch_open to set the initial state of a switch to open 2015-07-22 23:32:39 +02:00
def 0cd9b0006b Another known bot client 2015-07-13 00:18:59 +02:00
def 17b8a5219b Show a nice message to known bot clients 2015-07-13 00:02:57 +02:00
def 1ef03e7387 Only disallow team changing and killing when calling kick/spec votes 2015-07-09 19:07:33 +02:00
def 6e8ada1ac8 Fix whitespaces a bit 2015-07-09 02:12:35 +02:00
def acf18f98fc Clearer message on veto 2015-07-08 18:09:52 +02:00
def b6133e7ece Fix typo... 2015-07-08 17:05:49 +02:00
def c79b4d3112 Add veto right for players with high time to stop map change votes 2015-07-08 17:03:22 +02:00
def 1f2b09303f Vote caller never counts as afk 2015-07-08 16:04:54 +02:00
def b3592380d1 Re-enable broadcast for old DDNet client version 2015-07-04 14:12:49 +02:00
def 45b7706439 Don't ignore timeout codes because of spam protection (might fix issue with timeout code being ignored) 2015-06-26 03:59:38 +02:00
def 49c0bedb62 Go back to forbiding cl_startinfo 2015-06-18 17:47:07 +02:00
def 981b6d0013 Fix potential server crash 2015-06-02 11:55:16 +02:00
def 0f5a4f8428 Fix start info spam protection 2015-05-19 17:47:41 +02:00
def 14b5766b30 Disallow spectators to participate in kick votes
Fixes #186
2015-04-19 14:15:59 +02:00
def a77cd039a6 Get rid of all Clang warnings 2015-04-18 22:29:28 +02:00
def 2b32b4a18a Add fire delay tunings 2015-02-12 15:20:22 +01:00
def 79aeb5ea38 Add hook duration tune 2014-12-27 12:05:02 +01:00
def 023f926e89 Fix Compilation 2014-12-20 16:35:47 +01:00
def d3837038eb Fix stack underflow 2014-12-02 12:35:52 +01:00
def 21472046df Remove magic number: 256 -> NUM_TUNINGZONES 2014-11-25 22:47:25 +01:00
def bba82712e0 Add sv_solo_server for easier solo servers (also working for tunezones finally) 2014-11-25 22:42:05 +01:00
def bc9d632103 Clean up whitespace detection a bit and add BRAILLE PATTERN BLANK (U+2800) 2014-11-08 20:14:12 +01:00
def 929d59454c Text change 2014-10-28 21:37:46 +01:00
east 40e7de63e9 config var renamed 2014-10-27 13:39:33 +01:00
east a6d70e83f6 support for remove_vote added 2014-10-27 13:34:29 +01:00
east 630fd4fa07 sending vote options balanced 2014-10-26 19:39:42 +01:00
def f81d2af6d3 text messag 2014-10-11 22:47:30 +02:00
def 2fa361fe4d Fix previous commits 2014-10-11 01:10:53 +02:00
def 9c0bb7d02b Vote random map with defined nr of stars 2014-10-11 01:01:32 +02:00
def dcc64f1902 Vote random unfinished map with defined nr of stars 2014-10-11 00:41:56 +02:00
def 8c45d885d5 Allow 4 spectator mode changes per second 2014-10-03 21:41:18 +02:00
def 3804c16f02 Fix a bunch of crashes on server demo recording 2014-09-26 03:20:47 +02:00
def c78cea9046 Add sv_demo_chat (0 by default to disable recording chat) 2014-09-26 02:40:58 +02:00
def 2aedf8e64a Grammar 2014-09-22 18:57:56 +02:00
savander 1278538a84 Fix encoding 2014-09-22 16:16:47 +02:00
savander 0ecbf36de4 Kill Protection: prevent joining to spectators 2014-09-22 16:12:01 +02:00
def 741cf8f8c7 Cleanup & Halloween event 2014-09-18 12:14:00 +02:00
def ca99f3f518 Change 2 more messages 2014-09-12 20:29:02 +02:00
def ff4779e214 admin -> moderator in force-vote messages 2014-09-06 21:19:44 +02:00
def 05dd0b4af7 Fix crash in kill protection 2014-08-25 11:35:55 +02:00
def d51328f7d7 Kill protection cleanup 2014-08-25 00:18:51 +02:00
savander 1577201364 Kill protection 2014-08-24 23:24:33 +02:00
def 2cff296c25 Protect from IP spoofing of rcon commands 2014-08-22 13:54:13 +02:00
def c9d70ed81b Try to fix crash related to bad connection and reconnecting 2014-08-18 23:50:24 +02:00
def 07aa08703d Remove (probably buggy) implicit timeout protection 2014-08-16 14:43:22 +02:00
def 75538e32cc make sv_vote_max_total only work for kick and spec votes 2014-08-12 13:41:57 +02:00
def 1d08bffbbb Map configs don't have to be in data directory 2014-08-11 20:37:47 +02:00
def 85b7475ae4 remove debug output 2014-08-09 18:13:21 +02:00
def 4af575654b Kind of working 2014-08-09 14:50:51 +02:00
def 127dc1c196 Try timeout 2014-07-28 20:44:17 +02:00
def 145f0434f5 Add /save by the glorious HMH 2014-07-26 14:46:31 +02:00
def e08e00817c Fix that mod can call any vote 2014-07-19 19:06:25 +02:00
def 4245fae16f Small cleanup 2014-06-26 17:37:06 +02:00
def d03caaeeac Fix random unfinished map vote 2014-06-22 15:23:07 +02:00
def a7329d0a14 Add random_unfinished_map 2014-06-20 22:40:23 +02:00
def be2bed2fe2 Fix typo 2014-05-20 17:25:47 +02:00
def e8e6b71db4 Add variable sv_vote_time 2014-05-19 02:23:01 +02:00
def d5dd94d633 Allow players to change their vote (every 3 seconds) 2014-05-19 02:17:18 +02:00
def 4c87cedd4d Better make sure that something exists before using it 2014-05-19 01:57:52 +02:00
def 54609b3fab New feature: Players can choose spectator mode while playing 2014-05-17 16:40:02 +02:00
def 1129ea28f4 Make sv_vote_delay work 2014-05-04 11:10:42 +02:00
def 5eb7a74558 Fix: Tunings and Tunezones with dummies 2014-04-29 03:34:23 +02:00
def d2486ab84a Fix: Spam protection for converse 2014-04-24 00:43:49 +02:00
def 4b70e195c1 Multiline broadcasts 2014-04-19 00:40:21 +02:00
HMH 91547852dc correct tunings on client enter 2014-04-18 14:43:33 +02:00
def 9d123cb95f Fix: Work for pure vanilla servers 2014-04-15 21:22:12 +02:00
def 38b16ee5c0 Jetpack prediction (Thanks to v) 2014-04-14 01:34:50 +02:00
def 6e33858cab Code cleanup 2014-04-13 16:49:58 +02:00
def 83201c9003 More extended tunings 2014-04-13 16:41:02 +02:00
def 7ae973af0d Make jetpack strength a tuning 2014-04-12 11:12:29 +02:00
def 327aa4e196 Fake tunings for NPC and NPH and tuning cleanup 2014-04-06 12:22:27 +02:00
def 8be0091d07 Add sv_teleport_hold_hook 2014-04-05 00:35:18 +02:00
HMH 6943711be3 better tune-updating 2014-03-29 18:04:37 +01:00
def bbb6572d5f Fix: Send vote to newly joined players 2014-03-28 12:52:03 +01:00
def c98ad5bf22 Merge branch 'new' into DDRace64
Conflicts:
	src/game/editor/layer_tiles.cpp
2014-03-23 23:18:43 +01:00
def fb4c83cf3e More cleanup 2014-03-23 19:31:28 +01:00
def 63f642c478 Fix array sizes and array accesses 2014-03-23 18:56:07 +01:00
def ef579f55e2 Typo 2014-03-23 18:02:04 +01:00
HMH 85b069193f set proper standard tunings for zones 2014-03-23 17:10:49 +01:00
HMH 330fc92c8c added a list out of CTuningParams for the different tunezones, added a list for messages to display on switching between zones, put rcon commands for adjusting theses lists, edited SendTuningParams to make it possible to send zonespecific tunings 2014-03-23 17:10:49 +01:00
def 6ead8f0531 Add sv_vote_max_total 2014-03-22 19:53:43 +01:00
def 73663f2919 Vote delay for /map 2014-03-04 02:48:58 +01:00
def b72df908a1 Add faketunings for 0 jumps 2014-03-01 14:29:14 +01:00
def 6406e77e9c Disable faketuning for freeze for now because it looks really weird in some situations 2014-02-23 01:10:43 +01:00
def 65f0455f64 Fake tunings: Don't fake hook as people are annoyed by shorter hook 2014-02-20 18:51:46 +01:00
def b1d577af30 Huge fix with fake tunings 2014-02-20 01:36:39 +01:00
def e9db91e953 Add solo fake tunes 2014-02-19 22:30:57 +01:00
def 40651924bf Make Fake Tunings a bit nicer and less resource intensive 2014-02-19 22:30:34 +01:00
def 92e0b5fe3c Add fake tunings so that freeze prediction is correct (by HMH) 2014-02-19 21:55:37 +01:00
def a5f3de6827 Add /map (for votes) and /mapinfo (instead of /mappoints) 2014-02-19 21:22:36 +01:00
def 4a2eaaf1cc Less strict spam filtering 2014-02-14 00:26:05 +01:00
def caa1f15d12 Fix possible crashes 2014-01-30 16:54:58 +01:00
def d8533eea67 Proper Client Version numbers and more visible whispers 2014-01-30 16:49:15 +01:00
def 69df267bb1 Don't allow random_map when no maps are available in votes 2014-01-29 02:04:02 +01:00
def beb74082b3 Send initial team state 2014-01-22 00:35:02 +01:00
def aa64e86f12 Fix: Send proper votes to 64/16 player clients 2014-01-11 22:22:45 +01:00
def f5cab53aa4 Send all votes to ddnet clients 2014-01-08 02:57:18 +01:00
def 5c2794fcea Remove unused variable 2014-01-04 03:50:56 +01:00
def bdc14849f7 Fix vote window 2014-01-03 13:51:18 +01:00
def e44456c08e Fix: Proper vote status for non-64-player-clients 2014-01-02 21:23:27 +01:00
def 8d4301b2e3 Next try to prevent DDRace problems 2014-01-02 02:15:19 +01:00
def b919538663 Revert "DDRace clients don't work well with teams on 64 player servers"
This reverts commit 314c5cb275.
2014-01-02 02:13:10 +01:00
def 314c5cb275 DDRace clients don't work well with teams on 64 player servers 2014-01-02 02:10:27 +01:00
def a98458a9f3 Fix switches for 64 teams 2014-01-01 22:34:10 +01:00
def 39ba649849 Less restrictive spam protection 2014-01-01 22:06:46 +01:00
def 08eb38230f Reverse Translation for DDRace64 2013-12-31 18:25:40 +01:00
def 3607218f12 Merge ddrace64 from eeeeee 2013-12-31 06:13:57 +01:00
def 5453c0c80f Allow longer messages 2013-12-27 04:09:45 +01:00
def 3eaad43b6b Merge remote-tracking branch 'upstream-teeworlds/0.6' into DDRace
Conflicts:
	bam.lua
	data/languages/index.txt
	src/engine/server/server.cpp
	src/engine/shared/network_server.cpp
	src/game/client/components/chat.cpp
	src/game/client/components/menus_settings.cpp
	src/game/server/entities/character.cpp
	src/game/server/gamecontext.cpp
	src/game/version.h
2013-12-26 18:02:22 +01:00
def ec4a83eb1a Fix: Don't change tune parameters 2013-12-23 20:33:01 +01:00
def 70a0774453 Add /dnd 2013-12-22 18:30:13 +01:00
def 7237fe2a31 Add random_map 2013-12-07 00:15:56 +01:00
def 7af88ed004 Reset extended teleports 2013-11-24 19:23:58 +01:00
def 3dda7569e6 Display saved scores 2013-11-14 16:08:04 +01:00
def 0b305471d2 Add jetpack 2013-11-13 13:25:26 +01:00
def fe44c5a569 add sv_show_others_default 2013-10-20 23:22:49 +02:00
def 34e568f41b Add converse command 2013-10-18 11:42:35 +02:00
def 185f132a24 Don't send "Muted text" 2013-09-02 21:30:00 +02:00
def 58039066f4 Add local time screen at top 2013-08-23 00:45:48 +02:00
def a2c7feda17 Add afk vote timer 2013-08-18 03:27:30 +02:00
def a837b251ab Whisper case-insensitive 2013-08-16 00:53:24 +02:00
def 8acea035bd DDRaceNetwork -> DDraceNetwork 2013-08-13 18:32:33 +02:00
def 0d6acbda16 Fix spec voting 2013-08-13 18:14:03 +02:00
def ed02dbed33 Whisper: Make chars with spaces work even without "" 2013-08-12 23:02:39 +02:00
def 0a5433178d ddnet.no-ip.info -> ddnet.tw 2013-08-12 21:55:04 +02:00
def 131a7a7ad7 Fix: Don't allow empty whispers 2013-08-10 04:30:59 +02:00
def ccc777f792 Max 4 commands per second 2013-08-10 04:21:20 +02:00
def a1e9cc5c51 Spam protect whisper 2013-08-10 03:40:59 +02:00
def b4f0b96acc Fix /whisper 2013-08-09 15:07:17 +02:00