bors[bot]
ea6f76b383
Merge #1438 #1447 #1448
...
1438: Add man pages with asciidoc r=def- a=Ryozuki
Fixes #1240
I added a simple script to generate the man pages.
To edit the man pages in the future, you must edit the `.adoc` files and then run generate.sh
You need asciidoc package to generate the manpages.
`sudo apt install asciidoc`
http://asciidoc.org/
Writing plain troff is a pain in the ass.
1447: Allow vote-kicking players with same auth level r=def- a=12pm
This is meant to help with dealing with trolls on test server since everyone can log into rcon there.
Shouldn't cause any problems anywhere else, I think.
1448: Require sv_vote_kick_min only on team 0 kick votes r=def- a=12pm
Co-authored-by: Ryozuki <ryo@ryozuki.xyz>
Co-authored-by: 12pm <30786226+12pm@users.noreply.github.com>
2019-02-10 10:23:08 +00:00
12pm
f2cbb9d87d
Make teleporting to where you look at convenient
2019-02-09 19:32:45 +01:00
12pm
1cf73b3eec
Abort votes only if auth level is higher
2019-02-08 19:43:07 +01:00
12pm
10e4fcc185
Require sv_vote_kick_min only on team 0 kick votes
2019-02-08 18:44:11 +01:00
12pm
4b1651f18c
Allow vote-kicking players with same auth level
2019-02-08 16:57:39 +01:00
12pm
2daafdaad5
Disable unused tiles only for DDNet entities
2019-02-08 04:04:41 +01:00
ChillerDragon
c0157db98d
Neutral kick reason
2019-02-06 14:53:22 +01:00
ChillerDragon
eaf61b662d
Never ban known bots
2019-02-06 14:49:41 +01:00
ChillerDragon
3f8e9613f7
Fix style
2019-02-06 13:06:28 +01:00
ChillerDragon
f5b551adee
Fix empty string check (ty Travis)
2019-02-04 23:33:25 +01:00
ChillerDragon
8ddb487e2b
Use consisten seperators (comma not semicolons)
2019-02-04 23:12:05 +01:00
ChillerDragon
03a20d6406
Add IServer::Ban
2019-02-04 23:09:14 +01:00
ChillerDragon
867b0a66ce
Fixings thanks to @Learath2
2019-02-04 22:16:09 +01:00
ChillerDragon
069b1763dd
Add autoban depending on client version
2019-02-04 20:46:42 +01:00
trml
3f9d30af0f
Sync weapon input with other inputs
2019-01-29 20:58:25 +01:00
12pm
3d01e59878
Fix switch_open description
2019-01-27 20:09:33 +01:00
fokkonaut
cf09fbd1ea
Merge BW support into IsDDNet
2019-01-14 16:50:06 +01:00
fokkonaut
fe4426b008
fixed ddrace score (time score)
2019-01-14 08:01:20 +01:00
fokkonaut
0e842359ad
Add DDRace Score NETMSG
2019-01-14 08:01:20 +01:00
def
5e750e292d
Version 11.7.2
2019-01-11 17:58:11 +01:00
def
e8e2cd9f49
Revert "Reset brush when changing active layer ( fixes #485 )"
...
Made it impossible to copy layer content to another layer and then use
autofiller on that: https://forum.ddnet.tw/viewtopic.php?f=16&t=6450
This reverts commit df6e3a541f
.
2019-01-11 17:57:37 +01:00
def
17a808a080
Version 11.7.1
2019-01-11 12:18:01 +01:00
Dennis Felsing
b0709bbe5f
Merge pull request #1426 from ddnet/mouse-editor
...
Hacky mouse editor fix (fixes #1367 )
2019-01-11 12:16:23 +01:00
def
df6e3a541f
Reset brush when changing active layer ( fixes #485 )
2019-01-11 12:15:19 +01:00
def
8c4a26fa63
Fix editor fullscreen mode ( fixes #1303 )
...
By initializing ToolBar
2019-01-11 10:48:23 +01:00
def
9b88d8f418
Hacky mouse editor fix ( fixes #1367 )
2019-01-11 10:02:15 +01:00
def
f05c56d6ce
Fix cl_dyncam_mousesens
...
should only have an effect ingame, not in menus or editor
2019-01-11 09:40:04 +01:00
def
22ea30a7f5
Fix crash
2019-01-10 21:11:23 +01:00
def
b3ca67e944
Minor code simplification
2019-01-10 15:54:42 +01:00
def
16f6e23aaa
Nicer fix for crash
2019-01-10 15:44:04 +01:00
def
1c85c962ef
Fix automap crash (reported in #1425 )
2019-01-10 15:38:04 +01:00
def
f5e8b9d822
Fix potential inconsistencies in rank/teamrank
2019-01-10 09:32:23 +01:00
Dennis Felsing
a689533a9d
Version 11.7
2019-01-09 08:55:40 +01:00
Dennis Felsing
c16c50fa80
Merge pull request #1424 from ddnet/demo-markers
...
Demo browser: Show markers (fixes #329 )
2019-01-09 08:54:42 +01:00
Dennis Felsing
71ec8cc294
Merge pull request #1423 from ddnet/utf8_nocase
...
UTF8 nocase compare & use for chat TAB completion
2019-01-09 08:54:25 +01:00
Dennis Felsing
f82ab4cb21
Fix editor crash (reported in #1425 )
2019-01-09 08:38:49 +01:00
def
faa3cc195d
UTF8 nocase compare & use for chat TAB completion
...
- As suggested by Arseniy Zarche
- Also updated confusables to Unicode 12
2019-01-09 08:31:03 +01:00
def
f9d9fee314
Demo browser: Show markers ( fixes #329 )
...
- Fetch Headers button
- Display Markers & Length columns
- Display footer info
- Don't rescan directory when not required
- Clean up code a bit
2019-01-09 08:25:03 +01:00
def
779a928faf
CRaceDemo: Don't attempt to remove demo that hasn't been started
2019-01-07 14:36:17 +01:00
jupeyy
619a33a7d5
text kerning fix, add new text render flags for accurate positioning
2019-01-06 06:42:57 +01:00
def
7f8b1ecf21
Fix saves sql insert format for file fallback
2018-12-30 00:31:29 +01:00
def
bcdec941da
Update view target when spectating with chat open
...
Thanks to ReiTW for reporting and illustrating the bug:
https://www.youtube.com/watch?v=LKicYqtqJbQ
2018-12-29 00:05:05 +01:00
def
7da2cb9357
Version 11.6.1
2018-12-27 22:50:33 +01:00
def
969f3c2db4
Version 11.6
2018-12-23 22:58:45 +01:00
def
4217d5d536
Fix 5:4/4:3 skin prefix setting display
2018-12-23 22:58:41 +01:00
def
bad0d53906
Move timing code to actual end of function
2018-12-23 22:58:37 +01:00
def
87fa394daa
Add Christmas skin event for client
2018-12-23 22:58:30 +01:00
def
a38d0068e1
Fix specvoted/pausevoted behaviour
...
Now switches immediately to the voted person if there is one instead of
switching back to unpaused first
2018-12-23 22:57:28 +01:00
Dennis Felsing
fcf2a16aef
Add toggle_tune
2018-12-20 09:18:22 +01:00
Dennis Felsing
e076d07f5f
Merge pull request #1408 from ddnet/sneaky
...
Sneaky code (TODO: Also mark 708?)
2018-12-18 12:16:53 +01:00
Dennis Felsing
5026ba555d
Fallback for /save when DB unreachable
2018-12-18 12:07:27 +01:00
def
6846a6ecad
Fixes and stress improvements
2018-12-17 20:05:50 +01:00
Dennis Felsing
f83a9be610
Sneaky code (TODO: Also mark 708?)
2018-12-17 14:55:58 +01:00
Dennis Felsing
e9ee74a941
Merge pull request #1402 from ddnet/remove-modhelp
...
Remove /modhelp (fixes #1401 )
2018-12-17 14:42:07 +01:00
Dennis Felsing
42d7f58d08
sv_join_vote_delay: Don't affect participating in map votes
...
Since they are already restricted by veto right
2018-12-12 10:41:31 +01:00
Dennis Felsing
5c18d6c481
Remove /modhelp ( fixes #1401 )
2018-12-12 10:05:44 +01:00
Dennis Felsing
b224a4dafe
Improve sv_join_vote_delay against vote bots
...
- Prolong to 5 minutes
- also affects participating in votes
2018-12-11 10:29:36 +01:00
Dennis Felsing
fabd559746
Clamp Spectator ID
2018-12-11 09:23:12 +01:00
Dennis Felsing
7944c9ca75
Version 11.5.1
2018-12-11 08:12:51 +01:00
ChillerDragon
aef7d76158
Allow to use pausevoted as normal pause
2018-12-10 23:20:29 +01:00
jupeyy
58e583e642
fix laser/rifle bonce delay, when server time(server ticks) are high, caused by unprecise floating point arithmetic
2018-12-07 11:06:44 +01:00
Dennis Felsing
0ad472df41
Make cort comparator conform to strict weak ordering
...
comp(p1, p2) == false was violated when both are nullptr
https://en.cppreference.com/w/cpp/named_req/Compare
2018-12-06 07:57:01 +01:00
Dennis Felsing
809afa265f
Fix typo
2018-12-05 07:28:29 +01:00
Shengyu Zhang
464ef9e74b
Fix crash when auto update is off
...
Since 2696ac134c
, whether to include auto
update related code should only control by macro CONF_AUTOUPDATE.
This commit should fix #1374
2018-12-05 01:06:52 +08:00
def
6ad686eee2
Fix HUD (thanks to fokkonaut for reporting)
2018-11-24 22:57:15 +01:00
def
1a66fb9c17
Serverside special handling for 9999 second time
2018-11-21 23:21:35 +01:00
def
27865fdd89
Fix Race scoreboard ordering for times > 166 minutes (9999 seconds)
2018-11-21 21:26:05 +01:00
yangfl
a1db76cdef
Remove extra semicolons
2018-11-18 14:27:48 +08:00
Learath2
c601df8b28
Switch around the colors for used/unused envelopes
2018-11-16 14:51:36 +01:00
Dennis Felsing
fed6f02c87
Version 11.5
2018-11-15 14:45:10 +01:00
Dennis Felsing
045533cef7
Merge pull request #1321 from bojidar-bg/x-add-auto-automapper
...
Add option to automatically run the automapper
2018-11-15 09:30:22 +01:00
Ryozuki
90118b5a07
make it one line
2018-11-13 13:05:15 +01:00
Ryozuki
41fc33406a
fix laser telegun through TELEINWEAPON tile
2018-11-10 20:47:11 +01:00
Ryozuki
62dbda204e
fix entities clear and remove tele-activator from gametile as it doesn't make sense.
2018-11-04 15:50:56 +01:00
Ryozuki
674d3f00e0
add support for blue teleport gun
2018-11-03 10:26:20 +01:00
Ryozuki
3d202883c9
tele-activator: make delay be able to specify a weapon
2018-11-03 10:26:19 +01:00
Ryozuki
ddf2e6af36
add tele-activator to the switch layer
2018-11-03 10:26:19 +01:00
Ryozuki
c831b5e0c1
change tele-blocker to tele-activator
2018-11-03 10:26:18 +01:00
Dennis Felsing
69b25b8f4c
Version 11.4.6
2018-11-02 14:24:14 +01:00
Dennis Felsing
d072817e25
Merge pull request #1366 from ddnet/upd1145
...
Version 11.4.5
2018-10-31 18:30:50 +01:00
Dennis Felsing
bccf6320b7
Merge pull request #1368 from Learath2/dd_pr_shiftcrash
...
Fix editor crash
2018-10-31 18:30:34 +01:00
Dennis Felsing
6c061eb2ec
Remove unused cl_flow variable
...
As noticed by xse in https://github.com/ddnet/ddnet-web/pull/64
2018-10-31 08:26:56 +01:00
Learath
abd49ddbf7
Restore old behaviour to be safe :(
2018-10-30 18:56:46 +01:00
Learath
0ecda0ced4
Fix crash introduced by 1e2dce0
. Close #1362
2018-10-30 18:13:32 +01:00
def
62d3c97ad1
Version 11.4.5
2018-10-29 22:19:34 +01:00
def
aab6fa152a
Fix #1357
2018-10-29 22:16:32 +01:00
def
c0b60979ec
style
2018-10-29 22:09:11 +01:00
Dennis Felsing
80f4b7934c
Merge pull request #1365 from Jupeyy/pr_bordercorner_fix
...
Border corner minimum fix
2018-10-29 22:08:43 +01:00
def
faf388b853
Fix #1350
2018-10-29 22:03:57 +01:00
bors[bot]
1b0b36c6eb
Merge #1316 #1341 #1349
...
1316: code improvement on gameclient.cpp r=def- a=Ryozuki
1341: Mark unused envelopes r=def- a=Learath2
Thought I'd do this one as well while looking at the editor code.
1349: Don't ignore CONNECT packets with data that we don't know r=def- a=heinrich5991
This specifically affects 0.6.5. Just treat them the same way as those
without any data.
Co-authored-by: Ryozuki <edgar@ryobyte.com>
Co-authored-by: Learath <learath2@gmail.com>
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2018-10-29 14:31:27 +00:00
bors[bot]
25bd83225f
Merge #1340
...
1340: Editor fixes r=def- a=Learath2
Address #1331 and also fix the scrollbar enabling when there isn't enough elements.
Co-authored-by: Learath <learath2@gmail.com>
2018-10-29 14:16:38 +00:00
jupeyy
95e8a031c7
style
2018-10-29 09:00:47 +01:00
jupeyy
c666417fa0
less code
2018-10-29 08:44:55 +01:00
jupeyy
536bb4ad3d
check minimum for width and height seperatelly
2018-10-29 04:21:35 +01:00
Learath
657e869901
Handle Tile and Sound layers
2018-10-14 16:57:30 +03:00
fokkonaut
1082ba77b0
increase max score that can be displayed in scoreboard
2018-10-11 22:19:26 +02:00
Learath
cdce9d84ac
Mark unused envelopes. Fix #1139
2018-10-09 13:42:04 +03:00
Bojidar Marinov
823e4ee0f3
Save automapper config as external-typed mapitem
2018-10-09 13:17:05 +03:00
Bojidar Marinov
351fee2666
Optimize automatic automap to automap only around changes.
...
Should work, no flaws found when testing with grass_main
2018-10-09 12:56:48 +03:00
Bojidar Marinov
c52a3c970e
Add option to automatically run the automapper
...
Also, put automapping config selection seperatelly from the automapper button.
Also, add seed parameter to the automapper.
2018-10-09 12:56:48 +03:00
bors[bot]
61559f2ff0
Merge #1329
...
1329: Add support for extra map items in datafiles r=Learath2 a=heinrich5991
This works by utilizing the good old UUIDs – this way we can make sure
that we don't clash with other people extending the map format.
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2018-10-09 09:30:23 +00:00
heinrich5991
4660e0a680
Add support for extra map items in datafiles
...
This works by utilizing the good old UUIDs – this way we can make sure
that we don't clash with other people extending the map format.
2018-10-08 23:05:56 +02:00
Learath
571b069b91
Small cleanup of *Mute functions
2018-10-08 21:29:33 +03:00
Learath
5b95eddca1
DRY with net_addr_comp_noport
2018-10-08 21:04:04 +03:00
Learath
4fedd91020
Arrow keys should account for visibility
2018-10-08 19:07:25 +03:00
Learath
ad566aa158
Consider the search text when counting elements
2018-10-08 18:43:39 +03:00
Learath
5c4203b747
Reset scroll when search text changes. Fix #1331
2018-10-08 18:43:37 +03:00
Learath
1073b72965
Ignore DNSBL on "empty" servers.
2018-10-08 01:59:07 +03:00
Dennis Felsing
a09fa562be
Merge pull request #1314 from timakro/pr_editor_entities_gametypes
...
Allow choosing game layer entities for different gametypes, closes #1283
2018-10-07 23:02:20 +02:00
Dennis Felsing
fc7b3732e6
Merge pull request #1315 from Learath2/dd_pr_brushsave
...
Implement brush saving. Fix #1111
2018-10-04 10:59:00 +02:00
Dennis Felsing
20b31723c9
Merge pull request #1323 from heinrich5991/pr_ddnet_fix_editor_dontembedvanilla
...
Duh. Fix editor embedding vanilla images and not others
2018-10-03 20:40:48 +02:00
heinrich5991
479dc8ad8f
Duh. Fix editor embedding vanilla images and not others
...
I don't know how I managed to get this wrong.
Fixes #1178 .
2018-10-03 20:34:13 +02:00
Ryozuki
09c82fba7a
indent
2018-10-03 07:40:50 +02:00
Tim Schumacher
ab6f344daa
Fix current selection highlighting
2018-10-02 23:39:22 +02:00
Tim Schumacher
fd52bc7a26
List all game layer entities images in directory
2018-10-02 23:08:17 +02:00
Ryozuki
5c51e3b80d
change to c style casts
2018-10-02 20:52:21 +02:00
Ryozuki
be3cfe88e6
fix
2018-10-02 20:45:44 +02:00
Ryozuki
0a91fef8c8
fix tabs
2018-10-02 14:36:55 +02:00
Ryozuki
e21a08f700
another improvement
2018-10-02 14:35:50 +02:00
Ryozuki
7efe2b436e
code improvement on gameclient.cpp
2018-10-02 14:32:59 +02:00
Learath
fef22f34f2
Implement brush saving. Fix #1111
2018-10-02 03:52:01 +02:00
Tim Schumacher
bee694a8cb
Forgot to remove debug
2018-10-01 23:10:46 +02:00
Tim Schumacher
2e36ad67bb
Allow choosing game layer entities for different gametypes, closes #1283
2018-10-01 23:05:36 +02:00
Dennis Felsing
24bd8f2d56
Merge pull request #1312 from timakro/pr_fix_dragging_quads
...
Fix #963 dragging quads
2018-10-01 22:39:15 +02:00
Tim Schumacher
3fd2f60034
Left align editor menu texts like server settings, closes #1215
2018-10-01 21:45:29 +02:00
Tim Schumacher
8da9a5f9f1
Fix #963 dragging quads
2018-10-01 21:12:14 +02:00
def
542e027de4
Version 11.4.4
2018-09-30 15:25:42 +02:00
fokkonaut
3240f6fbc5
fix bw support
2018-09-28 18:27:51 +02:00
Bojidar Marinov
1e2dce06ae
Fix crash when filling selection on tele/switch/speedup layers
2018-09-26 15:53:25 +03:00
Dennis Felsing
a2e3496005
Merge pull request #1220 from heinrich5991/pr_ddnet_ui_skinprefix
...
Add some UI for the skin prefix stuff
2018-09-20 08:41:20 +02:00
heinrich5991
08b885dbbb
Just render the skin prefix suggestions line by line
...
For three items, it's not worthwhile to put two of them in the same
line.
2018-09-20 07:50:17 +02:00
heinrich5991
13e3872dca
Add clear button to skin prefix edit box
2018-09-20 07:48:14 +02:00
heinrich5991
9ff8b6e2df
Factor out clear button from four different places
2018-09-20 07:43:05 +02:00
Dennis Felsing
0605a4f662
Version 11.4.3
2018-09-11 14:56:28 +02:00
Bojidar Marinov
50d53603e1
Add a toggle button for brush coloring
...
In some cases (very dark color, etc.) it is impossible to see the tiles.
2018-09-11 11:35:02 +03:00
def
ff8e97fbf8
Fix cl_nameplates_own with antiping on when spectating
2018-08-30 22:53:28 +02:00
Ryozuki
dc4179b056
it's safe to delete a null pointer
2018-08-24 20:02:23 +02:00
ChillerDragon
273c545f4e
Remove useless semicolon
2018-08-24 16:17:23 +02:00
Dennis Felsing
d2dcb4fe84
Merge pull request #1270 from Jupeyy/pr_nan
...
Don't update particles, if no time passed
2018-08-24 10:14:38 +02:00
Dennis Felsing
dc08ac2d6d
Version 11.4.2
2018-08-24 09:51:41 +02:00
Dennis Felsing
13aa154d47
Revert "Rewrite stopper code a bit"
...
This reverts commit 4ee5c5a781
.
2018-08-24 09:34:54 +02:00
jupeyy
6c10eb13c0
Don't update, if no time passed
2018-08-24 05:56:33 +02:00
Dennis Felsing
d5defd2853
Version 11.4.1
2018-08-23 10:00:28 +02:00
def
58927375fc
Add message for failed database connection
2018-08-22 22:27:01 +02:00
Dennis Felsing
02e5fa20a0
Revert "Fix stoppers while retaining backward-compatibility"
...
This reverts commit e2d3e353cf
.
2018-08-22 08:33:28 +02:00
Dennis Felsing
d60b0db632
Revert "Add mapbug "stoppers-passthrough@ddnet.tw""
...
This reverts commit 25e86851d3
.
2018-08-22 08:33:21 +02:00
bors[bot]
46bdc7af3e
Merge #1252
...
1252: fix #1226 r=heinrich5991 a=fokkonaut
Co-authored-by: fokkonaut <35420825+fokkonaut@users.noreply.github.com>
2018-08-21 17:29:31 +00:00
fokkonaut
7a4fa97ef0
fuck this no-space-convention
2018-08-21 18:29:25 +02:00
fokkonaut
533d4fe574
allow for non-vanilla aswell and fixed some stuff
2018-08-21 18:27:34 +02:00
Dennis Felsing
c3efb38d1d
HTTP options should be saved
2018-08-21 14:50:36 +02:00
Dennis Felsing
63c7105c86
Version 11.4
2018-08-21 09:10:56 +02:00
Dennis Felsing
6f75cff582
Merge pull request #1259 from heinrich5991/pr_ddnet_mapbugs_sha256
...
Also use sha256 for the mapbugs stuff
2018-08-21 09:07:57 +02:00
Dennis Felsing
f8e1056ea4
Merge pull request #1258 from heinrich5991/pr_ddnet_stopper_fix
...
Fix stoppers while retaining backward-compatibility
2018-08-21 09:06:22 +02:00
Dennis Felsing
e2eb4a66dc
Add Filter for connecting players ( fixes #1263 )
2018-08-21 09:03:48 +02:00
bors[bot]
36a243e395
Merge #1251
...
1251: Selecting multiple quads r=def- a=Aerll
- shift+drag to select quads. Selection is additive
- left click on any empty space deselects all quads
- moving, resizing, rotating etc. works for every selected quad
- fixed resizing quads on grid and in properties. Vertices don't land on the same spot
Co-authored-by: Aerll <31746984+aerll@users.noreply.github.com>
2018-08-21 06:31:06 +00:00
Learath
c5d69f9f63
Fix crash with FillSelection
2018-08-19 20:05:42 +03:00
heinrich5991
67d36b695d
Also use sha256 for the mapbugs stuff
2018-08-19 12:12:11 +02:00
def
311e89c79d
Fix votes
2018-08-16 21:42:10 +02:00
heinrich5991
25e86851d3
Add mapbug "stoppers-passthrough@ddnet.tw"
...
This can be set for maps that rely on actually passing through stoppers.
2018-08-16 17:54:55 +02:00
heinrich5991
e2d3e353cf
Fix stoppers while retaining backward-compatibility
...
Stopper behavior is only changed when the player would otherwise go
entirely through the stopper. Players can still enter a stopper as far
as the stopper can still affect them. One-way blockers have a bigger
range, and thus allow tees to enter furtherly.
A possible (manual) test map for this is test_stoppers.map, sha256sum
ed8be386e54a03d7bd7ed69fdd962c86f51f654427972d58d492c8905c8fbdb7, crc
48812a51.
2018-08-16 17:54:55 +02:00
heinrich5991
4ee5c5a781
Rewrite stopper code a bit
...
Remove the whole copy-and-paste mess.
A seemingly ineffective and apparently code block has been removed.
2018-08-15 17:47:07 +02:00
fokkonaut
53e4bd44b7
fix #1226
2018-08-13 20:54:01 +02:00
Aerll
520aa7dd0d
naming & eol
2018-08-13 16:46:53 +02:00
Aerll
f79bf5d03b
selecting multiple quads
2018-08-13 11:11:56 +02:00
Aerll
9951b2a187
optimize automapper a bit
2018-08-11 03:01:25 +02:00
bors[bot]
22ff46e204
Merge #1245
...
1245: Fix automapper bug r=def- a=Aerll
There is some weird bug caused by my last changes, looks like automapper is working only fine for tiles without rotation.
![unknown](https://user-images.githubusercontent.com/31746984/43928232-73d9e8f4-9c30-11e8-802f-e4d239fdf8d4.png )
![unknown2](https://user-images.githubusercontent.com/31746984/43928244-793a25d4-9c30-11e8-9c37-e1fc5c3fd39b.png )
I'm not really sure why it doesn't work with -1, so I did some workaround.
Co-authored-by: Aerll <31746984+aerll@users.noreply.github.com>
2018-08-10 08:17:37 +00:00
Aerll
abc55396d0
fix flag test bug
2018-08-09 23:45:04 +02:00
Bojidar Marinov
80c829681e
Don't copy alpha when coloring the brush
2018-08-09 13:07:49 +03:00
Dennis Felsing
461a83871b
Version 11.3.1
2018-08-07 09:43:52 +02:00
def
0518769500
fix cl_show_nameplates_own with antiping off ingame
2018-08-03 23:40:03 +02:00
Aerll
a7a8db4dcb
fix crash when deleting layer
2018-08-03 14:14:25 +02:00
Jupeyy
d7bb03ee19
don't render all border all the time
2018-08-02 18:26:12 +02:00
bors[bot]
8194274352
Merge #1236
...
1236: Copy tile layer color to brush and picker r=heinrich5991 a=bojidar-bg
![Comparision](https://user-images.githubusercontent.com/5276727/43340641-aaebcfc4-91e5-11e8-9d43-c18aff8cd6fc.png )
Before is on the left, after is on the right.
Co-authored-by: Bojidar Marinov <bojidar.marinov.bg@gmail.com>
2018-07-30 14:25:11 +00:00
bors[bot]
b82930b56a
Merge #1227
...
1227: Allow multiple layers to be selected and edited at the same time. r=heinrich5991 a=bojidar-bg
Resolves #486 .
Please test, I'm still not completely sure it won't crash or mess up a map from time to time.
Co-authored-by: Bojidar Marinov <bojidar.marinov.bg@gmail.com>
2018-07-30 14:12:49 +00:00
Bojidar Marinov
0f6bd99d12
Copy tile layer color to brush and picker
2018-07-27 21:38:36 +03:00
Bojidar Marinov
333572acd4
Polish; disable picker and quad/sounds popup menus in multi-select
2018-07-27 16:54:52 +03:00
Dennis Felsing
409abf1b90
Simplify code a bit
2018-07-27 07:51:16 +02:00
Dennis Felsing
4f18d7f9b8
Merge pull request #1213 from Aerll/automapper
...
Add 2 new commands for automapper
2018-07-27 07:49:04 +02:00
Aerll
292f0a2b09
no need for all pos rule tests
2018-07-27 00:23:53 +02:00
Aerll
52fbade30c
remove unnecessary tiles overwriting
2018-07-26 22:58:05 +02:00
Aerll
56a5ee6d1b
formatting..
2018-07-26 18:59:29 +02:00
Aerll
2e7a0be516
wrong naming for pointer
2018-07-26 18:26:12 +02:00
Aerll
3c07a2b35b
fixes #1213
2018-07-26 14:49:43 +02:00
heinrich5991
5c4e819e44
Use str_startswith
, str_endswith
instead of ad-hoc implementations
2018-07-26 14:18:23 +02:00
bors[bot]
bfbeba54f5
Merge #1224
...
1224: vanilla skins only list now only shows vanilla skins r=Learath2 a=fokkonaut
Co-authored-by: fokkonaut <35420825+fokkonaut@users.noreply.github.com>
2018-07-26 11:49:24 +00:00
Tim Schumacher
1e3b8c7db5
Fix automapper crash without [section] line
2018-07-26 01:21:20 +02:00
fokkonaut
32b6bd44f6
heinrich styling
2018-07-25 23:36:52 +02:00
Bojidar Marinov
aa091bb8f7
Allow multiple layers to be selected and edited at the same time.
2018-07-25 23:57:58 +03:00
fokkonaut
e621a4a8a2
fixed, thanks heinrich
2018-07-25 22:41:24 +02:00
fokkonaut
59272476d6
fixed #1225
2018-07-25 21:14:10 +02:00
fokkonaut
63f2a091b6
vanilla skins only list now only shows vanilla skins
2018-07-25 14:13:07 +02:00
Dennis Felsing
473048dac0
Update credits
2018-07-25 09:04:47 +02:00
heinrich5991
6b1a037415
Add some UI for the skin prefix stuff
...
This displays four buttons below the edit box, one for resetting the
skin prefix, and the other three for activating the shipped variants
"kitty", "coala", "santa".
The "none" string is translatable, the variants names are not because
they correspond to file names.
2018-07-25 08:16:57 +02:00
Aerll
d235036f7d
Merge branch 'master' into automapper
2018-07-25 00:25:30 +02:00
bors[bot]
71c38d829a
Merge #1221
...
1221: Allow entering automapper rule probability as percentage r=heinrich5991 a=bojidar-bg
Fixes #837
Took a while to guess the right `sscanf` usage (since it does not detect unmatched input past the last format specifier).
Co-authored-by: Bojidar Marinov <bojidar.marinov.bg@gmail.com>
2018-07-24 19:21:27 +00:00
Bojidar Marinov
a635d4a121
Allow entering automapper rule probability as percentage
...
Fixes #837
2018-07-24 21:44:33 +03:00
Bojidar Marinov
d08f03fecf
Changing vanila skins option no longer requires restart
...
Fixes #1216
2018-07-24 19:56:09 +03:00
fokkonaut
b8b97eb740
added skin prefix ( #1218 )
2018-07-24 17:26:39 +02:00
Dennis Felsing
2b1df782d3
Version 11.3
2018-07-24 08:03:02 +02:00
Aerll
d5572dcb23
add 2 new commands to automapper
2018-07-19 17:09:29 +02:00
bors[bot]
e571dc8d93
Merge #1200
...
1200: Share libcurl resources across requests r=def- a=heinrich5991
Use the libcurl-share interface to share DNS cache and connections
between different requests.
If compiled with OpenSSL, libcurl can only be safely used from multiple
threads for OpenSSL >= 1.1.0, but this problem is not newly introduced
by this commit: According to libcurl-thread(3):
>OpenSSL <= 1.0.2 the user must set callbacks.
>
>https://www.openssl.org/docs/man1.0.2/crypto/threads.html#DESCRIPTION
>
>https://curl.haxx.se/libcurl/c/opensslthreadlock.html
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2018-07-19 09:15:10 +00:00
Edgar
ee756f2b1a
apparently 0 is used and NULL not...
2018-07-17 19:25:38 +02:00
Edgar
ef4505e96d
we don't use nullptr in tw code
2018-07-17 19:24:10 +02:00
Ryozuki
4d7e493391
another style fix
2018-07-16 18:57:33 +02:00
Ryozuki
9cf0a60e3a
remove useles brackets
2018-07-16 00:53:36 +02:00
Ryozuki
97ecd62214
fix timakro review
2018-07-16 00:43:54 +02:00
Tim Schumacher
a3a4d4f519
Fix teleport rifle "backtracking" logic, now pretty sure about this
2018-07-15 23:33:49 +02:00
Tim Schumacher
ea68ef201f
Initialize m_TeleGunTeleport to false
2018-07-15 23:03:30 +02:00
Tim Schumacher
bbcc9aca0c
Fix stopper teleport gun bug
2018-07-15 12:02:48 +02:00
Ryozuki
890c3a511e
remove unused telegun function
2018-07-15 10:22:04 +02:00
Ryozuki
b811d18422
make laser telegun use the new function
2018-07-15 10:22:03 +02:00
Ryozuki
2bee4a9807
remove comments and stuff that shouldn't be there
2018-07-15 10:22:02 +02:00
Ryozuki
c074fdd30f
fix all known bugs
2018-07-15 10:22:01 +02:00
Ryozuki
747946b291
fix style a bit
2018-07-15 10:22:00 +02:00
Ryozuki
50c84a60f7
add teleport gun/grenade/laser
2018-07-15 10:21:59 +02:00
Learath2
e2314a33c8
Let the receiver decide instead
2018-07-12 12:58:33 +02:00
Learath2
5a5c563a20
Require DNSBL check on /modhelp
2018-07-12 12:50:27 +02:00
heinrich5991
8d04e7e5e1
Share libcurl resources across requests
...
Use the libcurl-share interface to share DNS cache and connections
between different requests.
If compiled with OpenSSL, libcurl can only be safely used from multiple
threads for OpenSSL >= 1.1.0, but this problem is not newly introduced
by this commit: According to libcurl-thread(3):
>OpenSSL <= 1.0.2 the user must set callbacks.
>
>https://www.openssl.org/docs/man1.0.2/crypto/threads.html#DESCRIPTION
>
>https://curl.haxx.se/libcurl/c/opensslthreadlock.html
2018-07-11 20:17:21 +02:00
yangfl
81a39c229b
Fix typo
2018-07-10 17:29:02 +08:00
bors[bot]
1cebe615dd
Merge #1195
...
1195: Fix votespec on /pause (Fixes #1193 ) r=heinrich5991 a=ChillerDragon
I also thought about using a `` if (str_find(m_aVoteCommand, "set_team"))`` in front of the pause reset.
But then i thought its ok to unpause the VoteVictim every time.
I didn't test but i could belive that this can cause some unwanted unpause for a player with the id of the last VoteVictim on a server type vote for example. Thats why i also reset the ``m_VoteVictim`` to -1 to avoid this.
Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
2018-07-10 07:26:08 +00:00
ChillerDragon
819ae338d8
Improved pause fix (thanks to heinrich5991)
2018-07-10 00:08:57 +02:00
ChillerDragon
e9807fe47c
Fix votespec on /pause ( Fixes #1193 )
2018-07-08 04:39:36 +02:00
heinrich5991
925aff21d4
Fix all the header guards and adjust the script a little
2018-07-06 16:11:38 +02:00
bors[bot]
7c3e4e7f09
Merge #1187
...
1187: fix projectiles not rendering on mods based on ddnet r=heinrich5991 a=ZombieToad
for some reason the client doesnt render extrainfo projectiles if the gamemode wasnt ddnet
Co-authored-by: ZombieToad <25847476+zombietoad@users.noreply.github.com>
2018-07-06 12:27:33 +00:00
ChillerDragon
0ebf7b614d
Oop! forgot one
2018-07-06 11:37:33 +02:00
ChillerDragon
4e9eac432c
Better button id for dummy settings (thanks to deen)
2018-07-06 11:24:57 +02:00
ZombieToad
93cb1d8479
oops missed 1
2018-07-04 04:44:35 +01:00
ZombieToad
712fca8adc
fixes
...
thnx to Hey, Fuck you!
2018-07-04 04:35:06 +01:00
ZombieToad
5e723f6199
fix projectiles not rendering on mods based on ddnet
...
for some reason the client doesnt render extrainfo projectiles if the gamemode wasnt ddnet
2018-07-04 04:19:36 +01:00
def
af2d86765c
Version 11.2.1
2018-06-30 09:49:42 +02:00
heinrich5991
c07412b6c8
By default, don't embed vanilla images
...
Previously, when you added an image to the map in the editor, it would
start off as embedded, i.e. included in the map file. This does not make
sense for vanilla images as every client has those.
That's why we now only mark non-vanilla images as external by default.
2018-06-29 23:28:49 +02:00
Dennis Felsing
9e9a344197
Version 11.2
2018-06-27 08:32:21 +02:00
Dennis Felsing
2adff3eca8
Merge pull request #1136 from heinrich5991/pr_ddnet_sha256
...
Use more secure hash function for map downloads
2018-06-27 08:15:19 +02:00
Dennis Felsing
079322899f
Merge pull request #1173 from ZombieToad/patch-3
...
fix Pain weapons bug
2018-06-27 08:08:13 +02:00
def
89ca2cfe8b
Allow some key binds in editor when GUI is hidden
2018-06-26 22:51:43 +02:00
def
daf83470cc
Add cl_nameplates_own for demo recording
2018-06-26 22:30:28 +02:00
def
38767df2a4
Update credits
2018-06-26 21:19:17 +02:00
ZombieToad
4d2ee25bfb
fix Pain weapons bug
...
https://cdn.discordapp.com/attachments/293493549758939136/461236206131478538/PainWeaponBug.gif
because I'm new to coding it took me 2 hours to find this bug. I spent a while looking at the POWERUP_ARMOR and RemoveNinja() code wondering why it didn't work.
this bug is funny to some players so maybe you don't want to fix it. i wont mind because it was a challange for me to find it
2018-06-26 19:45:40 +01:00
Piepow
9f61424860
Fix pain emote immunity with jetpack
2018-06-25 21:11:22 -04:00
Pavel Titov
e0ee4ffe8a
Fixed dyncam
2018-06-25 15:34:31 +03:00
heinrich5991
ca8fcc823c
Use more secure hash function for map downloads
...
SHA256 was chosen because it is reasonably standard, the file names
don't explode in length (this rules out SHA512) and it is supported by
basically all versions of OpenSSL (this rules out SHA512/256 and SHA3).
The protocol is changed in a backward compatible way: The supporting
server sends the SHA256 corresponding to the map in the `MAP_DETAILS`
message prior to sending the `MAP_CHANGE` message. The client saves the
SHA256 obtained from the `MAP_DETAILS` message until the next
`MAP_CHANGE` message.
For servers not supporting this protocol, the client falls back to
simply opening maps like in the previous scheme.
Remove the `map_version` tool, it is not being used and would have been
a little bit effort to update.
Use the OpenSSL implementation of SHA256 if it is supported, otherwise
fall back to a public domain one.
Fix #1127 .
2018-06-24 17:04:50 +02:00
heinrich5991
125377bf2d
Use <stdint.h>
instead of <cstdint>
2018-06-24 17:00:21 +02:00
bors[bot]
ebb9481857
Merge #1157 #1160
...
1157: Add a way to call for external moderator help r=Learath2 a=heinrich5991
This is done by HTTP POSTing to a location specified by
`sv_modhelp_url`. We also provide a `src/modhelp/server.py` which can
use theses POSTs to forward them to Discord servers.
The POST contains a JSON object payload, with the keys `"port"` which
contains the server port, `"player_id"` which contains the calling
player's client ID, `"player_name"` which contains the calling player's
nick and `"message"` which is the user-specified message.
Make JSON-escaping function public, add tests and fix bugs uncovered by
these tests.
Supersedes #1129 .
1160: Fix warning about incompatible function pointers r=Learath2 a=heinrich5991
This comes at the cost of one allocation per started thread. This should
be okay because we're about to invoke a syscall anyway.
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2018-06-24 14:12:48 +00:00
heinrich5991
7b76208431
Use m_ModhelpTick
to store the last modhelp action
...
This addresses @Learath2's comment.
2018-06-24 11:15:16 +02:00
heinrich5991
57e26450b2
Unify spelling of Modhelp
...
Since the command name is `/modhelp` it should be written `Modhelp` in
camel case.
2018-06-24 11:03:18 +02:00
heinrich5991
cdffd7616f
More style fixes
2018-06-24 09:57:30 +02:00
heinrich5991
e5e05081a7
Make port and client ID integers on /modhelp POST
2018-06-23 19:39:38 +02:00
heinrich5991
56876c7516
Add information about whether a moderator is present to the /modhelp POST
2018-06-23 19:38:27 +02:00
heinrich5991
36694d3852
Add a way to call for external moderator help
...
This is done by HTTP POSTing to a location specified by
`sv_modhelp_url`. We also provide a `src/modhelp/server.py` which can
use theses POSTs to forward them to Discord servers.
The POST contains a JSON object payload, with the keys `"port"` which
contains the server port, `"player_id"` which contains the calling
player's client ID, `"player_name"` which contains the calling player's
nick and `"message"` which is the user-specified message.
Make JSON-escaping function public, add tests and fix bugs uncovered by
these tests.
Supersedes #1129 .
2018-06-19 23:27:35 +02:00
heinrich5991
c739aef60e
Some style fixes
2018-06-19 14:28:53 +02:00
Dennis Felsing
45cf274fa9
Merge pull request #1153 from ZombieToad/patch-1
...
fix server browser bug
2018-06-18 09:03:44 +02:00
bors[bot]
048176d043
Merge #1155
...
1155: fix sv_skinstealaction r=Learath2 a=ZombieToad
Co-authored-by: ZombieToad <25847476+zombietoad@users.noreply.github.com>
2018-06-17 13:03:09 +00:00
bors[bot]
6850fa98bf
Merge #1154
...
1154: Rename 'credit' -> 'credits' r=Learath2 a=ChillerDragon
It's named ConCredits and there are many people credited so i guess the plural is fitting better c;
Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
2018-06-17 12:53:18 +00:00
ZombieToad
79c3327199
fix sv_skinstealaction
2018-06-17 07:28:32 +01:00
ChillerDragon
bc89e1644d
Rename 'credit' -> 'credits'
2018-06-17 05:42:41 +02:00
ZombieToad
7da716e3f0
fix server browser bug
...
ddnet client has the server browser while online
2018-06-17 03:26:23 +01:00
ZombieToad
13722d849d
fix server browser bug
...
it loaded favourite servers into ddnet serverlist if you used add_favorite or remove_favorite
2018-06-17 02:47:18 +01:00
bors[bot]
d52143ffd5
Merge #1151
...
1151: fix veto r=heinrich5991 a=ZombieToad
before if a player entered the game and stayed before start on a server with a clock over 20 mins he would get veto
Co-authored-by: ZombieToad <25847476+zombietoad@users.noreply.github.com>
2018-06-15 07:44:28 +00:00
ZombieToad
4544d02639
fix veto
...
before if a player entered the game and stayed before start on a server with a clock over 20 mins he would get veto
2018-06-15 00:49:09 +01:00
ZombieToad
99d0360947
fix pause messages
...
they were reversed
2018-06-14 22:41:28 +01:00
ZombieToad
a858b7ddcd
fix /settings stuff
2018-06-14 00:33:07 +01:00
ChillerDragon
4b6133003b
Fix help for showall command
...
current ddnet doesn't support the '/help showall' command.
This commit should fix that.
2018-06-12 00:30:21 +02:00
Dennis Felsing
e72413c43b
Merge pull request #1137 from ChillerDragon/UpdateCredits
...
Update credits
2018-06-06 09:49:31 +02:00
Dennis Felsing
08c45ced0f
Merge pull request #1133 from ChillerDragon/ConsolePages
...
Add commands for switching pages in console
2018-06-06 09:48:00 +02:00
ChillerDragon
522c893812
Update credits
2018-06-06 02:40:37 +02:00
Dennis Felsing
0a7284913b
Merge pull request #1134 from ChillerDragon/DummyHammerflyFix
...
Fix unwanted dummy fire
2018-06-05 09:04:29 +02:00
ChillerDragon
0fe419589e
All hail teeworlds convention
2018-06-04 11:16:04 +02:00
ChillerDragon
6564b93a35
Fix unwanted dummy fire
...
If the latest fire input and the current differ in any way it causes firing.
So if you switch dummy after hammerfly was used it causes a weaponfire.
This unwanted fireing caused many unlucky fails for me already.
So i swap the fire status on dummyswapping so the server doesn't see any difference even if hamemrfly was used.
2018-06-04 11:06:54 +02:00
ChillerDragon
8a761bfedf
Add commands for switching pages in console
...
For now they were just hardcodet on page up and down keys.
The new command allows it to bind it for example on the f-keys for laptop users.
2018-06-03 11:48:08 +02:00
def
626de24d65
Version 11.1.9
2018-05-29 22:10:33 +02:00
Ryozuki
21d6f4f39b
use cstdint also in gamecontroller.h
2018-05-29 11:38:52 +02:00
Dennis Felsing
69667d4537
Also use cstdint on non-MSVC instead of stdint.h
2018-05-29 09:15:00 +02:00
Ryozuki
d539331c64
use includes first in msc in eventhandler.h
2018-05-29 09:01:35 +02:00
def
5726d5647c
Version 11.1.8
2018-05-13 22:23:11 +02:00
def
59675fe63c
Rate-limit /lock ( fixes #1122 )
2018-05-11 22:05:32 +02:00
def
a7b778977a
Add sv_sql_validservernames ( fixes #1123 )
2018-05-11 21:57:47 +02:00
def
121c3b8076
11.1.7
2018-05-09 22:07:03 +02:00
Dennis Felsing
bffa406e2c
Version 11.1.6
2018-05-09 09:10:46 +02:00
Dennis Felsing
05c41efcea
Version 11.1.5
2018-05-07 08:29:27 +02:00
Dennis Felsing
722087ba29
Merge pull request #1091 from heinrich5991/pr_ddnet_mapbugs
...
Add infrastructure for preserving bugs
2018-05-07 08:27:29 +02:00
bors[bot]
00dd1be3bf
Merge #1120
...
1120: Allows low mousesens r=heinrich5991 a=ChillerDragon
Lower minimum mousesens value to avoid confusion. Responing to GG Kid's request:
https://forum.ddnet.tw/viewtopic.php?f=45&t=5807&p=58207&hilit=mousesens#p58207
I did some testing and found no bugs... but i wonder why it was set to 5. So maybe it had some reason i don't understand so please only merge if you know what you are doing ;p
Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
2018-05-01 19:15:33 +00:00
ChillerDragon
e31f53f651
Fix ui for low mousesens
2018-05-01 17:51:36 +02:00
ChillerDragon
4fe6a23d0c
Allow low mosesens in menu
2018-05-01 17:23:14 +02:00
bors[bot]
97ce07a1ab
Merge #1118
...
1118: Add vote_ban rcon command r=heinrich5991 a=ChillerDragon
Works the same as muteid.
Vote banned players aren't allowed to start or participate in votes.
Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
2018-05-01 15:04:27 +00:00
ChillerDragon
d4b0ad462b
Allow vote muted players to vote...
...
It is a feature not a bug lol. Vote muted players are still not able to call own votes but they now can vote yes or no.
2018-05-01 16:58:03 +02:00
heinrich5991
81aeb30654
Also add a console command to enable map compatibility mode
2018-05-01 12:38:33 +02:00
def
8225077d17
Explicit type conversion
2018-04-30 18:22:31 +02:00
def
c594a59569
/timeout without parameter: Try to reclaim using already set timeout code
2018-04-29 16:01:01 +02:00
def
5473012a6d
/showall: Only print message if state changed
2018-04-29 15:57:57 +02:00
def
6793acafc4
Allow longer server settings in editor
2018-04-27 21:36:29 +02:00
Dennis Felsing
e561498617
fix...
2018-04-25 14:12:49 +02:00
Dennis Felsing
96ecbfcfa8
Add cl_show_hook_coll_always
2018-04-25 12:03:27 +02:00
ChillerDragon
d6be41d7ab
Fix style and imporve performance
2018-04-21 18:45:33 +02:00
ChillerDragon
32189f8485
Pointer naming convention
2018-04-19 11:51:10 +02:00
ChillerDragon
c1952d3ff1
'VoteBan' -> 'VoteMute'
2018-04-19 11:49:18 +02:00
ChillerDragon
6b26751eba
Fixes style and shows ban message only in console
2018-04-19 11:01:27 +02:00
ChillerDragon
835f560013
Add vote_ban rcon command
2018-04-18 19:26:49 +02:00
Edgar
2ece3f36b7
remove periods
2018-04-17 19:35:25 +02:00
Ryozuki
07bc652896
add showall message
2018-04-17 17:52:35 +02:00
def
160b4df81c
Version 11.1.4
2018-04-15 20:15:13 +02:00
bors[bot]
73a65a7026
Merge #1116
...
1116: Don't send buffer cmds to non OpenGL 3.3 backend r=def- a=Jupeyy
Co-authored-by: Jupeyy <jupjopjap@gmail.com>
2018-04-15 18:00:54 +00:00
Jupeyy
5b4a889ae0
quad positioning to center of text
2018-04-15 19:35:56 +02:00
bors[bot]
d77d18c98a
Merge #1114
...
1114: Some text positioning r=def- a=Jupeyy
To be clear, the entity text was meant to be a bit higher, so the text of the overlay is not overwritten("FROM", "CFROM")?
Because there was -4.f added to the y coordinate. Atleast it looks pretty much the same as the old renderer now.
Co-authored-by: Jupeyy <jupjopjap@gmail.com>
2018-04-11 10:27:07 +00:00
Jupeyy
8cc0de8d31
Some text positioning
2018-04-11 12:19:30 +02:00
bors[bot]
23f560f3d2
Merge #1112
...
1112: Fix default dyncam values r=def- a=Jupeyy
Since dyncam is disabled by default:
these are default static values.
Co-authored-by: Jupeyy <jupjopjap@gmail.com>
2018-04-11 09:35:40 +00:00
Jupeyy
3118ad4069
Fix default dyncam values
2018-04-11 11:27:30 +02:00
bors[bot]
73cc3a147b
Merge #1110
...
1110: Fix killmessage flag render r=def- a=Jupeyy
Co-authored-by: Jupeyy <jupjopjap@gmail.com>
2018-04-09 20:28:24 +00:00
Jupeyy
2a6050eaf4
use killer team not victim
2018-04-09 22:11:51 +02:00
heinrich5991
f8277267a0
Remove mem_alloc
and mem_free
, use standard C functions instead
...
Replace `mem_free` by `free`, and `mem_alloc` by `malloc` or `calloc`
(the latter one being used to allocate a zeroed array of elements,
sometimes, this makes a call to `mem_zero` superfluous).
This results in having to remove `mem_stats` which previously recorded
the number of allocations and their size that the Teeworlds code did
directly.
Remove OOM handling in `src/game/client/components/binds.cpp`.
Remove needless copying in the CSV code in
`src/game/client/components/statboard.cpp`.
2018-04-09 11:56:39 +02:00
def
b504ae60fb
Improve wording in moderation messages
2018-04-07 16:51:17 +02:00
Jupeyy
fbaedff1e6
reset color for the gameflags
2018-04-05 20:46:22 +02:00
Dennis Felsing
f426fef7f5
Version 11.1.3
2018-04-05 13:48:38 +02:00
def
bd1653a91b
Editor: Fix debug client crash
2018-04-04 21:41:14 +02:00
def
6d3b8f2d36
fix2
2018-04-04 20:41:05 +02:00
def
03ee53eaf1
space
2018-04-04 20:11:24 +02:00
def
30679364f5
Fix
2018-04-04 20:03:05 +02:00
def
8d98bd4e9f
Projectiles explode per team
2018-04-04 19:48:46 +02:00
Dennis Felsing
30588918c4
Merge pull request #1100 from Jupeyy/master
...
More GUI text positioning fixes
2018-04-04 08:40:22 +02:00
Dennis Felsing
e78c0b6085
Version 11.1.2
2018-04-04 08:39:13 +02:00
Jupeyy
c7114e734c
more ui text positioning fixes
2018-04-04 02:40:30 +02:00
def
c8c4fd5617
Fix reconnect timer display...
2018-04-03 21:32:21 +02:00
def
910b507903
Version 11.1.1
2018-04-03 19:20:34 +02:00
Dennis Felsing
dbc8321c56
Merge pull request #1098 from Jupeyy/master
...
Some text related fixes (color, positining)
2018-04-03 19:11:19 +02:00
def
07460ede9e
cl_control_dummy -> cl_dummy_control
2018-04-03 18:12:27 +02:00
Jupeyy
1a74d8c039
ui fixes: text positining
2018-04-03 17:41:11 +02:00
Ryozuki
722b003d6b
fix command typo
2018-04-03 16:28:02 +02:00
Dennis Felsing
43bb77af05
Version 11.1
2018-04-03 10:30:08 +02:00
Dennis Felsing
5a53e4c54d
Fix compilation
2018-04-03 10:27:19 +02:00
Dennis Felsing
f8a00ad8af
Merge pull request #1000 from Ryozuki/pr_modhelp_chat_cmd
...
Add /modhelp chat command
2018-04-03 10:21:01 +02:00
Dennis Felsing
256845c824
Merge pull request #1072 from ChillerDragon/Broadcasts
...
Add broadcast importance (fixes #669 )
2018-04-03 10:15:01 +02:00
Dennis Felsing
ed33557a97
Merge pull request #1081 from Jupeyy/master
...
New buffer system and text renderer to support buffering of hud, text and map components, that are displayed ingame
2018-04-03 10:12:09 +02:00
Dennis Felsing
b3a8cef274
Merge pull request #1086 from QingGo/patch-1
...
Provide more controlable command for dummy
2018-04-03 10:10:35 +02:00
heinrich5991
b9cdacbb37
Try to unfix the grenade bug for the map "Binary"
2018-03-24 14:01:01 +01:00
heinrich5991
4576dae6aa
Add infrastructure for special-casing maps
2018-03-24 14:00:41 +01:00
Jupeyy
375b127f4e
style fix
2018-03-21 16:02:11 +01:00
Jupeyy
887bcb52ff
add window event listener for the client
2018-03-21 15:54:51 +01:00
Jupeyy
2cbb8af75b
add window resize event, and fix some ui things
2018-03-21 15:53:29 +01:00
bors[bot]
1e15b97543
Merge #1088
...
1088: Only count distinct client IP addresses for minimum player vote count r=heinrich5991 a=heinrich5991
2018-03-20 10:21:49 +00:00
heinrich5991
08e2c843a1
Only count distinct client IP addresses for minimum player vote count
2018-03-18 20:53:05 +01:00
Chiller Dragon
74ecdea3ab
Add assert on unimportant broadcasts to all players
2018-03-16 13:30:47 +01:00
Chiller Dragon
cc70628a49
Static broadcast delay (10 sec)
2018-03-15 22:35:25 +01:00
Jupeyy
71a4a20812
team name position fix
2018-03-15 03:59:57 +01:00
清歌
06143eb273
Register more controlable command for dummy
...
Which is cl_control_dummy, cl_dummy_jump, cl_dummy_fire and cl_dummy_fire.
if i want to contol my dummy to jump,
first, press f1 in game, and use "cl_control_dummy 0",
second, use "bind mouse1 +toggle cl_dummy_jump 1 0".
finally, i can contol my dummy to jump by pressing left mouse button.
2018-03-14 20:20:41 +08:00
清歌
c976e6d017
Provide more controlable command for dummy
...
When g_Config.m_ClControlDummy id 1, we can control dummy by toggle g_Config.m_ClDummyJump or another to 1 or 0.
2018-03-14 20:14:18 +08:00
bors[bot]
c65ffeb4ae
Merge #1082
...
1082: Fix a bug with name bans r=Learath2 a=heinrich5991
Overlong nick names could be used to circumvent name bans.
2018-03-14 02:00:42 +00:00
heinrich5991
d7f6cf2892
Fix some system.c insanity
...
`str_utf8_isspace` now returns true if the passed code point renders as
a space, instead of when not.
Add `str_utf8_trim_right`, use this function and
`str_utf8_skip_whitespaces` in the server.
Add tests for the three functions
2018-03-14 02:27:15 +01:00
Jupeyy
c1a962b870
add ui fixes to work with new text renderer
2018-03-13 21:59:07 +01:00
Jupeyy
0930a3b7de
buffer quads, and use the new backend system (+ fix a bug when
...
rendering)
2018-03-13 21:57:46 +01:00
Jupeyy
790201f751
add buffering for the ingame visible components of the hud
2018-03-13 21:56:37 +01:00
Jupeyy
db48a03898
add text buffering for nameplates and killmessages
2018-03-13 21:55:47 +01:00
Jupeyy
6919a9da40
add new sprite functions for easier sprite quad buffering, and add this
...
to teerendering
2018-03-13 21:53:54 +01:00
Jupeyy
a59d7401b5
add buffering for dmg indicator, map items, particles and players
2018-03-13 21:52:44 +01:00
Jupeyy
59f9d021ce
buffer ingame chat
2018-03-13 21:50:49 +01:00
Jupeyy
62c3074c88
add new text renderer engine to support text buffering, cursors, text
...
marking and less character texture updates
2018-03-13 21:49:07 +01:00
bors[bot]
cc6449bcd6
Merge #1055
...
1055: Keep track of lost frames and update time r=heinrich5991 a=Jupeyy
The problem a friend was occuring was, that on a fresh Windows install settings like cl_refresh_rate are set to 480.
Since the render calls take longer time than no render calls, it happened that client was sleeping on one update cycle and then took to long in another, where it called the render functions, leeding to less FPS than the cl_refresh_rate. this caused mouse lags and rarely frame drops.
another thing is, that select on Windows is non microsecond accurate, or just often returns too early, which caused that the refresh rate is much too high, or even ignored, (probably windows can only sleep on milliseconds, or again, is extremly inaccurate).
Another things on windows is that time_freq might be a "very odd" number ^^
i mean like on unix it's one microsecond (1,000,000 = 1s), but on windows the time_freq depends on the CPU leading to inaccurate calculation of the sleep time and render time.
This wasn't insanly huge issue, but probably skipped a few microseconds here and there.
This fix should stabilize the frames. I'd like to hear your opinion on this tho.
2018-03-13 19:41:38 +00:00
VeH-c
748007d525
Fixed typo
2018-03-09 22:24:56 -08:00
ChillerDragon
8d1e60d5a6
Fix code style
2018-03-07 18:10:57 +01:00
ChillerDragon
ab2876743a
Make broadcast importance delay configurable
2018-03-07 18:06:39 +01:00
ChillerDragon
052e67c541
Add broadcast importance ( fixes #669 )
2018-03-07 17:22:41 +01:00
ChillerDragon
57cb136c55
Remove teamkill message on solo teams
...
For speedrunning alone in a team this "Everyone in your locked team was killed because '%s' %s."
is very annoying. So better only print it if more than 1 tee is in the team.
2018-03-06 14:08:04 +01:00
Dennis Felsing
93f0cd8933
Proper negative top5 calculation ( fixes #1064 )
2018-03-05 11:53:55 +01:00
bors[bot]
e64919ddcb
Merge #1058
...
1058: Add /pausevoted and /specvoted r=heinrich5991 a=def-
- Also fix /pause and /spec with name parameter a bit
- Move out common code between pause/spec
2018-03-02 14:41:31 +00:00
Jupeyy
ced0ea3f82
set the gfx refresh rate limit higher for the console
2018-03-02 03:29:02 +01:00
def
ad99c58528
Add /pausevoted and /specvoted
...
- Also fix /pause and /spec with name parameter a bit
- Move out common code between pause/spec
2018-03-01 19:46:07 +01:00
heinrich5991
1387ee9a3a
Regenerate version file on git changes
...
Previously, this file had to be manually deleted if you wanted to have a
new version compiled in.
2018-03-01 16:50:29 +01:00
ChillerDragon
c1e3dec980
Remove unused teams function
2018-02-27 16:40:52 +01:00
Dennis Felsing
03792c1d0f
Merge pull request #1047 from Learath2/dd_pr_ctrldelete
...
Add ctrl-delete to chat. Closes #1032
2018-02-22 21:58:51 +01:00
Dennis Felsing
4cebe86ad8
Merge pull request #1049 from Learath2/dd_pr_scoreboardclan
...
A little more space for clan name. Fixes #724
2018-02-22 21:58:10 +01:00
Learath
7d1aaa735a
A little more space for clan name. Fixes #724
2018-02-22 21:17:10 +01:00
Learath
4031e15fc8
Remove extra conditional
...
Stricter scope on temporary var.
2018-02-22 20:48:47 +01:00
Learath
20cac1c2bb
Fix dyncam confusion. Closes #783
...
Remove "vanilla" dyncam toggle.
2018-02-22 20:40:14 +01:00
Learath
1f2e398819
Add ctrl-delete to chat. Closes #1032
2018-02-22 20:11:56 +01:00
bors[bot]
b14370e6ad
Merge #1035
...
1035: Fix #1031 r=heinrich5991 a=Learath2
Not sure if this is the best way to do this though :D
2018-02-14 13:08:15 +00:00
Learath2
ff872b39cd
Forgot to add GameID to the col-list
2018-02-14 01:17:40 +01:00
Learath2
61f0461d46
Style
2018-02-13 17:15:16 +01:00
bors[bot]
6338a05fd3
Merge #1025
...
1025: Add Teehistorian UUIDs to every record r=heinrich5991 a=Learath2
For statistic collecting purposes, don't merge before updating the SQL Schema.
ALTER TABLE record_race ADD COLUMN GameID VARCHAR(64) AFTER cp25;
ALTER TABLE record_teamrace ADD COLUMN GameID VARCHAR(64) AFTER ID;
2018-02-13 16:01:20 +00:00
Learath2
8cfebaa0b2
Fix #1031
2018-02-13 03:45:43 +01:00
bors[bot]
c0fa444f3a
Merge #1034
...
1034: Try to find external GLEW, pnglite and Wavpack r=Learath2 a=heinrich5991
Allow for newer versions of Wavpack, fixes #1023 .
Fixes #1016 .
2018-02-13 02:02:07 +00:00
heinrich5991
797581502a
Remove spurious engine/server
include in game
2018-02-12 23:29:45 +01:00
heinrich5991
9e9b57ec62
Move generated files to the CMake build directory
2018-02-12 23:29:45 +01:00
Learath
bc11fc2a35
Add GameUuid to teamscore aswell
...
Also get GameUuid through an interface.
2018-02-07 16:43:36 +01:00
yangfl
1620fc9b0f
Fix typo
2018-02-07 16:10:40 +08:00
Learath
94d98e833a
Fix mistakes. Fix CREATE TABLE
2018-02-07 01:10:02 +01:00
Learath
0aeb912db2
Escape the UUID just in case
2018-02-07 00:44:03 +01:00
Learath
4a52bca55d
Include the teehistorian uuid instead
2018-02-07 00:35:21 +01:00
Learath
4748d5f065
Add client version to the record
2018-02-06 20:07:42 +01:00
def
a00d4112a7
Version 11.0.3
2018-02-03 21:47:09 +01:00
def
c73e2a7ba8
New year is on January 1, not February 1
2018-02-01 20:22:18 +01:00
bors[bot]
4b84d7558f
Merge #1007
...
1007: Record rcon authentication stuff into teehistorian r=Learath2 a=heinrich5991
This allows to check moderator actions after-the-fact.
2018-01-30 10:38:01 +00:00
heinrich5991
1c3dc8c316
Record rcon authentication stuff into teehistorian
...
This allows to check moderator actions after-the-fact.
2018-01-28 03:13:05 +01:00
heinrich5991
a744fe53a2
Remove CPlayer::m_Authed
...
This can't get out of sync now.
2018-01-27 23:13:17 +01:00
bors[bot]
f48a2a395b
Merge #947
...
947: Add support for extra chunks in teehistorian r=Learath2 a=heinrich5991
This allows to add rarely-used chunks without increasing the file format
version.
2018-01-27 21:09:43 +00:00
def
4377c5d707
comma
2018-01-27 10:54:24 +01:00
def
3672efb6fe
Can't change GAME_VERSION after all
2018-01-26 22:12:12 +01:00
def
151da9af97
Remove Emojis
2018-01-25 20:03:18 +01:00
Ryozuki
214a8ba10a
fix votes
2018-01-25 19:36:40 +01:00
Dennis Felsing
cb0209d6e3
Reapply "Only make grenades explode once (fix by timakro)"
2018-01-25 02:32:34 +01:00
Dennis Felsing
f3256f0b6c
Revert "Only make grenades explode once (fix by timakro)"
...
This reverts commit b9a93a18fb
.
2018-01-24 07:50:15 +01:00
def
39cb6ad8b7
Version 11.0.2
2018-01-22 20:55:24 +01:00
Dennis Felsing
fac054275c
Merge pull request #992 from Jupeyy/master
...
RAM usage reduction for map buffering and foreground layer count fix
2018-01-22 20:44:56 +01:00
Dennis Felsing
8f2ce84f4e
Merge pull request #996 from Ryozuki/pr_cmd_vote_no
...
Add vote_no command
2018-01-22 20:36:20 +01:00
Dennis Felsing
b9a93a18fb
Only make grenades explode once (fix by timakro)
2018-01-22 14:15:53 +01:00
def
3033fbb466
Also pass negative numbers
2018-01-21 19:13:20 +01:00
def
a731482152
/top5, /top5team, /top5points, /times also show worst results with negative numbers
2018-01-21 19:08:52 +01:00
Ryozuki
79fedff12d
add /modhelp chat command
2018-01-21 01:32:55 +01:00
Ryozuki
0f328d6c52
wrong side..
2018-01-18 18:41:37 +01:00
Ryozuki
e039145628
fix pointer naming
2018-01-18 18:30:38 +01:00
Ryozuki
e59387a304
revision changes
2018-01-18 16:17:23 +01:00
Ryozuki
6413cab702
forgot newline
2018-01-18 07:58:22 +01:00
Ryozuki
1e88ad92a0
add vote_no command and show auth rank in force vote
2018-01-18 07:56:07 +01:00
Ryozuki
6bf4a6e2ee
fix style in ddracecommands.h
2018-01-18 01:25:45 +01:00
Jupeyy
15cc8e2dc8
use type that can hold any pointer size
2018-01-16 10:18:14 +01:00
Jupeyy
99bb1cc7db
add parentheses
2018-01-16 09:41:06 +01:00
Jupeyy
e9a2fc1d6e
reduce RAM allocation for map buffering, and fix forground layer count
2018-01-16 09:35:28 +01:00
def
c295ffbb6f
Version 11.0.1
2018-01-15 20:19:23 +01:00
Dennis Felsing
d174509f50
Merge pull request #990 from Ryozuki/pr_add_output_mutes_muteid
...
Add more output to mutes and muteid
2018-01-15 19:41:19 +01:00
Ryozuki
05ece01690
Add more output to mutes and muteid
2018-01-15 19:31:14 +01:00
def
949bb2d9fc
Fix crash in emoji on map change, clear emojis
2018-01-15 19:08:51 +01:00
Dennis Felsing
31bbbaf512
case sensitivity
2018-01-15 09:10:20 +01:00
Dennis Felsing
272e14357c
Fix SQL code for points/top5points
2018-01-15 09:08:51 +01:00
def
7ae5f33bdd
fix cl_show_direction (thanks jupeyy)
2018-01-14 20:51:02 +01:00
def
c8d4b605bf
Improved cl_showfps, don't need average/current anymore
2018-01-14 17:21:50 +01:00
def
325371331d
Version 11.0
2018-01-14 15:04:18 +01:00
def
2af80de4ea
Teeworlds game version update
2018-01-14 13:57:57 +01:00
def
80cf5eff45
Update credits
2018-01-14 08:11:48 +01:00
def
9d5976a07d
Fix version number...
2018-01-14 07:37:03 +01:00
def
dee03a4f2e
Version 11.0
2018-01-14 07:34:46 +01:00
def
4bc0d176d3
More reverts..
2018-01-13 22:22:55 +01:00
def
3ee76bc5ff
Revert voting change
2018-01-13 21:40:29 +01:00
def
16117f74d7
People don't like my vote changes
2018-01-13 16:46:31 +01:00
def
4dc118c752
Mutes work independent of port, don't announce IP in chat ( fixes #908 )
2018-01-13 10:50:31 +01:00
def
4682eaff56
Add option to turn off emojis ( fixes #936 ) and add options in settings menu
2018-01-13 10:37:24 +01:00
def
484325f493
Fix nameplates with antiping ( fixes #943 )
2018-01-12 19:24:44 +01:00
heinrich5991
9d9bfee53f
Move to ISO 8601-compliant timestamps
...
https://en.wikipedia.org/w/index.php?title=ISO_8601&oldid=819129098
2018-01-11 16:01:19 +01:00
heinrich5991
22080c840f
Move teehistorian UUIDs into engine
2018-01-11 16:01:13 +01:00
heinrich5991
6c378b972b
Add support for extra chunks in teehistorian
...
This allows to add rarely-used chunks without increasing the file format
version.
2018-01-11 15:59:53 +01:00
def
2ebc993379
Oops
2018-01-11 15:26:41 +01:00
def
e29de3295f
Vote faster when all press yes
2018-01-10 23:46:14 +01:00
def
37b7f058b2
Fix voting
2018-01-10 23:44:40 +01:00
def
0cc4763a43
Fix crash: Switch tiles with number 0 are handled like non-switch tiles
...
Thanks to 645654 and phacrum for report
2018-01-10 22:19:38 +01:00
Dennis Felsing
d4f5b6ae69
Remove redundant code
2018-01-10 14:36:04 +01:00
Dennis Felsing
ea85e0669a
Keep vote running until everyone presses f3 or time runs out
...
Gives enough time for mods to react and for players to save
2018-01-10 14:33:03 +01:00
bors[bot]
94e43509cc
Merge #977
...
977: Active moderator mode r=heinrich5991 a=Ryozuki
This PR adds a RCON command called "moderate", which enables a active moderator mode for the caller, so this will happen if a vote kick/spec is made:
- Vote will last atleast x seconds defined by CGameContext::m_VoteCloseTime (35 seconds on ddnet, according to @heinrich5991) even if there is majority.
- If a active moderator votes, it will be a force vote.
- If the active moderator doesn't vote, it will pass normally
- This is only for kick and spec votes.
I also added `access_level moderate 1` to autoexec_server.cfg
If there are any spelling errors on the code tell me.
Maybe needs to be tested more.
2018-01-09 09:14:17 +00:00
def
4813a4b857
Add cl_shownotifications ( fixes #949 )
2018-01-05 20:20:39 +01:00
def
77a999c0b1
Add cl_showemotes
2018-01-05 20:17:22 +01:00
def
f1af7cff98
Still render chat input even when chat is disabled
2018-01-05 20:11:05 +01:00
def
3025ed35c9
Introduce cl_show_chat_system
...
Set to 0 to disable server messages
2018-01-05 20:10:39 +01:00
Ryozuki
d6eb604718
add rcon moderate mode
2018-01-05 15:23:08 +01:00
Learath2
8353701789
Add sv_rcon_vote. Fix punctuation.
...
Add option to only allow authed clients to call votes.
2017-12-27 10:40:51 +03:00
def
627291c510
/pause <name> always switches to watching name
...
Old behaviour switched you out of pause if you were paused already
Thanks to fokkonaut for suggestion
2017-12-23 20:42:54 +01:00
Dennis Felsing
be9a5fc8c8
Update save command description (by marcelherd)
2017-12-21 13:58:09 +01:00
bors[bot]
1d55bbda0e
Merge #948
...
948: Remove deprecated multi commands r=Learath2 a=heinrich5991
You now have to use `/mc;` instead of `/` if you want to bind multiple
commands to one key.
2017-12-08 14:48:32 +00:00
Jupeyy
9228e632e9
remove spaces
2017-12-03 11:50:43 +01:00
Jupeyy
e314802c9c
Initialize m_LastLoad in Constructor and reset it when a new map is
...
loaded(%current% can be loaded directly)
2017-12-03 08:01:17 +01:00
ChillerDragon
3acb650a6f
removed unused comment
2017-12-02 18:26:53 +01:00
bors[bot]
bad105c5e4
Merge #953
...
953: Overhauled job system r=Learath2 a=heinrich5991
The engine now takes `std::shared_ptr<IJob>`, this will ensure the
appropriate lifetime of the given parameters, it also allows for proper
destruction. Remove the now obsolete `IFetcher` interface and `CFetcher`
class.
Also adds some locks to `CUpdater`, previously it didn't have any locks
at all.
2017-11-27 23:34:54 +00:00
bors[bot]
41f6140179
Merge #945
...
945: Don't use nonstandard `#pragma pack` r=Learath2 a=heinrich5991
It's not needed in that place anyway.
2017-11-26 16:27:50 +00:00
bors[bot]
f9e0b6b3fe
Merge #931
...
931: Add Speedup tiles correctly at the border creation & remove tile layer extension restriction & fix the LastIndex buffer initlialization & setup non mipmap textures up correctly(texture completness) r=heinrich5991 a=Jupeyy
Allows speedups to be drawn on extended range(out of map range) too.
2017-11-26 13:32:05 +00:00
heinrich5991
94acac91a0
Overhauled job system
...
The engine now takes `std::shared_ptr<IJob>`, this will ensure the
appropriate lifetime of the given parameters, it also allows for proper
destruction. Remove the now obsolete `IFetcher` interface and `CFetcher`
class.
Also adds some locks to `CUpdater`, previously it didn't have any locks
at all.
2017-11-23 15:47:38 +01:00
heinrich5991
7fc4a21565
Remove deprecated multi commands
...
You now have to use `/mc;` instead of `/` if you want to bind multiple
commands to one key.
2017-11-18 16:36:34 +01:00
heinrich5991
be80ccb7d6
Don't use nonstandard #pragma pack
...
It's not needed in that place anyway.
2017-11-18 00:24:44 +01:00
heinrich5991
ef0c1b266f
Fix 3 / 2
using integer division
2017-11-03 22:10:04 +01:00
bors[bot]
3fdc87047b
Merge #935
...
935: removed dead function prototype r=heinrich5991 a=ChillerDragon
2017-11-01 14:15:56 +00:00
ChillerDragon
a013a59aa6
removed dead function prototype
2017-11-01 14:57:34 +01:00
bors[bot]
5528cde5f6
Merge #869
...
869: Complete rework of the ghost and race recorder r=Learath2 a=Redix
This PR fixes a lot of issues with the ghost and race recorder, introduces a new ghost file format and implements some pretty useful features.
**A quick overview:**
- When you cross the start line multiple times, both (ghost and recorder) will only restart if it is a non-solo server
- If available, both will use the race timer to recognize the start instead of searching for the start line
- Fastcap support for both
- The recorder immediately starts when the Tee spawns, so the preparation steps (which are quite important for speedruns) will be included in the demo. If you do not cross the start-line within 20 seconds, it will stop the demo until you really start.
- Better ghost menu (colors, reloading, deleting and saving ghosts)
- The ghosts are more resistant against lags (old ones were sometimes completely useless due to small lags)
- New ghosts files are significantly smaller
- Cleanup, bugfixes..
**About the new ghost format (version 4/5):**
This format is used by Teerace for over a year now. The code for handling the binary files was moved to the engine. It includes an auto updater which creates a backup of all ghosts and converts them to the new format afterwards. The major differences from the format used by DDNet right now (version 2), are the ability to store multiple types of data, the usage of delta-encoding and a more portable header.
For whatever reason, the ghost stores values for every predicted tick, but without tick information, so lost snapshots can make them unusable. The new code uses the original values from the snapshots including ticks but it can also handle the old ones without. Since hardly any server uses the high bandwidth option this practically reduces the file size.
Like the demo recorder the ghost recorder directly stores the data to a file (every 50 snapshots) instead of writing the whole file at the end of the race. Indeed this can be changed with only a few lines if the old behavior is preferred.
The updater can handle version 2 (DDNet) and 3 (old teerace format, only slightly different from version 2) files. The updating already happens when the files are scanned for generating the list in the menu and not only when you activate them. The change from version 4 to 5 was only needed due to a bug in the implementation, the ghost loader can read both.
Some numbers about the file size: (map: hotrun, both about 30 seconds)
- Old ghost: 30.4 kB (converted: 10.7 kB)
- New ghost: 5.4 kB
**One thing about the race recorder:**
The old implementation compared the new file only with the first file it found for the particular map. The new one compares with all related demos and deletes them possibly, so that only the best demo is left. Since DDNet can also store the demos without name, this might also delete demos from other players, that you might have in your directory.
To prevent this I at least check whether the demo contains the player name if `cl_demo_name` is on.
In my opinion the better solution would be to remove `cl_demo_name` and always use the player name.
2017-10-30 20:27:10 +00:00
Redix
de1c0cf24d
Fixed several issues with the ghost (thanks to Learath2)
2017-10-28 14:23:24 +02:00
def
04820b44f8
Simplify emoji
2017-10-28 09:08:17 +02:00
Michał
ebe894faef
Fix duplicate
2017-10-28 09:08:17 +02:00
Michał
f7e64fe99e
Quick fix
2017-10-28 09:08:17 +02:00
Michał
2e353beec2
Rendering fix, better offset calculation, optimizations
2017-10-28 09:08:17 +02:00
Michał
58b0ae5fc7
Possible emoji rendering fix
2017-10-28 09:08:17 +02:00
Michał
3c3c7abd3c
Removed alias->utf replacer, added alias lookup instead, modified CEmojis class
2017-10-28 09:08:17 +02:00
Michał
07db85d806
Removed string.h, replaced some C functions with system.h ones, renamed variables
2017-10-28 09:08:17 +02:00
Michał
bb419c43b7
Linux build fix + cleanup
2017-10-28 09:08:17 +02:00
Michał
e85898a4b6
Fix includes + small clean
2017-10-28 09:08:17 +02:00
Michał
35fb1ddb41
Add emoji support
2017-10-28 09:08:17 +02:00
Jupeyy
f15f41e654
remove extension limit for tile layers
2017-10-28 02:04:53 +02:00
Savander
fa544dc0e6
Localize Date, Demo
2017-10-28 01:22:11 +02:00
Savander
b2b82eb3dd
Localize friend message
2017-10-28 01:21:32 +02:00
Jupeyy
493d2dc9d8
add speedups correctly to the border tiles, to allow them beeing
...
displayed on extended range
2017-10-28 00:52:54 +02:00
Jupeyy
863385e208
fix the code layout
2017-10-25 15:42:06 +02:00
Jupeyy
3c8f937b79
Don't draw invalid tiles
2017-10-24 20:41:11 +02:00
def
cb00a294b8
Enable gfx_opengl3 by default
2017-10-20 22:52:38 +02:00
def
02aeae416b
Infinity = no limit
2017-10-20 22:47:59 +02:00
def
2b7809befd
Switch cl_showfps 1/2
2017-10-20 22:27:53 +02:00
Redix
9289deb5c7
Stop ghost rendering when touching the start line again
2017-10-18 21:37:25 +02:00
Dennis Felsing
d6999bb726
Merge "Pull Request using OpenGL 3.3"
2017-10-18 12:49:27 +02:00
Dennis Felsing
cc9bcb5b9f
Merge pull request #900 from Learath2/dd_pr_authname
...
Reset the username on disconnect
2017-10-18 12:43:08 +02:00
heinrich5991
dfc53b48cf
Fix victim handling
2017-10-17 01:32:40 +02:00
Learath
9ae2c16235
Allow changing UsernameReq while connected
2017-10-16 20:08:39 +02:00
Learath
81135d17de
Reset the username on disconnect
2017-10-16 20:01:33 +02:00
Jupeyy
5389dd9666
fix border amount for right and bottom border lines
2017-10-14 16:37:48 +02:00
heinrich5991
525b643e18
Fix a syntax error
...
Sorry. :/
2017-10-13 16:33:23 +02:00
heinrich5991
c439b04a2d
teehistorian: Hide chat from teehistorian
...
There was a missing check that allowed chat messages to be written to
disk.
2017-10-13 16:25:26 +02:00
Learath2
4394933d6c
Merge pull request #887 from heinrich5991/pr_ddnet_async
...
Add asynchronous output system and use it for teehistorian and `dbg_msg()`s
2017-10-13 15:30:24 +02:00
heinrich5991
e989ffad78
Rename async_*
to aio_*
and add test for nondivisible buffer lengths
2017-10-13 02:48:42 +02:00
heinrich5991
8e778cd9ab
Address pull request comments
2017-10-13 02:29:18 +02:00
Jupeyy
add339d210
not needed, because of restrictions before
2017-10-11 11:18:03 +02:00
Jupeyy
1814fa8d19
make OpenGL 3.3 experimental option, and don't initialize it as default
2017-10-10 15:35:20 +02:00
Jupeyy
4fc7187a14
adjust sprite texture coordinates to respect texel offset
2017-10-10 12:20:20 +02:00
Jupeyy
966b388b0e
clamp speedup arrows images
2017-10-10 12:08:36 +02:00
heinrich5991
4d05a2379b
Make teehistorian asynchronous
2017-10-10 04:11:14 +02:00
heinrich5991
be0b52eddc
Fix teehistorian crash on startup
2017-10-10 02:39:29 +02:00
Learath2
d15dcd3c58
Merge pull request #871 from heinrich5991/ddnet_teehistorian
...
Teehistorian
2017-10-09 18:42:27 +02:00
Jupeyy
92edbf4d37
allow viewing average or current fps
2017-10-09 15:58:12 +02:00
Redix
134a79a225
Move RaceHelper to src/game/client
2017-10-06 22:13:35 +02:00
Redix
612fe15a32
Fix a possible issue with the ghost
2017-10-06 22:05:54 +02:00
Redix
d4509111d5
Clean up ghost and race recorder
2017-10-06 22:01:33 +02:00
Redix
1638f39557
Use the same ghost path everywhere
2017-09-29 23:15:47 +02:00
Redix
245afcb4b2
Fix warnings
2017-09-28 19:27:15 +02:00
Redix
2586c001b7
Use demos/auto/race for the race recorder
2017-09-28 19:14:36 +02:00
Redix
e9a0271c29
Improved ghost and race recorder file handling
2017-09-28 19:13:20 +02:00
Redix
66cc527af4
Do not restart ghost and race recorder when the race timer is turned on with /timer
2017-09-28 16:57:39 +02:00
Redix
0891ce2812
Use move instead of copy assignment operator for the ghost
2017-09-28 16:42:47 +02:00
Redix
c832beca63
Remove 30 min limit from the ghost
2017-09-28 16:02:01 +02:00
Redix
a3a82b6571
Move filename clearing function to base lib
2017-09-28 16:02:01 +02:00
Redix
d37bb5e65a
Fix ghost menu localization
2017-09-28 16:02:01 +02:00
Redix
0c6026c22e
Hide ghost menu buttons if there are no ghosts
2017-09-28 16:02:00 +02:00
Redix
0b4d629dab
Improved ghost memory management
2017-09-28 16:02:00 +02:00
Redix
216e5654e8
Added config variables for server controlled ghost and race recording
2017-09-28 16:02:00 +02:00
Redix
17f1978740
Use the race timer for the demo recorder as well
2017-09-28 16:02:00 +02:00
Redix
491cfdb93e
A few fixes in ghost and race recorder code
2017-09-28 16:02:00 +02:00
Redix
1efa8023ea
Use race timer for ghosts if available
2017-09-28 16:02:00 +02:00
Redix
4c8c546c35
Improved ghost start accuracy
2017-09-28 16:01:59 +02:00
Redix
ac234ad3ee
Write the correct player name into ghosts that are saved from menu
2017-09-28 16:01:59 +02:00
Redix
ffaa077c72
Improved ghost skin handling a bit
2017-09-28 16:01:59 +02:00
Redix
456a67fe2d
Start race recording immediately so we can also record the preparation steps
2017-09-28 16:01:59 +02:00
Redix
0721b895ae
Make sure that we have a free ghost slot for new records
2017-09-28 16:01:58 +02:00
Redix
353190588b
Disable ghost and race recorder during demo playback
2017-09-28 16:01:58 +02:00
Redix
1e845a4020
Added reload button in ghost menu
2017-09-28 16:01:58 +02:00
Redix
5b3e9e4bbf
Improved ghost file management
2017-09-28 16:01:58 +02:00
Redix
d09e825065
Use existing code for rendering the ghost
2017-09-28 16:01:58 +02:00
Redix
5cc0d16029
Reworked the race recorder
2017-09-28 16:01:57 +02:00
Redix
9e52957423
Only restart ghost and race demo on non-solo servers when crossing the start line again
2017-09-28 16:01:57 +02:00
Redix
1c377ed00f
Added Fastcap support for ghost and race demo
2017-09-28 16:01:57 +02:00
Redix
bd3e81d5e0
Use snapshot values instead of predicted ones for the ghost and also save the tick
...
This makes the ghosts more resistant against lags
2017-09-28 16:01:57 +02:00
Redix
3c8217b39c
Mark own ghost with color
2017-09-28 16:01:56 +02:00
Redix
4f57b33524
Use static array for active ghosts
...
Improve ghost file handling
2017-09-28 16:01:56 +02:00
Redix
c189678e44
Cleaned up the ghost component and made it use the ghost recorder and loader
2017-09-28 16:01:56 +02:00
heinrich5991
f16059c0b8
teehistorian: Add a couple of tests, fix uninitialized vars and asserts
2017-09-28 02:42:35 +02:00
heinrich5991
f43480aeed
Add testing infrastructure for teehistorian
2017-09-28 02:03:30 +02:00
heinrich5991
1913106f15
teehistorian: Fix a bug with implicit ticks
2017-09-27 20:15:41 +02:00
heinrich5991
be79f14e38
teehistorian: Use m_pController->m_pGameType
directly
2017-09-27 19:38:54 +02:00
Jupeyy
baa69676ea
fix warnings
2017-09-27 15:06:47 +02:00
Jupeyy
7aa547946b
more warning fixes
2017-09-27 15:01:38 +02:00
Jupeyy
463944b143
fix code pattern mistakes and warnings
2017-09-27 14:52:06 +02:00
Jupeyy
e820a36899
don't use average FPS
2017-09-27 12:21:29 +02:00
Jupeyy
6185c05be4
for tilelayers, go thorugh them layer by layer to reduce GPU overload by
...
only render visible areas
2017-09-27 12:20:23 +02:00
Jupeyy
9fd1290734
auto adjust font size for entity overlay
2017-09-27 12:19:39 +02:00
Dennis Felsing
5b05e558dc
Fix grammar (thanks noby)
2017-09-25 09:07:12 +02:00
heinrich5991
9d5ba770e9
teehistorian: Only record non-default config vars
2017-09-24 21:11:04 +02:00
def
b7f4ab4d80
Move comment
2017-09-23 22:49:01 +02:00
heinrich5991
3efa490cb7
teehistorian: Remove global buffer
...
This removes the possibility of the buffer filling up and discarding
data.
2017-09-20 02:23:28 +02:00
heinrich5991
9761e9606a
Make most user input teehistoric
...
Exclude private stuff like chat messages and votes.
2017-09-20 02:23:28 +02:00
heinrich5991
6ef9c8dbcd
First working version of teehistorian
...
teehistorian records all inputs from the players as well as the player
positions in each tick. It stores this info in a highly compressible
output format (I've achived 5x compression using xz or bz2).
2017-09-20 02:16:11 +02:00
def
03fa475b5e
Implement /pause [name] and /spec [name]
2017-09-18 19:12:01 +02:00
Redix
43f246f174
Made int packing functions safe
2017-09-17 02:36:50 +02:00
heinrich5991
42934fe102
Remove statically detectable float divisions by zero
...
This should fix the warning in MSVS.
2017-09-16 18:34:26 +02:00
heinrich5991
9911759314
Revert "Don't divide by 0"
...
This reverts commit 03faa51e28
.
Dividing floats by zero isn't undefined behavior and results in +inf or
-inf depending on the sign of the first operand.
#include <math.h>
#include <stdio.h>
#define PRINT(x) printf("%s = %f\n", #x, x)
int main()
{
PRINT(1.0 / 0.0);
PRINT(-1.0 / 0.0);
PRINT(atanf(1.0 / 0.0));
PRINT(atanf(-1.0 / 0.0));
return 0;
}
prints
1.0 / 0.0 = inf
-1.0 / 0.0 = -inf
atanf(1.0 / 0.0) = 1.570796
atanf(-1.0 / 0.0) = -1.570796
The changed function was problematic for values like (0,1), (-1,0),
(0,-1) where it always returned an angle of 0°.
2017-09-16 18:33:10 +02:00
def
03faa51e28
Don't divide by 0
2017-09-16 12:06:07 +02:00
Dennis Felsing
43d0299a45
Merge branch 'master' into pr_ddnet_fix_msvs_warnings
2017-09-16 11:17:39 +02:00
Jupeyy
fc706a820c
only check gametiles for DDNet server type
2017-09-16 03:45:24 +02:00
Jupeyy
31844d3353
set max width for custom text texture upload and fixing alignments for
...
texture updates
2017-09-15 03:01:26 +02:00
Jupeyy
5c7c09d380
fixing most wrong code pattern
2017-09-13 20:33:58 +02:00
Jupeyy
fd83d2834d
dont draw layer if our view is out of the layers range
2017-09-12 23:16:01 +02:00
Jupeyy
c437b5bb89
use 64 bit variable
2017-09-12 21:06:12 +02:00
Jupeyy
629bf2c5f9
Merge branch 'master' of https://github.com/ddnet/ddnet
2017-09-12 20:24:58 +02:00
Jupeyy
0caa70f0a1
support buffering of tile layers, draw them with the buffer objects and
...
some optimazations to border drawing
2017-09-12 20:22:18 +02:00
Jupeyy
9d2a625363
create overlay textures for entity overlays, instead of rendering glyphs
2017-09-12 20:15:37 +02:00
Jupeyy
6dc4d1e578
only allow a maximal zoom factor to make sure no bufferoverflow happens
2017-09-12 20:14:34 +02:00
Jupeyy
93138c1fba
make background class inherited from maplayers and change some things in
...
maplayers instead, so the background class can profit from buffering
2017-09-12 20:13:53 +02:00
def
73d9ad7615
Really only download ddnet-info.json at correct time
2017-09-08 22:16:00 +02:00
def
715ac673ec
Version 10.8.6
2017-09-08 22:01:51 +02:00
def
c2c453bd45
Make sending name to info.ddnet.tw optional, show dialog at start and some minor fixes
2017-09-07 20:51:46 +02:00
heinrich5991
4d96090770
Fix MSVS warnings
...
```
warning C4291: no matching operator delete found; memory will not be freed if initialization throws an exception
warning C4305: truncation from 'double' to 'float'
warning C4805: unsafe mix of type 'bool' and type 'int' in operation
```
2017-09-06 10:54:29 +02:00
def
58d1294b3c
oops
2017-09-03 23:50:27 +02:00
def
d5fc3210fd
Version 10.8.5
2017-09-03 23:46:58 +02:00
def
8b1470c31f
Revert "Merge GAME_VERSION and GAME_RELEASE_VERSION"
...
This reverts commit 5cfd779c68
.
2017-09-03 23:46:15 +02:00
def
4b39a39e10
Version 10.8.4
2017-09-03 19:30:29 +02:00
def
278c1ee198
Add Toggle ghost control ( fixes #823 )
2017-09-03 19:23:59 +02:00
def
5cfd779c68
Merge GAME_VERSION and GAME_RELEASE_VERSION
2017-09-03 18:54:43 +02:00
def
caec69abc1
RequestDDNetInfo in ingame menu too
2017-09-03 18:17:21 +02:00
def
89ed22e8d8
Introduce ddnet-info.json
...
- Single json file containing all information for the client
- Fetched from https://info.ddnet.tw/info?name=deen
- Replaces versionsrv, news, ddnet-maps.json and ddnet-ranks.json
- Servers are sorted by most popular ones for respective player
- Always stays < 100 ms response time, compared to occasional 50 s for
old ddnet-ranks.json
2017-09-03 17:42:04 +02:00
def
f2a7f5f8dd
User agent in http fetcher
2017-09-03 09:18:00 +02:00
def
0a09af4b33
str_format instead of sprintf
2017-09-03 09:01:25 +02:00
def
7b6317a5d6
buffer sizes
2017-09-03 08:53:54 +02:00
def
862e26dd08
Clean up time handling a bit
2017-09-03 08:48:21 +02:00
def
e64e59a839
semaphore instead of busy waiting in CJobPool
2017-09-02 12:30:55 +02:00
Dennis Felsing
f8b98c6366
Version 10.8.3
2017-09-01 08:01:45 +02:00
def
f5edf53fd7
Version 10.8.2
2017-08-31 23:43:00 +02:00
def
9b214db85f
Force version.ddnet.tw and update4.ddnet.tw
2017-08-31 23:28:10 +02:00
def
e36d7ce9a1
Version 10.8.1
2017-08-31 22:07:43 +02:00
def
583421b42d
Revert "fixed sprite rendering. Closes #834 "
...
This reverts commit 43af1fdb5f
.
2017-08-31 22:03:33 +02:00
def
97380494e6
Version 10.8
2017-08-31 19:24:17 +02:00
heinrich5991
659e1ff527
Merge pull request #853 from Redix/pr_ghost_time
...
Ghost and Race demo time extraction fix
2017-08-31 12:31:20 +02:00
Redix
affa3faeec
Only use integers for ghost and race demo handling
...
Ghosts still use floats internally
2017-08-31 03:22:08 +02:00
Redix
cf09b6b08b
Use -1 as invalid for time parsing functions
2017-08-31 01:13:26 +02:00
Redix
a396e40c5e
Move race helper functions to own cpp file
...
Fix some style issues
2017-08-31 00:17:16 +02:00
def
040fc9ca32
Implement right click and middle click on country and type filters
...
Right click: exclusively activate one
Middle click: reset (reenable all)
2017-08-30 22:36:39 +02:00
Redix
b6a3a42aa6
Use the time parsing functions for race demo name parsing
2017-08-30 22:10:43 +02:00
Dennis Felsing
eb2634ab0a
Merge pull request #852 from heinrich5991/pr_ddnet_fix_extractname
...
Add testing; fix, rename and test the `CEditor::ExtractName` function
2017-08-30 22:09:17 +02:00
def
a1d2ecb6de
Empty when no rank
2017-08-30 21:50:09 +02:00
Redix
f1f7e4e30b
Fix ghost and race recorder time parsing
2017-08-30 21:44:27 +02:00
def
16f3ddc5a7
Show if user has rank on map in browser (+filter)
...
UI implementation by timakro
2017-08-30 21:34:04 +02:00
Dennis Felsing
25a5eff1f8
Merge pull request #847 from heinrich5991/pr_ddnet_uncompressed_datasize
...
Rename `GetUncompressedDataSize` to `GetDataSize`
2017-08-30 16:34:02 +02:00
oy
43af1fdb5f
fixed sprite rendering. Closes #834
2017-08-30 16:32:39 +02:00
heinrich5991
22be1be389
Fix and rename the CEditor::ExtractName
function
...
Fixes #846 .
2017-08-30 13:59:42 +02:00
heinrich5991
2682480f8a
Rename GetUncompressedDataSize
to GetDataSize
...
Also rename the old `GetDataSize` to `GetFileDataSize`. `GetDataSize`
now returns the actual data size, not the data size before
decompression.
2017-08-30 08:36:17 +02:00
sctt
0849fa6024
fixing map_resave and adding map_replace_image
...
Update datafile.h
Update datafile.cpp
Update datafile.cpp
Update map_resave.cpp
Update datafile.h
Update map_resave.cpp
Update datafile.h
Update datafile.cpp
Update config_store.cpp
Update config_retrieve.cpp
Update io.cpp
Update gamecontext.cpp
Update config_store.cpp
Update CMakeLists.txt
Create map_replace_image.cpp
Update map_replace_image.cpp
fixing bug with height and witdth
2017-08-29 16:21:16 +02:00
def
ac2943a49b
utf8mb4 in database for real utf8
2017-08-26 09:00:33 +02:00
def
fb252c4940
Fix compilation
2017-08-25 13:27:37 +02:00
heinrich5991
1ae004ba46
Make a copy of the input only after sanitizing it
...
This fixes a physics bug that allowed players to set their mouse
direction to (NaN, NaN), resulting in funny effects.
2017-08-25 13:20:10 +02:00
def
0e1cc205ef
Fix formatting for server chat messages with time in already
2017-08-21 20:48:11 +02:00
def
98520bb407
other kind of fix
2017-08-19 09:36:13 +02:00
def
d40dd4f362
Don't try next SQL server when /times returns empty
2017-08-19 09:32:14 +02:00
def
0b5dcdc478
Disable vsync by default and warn about possible delay
2017-08-08 19:53:16 +02:00
def
5d8a0ddc1e
Add time in console
2017-08-04 22:38:22 +02:00
heinrich5991
33315452c3
Merge branch 'master' into leak_fix
2017-07-31 20:42:32 +02:00
def
0a28556481
A bit nicer birthday message
2017-07-31 18:24:16 +02:00
def
d9aeeae3fc
Fix sql_score.cpp formatters
2017-07-30 14:23:25 +02:00
def
c12082c2ef
Not too many messages
2017-07-30 14:15:45 +02:00
Learath2
4622ab4cb6
Merge pull request #814 from heinrich5991/pr_ddnet_fix_cmake_mac
...
Fix the CMake Mac build
2017-07-30 11:38:12 +02:00
def
7a3b7c6228
oops
2017-07-29 23:13:04 +02:00
def
f3d4fcf012
Print message when team starts playing to team members
2017-07-29 23:11:33 +02:00
HMH
d03e91153c
removed unused Dest function for layers
2017-07-28 14:43:03 +02:00
heinrich5991
6247aa0c7f
Enable -Wextra
and -Wformat=2
...
Also annotate `dbg_msg`, `str_format` and `str_timestamp_ex` so that the
compiler can determine whether the format strings are correct.
Fix the compiler warnings generated by these extra warnings -- some of
them were security issues.
2017-07-27 20:38:17 +02:00
Marcel Herd
d513af6a42
Removed default bind for home key (kill)
...
Kill is already bound to K by default, binding it on home as well doesn't really have any purpose. (?)
Furthermore, the home key is right next to page up which is bound to toggling entities.
It is very easy to accidentally hit home instead of page up, which is highly frustrating.. therefore I suggest removing this duplicate binding.
2017-07-26 20:43:26 +02:00
def
adef38a574
Revert "We want the Timestamp of a team to stay min(Timestamp) to indicate the first time this team finished the map"
...
This reverts commit bf0e67a34a
.
2017-07-26 18:12:41 +02:00
heinrich5991
fd8bccb0f4
Fix the CMake Mac build
...
Fixes #805 .
2017-07-26 04:30:56 +02:00
def
379f060126
Version 10.7.1
2017-07-25 19:09:05 +02:00
def
a9d3f45b25
Add ui_close_window_after_changing_setting
2017-07-25 19:08:16 +02:00
def
8d621dfc00
Add kitty skins (by Ravie + fuzzy ninja by patwo.*)
2017-07-25 00:11:37 +02:00
def
a9498b15cb
Fat skins
2017-07-25 00:11:37 +02:00
heinrich5991
1ebb4f89a6
Reopen: Add a flag for rcon login via username ( #800 )
...
This uses an extended protocol message to signal that rcon
authentication might require a username, allowing the client to enable
the username prompt.
Add a forgotten logout on key update
2017-07-24 21:43:55 +02:00
def
cf08239e58
no plenk
2017-07-24 20:58:51 +02:00
def
147005ea42
ask before overwriting demo file when slicing ( fixes #806 )
2017-07-24 18:33:11 +02:00
def
bcec0f1bb1
ctrl-f to search, ctrl-x to exclude, ctrl-r to reason
2017-07-24 18:05:19 +02:00
Dennis Felsing
402a71527a
Merge pull request #810 from H-M-H/stat_csv
...
use str_append for appending strings
2017-07-24 16:01:06 +02:00
HMH
f2ac4a02ce
use str_append for appending strings
...
this fixes corrupted stat csvs as str_format does not work with same
source and destination
2017-07-24 15:27:30 +02:00
def
4c98c4bdd6
typo
2017-07-23 21:34:36 +02:00
def
79d29b1e31
Fix: Finish score should always show the fastest time
2017-07-23 21:33:55 +02:00
def
bf0e67a34a
We want the Timestamp of a team to stay min(Timestamp) to indicate the first time this team finished the map
2017-07-23 21:20:12 +02:00
def
ec885f3e25
Fix layout
2017-07-22 22:43:20 +02:00
def
af5b903944
Version 10.7
2017-07-22 22:32:35 +02:00
def
f09a0f640f
Fix mouse sensitivity setting dialog and introduce new one for ui mouse sens (#fixes 804)
2017-07-22 22:31:14 +02:00
def
e37d895399
Version 10.6.9
2017-07-22 17:35:45 +02:00
def
d50b39c530
Fix controls rectangle overlapping topbar and being clickable outside of scope
2017-07-22 17:35:30 +02:00
def
fd732e43bd
Version 10.6.8
2017-07-22 13:55:56 +02:00
def
2d68aed009
More settings in controls menu. use listbox ( fixes #802 )
2017-07-22 13:41:18 +02:00
def
7428dd0637
Editor: Don't show server settings when picker is active
2017-07-22 12:18:53 +02:00
HMH
476d57c5c5
Also cleanup CEditorMap on destruction
2017-07-21 20:02:46 +02:00
def
b57ffa429e
Use scancodes instead of keycodes for input ( fixes #796 , please test)
2017-07-21 19:53:49 +02:00
def
35befec54c
Clean up key binding a bit
2017-07-21 19:32:32 +02:00
def
f352daf00d
Allow moving mouse while spectating and typing ( fixes #798 )
2017-07-21 19:24:18 +02:00
HMH
7b3aba8fdc
fixed memoryleak in CCollision
2017-07-21 16:02:24 +02:00
def
5785267a39
Version 10.6.7
2017-07-16 23:54:22 +02:00
def
4a13d47637
Use update4.ddnet.tw...
2017-07-16 23:54:07 +02:00
def
b05693e9cd
Version 10.6.6
2017-07-16 12:00:37 +02:00
def
4a8f3b083d
Use new update server that runs on Let's Encrypt
2017-07-16 11:46:38 +02:00
def
e4364983ab
Use https for map downloads by default
2017-07-16 11:29:10 +02:00
def
f3a44995cf
Don't stop movement after opening player list
2017-07-15 19:53:29 +02:00
def
440ee9397f
Version 10.6.5
2017-07-15 19:01:17 +02:00
def
4b4f9992d4
Fix disappearing switches in editor
2017-07-15 18:11:01 +02:00
def
9a0706f8b1
Support ctrl-l to load map in editor
2017-07-15 18:08:34 +02:00
def
fba3815ddc
Only send password on connection when explicitly asked to ( fixes #788 )
2017-07-15 17:29:20 +02:00
def
9bf84fd4be
Don't keep enabling input in menu all the time ( fixes #706 )
2017-07-15 15:37:05 +02:00
def
a5bd671e55
Show X and Y coordinates in map editor
2017-07-12 20:25:48 +02:00
def
8b5ee98193
Handle input reset on chat correctly on DDNet servers and other servers
2017-07-10 22:24:40 +02:00
Dennis Felsing
bcb30c860e
Merge pull request #761 from Learath2/dd_pr_vanillapause
...
Can't spectate yourself when /pause'd
2017-07-09 23:15:57 +02:00
def
46cedf3a8c
Compiler warnings
2017-07-09 10:27:58 +02:00
def
66f6f16e81
Windows DPI fixes #2
2017-07-09 09:44:07 +02:00
def
42b07441a5
Try to make SQL connections a bit more hardy
2017-07-08 14:14:50 +02:00
def
f3e3d57a90
Always close files, cleaner demo recording, fix some other stuff
2017-07-08 13:39:20 +02:00
heinrich5991
409bc0e019
Ensure null-termination in str_escape
...
This also fixes a couple of potential buffer overflows. The affected
code is still buggy (doesn't do the right thing on potential buffer
overflow), but at least it won't result in crashes/out of bound writes
anymore.
2017-07-08 13:06:03 +02:00
def
33927f6397
Version 10.6.4
2017-07-08 11:06:59 +02:00
def
36d5c8d608
string toggling supports escaped strings; also some code cleanup
2017-07-08 11:03:51 +02:00
ChillerDragon
727b9f84b6
fixed scoreboard update for slow racers (less hacky) ( #765 )
...
* fixed scoreboard update for slow racers (less hacky)
* Fix some style issues
2017-07-05 23:01:57 +02:00
def
37a08e8ef0
Support pageup, pagedown, home, end buttons in menus
2017-07-04 22:07:02 +02:00
Dennis Felsing
fd73fdd942
Fix set_team_ddr doc
2017-06-26 16:00:03 +02:00
Tim Schumacher
2ef05c2def
Use sv_teleport_hold_hook also for checkpoint tele
2017-06-15 16:07:27 +02:00
Tim Schumacher
47fecc8659
Add sv_check_teleport_hold_hook map setting
2017-06-15 15:49:07 +02:00
def
c34482a9c4
Version 10.6.3
2017-06-12 21:12:57 +02:00
Learath2
49e4501cc7
Merge pull request #785 from Ryozuki/pr_ddnet_fix_dbgassert
...
Get rid of wrong dbg_assert that can crash server
2017-06-12 18:54:48 +03:00
Ryozuki
5f23a68caf
get rid of wrong dbg_assert
2017-06-12 17:49:01 +02:00
def
73c61e4169
Let's not save maps that are ok already
2017-06-11 20:18:28 +02:00
def
2bd6316ce7
Add code for fixing old maps by removing unused tiles
2017-06-11 19:53:55 +02:00
eeeee
0497cdd49d
stop casting auth state to bool
2017-06-08 13:03:44 -07:00
def
e4b3c17829
Add option to disable long pain sound (used when shooting in freeze)
2017-06-06 18:58:23 +02:00
Learath2
b04876361d
Fix indentation
2017-06-06 10:13:19 +02:00
eeeee
2797227063
also remove references to CGameContext from CServer
2017-06-05 22:31:56 -07:00
eeeee
9b6699d3b8
remove casts to CServer
...
improving encapsulation by going through the interface instead of including engine/server/server.h
2017-06-05 20:51:12 -07:00
def
ec5ede7633
Version 10.6.2
2017-06-04 21:00:42 +02:00
def
45acda1a66
Fix compiler warning
2017-06-02 21:49:53 +02:00
def
8553ed727b
Replace cl_cpu_throttle with cl_refresh_rate
2017-06-02 21:33:45 +02:00
def
4125941896
Disable dbg_stress in release builds (fewer confused kids that think they hacked the server, less useless code in cache)
2017-06-02 20:45:09 +02:00
def
a6e144ea72
Let's not crash the client and server on dbg_assert
2017-06-02 20:12:20 +02:00
def
27074e926a
Further cleanup
2017-06-02 19:44:14 +02:00
def
a117e3a6e7
Version 10.6.1
2017-06-01 21:28:49 +02:00
def
ac481a972c
Heuristic to speed up ghost loading on map change
2017-06-01 21:26:59 +02:00
def
c49aa0671f
Revert "A bit faster"
...
This reverts commit 1428c25083
.
2017-05-24 23:16:10 +02:00
Learath2
6a6666abc4
Keep pause state when killed
2017-05-24 22:30:28 +02:00
def
1428c25083
A bit faster
2017-05-24 21:39:04 +02:00
def
02995bf72f
Oops
2017-05-24 21:36:14 +02:00
def
1f86e6c8df
Save fixes
2017-05-24 21:32:26 +02:00
def
1b2a85af58
Fix m_Jumped loading
2017-05-24 20:23:54 +02:00
def
562dee6e38
Clean up server messages a bit
2017-05-21 01:20:25 +02:00
Valentin Lorentz
191f0e7f3d
Hide empty broadcast messages.
2017-05-20 13:59:39 +02:00
def
63c1d75458
When frozen and afk, show normal eyes to be able to tell non-afk from afk
2017-05-19 19:12:52 +02:00
Learath2
cf81ef8ce6
Can't spectate yourself when /pause'd
2017-05-19 00:21:01 +02:00
def
c1c2c1575f
Fix some vanilla pause issues
2017-05-18 23:52:54 +02:00
def
d7d0520f79
Another try
2017-05-18 20:04:29 +02:00
def
819187f376
Fix unweapons
2017-05-18 20:01:10 +02:00
def
0f14307e8f
oops
2017-05-17 22:37:54 +02:00
def
7e7d56048b
New try at loading in team only
2017-05-17 22:30:13 +02:00
def
569f17e3f3
No need to localize icons
2017-05-17 19:11:32 +02:00
def
bd75e6e1f6
Actual fix
2017-05-17 18:56:58 +02:00
def
a8966c680e
Revert "Prevent vote spam"
...
This reverts commit 526a23b191
.
2017-05-17 18:55:45 +02:00
def
b48005fe40
Revert "Fix last map vote"
...
This reverts commit 42f3b0d7a8
.
2017-05-17 18:50:01 +02:00
def
42f3b0d7a8
Fix last map vote
2017-05-17 18:45:45 +02:00
def
a7ee59804b
Reverse...
2017-05-16 17:52:29 +02:00
Dennis Felsing
666d1585b7
Fix crash on invalid pause state in save
2017-05-16 17:02:28 +02:00
def
74e19b26a7
Version 10.6
2017-05-15 22:32:31 +02:00
Learath2
b4b5d6cc9e
/pause'd players stay in player list
2017-05-15 13:56:54 +02:00
Dennis Felsing
87adba55ad
Allow voting again if no map could be found for random map vote
2017-05-15 11:15:04 +02:00
def
8c9995f166
oops
2017-05-14 22:44:52 +02:00
def
413f96b43d
Prevent some save/load cheating
2017-05-14 22:42:49 +02:00
def
f4112e3bcb
Revert "Tees must be teamed up before loading"
...
This reverts commit d29f2306ef
.
2017-05-14 22:36:44 +02:00
def
f57f1d0d17
You can't invite someone to team on solo server...
2017-05-14 22:16:58 +02:00
def
f2232b8026
Fix compilation
2017-05-14 22:14:02 +02:00
def
c2400c79cf
Rename cl_show_other_hook_coll to cl_show_hook_coll_other and add cl_show_hook_coll_own ( fixes #741 )
2017-05-14 12:03:09 +02:00
Dennis Felsing
278b17b460
Merge pull request #721 from Learath2/dd_pr_pause
...
Rework the pause system
2017-05-14 11:55:09 +02:00
Dennis Felsing
58207926ac
Merge pull request #726 from Learath2/dd_pr_load
...
Tees must be teamed up before loading
2017-05-14 11:54:39 +02:00
Dennis Felsing
a0a1276b6a
Merge pull request #751 from Learath2/dd_pr_ratelimitinvite
...
Add ratelimiting for /invite
2017-05-14 11:50:43 +02:00
Dennis Felsing
728e548f55
Merge pull request #754 from SheikhZayx/master
...
CSV file instead of statboard screenshot
2017-05-14 11:49:46 +02:00
Dennis Felsing
610195f21e
Merge pull request #753 from Learath2/dd_pr_voting
...
Fix vote spam
2017-05-14 11:49:12 +02:00
Dennis Felsing
45fa2a8586
Merge pull request #752 from d3fault/show-angle-in-debug
...
Add show angle in debug
2017-05-14 11:48:34 +02:00
SheikhZayx
451e5dfcf4
Sticking to naming convention. Freeing allocated memory.
2017-05-08 21:55:03 +02:00
SheikhZayx
80737e9c57
Fixed formatting & Removed function call for testing purposes
2017-05-02 18:55:05 +02:00
SheikhZayx
53e5150317
Altered string/memory function calls
2017-05-02 18:40:54 +02:00
SheikhZayx
6c0f889b95
Removed std::string
2017-05-02 18:27:04 +02:00
SheikhZayx
114eb81224
Changed loop variables
2017-04-28 11:28:18 +02:00
SheikhZayx
0d7a93326b
Fixed includes
2017-04-26 19:08:31 +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
Learath
58d3d5251a
Fix a mistake. Kill on kick
2017-04-25 20:27:23 +02:00
Learath
526a23b191
Prevent vote spam
...
Apply the timeout even after a successful vote
2017-04-25 19:53:18 +02:00
Learath
a1d2212696
Change behaviour for kick votes in teams
2017-04-25 19:10:22 +02:00
d3fault
592d2d7556
Add show angle in debug
2017-04-24 14:11:22 -07:00
Learath2
3878d6fb56
Reset invites when the team is empty
2017-04-24 21:28:02 +02:00
def
4b376d239c
rename
2017-04-24 17:36:13 +02:00
Learath2
1d84d0db07
Get rid of trailing spaces
2017-04-24 14:05:09 +02:00