Commit graph

4173 commits

Author SHA1 Message Date
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
heinrich5991 90ba4c5986 Make join vote delay the default 2016-01-22 17:44:53 +01:00
heinrich5991 957844e234 Add comment about when sv_join_vote_delay doesn't apply 2016-01-21 00:09:11 +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ä 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 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
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
heinrich5991 31d9b8d001 Cleanup of #369 2015-11-15 14:40:07 +00: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
timgame ba60cf509a use index 5 for a shortcut hookthrough tile 2015-11-15 00:00:43 +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 670a028815 Fix wrong calculation of weapon Angle in demo player 2015-11-13 23:38:49 +03:00
Nikita Zyuzin e63e9eed54 Replace diff > 2 with != in RoundStartTick comparison 2015-11-13 14:40:02 +04:00
timgame e5f6356899 allow hookblocker in front layer 2015-11-12 19:46:52 +01:00
timgame a6a4187fb1 add new hookthrough and hookblocker 2015-11-12 19:46:27 +01:00
timgame 9f45090ca6 added chat msg to reveal killer of locked team 2015-11-12 18:59:58 +01:00
Nikita Zyuzin d7f2fc95e7 Reset statboard after a game restart
Fixes #335
2015-11-12 13:06:05 +04:00
H-M-H f0d10ac62d better get dummyinput directly from CControls 2015-11-10 20:29:12 +01:00
H-M-H 50c80a1cfb classmembers shall start with m_ ! 2015-11-09 20:27:18 +01:00
timgame dc89301292 clean up intersect line code 2015-11-08 10:20:44 +01:00
timgame 988a8f591a remove colflags 2015-11-08 10:20:10 +01:00
Tim Schumacher 201782dbfc changed setting==0 to !setting 2015-11-07 20:17:41 +01:00
Tim Schumacher cbffcd4126 Merge pull request #340 from rbmz/master
cl_text_entities (show/hide text in entities) for performance
2015-11-07 20:13:21 +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
H-M-H bf8aea3857 Merge pull request #333 from heinrich5991/pr_ddnet_antiping_no_reset
Don't reset `cl_antiping` subconfig on restart
2015-10-22 00:01:28 +02:00
Tim Schumacher 878f8ef872 Merge pull request #343 from cinaera/pr_layer_render
Fix duplicated rendering of the game layers and cleanup outdated code
2015-10-21 02:50:03 +02:00
Henningstone 6fa6190f84 Fix menus music playing ingame, closes #349 2015-10-16 19:31:01 +02:00
heinrich5991 71991eeb42 Set cl_antiping_* to 1 by default
This would also happen anyway as no config is treated as config
version 0, since cl_antiping is 0, all the subconfigs would be set to 0.
2015-10-08 09:46:07 +01:00
H-M-H 60e6b87130 Merge pull request #339 from H-M-H/EnvelopesFix
fixed Envelopes-Bugs
2015-10-07 21:55:17 +02:00
Tim Schumacher edb2270ca1 removed include iostream 2015-10-07 20:10:19 +01:00
timgame fb8778c717 only reload servers when changing tab 2015-10-07 20:10:02 +01:00
BeaR 37c6454473 Fix duplicated rendering of the game layers and cleanup outdated code 2015-10-05 12:51:19 +02:00
rbmz 1e47102aef cl_text_entities (show/hide text in entities) for performance
Signed-off-by: rbmz <rbmz@users.noreply.github.com>
2015-09-28 01:04:57 -03:00
def 24f973613a Fix menu 2015-09-26 01:15:08 +02:00
def 05fcc58b2f Oops, next SQL server compilation fix 2015-09-23 14:05:54 +02:00
def 97152e5cbf Hopefully fix SQL server compilation with Visual Studio 2015-09-23 11:54:20 +02:00
H-M-H 930dd8f2ad set colors to 1.000 instead of 0.001 for new colorenvelopes 2015-09-18 23:47:07 +02:00
H-M-H e6cf2241b2 fixed Envelopes-Bug see here: http://forum.ddnet.tw/viewtopic.php?
f=5&t=2277
2015-09-18 21:05:44 +02:00
def aa4bbed178 Hopefully fix editor crash with RGB (no transparency) images 2015-09-18 17:15:30 +02:00
def 336e916548 Add option not to create sql tables 2015-09-15 09:28:18 +02:00
Chairn 947cca37d6 Added cl_eye_duration to set the duration of eye emote. 2015-09-11 15:41:53 +02:00
heinrich5991 27ed6d7033 Fix the help text of cl_antiping and friends 2015-09-10 12:29:58 +01:00
heinrich5991 ba4eab1f1c Don't reset antiping subconfiguration on startup 2015-09-10 12:09:38 +01:00
heinrich5991 48ecf3d5a1 Merge pull request #323 from Chairn/drag_range
Added sv_dragger_range to control the length of the laser draggers.
2015-09-07 11:12:52 +01:00
def a8cadc21eb Last one I hope 2015-09-05 18:05:29 +02:00
def ffe9235151 Oops, another one 2015-09-05 17:59:37 +02:00
def 96f2a380f6 Get rid of warning 2015-09-05 04:52:18 +02:00
def 7487923774 Fix Windows thread handle leak 2015-09-05 04:49:22 +02:00
def 0fa06c4a5e Server names may be 4 bytes long 2015-09-05 00:48:11 +02:00
def 40a36a3063 Minor fix 2015-09-04 11:22:19 +02:00
Chairn 8148a29108 Removed useless comment line 2015-09-01 23:17:45 +02:00
Chairn c5443d8e34 Added command sv_dragger_range. Maybe need some more tests. 2015-09-01 23:15:48 +02:00
oy e91d26b8ac force vital check on essential cl/srv messages and added additional sequence checking 2015-09-01 13:50:45 +02:00
Chairn 3552e1a042 Added eye wheel. Render only on ddrace/race/ictf+/dm+/gctf+ server. 2015-08-30 21:42:16 +02:00
def ed49e3214a Some more minor settings menu fixes 2015-08-28 20:44:07 +02:00
def 865d50950d Put space more to left in editor browser 2015-08-28 20:34:19 +02:00
def 2b1aa40d77 Fix editor color value to be shown with # instead of 0x 2015-08-28 20:28:53 +02:00
def ecc9cbfe99 Fix background map in settings in 5:4 resolution 2015-08-28 20:26:39 +02:00
def b743119d0d Version 9.0.2 2015-08-28 03:56:35 +02:00
def e39fb6b535 Very ugly fix for color picker in editor 2015-08-28 01:28:09 +02:00
def ecfa185601 Fix settings positioning 2015-08-28 01:18:45 +02:00
def f46767cfae Fix: Mousesens in UI independent of Dyncam 2015-08-27 22:19:25 +02:00
def ee3baa6f53 Version 9.0.1 2015-08-27 21:57:07 +02:00
def 8c0febdd41 Another dyncam fix 2015-08-27 21:56:41 +02:00
def 043d718698 Fix dyncam mousesens 2015-08-27 21:52:10 +02:00
def 703f1bc99d Hopefully fix Android compilation 2015-08-27 20:52:06 +02:00
def 1dddf42cbb Simplify Dyncam and fix #311 2015-08-27 20:26:05 +02:00
east ff09eff526 arrow up/down in demo browser 2015-08-27 16:59:36 +02:00
def 1ed044fe0d Fix up and down keys in server browser 2015-08-27 16:42:21 +02:00
def 8511a4d1f4 No magic string 2015-08-27 16:32:45 +02:00
def 7693d8d9d6 Fix invalid free with %current% 2015-08-27 16:32:28 +02:00
def e662a09b7a White space cleanup, DOS->UNIX 2015-08-27 16:28:34 +02:00
Dennis Felsing ed5d8faa2a Merge pull request #310 from heinrich5991/pr_ddnet_map_settings_fix_settings_compare
Fix settings compare
2015-08-27 16:24:39 +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
def c1ca91560e Improve settings menu a bit 2015-08-27 16:20:16 +02:00
Dennis Felsing a32aca50bf Merge pull request #306 from Chairn/pr_custom_background
Added custom background in entities mod.
2015-08-27 16:08:46 +02:00
def b832672412 Version 9.0 2015-08-27 15:53:05 +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
def f27ee72d2d Remove unused variables 2015-08-27 15:34:33 +02:00
def 33f20d7dd3 Indentation fixes 2015-08-27 15:33:24 +02:00
east cb4909d656 Changed Created: info 2015-08-27 15:05:24 +02:00
east 675c6eb1e0 Demo browser column listbox added 2015-08-27 15:05:24 +02:00
east da17b795c5 progress on column listbox 2015-08-27 15:05:24 +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 7d9228f3d5 Fix a severe bug with config saving
Thought I had fixed that long ago...
2015-08-27 12:55:35 +02:00
heinrich5991 d13ebf93a2 Add config_store and config_retrieve tool 2015-08-27 12:55:35 +02:00
heinrich5991 db696c0e78 Fix the 54e61bfe39 cherry-pick, re-add missing line 2015-08-27 12:55:34 +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 c025dc2235 saving server settings within the map and loading them on init 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
Chairn 4b270771bf Added string+box in ddnet menu. Added 10 secs protection for loading. 2015-08-27 09:13:43 +02:00
Chairn d699cbe94b Reorganized class. Does not reload current map. 2015-08-27 06:27:55 +02:00
Chairn 8b8ba7b860 Added variable for tile background. Improved a lil bit maplayers. 2015-08-27 00:52:50 +02:00
Chairn 70a2cfa4ea Added custom background in entities. 2015-08-27 00:52:31 +02:00
def d1fddc11ea Fix disabling spec window 2015-08-26 19:35:00 +02:00
def fe22edadaa Hide console window on Windows by default 2015-08-26 12:40:50 +02:00
def 325410d2af Even better: Fix 0 as mousesens for dyncam 2015-08-24 23:26:07 +02:00
def b32a939a9e Set more reasonable default dyncam sensitivity and rename config variables for dyncam 2015-08-24 23:22:20 +02:00
def ed0634f9b0 Update credits 2015-08-23 23:22:31 +02:00
Dennis Felsing 44e7e2834f Merge pull request #284 from Chairn/upstream
Fixed double clicking on friend when friend was on top server.
2015-08-23 23:18:32 +02:00
oy 70ca6f220c fixed frozen input when leaving a server with active chat 2015-08-22 21:53:00 +02:00
def fabe25dd45 Switches can be set with number 0 (even if they don't make much sense, fixes #265) 2015-08-22 20:41:46 +02:00
def 5119976c9f Oops 2015-08-22 20:25:28 +02:00
def b5aca60662 Fix mouse hang with editor popup, value selector and escape (fixes #290) 2015-08-22 20:22:23 +02:00
def 7ff9cd890c No magic number for weapon 2015-08-22 20:15:15 +02:00
def 844d8b8ae3 Add sv_teleport_lose_weapons 2015-08-22 19:24:10 +02:00
def eac3d900e7 Remove unused variable 2015-08-22 17:50:34 +02:00
def 902e4b7487 Also use map name by default for manual demo recording 2015-08-22 17:36:47 +02:00
def db2256e827 Fix a few whitespace-at-end-of-file issues 2015-08-22 15:27:41 +02:00
Dennis Felsing d4ccc4728b Merge pull request #291 from cinaera/pr_editor_scale
HSV color picker for quad points
2015-08-22 15:20:29 +02:00
def f977f80c94 Stronger checks on save 2015-08-22 15:16:14 +02:00
def 321f0d210a Fix race recorder, make it remove tmp files consistently and clean it up a bit 2015-08-22 15:09:19 +02:00
Learath2 aa195955be Don't highlight your own messages. 2015-08-20 17:01:34 +03:00
BeaR ff3c4f22b4 Add hex value edit field for quad point color 2015-08-20 12:51:30 +02:00
def f62bb1821c /map and /mapinfo improvement (fixes #292) 2015-08-19 22:43:08 +02:00
east 8dec8d7890 Fixed chat highlighting 2015-08-17 21:35:12 +02:00
BeaR 6b0d2b9b9a Fix hue picker scaling 2015-08-17 20:19:27 +02:00
BeaR a4cfc10898 Implement an HSV picker for color of quad points 2015-08-17 20:14:23 +02:00
BeaR 6b2e61bbc6 Fix collision bug with weapon projectiles
Ignore characters, which can't collide e.g different teams, in the intersection test for projectiles.
2015-08-16 10:54:06 +02:00
def e1fe407ee5 Make team locking an option 2015-08-16 00:39:31 +02:00
Chairn f3a82b0c98 Fixed double clicking on friend when friend was on top server. 2015-08-14 19:25:45 +02:00
Dennis Felsing 37256d6e2c Merge pull request #283 from savander/DDRace64
Improvements for demoplayer (pause/unpause demo is bindable) + you can hide scoreboard after death
2015-08-13 17:25:57 +02:00
def 547274b806 Add cl_chat_reset, which can be set to 0 so that chat is not reset when pressing escape 2015-08-12 17:03:27 +02:00
def 9d5459d731 Check IDs in a more reasonable order 2015-08-12 15:54:03 +02:00
Adam Jaworski ab6f522aa5 Whether to show scoreboard after death or not 2015-08-12 11:30:26 +02:00
H-M-H 0086d19276 added Notifications for osx 2015-08-11 03:14:27 +02:00
def 67fa04541e Version 8.1.1 2015-08-10 16:12:23 +02:00
Dennis Felsing 609b84ca4e Merge pull request #276 from heinrich5991/pr_ddnet_allow_rescue
Finish the renaming of sv_allow_rescue to sv_rescue
2015-08-10 14:06:56 +02:00
def 23cc7e2a46 Version 8.1 2015-08-10 13:36:51 +02:00
heinrich5991 ec85951736 Finish the renaming of sv_allow_rescue to sv_rescue 2015-08-10 13:34:56 +02:00
def 1fd0f947af Better numbers in average time for /mapinfo 2015-08-09 22:20:52 +02:00
def 727ea434d4 Increase magic number a bit until we assume client is not DDNet 2015-08-07 03:26:50 +02:00
Dennis Felsing a0d1d8b744 Merge pull request #275 from nzyuzin/variables_h_naming
Add prefix Cl to dummy and player variables
2015-08-06 22:28:22 +02:00
Nikita Zyuzin 0b9e2f144c Add prefix Cl to dummy and player variables 2015-08-07 00:16:33 +04:00
Dennis Felsing b122b569bd Merge pull request #274 from nzyuzin/variables_h_naming
Correct names in variables.h
2015-08-06 21:54:58 +02:00
Nikita Zyuzin 89536b10a3 Update dyncam variable names 2015-08-06 23:44:54 +04:00
def f39b85a3e2 Add average time to /mapinfo 2015-08-06 16:02:00 +02:00
def 8401c43edb Remove a message to prevent server log spamming 2015-08-05 22:43:57 +02:00
def 348ac53226 Bind chat on enter/return by default as well 2015-08-05 15:34:08 +02:00
def 8203c5378d Merge branch 'master' of github.com:def-/ddnet 2015-08-01 20:16:46 +02:00
def 8d216d8de1 Only print MOTD to console when it's not empty 2015-08-01 20:16:34 +02:00
Nikita Zyuzin 06c4470081 Don't use OldMousesens if it wasn't initialized 2015-08-01 09:08:25 +04:00
Nikita Zyuzin e89843d811 Update dyncam to have special mousesens 2015-08-01 09:01:54 +04:00
def 6a2cc86d50 Sort spectators by name 2015-07-28 23:30:23 +02:00
def d2bec89c05 Version 8.0.2 2015-07-28 02:13:26 +02:00
def d9f712bfcb Print MOTD to console 2015-07-27 03:57:21 +02:00
def 5313f30e24 Version 8.0.1 2015-07-26 19:24:23 +02:00
def dfcb9beabd Visually tell tees apart that you can't spectate 2015-07-26 18:52:53 +02:00
def cd267f53d8 Improve follow button a bit 2015-07-26 18:37:31 +02:00
def 791e260e65 Fix spectating in demo viewer and add a button to choose to follow a player 2015-07-26 18:21:51 +02:00
def 8f5812decd Version 8.0 2015-07-26 15:23:09 +02:00
def d5100cdee5 Add ctrl+shift+s for "save as" and ctrl+shift+alt+s for "save copy" 2015-07-26 12:05:45 +02:00
def ce1d615041 Add "Save copy" button so that filename is not changed 2015-07-26 12:05:14 +02:00
def f349818f9d Only save once (hope this doesn't cause any problems) 2015-07-26 12:04:43 +02:00
def e6db197183 Fix scroll bar in server control votes when search bar is used 2015-07-25 18:43:54 +02:00
Dennis Felsing 50a6c30e46 Merge pull request #241 from timgame/DDRace64
fixed envelope button color
2015-07-25 00:07:33 +02:00
timgame 6264bb73f3 fixed envelope button color 2015-07-25 00:04:12 +02:00
def d570683b5a TAB in console doesn't influence menu (fixes #239) 2015-07-24 01:28:19 +02:00
def d57b0d62c6 Support for 0 stars in database 2015-07-23 12:49:22 +02:00
def 949fcb2c40 Remove one useless debug print 2015-07-23 12:11:42 +02:00
def 5527870d0a Revert bruch clearing 2015-07-23 00:43:09 +02:00
Chairn ea52c68d2c Zooming will work as in game for editor using numpad. 2015-07-23 00:10:55 +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 e97c8ac08f Add foes (permanently ignored players) 2015-07-22 22:16:49 +02:00
def 1af5507b95 Allow spectating other players and freeview in demo player (especially fun with /showall and /showothers on) 2015-07-22 21:32:02 +02:00
def bab961f054 Prepare switch to mixed case server names 2015-07-22 19:56:24 +02:00
def 0cb50c1805 Print actual SQL inserts/updates to debug log 2015-07-22 19:05:45 +02:00
def d815193d86 Merge branch 'DDRace64' of github.com:def-/ddnet into DDRace64 2015-07-22 18:24:09 +02:00
def 4e658c1057 Minor cleanups 2015-07-22 18:23:40 +02:00
east d12c516508 fixed highlighting in demo playback 2015-07-22 15:37:00 +02:00
def 4d239cab77 Version 7.9.1 2015-07-15 19:34:50 +02:00
def f5ff75a19a Fix Speedup angle selector 2015-07-15 02:34:50 +02:00
def fba5188b84 Version 7.9 2015-07-15 00:57:15 +02:00
def cc63e9fc89 Fix demo cutter to add .demo file ending 2015-07-14 13:43:44 +02:00
def 2077a4f83e Add a string for localization 2015-07-14 13:43:24 +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 da68023f7a Off by one ;) 2015-07-11 19:28:45 +02:00
def 6d68e22cd1 Hopefully fix string fuzzying for unicode 2015-07-11 19:26:57 +02:00
def 242f47e03e Fix statboard a bit more! 2015-07-10 22:12:20 +02:00
def 73229fbb62 Only allow /save when team is started already (prevents saving after
noobfilter)
2015-07-09 23:48:29 +02:00
def 4efaa85e7a Stop showing statboard after key has been released (fixes #219) 2015-07-09 20:38:23 +02:00
def 15ff5f5491 Merge branch 'DDRace64' of github.com:def-/ddnet into DDRace64 2015-07-09 20:33:35 +02:00
def 1aeea28459 Fix statboard size for 4:3 and 5:4 screens (fixes #211) 2015-07-09 20:33:26 +02:00
Dennis Felsing 89c29a15f5 Merge pull request #233 from timgame/DDRace64
improved grass_main/0.7 automapper by hi_leute_gll
2015-07-09 19:20:48 +02:00