Edgar
3569e174f2
refactor upnp code
2020-05-24 11:36:43 +02:00
bors[bot]
f18c42c5ba
Merge #2208
...
2208: Implement /load without params to show some info r=Learath2 a=def-
about your existing saves. Not the code of course, but only how many saves you have and when you last saved on this map.
Co-authored-by: def <dennis@felsin9.de>
2020-05-23 20:20:12 +00:00
bors[bot]
5cddef7efe
Merge #2209
...
2209: singular player in team start message r=Learath2 a=def-
Co-authored-by: def <dennis@felsin9.de>
2020-05-23 20:12:36 +00:00
bors[bot]
a1f405aa5c
Merge #2210
...
2210: Fix name schema for char-arrays r=Learath2 a=def-
Co-authored-by: def <dennis@felsin9.de>
2020-05-23 20:06:42 +00:00
def
a412773e5a
Fix name schema for char-arrays
2020-05-23 21:55:22 +02:00
def
7c966bebc3
singular player in team start message
2020-05-23 21:53:12 +02:00
def
c45995a010
Implement /load without params to show some info
...
about your existing saves. Not the code of course, but only how many
saves you have and when you last saved on this map.
2020-05-23 19:46:12 +02:00
def
fd67259b77
Silence GCC warning
...
src/game/editor/auto_map.h:47:9: warning: ‘*((void*)& NewConf +16)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
I don't think it's an actual problem
2020-05-23 18:11:35 +02:00
def
37e0a33da2
Also introduce /unlock as an alias of /lock 0
2020-05-23 17:55:56 +02:00
def
d4452dd6e0
Clarify the /help lock text
2020-05-23 17:15:04 +02:00
heinrich5991
0d7872c79e
Send DDNet version early in the connection process
...
This gets rid of the problem that we don't know whether we should send
full snapshots to clients because they haven't told us about them being
DDNet yet.
2020-05-22 17:58:41 +02:00
Zwelf
32085a091d
Remove unused declaration
2020-05-22 16:38:20 +02:00
Zwelf
8bdf41c1b5
Break save/load string into multiple lines
2020-05-21 18:04:15 +02:00
Andrii
e78b8ac6d8
fix format issues
2020-05-21 00:44:52 +02:00
Andrii
ed0b15859a
follow naming convention
2020-05-21 00:44:52 +02:00
Andrii
0505a0b577
code formatting
2020-05-21 00:44:52 +02:00
Andrii
ab79036873
Set camera position on LoadCurrentMap
2020-05-21 00:44:52 +02:00
Andrii
e1828b88ab
fix more format failures
2020-05-21 00:44:41 +02:00
Andrii
4f62389eda
follow naming convention
2020-05-21 00:44:41 +02:00
Andrii
1ae3d5e69c
add key binding description to find empty slot button
2020-05-21 00:44:41 +02:00
Andrii
e132fac612
hide Entities popup after item selected
2020-05-21 00:44:41 +02:00
Andrii
df6e7ef454
add condition for animations
2020-05-21 00:44:41 +02:00
Andrii
b24f12cec8
fix previously made mistake
2020-05-21 00:44:41 +02:00
Andrii
29f093841c
add switch empty slot finder button
2020-05-21 00:44:41 +02:00
Andrii
192d118c85
add binding for teleFindEmpty button
2020-05-21 00:44:41 +02:00
Andrii
1c870a3e1b
fix some tele number picker issues
2020-05-21 00:44:41 +02:00
Andrii
1a5f0ed6a2
use shift instead of alt for load current map
2020-05-21 00:44:41 +02:00
Andrii
0f1af41911
add binding for tele/switch/speedup/tune button
2020-05-21 00:44:41 +02:00
Andrii
d3df450715
add more conditions to menu rendering
2020-05-21 00:44:41 +02:00
Andrii
c9afec083d
add toggle grid key binding
2020-05-21 00:44:41 +02:00
Andrii
f71c886e34
minor refactor
2020-05-21 00:44:41 +02:00
Andrii
63f185fe94
add LoadCurrentMap key binding
2020-05-21 00:44:41 +02:00
Zwelf
71b687cbd6
Remove unused ConSaveTeam, ConLoadTeam declarations
2020-05-21 00:44:30 +02:00
bors[bot]
2a3515200d
Merge #2195
...
2195: BlockWorlds Entities r=heinrich5991 a=MikiGamer
Co-authored-by: MikiGamer <35080830+MikiGamer@users.noreply.github.com>
2020-05-20 20:36:29 +00:00
Zwelf
61787168a6
Rename aGameUuid to m_aGameUuid for consistency
2020-05-20 22:22:02 +02:00
Zwelf
cd015c5e37
Fix storing incomplete game uuid on /save
...
Previously the formatted game uuid was cut off after 15 bytes.
Therefore only 52 out of 128 bit of the uuid were stored.
introduced in 69fd7f1767
2020-05-20 22:18:14 +02:00
MikiGamer
d5c5235c18
Changes
2020-05-19 17:13:34 +02:00
patiga
3f8bebd7af
boundary check on curve type label in editor, avoids client crash
2020-05-19 16:52:30 +02:00
MikiGamer
95c419d684
BlockWorlds Entities
2020-05-19 16:49:28 +02:00
Dennis Felsing
ffd0228191
Merge pull request #2188 from def-/pr-pred-collision-switch-0
...
Fix crash in prediction when touching switch tile with number 0 (fixes #2182 )
2020-05-19 08:43:35 +02:00
Learath
850e4e84e4
Reserve bytes for the type and token
2020-05-18 21:13:15 +03:00
Learath
788fc8bb5f
Update can happen when the gameserver doesn't exist
2020-05-18 16:17:06 +03:00
bors[bot]
6ac77b1e88
Merge #2191
...
2191: write automapper version, was not initialized r=heinrich5991 a=Patiga
write automapper version, was not initialized
Co-authored-by: patiga <patigatus21@gmail.com>
2020-05-17 22:41:07 +00:00
patiga
4bbd019423
fix whitespaces
2020-05-18 00:33:35 +02:00
heinrich5991
044aee2846
Fix compilation with mysql enabled
...
Caused by #2171 's 850f8e3f27
.
2020-05-18 00:29:15 +02:00
patiga
359257f73a
write automapper version, was not initialized
2020-05-17 23:28:10 +02:00
def
21c4df0771
Fix crash in prediction when touching switch tile with number 0 ( fixes #2182 )
...
Just took the same code that we have on server side already
2020-05-17 08:52:21 +02:00
Learath
1426392ae7
Don't Destroy if we didn't Init
2020-05-16 23:10:42 +03:00
Dennis Felsing
898b4ce4b9
Merge pull request #2171 from Chairn/pr_loadsaveprintname
...
Print name of requester when saving or loading team
2020-05-16 17:41:34 +02:00
Chairn
850f8e3f27
Store client name in CSqlTeamSave/Load to ensure correctness of requester's name
2020-05-16 16:36:16 +02:00
bors[bot]
3c573cfd2f
Merge #2181
...
2181: Some antibot fixes r=Learath2 a=heinrich5991
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2020-05-16 08:06:53 +00:00
bors[bot]
e54bedd6b2
Merge #2180
...
2180: Don't count freshly loaded map as modified (fixes #2178 ) r=Learath2 a=def-
The reason is that we increased the sensitivity of the modified flag to
include adding layers and groups, and simply loading the map already
adds those, so every loaded map was considered modified.
Co-authored-by: def <dennis@felsin9.de>
2020-05-16 07:12:49 +00:00
def
b480492ded
Don't count freshly loaded map as modified ( fixes #2178 )
...
The reason is that we increased the sensitivity of the modified flag to
include adding layers and groups, and simply loading the map already
adds those, so every loaded map was considered modified.
2020-05-16 08:17:50 +02:00
bors[bot]
8c2ae65059
Merge #2177
...
2177: Extend antibot interface r=def- a=Learath2
Supersedes #2167
Co-authored-by: Learath <learath2@gmail.com>
2020-05-16 06:07:55 +00:00
bors[bot]
fa4af4f4fe
Merge #2179
...
2179: Fix ITIS, IDONTKNOW not being system messages r=def- a=heinrich5991
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2020-05-16 06:01:10 +00:00
heinrich5991
afe2fc930e
Fix ITIS, IDONTKNOW not being system messages
2020-05-16 00:41:03 +02:00
heinrich5991
457c4db964
Some antibot fixes
2020-05-16 00:39:17 +02:00
Learath
eacc56059b
Keep ticks going
2020-05-15 19:29:34 +03:00
Learath
5e02bb5a23
Extend antibot interface
...
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2020-05-13 23:39:40 +03:00
Dennis Felsing
7aa69188b5
Merge pull request #2172 from fokkonaut/master
...
Fix #2162
2020-05-10 10:13:38 +02:00
fokkonaut
92927444d7
Fix #2162
2020-05-09 23:33:12 +02:00
Chairn
fdb275b2f9
Print name of requester when saving or loading team
2020-05-09 19:33:40 +02:00
bors[bot]
2649fb5234
Merge #2161
...
2161: Small prediction fixes/update r=def- a=trml
I looked through the latest changes in the server code, and made some updates to the prediction with it. This includes the hammer-out-of-freeze server fix and a small fix for stopper prediction. Also cleaned up some code, and fixed predicted smoke-trails slightly so they don't go through walls in certain cases.
Co-authored-by: trml <trml@users.noreply.github.com>
2020-05-07 07:30:03 +00:00
bors[bot]
295a479db5
Merge #2164
...
2164: Fix empty sound (fixes #2163 ) r=heinrich5991 a=def-
The problem was that the string is empty after going through the trim, thus the main displaying loop doesn't run, but the sound still does. Verified that it works.
Co-authored-by: def <dennis@felsin9.de>
2020-05-06 08:48:24 +00:00
def
741c97ccc7
Fix empty sound ( fixes #2163 )
...
The problem was that the string is empty after going through the trim,
thus the main displaying loop doesn't run, but the sound still does.
2020-05-06 08:15:23 +02:00
trml
f6c44468de
Another update, fix typo
2020-05-03 00:00:27 +02:00
trml
cda99668c7
Fix antiping smoketrails
2020-05-02 18:52:09 +02:00
trml
47cafe6d6b
Remove unused code
2020-05-02 18:52:09 +02:00
trml
eb1bacb969
Update prediction with latest server physics
2020-05-02 18:52:04 +02:00
bors[bot]
65284f3a28
Merge #2159
...
2159: Make the dummy always press fire when cl_dummy_hammer is active r=heinrich5991 a=trml
Co-authored-by: trml <trml@users.noreply.github.com>
2020-05-01 23:20:22 +00:00
def
7ae8988dd0
Don't load m_Ammo to fix loads (following #2086 )
...
As reported by Konsti, thanks to heinrich5991 for remembering #2086
2020-05-01 23:51:01 +02:00
trml
bcf9e003d7
Make dummy hold fire with cl_dummy_hammer 1
2020-05-01 16:23:42 +02:00
def
c9dfcb2b11
Fix Mac OS X notifications linking
2020-04-30 21:30:21 +02:00
def
d1b7e84488
Version 13.1
2020-04-30 18:34:51 +02:00
bors[bot]
bd3b72e493
Merge #2152
...
2152: Fix whispering to players with quotes (fixes #2151 ) r=heinrich5991 a=def-
Co-authored-by: def <dennis@felsin9.de>
2020-04-30 10:57:29 +00:00
bors[bot]
d0cf8c08af
Merge #2154
...
2154: cl_showchat 2 to always show large chat area (fixes #2153 ) r=heinrich5991 a=def-
Co-authored-by: def <dennis@felsin9.de>
2020-04-30 10:50:58 +00:00
Dennis Felsing
5e213a2619
Merge pull request #2086 from fokkonaut/master
...
Remove setting ammo for freeze to 0
2020-04-30 12:44:40 +02:00
fokkonaut
d460470265
Move comment aswell
2020-04-30 11:49:04 +02:00
def
76eda61c99
cl_showchat 2 to always show large chat area ( fixes #2153 )
2020-04-28 22:35:56 +02:00
def
65a4eb775b
Fix whispering to players with quotes ( fixes #2151 )
2020-04-28 08:54:24 +02:00
trml
fe1a7fb1e0
Predict directinput order for dummy and main
2020-04-19 12:50:37 +02:00
trml
cae7fad901
Use freeze end tick in prediction
2020-04-19 12:50:06 +02:00
trml
a4a0b6e9ed
Add config flag for dummy prediction and fix compilation
2020-04-18 23:28:40 +02:00
trml
99baf219d0
Revert "Remove the dummy prediction"
...
This reverts commit 681f30950c
.
2020-04-18 22:16:25 +02:00
Arda Demir
8648b1a7dc
Don't push notification when active
2020-04-15 00:37:58 +03:00
Arda Demir
b7d452d2a0
Libnotify support for linux client ( #2099 )
...
Add libnotify support for linux client
Also unify notification management
Make libnotify mandatory for the client. It is installed on 100% of Arch
Linux systems and on 70% of Debian systems. I'd guess the remaining
Debian systems are servers.
Detect dependent libraries of `libnotify` using `pkg-config`. Remove
library-specific code from the game module. Decrement refcount for
libnotify notification object before leaving the function.
2020-04-14 17:53:53 +02:00
Ryozuki
ea7f3f0a62
prevent endless loop
2020-04-14 12:51:48 +02:00
Ryozuki
b647c1e978
Add UPnP support
2020-04-14 12:11:50 +02:00
bors[bot]
164a887214
Merge #2136
...
2136: Fix type of os_is_winxp_or_lower function (fixes #2135 ) r=Learath2 a=def-
Co-authored-by: def <dennis@felsin9.de>
2020-04-12 19:43:09 +00:00
def
a951845083
Surprise: void x(); accepts any parameter in C!
...
Prevents accidentally passing parameters that would then be ignored.
C++ is more reasonable, so nothing to do there.
2020-04-12 20:06:38 +02:00
def
4c00e4533c
Fix type of os_is_winxp_or_lower function ( fixes #2135 )
2020-04-12 10:23:08 +02:00
Ryozuki
588f8a833f
Fix snapshot storage leak
2020-04-11 13:38:02 +02:00
Ryozuki
5f565a5eb5
check for WavpackCloseFile
2020-04-11 13:17:21 +02:00
Ryozuki
7d51a0992a
fix memory leak on sound decoding
2020-04-11 13:17:21 +02:00
Ryozuki
09b79701af
don't check, use dbg_assert
2020-04-11 13:17:20 +02:00
Ryozuki
cde63e2f48
Fix TexEx UB
2020-04-11 13:17:20 +02:00
Ryozuki
c6731c7e83
Fix uninitialized m_LastProgramID
2020-04-11 13:17:19 +02:00
def
e6d4fe4650
Version 13.0.2
2020-04-10 21:41:29 +02:00
def
dde88bbd77
Fix division by 0 ( fixes #2131 )
...
Caused by https://github.com/ddnet/ddnet/pull/2119/
2020-04-10 20:54:05 +02:00
Ryozuki
0da0dddf15
drop glu dependency
2020-04-08 18:19:12 +02:00