Commit graph

14826 commits

Author SHA1 Message Date
def 74197fc027 Prevent whisper spam from 0.7 (fixes #2504) 2020-07-13 00:28:47 +02:00
def c8876b2c02 Fix legacy 64 player serverinfo, don't send duplicate packets (fixes #2495)
For legacy we sent the first packet once correctly, then the 2nd and 3rd
packet without the marker and token at the start, so they never worked.

For new 64 player serverinfo we sent all packets correctly but the 1st
packet twice.

Introduced in #1955.
2020-07-13 00:19:00 +02:00
Fireball 918f321dfb Improved dummy switching
- Fix a use-after-free when there are no new snapshots for the cl_dummy tee after the switch.
- When one of the tees is hooked, cycling through them will no longer show phantom hook for the other tee.
- Dummy switch might happen a bit quicker since it doesn't depend on receiving new snapshots.
- Simplified code: m_LastDummy2 is no more.
2020-07-12 19:14:18 +01:00
Learath dd010364ed Fix double messages 2020-07-12 10:34:36 +03:00
def 478d7434b2 Persian update by Quick
and regenerate translation files while at it
2020-07-11 23:21:34 +02:00
def 8858fc24ec Fix compiler warning in stoppers without changing physics
Probably related to #2487, was previously fixed and caused stoppers not
to work.

src/game/collision.cpp:902:247: warning: bitwise or with non-zero value always evaluates to true [-Wtautological-bitwise-compare]
src/game/collision.cpp:891:252: warning: bitwise or with non-zero value always evaluates to true [-Wtautological-bitwise-compare]
src/game/collision.cpp:885:251: warning: bitwise or with non-zero value always evaluates to true [-Wtautological-bitwise-compare]
2020-07-11 11:38:29 +02:00
def a0e96d58ea Version 14.2 2020-07-10 08:32:12 +02:00
bors[bot] 9a4fbc4e83
Merge #2489
2489: Update French translations (by SunnyPistache & Pipou) r=def- a=def-



Co-authored-by: def <dennis@felsin9.de>
2020-07-09 22:35:17 +00:00
def 59243c0588 Update French translations (by SunnyPistache & Pipou) 2020-07-10 00:34:17 +02:00
bors[bot] 1a79644dde
Merge #2490
2490: Don't request IUpdater interface when built without updater r=heinrich5991 a=def-

Fixes warning:

[kernel]: failed to find interface with the name 'updater'

Co-authored-by: def <dennis@felsin9.de>
2020-07-09 22:27:03 +00:00
def 3585d83196 Don't request IUpdater interface when built without updater
Fixes warning:

[kernel]: failed to find interface with the name 'updater'
2020-07-10 00:01:02 +02:00
def 8e1b9516f6 Rebuild sqlite without extension, rename to sqlite3 2020-07-09 23:11:59 +02:00
bors[bot] 9492eaa630
Merge #2488
2488: Remove sqlite3ext.h since we don't need it r=heinrich5991 a=def-



Co-authored-by: def <dennis@felsin9.de>
2020-07-09 18:49:57 +00:00
bors[bot] d7a0a914c3
Merge #2460
2460: Don't reset chat on map change (fixes #2451) r=heinrich5991 a=def-



Co-authored-by: def <dennis@felsin9.de>
2020-07-09 18:38:40 +00:00
bors[bot] c4d5c8dfa2
Merge #2478 #2480
2478: Use (u)int64 from system.h instead of (u)int64_t from cstdint r=heinrich5991 a=def-

src/game/client/prediction/gameworld.h:62:90: error: ‘int64_t’ has not been declared
   62 |  void CreateExplosion(vec2 Pos, int Owner, int Weapon, bool NoDamage, int ActivatedTeam, int64_t Mask);
      |                                                                                          ^~~~~~~

2480: Send zoom status for dummy too r=heinrich5991 a=def-



Co-authored-by: def <dennis@felsin9.de>
2020-07-09 18:31:32 +00:00
def fb7114b2f9 Remove sqlite3ext.h since we don't need it 2020-07-09 20:28:52 +02:00
bors[bot] af17e251cb
Merge #2485
2485: Find available port by MikiGamer r=heinrich5991 a=def-

Same as https://github.com/ddnet/ddnet/pull/2419 but rebased so that you can actually look at the diff. @MikiGamer 

Co-authored-by: MikiGamer <35080830+MikiGamer@users.noreply.github.com>
Co-authored-by: def <dennis@felsin9.de>
2020-07-09 18:23:22 +00:00
def a34c72530b Some minor improvements to sv_port 0, make it default 2020-07-09 18:28:20 +02:00
MikiGamer 6da220d6b4 default port 2020-07-09 17:48:17 +02:00
MikiGamer f7eda384ea changes for auto port 2020-07-09 17:48:03 +02:00
MikiGamer beaadca6a9 switch, limited tries & sv_port 0 2020-07-09 17:47:30 +02:00
MikiGamer 6a87278c3d find available port 2020-07-09 17:46:22 +02:00
def f4344dc420 Use (u)int64 from system.h instead of (u)int64_t from cstdint
src/game/client/prediction/gameworld.h:62:90: error: ‘int64_t’ has not been declared
   62 |  void CreateExplosion(vec2 Pos, int Owner, int Weapon, bool NoDamage, int ActivatedTeam, int64_t Mask);
      |                                                                                          ^~~~~~~
2020-07-09 13:55:28 +02:00
def 6b7e1f54f4 Send zoom status for dummy too 2020-07-09 13:51:37 +02:00
def b2b664bf53 Don't reset chat on map change (fixes #2451) 2020-07-09 13:47:48 +02:00
bors[bot] 0bf10ca765
Merge #2482
2482: Only write non-defaulted config values to settings_ddnet.cfg r=heinrich5991 a=def-

As a consequence changed defaults in an update will be respected
instantly if the player hasn't changed the value.

Co-authored-by: def <dennis@felsin9.de>
2020-07-09 11:35:22 +00:00
bors[bot] 5cc6a08c2b
Merge #2471
2471: Don't send zoom level while zooming (fixes #2470) r=heinrich5991 a=def-



Co-authored-by: def <dennis@felsin9.de>
2020-07-09 11:24:19 +00:00
bors[bot] ac35b49e90
Merge #2479
2479: Set smaller default area for what distance to show r=heinrich5991 a=def-

as suggested by fokkonaut

Co-authored-by: def <dennis@felsin9.de>
2020-07-09 11:10:38 +00:00
bors[bot] 45476e481e
Merge #2483
2483: fix some spanish translations r=def- a=edg-l



Co-authored-by: Edgar <git@edgarluque.com>
2020-07-09 11:02:07 +00:00
Edgar a5e8fc55fc
fix some spanish translations 2020-07-09 12:45:14 +02:00
def 3729629c1c Only write non-defaulted config values to settings_ddnet.cfg
As a consequence changed defaults in an update will be respected
instantly if the player hasn't changed the value.
2020-07-09 12:40:35 +02:00
bors[bot] 56ef688489
Merge #2467
2467: Add cl_smooth_zoom_time r=def- a=def-

as requested on Discord by nils & fokkonaut

Co-authored-by: def <dennis@felsin9.de>
2020-07-09 10:35:07 +00:00
def 5e7a45a49b Set smaller default area for what distance to show
as suggested by fokkonaut
2020-07-08 23:16:30 +02:00
bors[bot] 8a3743fa90
Merge #2474 #2476
2474: Remove IP skins r=heinrich5991 a=def-



2476: Use x instead of y in show distance (fixes #2475) r=heinrich5991 a=def-



Co-authored-by: def <dennis@felsin9.de>
2020-07-08 20:39:01 +00:00
bors[bot] 70ff2f919d
Merge #2468
2468: Tell why DNSBL isn't allowing to vote (fixes #2466) r=heinrich5991 a=def-



Co-authored-by: def <dennis@felsin9.de>
Co-authored-by: Dennis Felsing <dennis@felsin9.de>
2020-07-08 20:30:51 +00:00
def d9c89d4e44 Remove IP skins 2020-07-08 22:04:54 +02:00
Dennis Felsing 05ed51cf86
Update src/game/server/gamecontext.cpp
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2020-07-08 22:02:36 +02:00
Dennis Felsing 71bd706f2a
Update src/game/server/gamecontext.cpp
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2020-07-08 22:02:31 +02:00
bors[bot] 0c0bb547dc
Merge #2477
2477: Revert "Update polish 07/07/20" r=heinrich5991 a=def-

This reverts commit 8940b81777.

Co-authored-by: def <dennis@felsin9.de>
2020-07-08 14:48:56 +00:00
def 5eecbeef31 Revert "Update polish 07/07/20"
This reverts commit 8940b81777.
2020-07-08 16:42:59 +02:00
def 2a35121c84 Use x instead of y in show distance (fixes #2475) 2020-07-08 15:57:00 +02:00
bors[bot] 6d17220947
Merge #2461
2461: Fix video recorder (follow-up to 83c820db) r=heinrich5991 a=def-



Co-authored-by: def <dennis@felsin9.de>
2020-07-08 12:05:40 +00:00
bors[bot] 745cebd706
Merge #2473
2473: Revert "Update french 07/07/20" r=def- a=heinrich5991

I don't speak French well, I can only say a few sentences. But it was enough to recognize that almost all of the changes made the translation worse. French puts a space before punctuation, the strings were apparently never tested ingame (even in the obvious places where there was an awkward abbreviation before) and overlapped the buttons.

Can someone speaking Spanish look over #2456 and #2464, and someone speaking Polish look over #2462? Especially also about the problem with strings that are too long?

Maybe @edg-l for Spanish?

Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2020-07-08 11:54:52 +00:00
heinrich5991 4e2ea97531 Fix a few inconsistencies in the French translation 2020-07-08 13:31:46 +02:00
heinrich5991 99d02b9a15 Revert "Update french 07/07/20"
This reverts commit 8d4658d112.
2020-07-08 13:18:46 +02:00
def 2e8faac549 Don't send zoom level while zooming (fixes #2470) 2020-07-08 10:42:28 +02:00
sirius edab0d097d add variable to adjust size of health and armor nameplate 2020-07-08 15:41:44 +08:00
sirius 4a44b90b11 adjust distance between health and armor 2020-07-08 14:32:24 +08:00
sirius 00c4adf05b add function to show health and armor in nameplates (only when client can get the health and armor data) 2020-07-08 13:34:24 +08:00
bors[bot] 606e284bef
Merge #2469
2469: Update french 07/07/20 r=def- a=F3aRZ-hub

Fixed some translations, and what was missing are already translated.

Fix 1: Line 244
Fix 2: Line 241
Fix 3: Line 265
Fix 4: Line 573
Fix 5: Line 585
Fix 6: Line 609
Fix 7: Line 867
Fix 8: Line 942
Fix 9: Line 1050
Fix 10: Line 1071
Fix 11: Line 1209

Co-authored-by: FeaRZ <67929476+F3aRZ-hub@users.noreply.github.com>
2020-07-07 21:43:17 +00:00