Zwelf
fd44b1dc5b
Reduce boilerplate code needed to start player info requesting thread
2020-06-15 11:14:15 +02:00
Zwelf
f18daa949c
Thread safe /teamrank
2020-06-15 11:14:15 +02:00
Zwelf
e311c39151
Remove unused parameters from IScore interface
2020-06-15 11:14:15 +02:00
Zwelf
68aa157c11
Simplify /rank sql request
2020-06-15 11:14:15 +02:00
Zwelf
eda0bab4bb
Thread safe /rank
2020-06-15 11:14:15 +02:00
Zwelf
91e286f54d
Fix parsing responses from player
2020-06-15 11:14:15 +02:00
Zwelf
76c227a542
Reimplement /mapinfo command
2020-06-15 11:14:15 +02:00
Zwelf
4152a1995e
Add missing dependeny to sql string helper
2020-06-15 11:14:15 +02:00
Zwelf
9add354367
Use Template for SqlResult
2020-06-15 11:14:15 +02:00
Zwelf
873f478a82
Rename Debut to Offset
2020-06-15 11:14:15 +02:00
Zwelf
4ee08dcc5c
Remove unused arguments from IScore
2020-06-15 11:14:15 +02:00
Zwelf
69cf72dae4
Adjust file based ShowRank, ShowTeamRank, ShowPoints consistent functions to sql
2020-06-15 11:14:15 +02:00
Zwelf
3d25953036
Ordered functions
2020-06-15 11:14:14 +02:00
Zwelf
a990acc512
Remove existing CRandomMapResult to simplify IScore interface
2020-06-15 11:12:57 +02:00
Zwelf
3af18f5f60
Create shared pointer on demand
2020-06-15 10:59:59 +02:00
Zwelf
0891a0fd51
Remove some unnecessary header includes
2020-06-15 10:59:59 +02:00
Zwelf
8a22cce031
Start of sql refractor
...
* Use atomic integer in thread count for thread safety
2020-06-15 10:59:46 +02:00
Zwelf
add4fab645
Disallow team join while save command is active
2020-06-15 10:59:46 +02:00
Zwelf
7146eb572b
Save error handling clean up
2020-06-15 10:59:46 +02:00
Zwelf
2d7886bf33
Small cleanup
2020-06-15 10:59:46 +02:00
def
0d9d873abf
Reset hook & collision in prediction after kill
...
Thanks to Pipou for reporting
2020-06-14 22:50:25 +02:00
12pm
01092a30c1
add sv_tele_others_auth_level
2020-06-14 19:21:12 +03:00
def
2d0340b1cd
Add Entites off sign to front layer ( fixes #2261 )
2020-06-14 16:01:32 +02:00
Learath
8d255921b8
Fix out of bounds read
2020-06-14 12:38:52 +03:00
bors[bot]
6ccfdd55f9
Merge #2258
...
2258: Don't miss dummy disconnects. Fix #2257 r=def- a=Learath2
Co-authored-by: Learath <learath2@gmail.com>
2020-06-11 10:40:17 +00:00
Learath
345798f9e1
Don't miss dummy disconnects. Fix #2257
2020-06-11 13:33:08 +03:00
def
5676e8842a
Improve quality default, persist video recorder settings when running other DDNet client
2020-06-06 00:04:42 +02:00
ZombieToad
f12d84c2c7
Update gameclient.cpp
...
so demo renders the right clan as green
2020-06-04 13:49:29 +01:00
bors[bot]
ef51f35840
Merge #2240
...
2240: Don't reset zoom when using timeline in demo r=heinrich5991 a=def-
Thanks to Lady Saavik for reporting
Co-authored-by: def <dennis@felsin9.de>
2020-06-02 17:25:02 +00:00
def
d06f1949c2
Stop playing map sound when demo player is paused
...
Noticed on Shooting Range map
2020-06-02 13:47:05 +02:00
def
690fb852df
Don't reset client on demo menu events
2020-06-02 13:22:00 +02:00
bors[bot]
3cd35de942
Merge #2236
...
2236: Fix team rejoin logic for sv_team 3 r=Learath2 a=def-
Co-authored-by: def <dennis@felsin9.de>
2020-06-02 10:27:13 +00:00
bors[bot]
f59441f1c2
Merge #2243
...
2243: Workaround for client crash on predicted explosion r=def- a=trml
I haven't been able to find the exact source of the problem yet, but at least this seems to get rid of the segfault. The crash only happened with with recent versions of gcc and -O3 for me.
Co-authored-by: trml <trml@users.noreply.github.com>
2020-06-01 20:31:06 +00:00
trml
e5d348975b
Avoid client crash on predicted explosion
2020-06-01 21:23:18 +02:00
d3fault
b9844ea6ec
Save active weapon with /rescue
2020-05-31 22:39:28 -07:00
def
4f59000bda
Version 13.2.2
2020-05-31 18:51:36 +02:00
bors[bot]
a15053d462
Merge #2231
...
2231: Don't clamp values that have no reasonable values r=Learath2 a=def-
Still affects many values in editor, for example colors in tiles and quads.
Thanks to Pipou for report.
Co-authored-by: def <dennis@felsin9.de>
2020-05-31 11:25:53 +00:00
d3fault
65906070b6
clarified /practice voting instructions
2020-05-30 20:58:01 -07:00
def
88b65b6def
Newly joined player should not immediately be subtracted from team 0
2020-05-31 00:34:29 +02:00
def
d3b6df97f8
Fix team rejoin logic for sv_team 3
2020-05-30 14:47:34 +02:00
bors[bot]
b432fe5d5e
Merge #2234
...
2234: add cl_nameplates_ids r=def- a=12pm
useful for moderating
Co-authored-by: 12pm <30786226+12pm@users.noreply.github.com>
2020-05-30 12:27:45 +00:00
Learath
6d019204f1
No point locking if teams are disabled
2020-05-30 14:07:30 +03:00
12pm
e4b3559c95
add cl_nameplates_ids
2020-05-30 12:37:42 +02:00
def
cf7dad8125
Get rid of the clamp that breaks most editor value selection
2020-05-30 09:09:01 +02:00
def
5886ac972e
Fix grammar in ungrenade description (Thanks to Pipou)
2020-05-28 23:00:27 +02:00
def
4cc1bc0cf8
Kill player when /practice is on and they get kicked out of team
2020-05-28 21:50:35 +02:00
def
80adf66620
Version 13.2.1
2020-05-28 18:50:32 +02:00
bors[bot]
73b05272ab
Merge #2226
...
2226: Fix image/sound selection in editor r=heinrich5991 a=def-
Follow-up to https://github.com/ddnet/ddnet/pull/2186 by @BannZay
Thanks to Cøke for notifying me
Co-authored-by: def <dennis@felsin9.de>
2020-05-28 16:32:59 +00:00
bors[bot]
0cd40c61c3
Merge #2218
...
2218: Practice mode fixes & improvements r=Learath2 a=def-
Thanks to NANAMAR for report.
Update: tested, works.
Co-authored-by: def <dennis@felsin9.de>
2020-05-28 16:21:01 +00:00
def
d17e74ee7d
Add sv_practice ( fixes #2227 )
2020-05-28 13:28:10 +02:00
def
b25c75b558
Allow rescuing while falling down even when not frozen
2020-05-28 12:59:45 +02:00
def
cacf17bd96
Save weapons as well with /rescue ( fixes #2225 )
2020-05-28 12:59:40 +02:00
def
c00759a0ed
Turn off practice mode and reset practice wishes when locked team dies
2020-05-28 12:59:31 +02:00
def
68132350b9
No cheating through noob filter with practice and then leaving team ( fixes #2224 )
2020-05-28 12:06:56 +02:00
def
6887b0ff3b
Fix image/sound selection in editor
...
Follow-up to https://github.com/ddnet/ddnet/pull/2186
Thanks to Cøke for notifying me
2020-05-28 10:09:29 +02:00
def
fb90990d6d
Allow /rescue mid-flight
...
Thanks to Skeith for the suggestion
2020-05-27 23:48:17 +02:00
def
3cbd75b840
Make /rescue work in deepfreeze
...
Thanks to NANAMAR for report
2020-05-27 23:27:30 +02:00
bors[bot]
ec6e6f99b6
Merge #2216
...
2216: Remove unused `Sv_PlayerTime` game message r=def- a=heinrich5991
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2020-05-27 20:40:53 +00:00
def
0f02fc51a8
Version 13.2
2020-05-27 20:37:40 +02:00
heinrich5991
941d3aa8a0
Some formatting
2020-05-27 20:03:11 +02:00
heinrich5991
209726552b
Remove unused Sv_PlayerTime
game message
2020-05-27 20:03:11 +02:00
bors[bot]
92fc95d742
Merge #2202
...
2202: Send DDNet version early in the connection process r=Learath2 a=heinrich5991
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.
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2020-05-27 17:49:31 +00:00
bors[bot]
438dc519d6
Merge #2212
...
2212: Use a consistent PRNG on all platforms r=Learath2 a=heinrich5991
I just used glibc's because that is what we use on all the servers. Based on https://www.mscs.dal.ca/~selinger/random/ .
Behavior change: The PRNG is actually seeded now.
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2020-05-27 16:14:09 +00:00
heinrich5991
9075bc452d
Add a comment justifying the modulo for random numbers
2020-05-27 18:12:42 +02:00
def
6b95bc2636
Fix team save practice reset
2020-05-27 17:58:08 +02:00
def
e1849ad1bb
Implement /practice for teams
...
As discussed on Discord today, can be enabled inside of teams on the fly
during each run on any server. Finishes don't count. I haven't tested
save/load yet, would do that live on the server if this can be merged.
2020-05-27 17:33:26 +02:00
Zwelf
fab1cde94e
Rename variables for consistency
...
The following member variables:
* m_name to m_aName
* m_String to m_aString
* m_CpCurrent to m_aCpCurrent
* m_Switchers to m_pSwitchers
* SavedTees to m_pSavedTees
2020-05-26 21:49:58 +02:00
heinrich5991
c9c7f947b5
Use the PCG-XSH-RR PRNG instead
...
This came from a long discussion comparing PCG-* against xoroshiro*. Do
not generate integers without bias because it doesn't affect us very
much and it is easier to reimplement with modulo.
2020-05-26 10:59:49 +02:00
heinrich5991
b488be018f
Actually seed the PRNG on each round
2020-05-25 15:19:29 +02:00
heinrich5991
2692f3c758
Use a consistent PRNG on all platforms
2020-05-25 15:19:29 +02:00
heinrich5991
7f14b4b2bb
Add glibc's PRNG
...
Based on a description on https://www.mscs.dal.ca/~selinger/random/
(retrieved 2020-05-25).
2020-05-25 15:19:25 +02:00
bors[bot]
64f78fced9
Merge #2205
...
2205: Implement /unlock & clarify the /help lock text r=heinrich5991 a=def-
Co-authored-by: def <dennis@felsin9.de>
2020-05-24 20:24:02 +00:00
heinrich5991
f339fea748
Merge pull request #2139 from edg-l/pr_add_upnp
...
Add UPnP support
2020-05-24 22:23:20 +02:00
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
Dennis Felsing
6dd7078e8d
Merge pull request #2118 from def-/pr-mingw-sdl2
...
Provide MinGW SDL2 (fixes 13.0 on Windows)
2020-04-07 23:01:43 +02:00
def
6fd7ded869
Whitespace
2020-04-07 22:57:07 +02:00
Learath
388d792205
Add an option for highdpi
2020-04-07 23:47:15 +03:00
def
2f77e1f349
Version 13.0.1
2020-04-07 22:32:41 +02:00
bors[bot]
65673ab402
Merge #2119
...
2119: Change last render logic, when inactive r=def- a=Jupeyy
Just a small fix to let the client not try to get high fps, when it "thinks" it didn't render for a long time.
(is still affected by the SDL check "if window has input" at the cl_refresh_rate calculation, so not a 100% fix).
Co-authored-by: Jupeyy <jupjopjap@gmail.com>
2020-04-07 15:27:29 +00:00
def
d50b59b6b0
Add trafilaw to credits
2020-04-07 07:22:38 +02:00
Dennis Felsing
d1a5b45dc3
Merge pull request #2109 from def-/pr-13.0
...
Version 13.0
2020-04-07 07:13:50 +02:00
def
f7e8b10bff
Make gfx_resizable default to 0
...
because of common graphics issues. As suggested by Jupstar
2020-04-06 12:04:53 +02:00
def
f06796e497
Version 13.0
...
I guess it's time for a new version even if we don't have any large
changes
2020-04-06 07:03:19 +02:00
Jupeyy
888223a529
Change last render logic, when inactive
2020-04-06 03:18:30 +02:00
bors[bot]
2367cd042d
Merge #2104
...
2104: Add spectate_closest now works when in Free-View r=def- a=d3fault
sry for the general refactor along with it xD
Co-authored-by: d3fault <d3fault@d3fault.net>
2020-04-01 07:02:56 +00:00
d3fault
7fb46beb85
Add spectate_closest now works when in Free-View
2020-03-31 23:30:25 -07:00
bors[bot]
4a6f5b156c
Merge #2101
...
2101: Add dbg_unpredicted_shadow (fixes #2100 ) r=heinrich5991 a=def-
Co-authored-by: def <dennis@felsin9.de>
2020-03-31 16:41:31 +00:00
def
a8c3d192d1
Add cl_unpredicted_shadow -1 value ( fixes #2100 )
...
to disasble unpredicted shadow even in debug mode
2020-03-31 18:00:20 +02:00
bors[bot]
fe05f0dfbc
Merge #2103
...
2103: Add spectate_closest r=def- a=d3fault
Spectates the tee closest to the one you are currently spectating.
This commit brought to you by COVID-19 lockdown boredom.
Fix #1793
Co-authored-by: d3fault <d3fault@d3fault.net>
2020-03-31 08:19:58 +00:00
d3fault
6968b17017
Add spectate_closest
...
Spectates the tee closest to the one you are currently spectating.
This commit brought to you by COVID-19 lockdown boredom.
Fix #1793
2020-03-31 01:17:32 -07:00
trafilaw
b6c25273f8
Fix compiling error
2020-03-31 03:29:45 +02:00
trafilaw
44cc0e29a4
Remove No reason given
2020-03-31 00:20:25 +02:00
trafilaw
dc0e77f8e2
fix
2020-03-31 00:16:42 +02:00
trafilaw
8d8bc018c6
Add pr_mutereason
2020-03-30 23:51:58 +02:00
Learath
61e5667624
Streamline platform client
2020-03-28 02:20:16 +03:00
sirius
3c085b53ed
fix bug that demo can't play when demo pause and use start_video
2020-03-26 18:25:50 +08:00
fokkonaut
da72907b79
Fix ninja not getting removed
2020-03-24 21:43:26 +01:00
bors[bot]
fb81000351
Merge #2096
...
2096: Fix the double-free of the antibot r=def- a=heinrich5991
I could not find an easy way to ensure that `AntibotDestroy` is only
being called once for each `AntibotInit` but still happening after all
the `CPlayer` destructors.
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2020-03-24 15:16:24 +00:00
bors[bot]
10299266c3
Merge #2078
...
2078: Fix cl_showrecord with dummy (fixes #2077 ) r=heinrich5991 a=def-
Shows best time of either dummy or main player depending on which is selected
Co-authored-by: def <dennis@felsin9.de>
2020-03-24 14:23:38 +00:00
heinrich5991
a7042f7139
Fix the double-free of the antibot
...
I could not find an easy way to ensure that `AntibotDestroy` is only
being called once for each `AntibotInit` but still happening after all
the `CPlayer` destructors.
2020-03-24 15:15:40 +01:00
heinrich5991
d50547ea42
Revert "Fix AntibotDestroy
being called twice"
...
This reverts commit efb3106b71
.
2020-03-24 15:07:01 +01:00
bors[bot]
6e78deb0c4
Merge #2069 #2076 #2095
...
2069: Move global configuration out of client interface r=heinrich5991 a=ChillerDragon
2076: Allow editing multiple tile layer props r=heinrich5991 a=Learath2
Requested by Ravie on discord
2095: Fix `AntibotDestroy` being called twice r=def- a=heinrich5991
The resource deallocation needs to happen in symmetry with the
allocation, otherwise we get unmatched dealloctions leading to crashes.
Allocations happened in `CAntibot::Init`, but it was not guaranteed that
this was called before the destructor.
Co-authored-by: ChillerDragon <ChillerDragon@gmail.com>
Co-authored-by: Learath <learath2@gmail.com>
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2020-03-23 17:04:15 +00:00
bors[bot]
048ca9fe0a
Merge #2070
...
2070: Fix demo recording with broken maps r=heinrich5991 a=Learath2
Apparently there are maps out there with broken headers advertising the wrong map size. This allows demos to be recorded on those.
Example of such a map is `ctf4_old_d668e9fa_2f472051b26b6bffaa4af8990cf882cafd6364e00e1333b77762cb9911e49464.map`
Hosted on `Allround Network`
Reported by teini94 on discord
Co-authored-by: Learath <learath2@gmail.com>
2020-03-23 16:58:01 +00:00
bors[bot]
bf821fe391
Merge #2071
...
2071: Add an option to only start a new demo when connect while automatically record demos r=def- a=sirius1242
Origin auto demo recording of ddnet will generate lots of demo files especially when playing in mods which have shorter rounds, such as infclass. I added a new option to open a new demo file only when connect to server (include map changing), this is disabled by default, and can use `cl_auto_demo_on_connect 1` to open. It works only when `cl_auto_demo_record` open.
Co-authored-by: sirius <sirius.ustc@gmail.com>
2020-03-23 16:38:17 +00:00
Learath
6919ed3041
Use updated stub, switch around versions
2020-03-23 15:46:57 +01:00
Learath
060d60f2ea
Output library versions
2020-03-23 15:46:57 +01:00
heinrich5991
efb3106b71
Fix AntibotDestroy
being called twice
...
The resource deallocation needs to happen in symmetry with the
allocation, otherwise we get unmatched dealloctions leading to crashes.
Allocations happened in `CAntibot::Init`, but it was not guaranteed that
this was called before the destructor.
2020-03-23 15:35:16 +01:00
fokkonaut
69a6e94833
Fix two bugs
2020-03-17 13:55:30 +01:00
heinrich5991
ed76cd7b12
Fix antibot crash
...
`m_Core.m_HookedPlayer` can be -1 if you get teleported the moment you'd
normally attach the hook.
2020-03-16 14:16:04 +01:00
fokkonaut
d22a1a8f06
Remove setting ammo for freeze to 0
2020-03-16 11:52:53 +01:00
heinrich5991
2574c060e4
Fix antibot crash after map change
2020-03-14 01:44:57 +01:00
heinrich5991
a3163c5b9c
Add support for dynamically loading an antibot module
...
Support for this feature is turned off by default. This feature allows
to integrate with noby's anticheat feature.
2020-03-11 01:58:50 +01:00
def
6efcc473c9
Fix cl_showrecord with dummy ( fixes #2077 )
...
Shows best time of either dummy or main player depending on which is
selected
2020-03-01 12:55:01 +01:00
Learath
d2498f257c
Stateful editing
2020-02-28 18:25:27 +03:00
Learath
f2103881c8
Add shift by, fix id overlap
2020-02-28 15:33:32 +03:00
def
2319151fb4
Disable currently broken sv_vanilla_antispoof
2020-02-27 22:53:56 +01:00
Learath
a50e59d4f6
Allow editing colors, add warning
2020-02-27 18:02:36 +03:00
Learath
ce8987cd43
Missing include
2020-02-27 16:56:40 +03:00
Learath
f679fbfbc5
Allow editing multiple tile layer props
2020-02-27 16:53:12 +03:00
sirius
72fd0f9a21
forget to check CONF_VIDEORECORDER defined or not for video rendering pause
2020-02-27 20:32:42 +08:00
sirius
5dab6e2e1f
make tee not transparent when playing demo from server
2020-02-27 20:13:16 +08:00
sirius
b5c931279f
add option to pause video rendering when demo playing pause
2020-02-27 18:50:18 +08:00
def
de7a67baa7
Version 12.9.2
2020-02-22 09:56:13 +01:00
def
127372b03d
Fix timeout protection ( fixes #2067 )
...
CNetMsg_Cl_Say should not be a system message
2020-02-22 09:55:17 +01:00
sirius
50b980ea16
add an option to only start a new demo when connect while automatically record demos
2020-02-21 17:01:31 +08:00
Learath
c52bbb6c02
Fix demo recording with broken maps
2020-02-19 15:38:58 +03:00
ChillerDragon
9e0f6d2ce0
Move global configuration out of client interface
2020-02-19 11:24:58 +01:00
bors[bot]
7691227f24
Merge #2066
...
2066: Implement dry saves r=def- a=Learath2
I'm not sure how much I like this but it should be helpful
Co-authored-by: Learath2 <learath2@gmail.com>
2020-02-14 08:02:06 +00:00
Learath2
06e948e944
Cleanup
2020-02-14 00:03:49 +01:00
def
d89877603b
Version 12.9.1
2020-02-13 22:55:48 +01:00
def
964279a699
Reset quad rotation/color in damageind ( fixes #2062 )
...
Removed in 7ae4b39574
2020-02-13 22:55:32 +01:00
Learath2
ec42ce88f6
Change command name, refactor error handling
2020-02-13 17:04:58 +01:00
Learath2
27d9ac54b0
Implement dry saves
2020-02-13 16:16:35 +01:00
ElXreno
1799edc049
Fix build error
...
./src/game/client/components/maplayers.h:15:9: error: 'uintptr_t' does not name a type; did you mean 'uint64_t'?
15 | typedef uintptr_t offset_ptr;
| ^~~~~~~~~
| uint64_t
../src/game/client/components/maplayers.h:61:4: error: 'offset_ptr' does not name a type; did you mean 'offset_ptr32'?
61 | offset_ptr IndexBufferByteOffset()
| ^~~~~~~~~~
| offset_ptr32
In file included from ../src/game/client/components/background.cpp:8:
../src/game/client/components/maplayers.h:105:4: error: 'offset_ptr' does not name a type; did you mean 'offset_ptr32'?
105 | offset_ptr m_IndexBufferByteOffset;
| ^~~~~~~~~~
| offset_ptr32
../src/game/client/components/maplayers.h: In constructor 'CMapLayers::SQuadLayerVisuals::SQuadVisual::SQuadVisual()':
../src/game/client/components/maplayers.h:103:20: error: class 'CMapLayers::SQuadLayerVisuals::SQuadVisual' does not have any field named 'm_IndexBufferByteOffset'
103 | SQuadVisual() : m_IndexBufferByteOffset(0) {}
| ^~~~~~~~~~~~~~~~~~~~~~~
2020-02-13 17:27:39 +03:00
Dennis Felsing
cd44d6dba7
Version 12.9
2020-02-13 09:20:00 +01:00
bors[bot]
43ecec1f2f
Merge #2061
...
2061: use pid in file names of temporary files r=heinrich5991 a=def-
to prevent race conditions with multiple clients running when saving maps, config on quit, during upgrade
Co-authored-by: def <dennis@felsin9.de>
2020-02-13 00:03:23 +00:00
def
31ae4c4d5a
use pid in file names of temporary files
...
to prevent race conditions with multiple clients running when saving
maps, config on quit, during upgrade
2020-02-12 23:14:30 +01:00
def
00b74d2acb
Don't overcomplicate Success = false
2020-02-12 22:45:09 +01:00
def
598ec52892
Fix GCC 9.2.0 compilation
...
src/game/server/ddracechat.cpp:623:39: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
2020-02-05 08:22:04 +01:00
12pm
f3b82273d4
Remove leading whitespaces from save codes
2020-01-30 18:53:00 +01:00
bors[bot]
72fcf9caa8
Merge #2050
...
2050: Fix race condition. Closes #2004 r=def- a=Learath2
I guess a new state is better then a global variable
Co-authored-by: Learath <learath2@gmail.com>
2020-01-26 15:49:30 +00:00
Learath
cc8dea393d
Address feedback
2020-01-25 21:05:33 +01:00
Dennis Felsing
50d848ec43
Merge pull request #1928 from sirius1242/demo_render2
...
Demo to video converter function.
2020-01-25 21:01:08 +01:00
Learath
40dc9692aa
Fix race condition. Closes #2004
2020-01-25 17:48:32 +01:00
bors[bot]
7a3ebd5948
Merge #2041
...
2041: Strip spaces in browser (server name) r=heinrich5991 a=ChillerDragon
before:
![image](https://user-images.githubusercontent.com/20344300/72688976-b45f1d00-3b0c-11ea-8920-5328c6d721f7.png )
after:
![image](https://user-images.githubusercontent.com/20344300/72688970-9db8c600-3b0c-11ea-8636-330218d75ca1.png )
Co-authored-by: KillaBilla <robomastermail@googlemail.com>
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2020-01-25 12:45:36 +00:00
bors[bot]
749929431a
Merge #2040
...
2040: fixed faulty message id r=heinrich5991 a=ChillerDragon
(cherry picked from commit 9023796d27
)
Co-authored-by: oy <Tom_Adams@web.de>
2020-01-25 12:40:14 +00:00
sirius
97064a1b09
Keep trying to solve fluency issues
2020-01-25 19:14:45 +08:00
def
8779be6bd8
Looks like my comment was wrong...
2020-01-25 07:37:28 +01:00
12pm
ec42291756
Allow filtering by name in status
...
Easier to find players when the server is full
2020-01-24 14:44:54 +01:00
bors[bot]
8ab8834ccb
Merge #2048
...
2048: Display envelope name in popups r=12pm a=Learath2
A dropdown would've worked better, but we don't have one
Co-authored-by: Learath <learath2@gmail.com>
2020-01-23 20:54:49 +00:00
Learath
e567fde9d7
Names aren't unique, thinner popup
2020-01-23 21:24:48 +01:00
Learath
a2eee9a8db
Truncate properly
2020-01-23 20:48:42 +01:00
Learath
2abe4fbcfb
Display envelope name
2020-01-23 20:27:01 +01:00
12pm
9dcfcc8f10
Modify envelope index when appending maps
...
fixes #2044
2020-01-23 18:30:55 +01:00
Learath
4451fed535
Fix missing include
2020-01-23 16:07:40 +01:00
bors[bot]
a47a94ee0e
Merge #2042
...
2042: Check snap r=def- a=ChillerDragon
Co-authored-by: oy <Tom_Adams@web.de>
Co-authored-by: ChillerDragon <ChillerDragon@gmail.com>
2020-01-22 13:02:04 +00:00
ChillerDragon
610976eddd
Fix max snapshot size
2020-01-22 13:44:05 +01:00
ChillerDragon
ee825f42e9
Add snap check for dummy
2020-01-21 22:20:09 +01:00
oy
49168da784
fixed typo
...
(cherry picked from commit 3deb58d409
)
2020-01-21 22:17:20 +01:00
oy
ef3bce204c
added some checks to snap handling
...
(cherry picked from commit a09d498bc9
)
2020-01-21 22:16:28 +01:00
heinrich5991
8c4569991d
Fix indentation and formatting of str_clean_whitespaces
...
(cherry picked from commit b9c4086382
)
2020-01-19 22:38:08 +01:00
KillaBilla
75d076b3bc
changed str_clean_whitespace implementation to pkoerner's one
...
(cherry picked from commit a9cc1e8de2
)
2020-01-19 22:37:57 +01:00
KillaBilla
ba1abac52f
remove leading and trailing space from server name and forbit the use of multiple spaces
...
(cherry picked from commit a9cc1e8de2
)
2020-01-19 22:28:19 +01:00
oy
1b4131a7fd
fixed faulty message id
...
(cherry picked from commit 9023796d27
)
2020-01-19 21:30:12 +01:00
ChillerDragon
949aa124e9
Overkill optimize editor code runs 200 fps faster
2020-01-19 17:48:07 +01:00
12pm
82ac6091eb
Fix rotating rotatable tiles in switch layer
2020-01-17 18:22:41 +01:00
Corantin H
a73525361b
Fix del key removing commands while in editbox
2020-01-16 15:01:45 +01:00
Dennis Felsing
fcc25dfc65
Fix crash on pDDNetCharacter
2020-01-16 12:35:26 +01:00
heinrich5991
fe1cf90327
Restore rcon rifle
compatibility shim
...
Two more lines to keep backward compatibility.
2020-01-12 13:59:55 +01:00
sirius
d6dc811674
seems fluent problem solved, and fix a error when compile by msvs
2020-01-12 16:57:40 +08:00
bors[bot]
173ca2e179
Merge #2026
...
2026: Only start showing emoticons after their start tick has passed (fixes #2025 ) r=Learath2 a=def-
Since we can go back in time in demo player
Co-authored-by: def <dennis@felsin9.de>
2020-01-08 09:27:09 +00:00
sirius
483885b6b1
try to solve the problem that video not fluent caused by previous commits
2020-01-08 14:25:06 +08:00
sirius
d45b66938d
make latter to wait when write_frame collision between audio and video
2020-01-07 11:32:56 +08:00
bors[bot]
7d7b51011d
Merge #2030
...
2030: Move /list to ddracechat r=def- a=fokkonaut
Co-authored-by: fokkonaut <35420825+fokkonaut@users.noreply.github.com>
2020-01-06 21:39:19 +00:00
fokkonaut
c27e28b7ad
Move /list to ddracechat
2020-01-06 17:29:31 +01:00
sirius
3baba93ed2
fix the problem of audio when video fps is low
2020-01-06 11:57:24 +08:00
fokkonaut
f5b8bbc2ff
Simplify anti stuck code more
2020-01-05 11:49:21 +01:00
sirius
779afcb771
crf and preset can be set by variables
2020-01-05 11:18:51 +08:00
fokkonaut
e2b252b714
Distance can't be negative
2020-01-04 16:32:51 +01:00
sirius
0be4629cc1
forget to deal with pError
2020-01-04 17:44:12 +08:00
sirius
3967ddba00
replace same operations by call Demoplay_Play() when rendering video by render button
2020-01-04 17:08:00 +08:00
def
54d4aef145
Only start showing emoticons after their start tick has passed ( fixes #2025 )
...
Since we can go back in time in demo player
2020-01-04 10:07:14 +01:00
sirius
521e822bbb
update map fix part when rendering video
2020-01-04 17:02:00 +08:00
sirius
5350a12185
fix wired sound
2020-01-04 10:17:16 +08:00
def
600a3b0bad
Fix preprocessor
2020-01-03 22:07:02 +01:00
def
511c9d248e
Fix alignment of pixels for reading to video recorder
2020-01-03 21:43:15 +01:00
def
1e36b4df15
Move some code out as a small optimization
2020-01-03 21:42:53 +01:00
def
8d716452ba
Fix sizes so that we don't write too far
2020-01-03 21:42:19 +01:00
def
54ae929b2f
Disallow resizing windows when videorecorder is compiled in
2020-01-03 21:40:41 +01:00
def
a0362019f0
Initialize m_NextaFrame
2020-01-03 20:37:27 +01:00
Learath
d2fad6c79a
Fix demo bug
2020-01-03 12:13:40 +03:00
sirius
6803726209
extend sound buffer, try to solve segment fault problem
2020-01-03 10:26:10 +08:00
def
017b8c3621
Move DDNet-custom json code out of external directory ( fixes #2022 )
2020-01-01 20:07:04 +01:00
def
df807a7486
-DVIDEORECORDER=ON instead of -DFFMPEG=ON, fix README
...
remove unused files
2020-01-01 16:56:54 +01:00
sirius
7710b88670
Merge branch 'master' of https://github.com/ddnet/ddnet into demo_render2
2020-01-01 18:36:49 +08:00
Dennis Felsing
ba3b436139
Fix Websockets warning
2019-12-30 10:12:16 +01:00
def
b0406e335b
Remove debugging help
2019-12-29 13:35:19 +01:00
def
0236f15018
Teamscore DDNet7 fix
2019-12-29 12:55:19 +01:00
def
6da92b4b9c
Fix map_convert_07 tool
2019-12-29 12:43:41 +01:00
def
5f855b11b2
Version 12.8.1
2019-12-22 22:39:31 +01:00
Dennis Felsing
811ddb3283
Merge pull request #2008 from Learath2/dd_pr_demohotfix
...
Fix (not) small bug with demos that don't include a map
2019-12-22 22:38:22 +01:00
Learath
a882cf5196
Fix bug with slices
2019-12-22 19:09:14 +03:00
def
aa3e82cda7
Revert "Write out sql server prefix to failed_sql.sql"
...
This reverts commit c1a7961359
.
2019-12-22 09:30:33 +01:00
def
8879f17341
Revert "Still pass in SqlServer even when writing to file since we need prefix"
...
This reverts commit 6e294d938b
.
2019-12-22 09:28:14 +01:00
Dennis Felsing
83f2fc2669
Merge pull request #2012 from ChillerDragon/pr_func_style
...
Style 'void foo() {' -> 'void foo()\n{'
2019-12-21 18:18:49 +01:00
ChillerDragon
928e5407eb
Style 'void foo() {' -> 'void foo()\n{'
2019-12-21 14:35:09 +01:00
Dennis Felsing
3e08d473ab
Merge pull request #2011 from heinrich5991/pr_ddnet_fix_comment
...
Fix outdated comment
2019-12-21 08:00:38 +01:00
heinrich5991
e70fb8e43d
Fix outdated comment
2019-12-20 22:51:10 +01:00
jupeyy
8a8674b545
fix min mouse pos for follow factor
2019-12-19 00:26:54 +01:00
Learath
65ec25a8a1
Fix small bug with demos that don't include a map
2019-12-18 13:51:08 +01:00
Dennis Felsing
71857fdb80
Merge pull request #2007 from heinrich5991/pr_ddnet_rm_string_h
...
Remove `strcmp` from file score
2019-12-18 13:15:10 +01:00
heinrich5991
4aeeedbbea
Remove strcmp
from file score
2019-12-18 12:52:36 +01:00
def
354541a146
Add string.h include in file_score.cpp
...
src/game/server/score/file_score.cpp: In member function ‘CFileScore::CPlayerScore* CFileScore::SearchName(const char*, int*, bool)’:
src/game/server/score/file_score.cpp:169:9: error: ‘strcmp’ was not declared in this scope
169 | if (!strcmp(r.front().m_aName, pName))
| ^~~~~~
src/game/server/score/file_score.cpp:12:1: note: ‘strcmp’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
11 | #include <engine/shared/console.h>
+++ |+#include <cstring>
12 |¬
2019-12-17 22:25:06 +01:00
def
a7deac1b22
Update credits
2019-12-17 21:35:40 +01:00
Dennis Felsing
d8ac51e006
Merge pull request #2000 from def-/pr-12-8
...
Version 12.8
2019-12-17 21:23:58 +01:00
Dennis Felsing
4171e8751f
Merge pull request #1939 from Learath2/dd_pr_demoload
...
Always try extracting map before fail. Fix #1886
2019-12-17 21:20:10 +01:00
Learath2
3784f5bea4
Use a UUID, Cleanup code and UI
2019-12-17 15:44:54 +01:00
Dennis Felsing
044c74f91a
Version 12.8
2019-12-16 15:36:26 +01:00
bors[bot]
aeee8f8704
Merge #1995
...
1995: Remove some unused includes r=def- a=ChillerDragon
Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
2019-12-16 13:19:32 +00:00
Dennis Felsing
6e294d938b
Still pass in SqlServer even when writing to file since we need prefix
2019-12-16 10:30:56 +01:00
ChillerDragon
4a6a85124a
Remove some unused includes
2019-12-14 10:20:42 +01:00
bors[bot]
4a83a42f14
Merge #1981
...
1981: Fix: background colors being set to white r=def- a=Aerll
After changing either of background colors in ddnet tab in settings and reopening the client, both become white.
Co-authored-by: Aerll <31746984+aerll@users.noreply.github.com>
2019-12-10 12:34:48 +00:00
bors[bot]
709681604d
Merge #1989
...
1989: Remove a few unused stdio.h's r=def- a=ChillerDragon
Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
2019-12-09 18:23:26 +00:00
ChillerDragon
01c873bcf7
Remove a few unused stdio.h's
2019-12-09 15:40:59 +01:00
Dennis Felsing
a27358806c
Revert "Support shotgun_speed 0"
...
This reverts commit 9d39ca888f
.
2019-12-09 14:59:10 +01:00
def
8639c902ae
map_convert_07: use regular paths
2019-12-08 23:14:56 +01:00
Dennis Felsing
b88ebbc771
Merge pull request #1985 from def-/pr-db-ddnet7
...
Add support to tell DDNet7 ranks apart from DDNet ones
2019-12-08 23:01:27 +01:00
def
28aabc5b91
Add map_convert_07 tool
...
Fixes https://github.com/ddnet/ddnet7/issues/20
2019-12-08 22:44:25 +01:00
Aerll
ff685ac1e0
fix ub
2019-12-08 20:08:00 +01:00
Aerll
7d6ad9fca5
revert
2019-12-08 20:05:13 +01:00
def
18e2232727
Add support to tell DDNet7 ranks apart from DDNet ones
...
Saves should not be loadable from one to the other.
Requires:
ALTER TABLE record_race ADD COLUMN DDNet7 BOOL DEFAULT FALSE AFTER GameID;
ALTER TABLE record_teamrace ADD COLUMN DDNet7 BOOL DEFAULT FALSE AFTER GameID;
ALTER TABLE record_saves ADD COLUMN DDNet7 BOOL DEFAULT FALSE AFTER Server;
2019-12-08 16:04:49 +01:00
Aerll
f8466fde7d
Fix: background colors being set to white
...
After changing either of background colors in ddnet tab in settings and reopening the client, both become white.
2019-12-05 15:51:40 +01:00
Aerll
9f4721b74b
Fix: automapper skips tiles when it shouldn't
...
In case of something like: INDEX 0 OR 1 all tiles need to be automapped.
2019-12-05 15:28:35 +01:00
bors[bot]
c31f6303cf
Merge #1977
...
1977: Support shotgun_speed 0 r=Learath2 a=def-
for mapping stationary bullets
As requested by Im 'corneum.
Co-authored-by: def <dennis@felsin9.de>
2019-12-04 16:48:06 +00:00
bors[bot]
e02cd322ad
Merge #1979
...
1979: Clean up color handling a bit r=Learath2 a=def-
- SetAlpha should be called WithAlpha and only works for RGBA
- Fix type correctness of color_scale and introduce color_invert
- Nicer hook coll color handling in RenderPlayer
- Use CRTP to have type safe WithAlpha, otherwise this would compile:
`ColorHSLA = WithAlpha(ColorRGBA(1.0f, 1.0f, 1.0f));`
Follow-up to https://github.com/ddnet/ddnet/pull/1968
Co-authored-by: Dennis Felsing <dennis@felsin9.de>
2019-12-03 12:09:57 +00:00
bors[bot]
d8cd6aa83e
Merge #1976
...
1976: Write out sql server prefix to failed_sql.sql r=Learath2 a=def-
also don't write out non-eligible records.
Co-authored-by: Dennis Felsing <dennis@felsin9.de>
2019-12-03 11:58:09 +00:00
Dennis Felsing
37ef24225e
Clean up color handling a bit
...
- SetAlpha should be called WithAlpha and only works for RGBA
- Fix type correctness of color_scale and introduce color_invert
- Nicer hook coll color handling in RenderPlayer
- Use CRTP to have type safe WithAlpha, otherwise this would compile:
ColorHSLA = WithAlpha(ColorRGBA(1.0f, 1.0f, 1.0f));
2019-12-03 11:32:55 +01:00
bors[bot]
d597322ef3
Merge #1978
...
1978: Update localizations (Thanks to Cellegen for report) r=Learath2 a=def-
Co-authored-by: Dennis Felsing <dennis@felsin9.de>
2019-12-03 10:07:34 +00:00
Dennis Felsing
5e8439acab
Merge pull request #1968 from d3fault/always-show-hook-coll-signaling
...
Invert hook coll colors when using cl_show_hook_coll_always and +showhookcoll is pressed
2019-12-02 09:50:34 +01:00
d3fault
5261ca25fe
Invert hook coll colors when using cl_show_hook_coll_always and +showhookcoll is pressed
...
This allows you to still see other players signaling you with their hook coll
when you have cl_show_hook_coll_always enabled.
2019-12-02 01:30:20 -07:00
Dennis Felsing
0498df2508
Update localizations (Thanks to Cellegen for report)
...
- Remove duplicate laser entries
- Update menus_settings.cpp comment for scripts
- Update instructions for scripts
- Run script to get updated localizations
2019-12-02 09:09:01 +01:00
bors[bot]
33d88f647c
Merge #1974
...
1974: more typesafty in the graphics. introduced the IGraphics::CTextureHandle r=def- a=ChillerDragon
Edited by @ChillerDragon to fit in ddnet
(cherry picked from commit cb95e8dfe8
)
Co-authored-by: Magnus Auvinen <magnus.auvinen@gmail.com>
2019-11-27 17:55:45 +00:00
bors[bot]
d589f266dc
Merge #1973
...
1973: Rename rifle to laser r=def- a=ChillerDragon
This makes it easier to copy code from/to 0.7
23df3c609e
For the user only the rcon command to give/remove ``laser``/``unlaser`` changes.
Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
2019-11-27 17:36:03 +00:00
def
9d39ca888f
Support shotgun_speed 0
...
for mapping stationary bullets
2019-11-27 18:29:39 +01:00
Dennis Felsing
c1a7961359
Write out sql server prefix to failed_sql.sql
2019-11-25 14:04:57 +01:00
Magnus Auvinen
6a6a5f00c9
more typesafty in the graphics. introduced the IGraphics::CTextureHandle
...
Edited by @ChillerDragon to fit in ddnet
(cherry picked from commit cb95e8dfe8
)
2019-11-22 18:08:37 +01:00
ChillerDragon
96c9b1ab73
Rename rifle to laser
...
This makes it easier to copy code from/to 0.7
23df3c609e
2019-11-22 15:37:18 +01:00
ChillerDragon
227a223c32
Fix a few names in popups
2019-11-22 12:28:34 +01:00
ChillerDragon
0f76c89d8a
Save selected UI settings page
...
Inspired by @SushiTee's teeworlds commit:
65cc8f7fd9
2019-11-17 18:11:33 +01:00
sirius
76a80fe01b
deal with warnings
2019-11-12 21:41:30 +08:00
bors[bot]
c26ac8af86
Merge #1965
...
1965: Use an enum for netclient indices r=def- a=ChillerDragon
Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
2019-11-11 16:55:17 +00:00
ChillerDragon
9c3447dd17
Use an enum for netclient indices
2019-11-10 13:46:27 +01:00
trml
3986925761
Optimize character evolve
2019-11-09 22:49:53 +01:00
def
975a0bc9b3
Add help text for negative parameter for worst players
2019-11-05 18:28:34 +01:00
ChillerDragon
1a957f0abe
Fix typo 'user' -> 'use'
2019-11-05 09:16:54 +01:00
Dennis Felsing
785ec3d345
Expire server info on connected/drop events
2019-11-04 15:45:55 +01:00
Learath2
c2bcd3bd4d
Fix bug
2019-11-04 01:06:52 +01:00
bors[bot]
0de012572b
Merge #1955
...
1955: Cache serverinfo responses r=def- a=Learath2
I'm not sure I like it but it works
Co-authored-by: Learath2 <learath2@gmail.com>
2019-11-03 20:09:21 +00:00
Learath2
c0b0f48d16
Oops
2019-11-03 20:58:35 +01:00
bors[bot]
7d07b311fd
Merge #1956
...
1956: Fix uninitialized variable r=Learath2 a=def-
As reported by valgrind --tool=memcheck:
==344082== Conditional jump or move depends on uninitialised value(s)
==344082== at 0x483BC85: strlen (vg_replace_strmem.c:461)
==344082== by 0x5B9E61D: __vfprintf_internal (in /usr/lib/libc-2.30.so)
==344082== by 0x5BB0409: __vsnprintf_internal (in /usr/lib/libc-2.30.so)
==344082== by 0x222AE7: str_format (system.c:2350)
==344082== by 0x2196AB: CStorage::GetPath(int, char const*, char*, unsigned int) (storage.cpp:274)
==344082== by 0x219DDD: CStorage::RemoveFile(char const*, int) (storage.cpp:409)
==344082== by 0x255D3C: CClient::DemoRecorder_Stop(int, bool) (client.cpp:3546)
==344082== by 0x2569E7: CClient::ConchainReplays(IConsole::IResult*, void*, void (*)(IConsole::IResult*, void*), void*) (client.cpp:3727)
==344082== by 0x1F4659: CConsole::Con_Chain(IConsole::IResult*, void*) (console.cpp:1169)
==344082== by 0x1E4C2C: CConsole::ExecuteLineStroked(int, char const*, int, bool) (console.cpp:504)
==344082== by 0x1E4F37: CConsole::ExecuteLine(char const*, int, bool) (console.cpp:558)
==344082== by 0x1E5240: CConsole::ExecuteFile(char const*, int, bool, int) (console.cpp:604)
Co-authored-by: def <dennis@felsin9.de>
2019-11-03 19:58:09 +00:00
def
fdaafea6b5
Also init m_aClients[*].m_Latency
...
as reported by valgrind --tool=memcheck:
==376722== Conditional jump or move depends on uninitialised value(s)
==376722== at 0x1CDBDB: int maximum<int>(int, int) (math.h:79)
==376722== by 0x216A46: CPlayer::Tick() (player.cpp:174)
==376722== by 0x1FB308: CGameContext::OnTick() (gamecontext.cpp:658)
==376722== by 0x1C60AF: CServer::Run() (server.cpp:2046)
==376722== by 0x1CB099: main (server.cpp:3040)
==376722==
==376722== Conditional jump or move depends on uninitialised value(s)
==376722== at 0x183F27: int minimum<int>(int, int) (math.h:77)
==376722== by 0x216A65: CPlayer::Tick() (player.cpp:175)
==376722== by 0x1FB308: CGameContext::OnTick() (gamecontext.cpp:658)
==376722== by 0x1C60AF: CServer::Run() (server.cpp:2046)
==376722== by 0x1CB099: main (server.cpp:3040)
2019-11-03 18:54:25 +01:00
Learath2
c4d18118c1
Use automatic storage for the data
2019-11-03 18:31:05 +01:00
def
f9598c8ba8
Don't access m_aClients wiht invalid ClientID
2019-11-03 18:10:30 +01:00
def
258eaf5a98
Fix uninitialized variable
...
As reported by valgrind --tool=memcheck:
[201==344082== Conditional jump or move depends on uninitialised value(s)
==344082== at 0x483BC85: strlen (vg_replace_strmem.c:461)
==344082== by 0x5B9E61D: __vfprintf_internal (in /usr/lib/libc-2.30.so)
==344082== by 0x5BB0409: __vsnprintf_internal (in /usr/lib/libc-2.30.so)
==344082== by 0x222AE7: str_format (system.c:2350)
==344082== by 0x2196AB: CStorage::GetPath(int, char const*, char*, unsigned int) (storage.cpp:274)
==344082== by 0x219DDD: CStorage::RemoveFile(char const*, int) (storage.cpp:409)
==344082== by 0x255D3C: CClient::DemoRecorder_Stop(int, bool) (client.cpp:3546)
==344082== by 0x2569E7: CClient::ConchainReplays(IConsole::IResult*, void*, void (*)(IConsole::IResult*, void*), void*) (client.cpp:3727)
==344082== by 0x1F4659: CConsole::Con_Chain(IConsole::IResult*, void*) (console.cpp:1169)
==344082== by 0x1E4C2C: CConsole::ExecuteLineStroked(int, char const*, int, bool) (console.cpp:504)
==344082== by 0x1E4F37: CConsole::ExecuteLine(char const*, int, bool) (console.cpp:558)
==344082== by 0x1E5240: CConsole::ExecuteFile(char const*, int, bool, int) (console.cpp:604)
2019-11-03 18:05:42 +01:00
Learath2
52cca29cd9
Use a std::list, improve variable naming
2019-11-03 15:39:32 +01:00
sirius
8c48e7d633
some small changes
2019-11-03 11:20:24 +08:00
Learath2
3d495a9936
Initialize variables
2019-11-03 01:53:50 +01:00
Learath2
79e4651d5b
Only update serverinfo when needed
2019-11-03 01:07:10 +01:00
Learath2
7f0589bff7
Cache serverinfo responses
2019-11-03 00:33:30 +01:00
sirius
4cc03af9a9
remove useless functions for previous audio sync
2019-11-02 18:32:48 +08:00
sirius
e910fe404f
Direct mix when recording audio now, and seems solve the stuck problem when
...
DDNet is not the focusing window
2019-11-02 18:21:47 +08:00
sirius
f2ffa996c2
GetSync calculate only when m_Recording true (otherwise sometimes core dump)
2019-11-01 10:52:24 +08:00
Sirius
45263ebdd0
Merge branch 'master' into demo_render2
2019-10-31 22:08:49 +08:00
sirius
ae1ff28579
not abort sample when sync now
2019-10-31 22:01:12 +08:00
Dennis Felsing
516bc98436
Version 12.7.3
2019-10-31 14:37:09 +01:00
WsYFU
1a16f5b5f0
Update serverbrowser.cpp
2019-10-31 16:16:35 +03:00
sirius
5ad8028aa4
sync audio frame with video frame number
2019-10-31 20:02:41 +08:00
sirius
99f6b66fbd
solve sync between video and audio by magic number
2019-10-31 17:37:38 +08:00
sirius
99df692e00
interleaving problem solved, but a little misplacement of video and audio stream
2019-10-31 17:00:05 +08:00
sirius
0a6edd02ca
solve the problem when video finished
2019-10-30 22:26:45 +08:00
sirius
9f009e0e04
interleaving problem seems solved, but still have some problem when playing by mplayer
2019-10-30 22:10:44 +08:00
sirius
f0e7ca200f
remove two first audio frames to avoid noise in the begining
2019-10-30 10:56:20 +08:00
sirius
a7c2a65ebc
audio seems correct, but need more elegant way, and still bad interleaving
2019-10-30 00:01:25 +08:00
12pm
f66dc75400
Fix crash when switch (un)deep number is 0
2019-10-27 14:28:40 +01:00
Ryozuki
2bf76aac67
remove for loop in camera
2019-10-27 13:04:08 +01:00
bors[bot]
4717b21844
Merge #1934
...
1934: repair the problem that class selector appear when demo playing r=def- a=sirius1242
I think this problem is solved, but this may be a little hack, I don't know the effect of this if-else condition.
![2019-10-12-12-27-ScreenShot2](https://user-images.githubusercontent.com/32300858/66710842-eac12980-edb2-11e9-8866-cf3a1348616b.png )
Co-authored-by: sirius <sirius.ustc@gmail.com>
2019-10-27 08:31:41 +00:00
sirius
49ff1a5827
not play sound when rendering video
2019-10-26 20:01:09 +08:00
sirius
9866a73b1c
sync audio and video
2019-10-26 19:54:25 +08:00
bors[bot]
dc6a2959be
Merge #1949
...
1949: Add cl_dummy_resetonswitch 2 r=Learath2 a=d3fault
Idea by @ChillerDragon :
Only resets the active tee. So if you hold right and switch your
dummy keeps walking. But if you switch back you don't have
to press right twice to walk again.
Fix #1854
Co-authored-by: d3fault <d3fault@d3fault.net>
2019-10-25 11:31:19 +00:00
bors[bot]
4fc907933e
Merge #1946
...
1946: Don't locally render your own dummy's afk emote. Other players will still see it r=Learath2 a=d3fault
Afk emote on your own dummy is pointless and annoying, esp on dummy maps.
Co-authored-by: d3fault <d3fault@d3fault.net>
2019-10-25 01:21:21 +00:00
d3fault
ecf48a89e9
Add cl_dummy_resetonswitch 2
...
Idea by ChillerDragon:
Only resets the active tee. So if you hold right and switch your
dummy keeps walking. But if you switch back you don't have
to press right twice to walk again.
Fix #1854
2019-10-24 18:11:42 -07:00
bors[bot]
7cfcfbcfa2
Merge #1948
...
1948: Fix objc_msgSend() xcode11 error r=def- a=ChillerDragon
Fix by @heinrich5991
from the documentation of objc_msgSend in <objc/message.h>
```
/* Basic Messaging Primitives
*
* On some architectures, use objc_msgSend_stret for some struct return types.
* On some architectures, use objc_msgSend_fpret for some float return types.
* On some architectures, use objc_msgSend_fp2ret for some float return types.
*
* These functions must be cast to an appropriate function pointer type
* before being called.
*/
OBJC_EXPORT void
objc_msgSend(void /* id self, SEL op, ... */ )
OBJC_AVAILABLE(10.0, 2.0, 9.0, 1.0, 2.0);
OBJC_EXPORT void
objc_msgSendSuper(void /* struct objc_super *super, SEL op, ... */ )
OBJC_AVAILABLE(10.0, 2.0, 9.0, 1.0, 2.0);
```
Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
2019-10-23 16:43:52 +00:00
ChillerDragon
47b41f35ff
Fix objc_msgSend() xcode11 error
...
Fix by @heinrich5991
from the documentation of objc_msgSend in <objc/message.h>
```
/* Basic Messaging Primitives
*
* On some architectures, use objc_msgSend_stret for some struct return types.
* On some architectures, use objc_msgSend_fpret for some float return types.
* On some architectures, use objc_msgSend_fp2ret for some float return types.
*
* These functions must be cast to an appropriate function pointer type
* before being called.
*/
OBJC_EXPORT void
objc_msgSend(void /* id self, SEL op, ... */ )
OBJC_AVAILABLE(10.0, 2.0, 9.0, 1.0, 2.0);
OBJC_EXPORT void
objc_msgSendSuper(void /* struct objc_super *super, SEL op, ... */ )
OBJC_AVAILABLE(10.0, 2.0, 9.0, 1.0, 2.0);
```
2019-10-23 17:23:51 +02:00
def
8702af19b5
Optimize CCollision::MoveBox to stop looping once velocity is 0
2019-10-22 13:48:05 +02:00
d3fault
2943eb0d4f
Don't locally render your own dummy's afk emote. Other players will still see it
2019-10-19 21:03:08 -07:00
sirius
b175a6fd42
add button to use sound when rendering video
2019-10-17 13:38:00 +08:00
Dennis Felsing
ae4f632bbd
Disable warning for false positive
2019-10-16 14:33:58 +02:00
Dennis Felsing
5b99e2c568
Version 12.7.2
2019-10-16 09:10:12 +02:00
Dennis Felsing
17a7e37411
Fix (thanks to Bannzay)
2019-10-16 07:08:44 +02:00
def
bf993e518e
Version 12.7.1
2019-10-15 23:23:31 +02:00
Dennis Felsing
3a3df05cca
Change sv_deepfly to work with hammer explicitly
2019-10-15 15:13:23 +02:00
Dennis Felsing
7a991615f3
Fix the fix
2019-10-15 10:38:52 +02:00
Dennis Felsing
fcfc5a4561
Fix velocity comparison
...
as Mac build complains:
src/game/server/entities/character.cpp:1681:18: error: ordered comparison between pointer and zero ('const float *' and 'int')
if(m_Core.m_Vel > 0 && (m_MoveRestrictions&CANTMOVE_DOWN))
~~~~~~~~~~~~ ^ ~
2019-10-15 10:36:02 +02:00
Dennis Felsing
1843e62910
Version 12.7
2019-10-15 10:11:01 +02:00
bors[bot]
d4a64e575b
Merge #1941
...
1941: Fix IntersectCharacter r=def- a=12pm
This makes hitting yourself when shooting through other tees work
Co-authored-by: 12pm <30786226+12pm@users.noreply.github.com>
2019-10-15 07:42:42 +00:00
bors[bot]
c0474a79c2
Merge #1922
...
1922: Allow to hammer directly on unfreeze r=def- a=heinrich5991
Previously, this was only doable with frame-perfect input if you were
going to get frozen again the next tick. Now, you only have to hold your
hammer to immediately hammer once you get unfrozen.
This fixes that "deepfly" (flying with deep-frozen dummy, binding both
main and dummy tee hammers onto the same key) does not only work for
good connection.
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2019-10-15 07:30:47 +00:00
bors[bot]
8db2694c5e
Merge #1938
...
1938: Explode grenades twice at the end if they have lifespans. Fix #1559 r=heinrich5991 a=Learath2
Just by looking at the code I think this is what was intended but only testing can make sure.
Co-authored-by: Learath <learath2@gmail.com>
2019-10-14 20:02:55 +00:00
12pm
b1ca920cd4
Fix IntersectCharacter
...
This makes hitting yourself when shooting through other tees work
2019-10-14 16:03:28 +02:00
sirius
71c53580ea
recover the if-else block changed in d89ae6c18
2019-10-14 19:11:29 +08:00
sirius
926414c8cf
remove the redundant line
2019-10-14 17:41:19 +08:00
sirius
aaddc49704
recovert the if-else block
2019-10-14 17:32:42 +08:00
bors[bot]
aa79d810ff
Merge #1935 #1936 #1940
...
1935: Add a limit to GetNearestAirPos. Fix #1931 r=def- a=Learath2
There isn't really any sane behaviour here, so I just avoided the infinite loop.
You shouldn't be in the wall to begin with :P
1936: Mark players as afk initially. Fix #1797 r=def- a=Learath2
The whole afktimer code is quite ugly. I might rework it at a later date.
For now this looks like an acceptable fix.
1940: Update ddnet-libs version r=Learath2 a=def-
Was forgotten in the libcurl linux removal I think?
Co-authored-by: Learath <learath2@gmail.com>
Co-authored-by: Dennis Felsing <dennis@felsin9.de>
2019-10-14 08:04:06 +00:00
bors[bot]
4f63492dc9
Merge #1933
...
1933: Fix two unintentional behavior changes of the stopper rewrite r=def- a=heinrich5991
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2019-10-14 07:46:10 +00:00
Learath
a650a3c320
Remove the initial lifespan check
2019-10-14 02:28:24 +02:00
Learath
7cdd050fee
Add SHA to demos. Bump Demo Version
2019-10-14 02:27:08 +02:00
Learath
b2cefb20ed
Always try extracting map before fail. Fix #1886
2019-10-13 18:46:28 +02:00
Learath
63998eaa84
Explode grenades twice at the end if they have lifespans. Fix #1559
2019-10-13 17:58:59 +02:00
Learath
3e7cf12995
Clamp ping to 999. Fix #1651
2019-10-13 17:17:05 +02:00
Learath
547f751bf3
Mark players as afk initially. Fix #1797
2019-10-13 17:13:03 +02:00
Learath
84f1542f43
Add a limit to GetNearestAirPos. Fix #1931
2019-10-13 16:34:03 +02:00
sirius
d347ded43e
change the time() in chat.cpp back to CComponent::time()
2019-10-13 22:01:08 +08:00
sirius
d9d6569580
add button to set whether show chat when rendering video
2019-10-13 20:29:55 +08:00
sirius
f5d0018ba9
solve the problem that chat message not show after a period of time when rendering
2019-10-13 19:57:24 +08:00
sirius
5b514e5c7f
repair the problem that class selector appear when demo playing
2019-10-13 12:09:20 +08:00
sirius
d89ae6c18c
repair the problem that class selector appear when demo playing
2019-10-13 00:27:44 +08:00
bors[bot]
fdf2ec37e7
Merge #1930
...
1930: Fix #1888 r=heinrich5991 a=Learath2
I didn't see a better fix for it
Co-authored-by: Learath <learath2@gmail.com>
2019-10-07 22:44:51 +00:00
heinrich5991
34087e1a7b
Only get double jump when falling onto a stopper
...
Another unintentional behavior change found by Zwelf.
2019-10-06 13:54:16 +02:00
heinrich5991
eab0815ddc
Fix unintentional behavior change with blockers
...
Could be seen on "Insane 3", on teleporter 37. Thanks to Zwelf for
reporting.
2019-10-06 13:51:16 +02:00
12pm
36df86fcd2
Add toggle keyboard shortcuts button to demo player
...
Demo shortcuts can be annoying if you have other binds on them.
Icons made by eNJi
2019-10-05 18:06:58 +02:00
bors[bot]
112d0432e2
Merge #1923
...
1923: Properly force spawn order of teams. Fix #1828 r=Learath2 a=d3fault
Mimic old behavior of having a respawn tick > 0 ticks after current tick. 2 ticks later is still "instant enough".
The code below the change mentions strong spawning, so without deciphering it we simply give 2 extra ticks to make sure that it executes before spawning (2 instead of 1 so that it definitely executes for both primary and dummy).
Co-authored-by: d3fault <d3fault@d3fault.net>
2019-10-03 12:11:50 +00:00
bors[bot]
80efc085f6
Merge #1927
...
1927: Add show text entities button to settings r=Learath2 a=12pm
Fixes #1897
Co-authored-by: 12pm <30786226+12pm@users.noreply.github.com>
2019-10-02 22:02:12 +00:00
Learath
49a2a47dc8
Fix #1888
2019-10-02 20:44:03 +03:00
bors[bot]
e7ea336a94
Merge #1925 #1929
...
1925: Don't bundle libcurl for Linux r=Learath2 a=heinrich5991
It's installed basically everywhere and just increases release size.
They're serious about backward compatibility and haven't had a breaking
change in ages.
1929: Remove space at end of cfg description r=Learath2 a=ChillerDragon
Happy hacktoberfest :octocat:
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
2019-10-02 17:25:02 +00:00
ChillerDragon
3777021383
Remove space at end of cfg description
2019-10-02 17:15:42 +02:00
12pm
bc62167131
Add show text entities button to settings
...
Fixes #1897
2019-10-02 13:57:39 +02:00
heinrich5991
9a5de9eff8
Remove unused variables
2019-10-02 10:28:34 +02:00
sirius
4f3f3d2a61
add two video settings: showhookcollother and showdirection
2019-10-02 13:33:55 +08:00
sirius
9467bef192
add button to set whether show hud when rendering video
2019-10-02 13:11:58 +08:00
sirius
6acae69d96
repair the segment fault bug in con_startvideo
2019-10-02 09:52:54 +08:00
sirius
ca583ba2a9
solve the problem about disorder of frames, reason is that no glReadBuffer() before glReadPixel()
2019-10-02 09:52:47 +08:00
sirius
b0ee5671ff
rebased to ef32fc4
2019-10-02 09:51:33 +08:00
d3fault
5f193d009e
Properly force spawn order of teams, so dummy doesn't get strong hook. Fix #1828
...
Mimic old behavior of having a respawn tick > 0 ticks after current tick.
2 ticks later is still "instant enough".
The code below the change mentions strong spawning,
so without deciphering it we simply give 2 extra ticks to make sure that
it executes before spawning (2 instead of 1 so that it definitely
executes for both primary and dummy).
2019-09-30 15:42:09 -07:00
d3fault
718eebd9ce
Revert "Force spawn order of teams. Fix #1828 "
...
This broke respawn rate limiting and didn't even fix #1828 .
When primary tee hits kill tiles, dummy still gets strong hook.
This reverts commit 02f5723321
.
2019-09-30 15:38:35 -07:00
sirius
e4fdeefdd4
remove first two frames to forbid from interface before playback being rendered to video
2019-09-30 20:55:23 +08:00
sirius
605da124d4
add button to adjust render speed
2019-09-30 20:54:42 +08:00
sirius
1c150106f8
demoplayer disconnect when render finished
2019-09-30 20:54:42 +08:00
sirius
d9d1e8b309
add if defined to newly added lines
2019-09-30 20:54:19 +08:00
sirius
14ed79972b
check if video exist when render
2019-09-30 20:52:25 +08:00
sirius
562dffe800
segment fault repaired (don't nest others' function thoughtless)
2019-09-30 20:52:25 +08:00
sirius
a71339366b
add function to appoint video name, but will segment fault
2019-09-30 20:52:25 +08:00
sirius
1375fbb95d
add a button to render whole demo
2019-09-30 20:52:24 +08:00
HMH
41da2f4497
removed superfluous const
2019-09-30 20:48:50 +08:00
H-M-H
78e851c52c
hopefully made msvc happy now
2019-09-30 20:48:50 +08:00
H-M-H
4b86630b42
fps for videos configurable and videos are stored at a proper location
2019-09-30 20:48:47 +08:00
H-M-H
98568eba43
no audio for now
2019-09-30 20:48:47 +08:00
H-M-H
2f71720fb1
correct time after stopping recording a video
2019-09-30 20:48:47 +08:00
H-M-H
ab9e716444
fixed compiling on linux
2019-09-30 20:48:47 +08:00
H-M-H
7ae4b39574
made recording demos work
...
- videorecorder only works for recording demos now
- demoplayer was modified to allow controll over the time that passed
in order to get perfect fps, IVideo controlls how much time passed,
basically every rendercall sets the time to record the next frame
2019-09-30 20:48:47 +08:00
H-M-H
94860c935f
raw H.264 --> mp4 \o/
2019-09-30 20:46:45 +08:00
H-M-H
c5c171a3cb
initial work on a video recorder
2019-09-30 20:46:45 +08:00
heinrich5991
f19220f1bb
Allow to hammer directly on unfreeze
...
Previously, this was only doable with frame-perfect input if you were
going to get frozen again the next tick. Now, you only have to hold your
hammer to immediately hammer once you get unfrozen.
This fixes that "deepfly" (flying with deep-frozen dummy, binding both
main and dummy tee hammers onto the same key) does not only work for
good connection.
2019-09-28 21:07:33 +02:00
heinrich5991
947b5e7936
Fix some formatting in src/game/server/entities/character.cpp
2019-09-28 20:58:31 +02:00
bors[bot]
ef32fc4bed
Merge #1920
...
1920: Don't highlight window when playing demo (fixes #1919 ) r=Learath2 a=def-
Co-authored-by: Dennis Felsing <dennis@felsin9.de>
2019-09-24 14:22:30 +00:00
bors[bot]
a1ff029af9
Merge #1918
...
1918: Editor speedup fixes r=def- a=Learath2
Fix 1 bug, improve usability of angle selector.
Co-authored-by: Learath <learath2@gmail.com>
2019-09-24 09:04:27 +00:00
Dennis Felsing
e06fb2b605
Don't highlight window when playing demo ( fixes #1919 )
2019-09-24 11:00:30 +02:00
Learath
ba12250892
Constrain ValueSelector to integer multiples of Step
2019-09-22 14:21:17 +03:00
Learath
37d9e4fa26
Add a saner way to select angles. Close #1916
2019-09-20 23:57:35 +03:00
Learath
918003911c
Fix bug handling speedup brushes
2019-09-20 21:52:28 +03:00
heinrich5991
4e67241794
Fix rotated stoppers not working
...
Fixes #1861 .
Fixes #1914 .
2019-09-19 02:07:22 +02:00
heinrich5991
bcd1559c5e
Make LimitVel
a proper function
2019-09-18 14:50:27 +02:00
heinrich5991
66ccd808aa
Rewrite stopper code a bit, second try
...
Remove the whole copy-and-paste mess.
A seemingly ineffective and apparently code block has been removed.
The broken front layer from the first try has been fixed.
2019-09-18 02:04:46 +02:00
bors[bot]
38fc84f816
Merge #1912
...
1912: Fix skin reset r=def- a=12pm
default skin id is -1 not 0
Co-authored-by: 12pm <30786226+12pm@users.noreply.github.com>
2019-09-17 18:18:51 +00:00
heinrich5991
79bce4250a
Address forgotten review comment of #1904
2019-09-17 17:07:33 +02:00
12pm
82e63d7f27
Fix skin reset
...
default skin id is -1 not 0
2019-09-17 16:45:44 +02:00
bors[bot]
1bf178614f
Merge #1904
...
1904: Add tune zone prediction r=heinrich5991 a=trml
Is enabled with cl_predict_ddrace 1.
This will predict tunings loaded from the map the first time tunezones are entered, but will also update the tunes after you receive new tunes while in a tunezone, since it's possible to change them in rcon.
Co-authored-by: trml <trml@users.noreply.github.com>
2019-09-17 13:50:18 +00:00
trml
ea9e444283
Use a single getter for tunings, add some missed cases, fix tuning update
2019-09-16 00:07:42 +02:00
bors[bot]
0c34b6eb55
Merge #1878 #1903
...
1878: Add paused and spec to explayerflags r=Learath2 a=Ryozuki
I think client should know about this, maybe we can do something with it in the future.
It also may help with https://github.com/ddnet/ddnet/issues/259 but i didn't figure out yet a way to fix it.
1903: Consistent spacing for getters and setters r=Learath2 a=ChillerDragon
Co-authored-by: Ryozuki <ryo@ryozuki.xyz>
Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
2019-09-15 13:41:19 +00:00
bors[bot]
c146de63fa
Merge #1909
...
1909: Fix filescore path r=Learath2 a=ChillerDragon
The filescore system did not handle map paths well that were an actual path and not just the mapname.
```
# before fix
$ ./DDNet-Server 'sv_map "DDNetPP-maps/BlmapChill"'
[...]
[2019-09-15 13:29:44][filescore]: opening 'records/DDNetPP-maps-BlmapChill_record.dtb' for reading failed
# after fix
$ ./DDNet-Server 'sv_map "DDNetPP-maps/BlmapChill"'
[...]
[2019-09-15 13:31:05][filescore]: opening 'records/BlmapChill_record.dtb' for reading failed
```
I called ```Server()->``` in a thread so please review thread safety before merge.
Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
2019-09-15 13:30:48 +00:00
ChillerDragon
b39de87b18
Fix filescore path
...
# before fix
$ ./DDNet-Server 'sv_map "DDNetPP-maps/BlmapChill"'
[...]
[2019-09-15 13:29:44][filescore]: opening 'records/DDNetPP-maps-BlmapChill_record.dtb' for reading failed
# after fix
$ ./DDNet-Server 'sv_map "DDNetPP-maps/BlmapChill"'
[...]
[2019-09-15 13:31:05][filescore]: opening 'records/BlmapChill_record.dtb' for reading failed
2019-09-15 13:35:35 +02:00
trml
bb5eab0cc0
Add tunezone prediction
2019-09-09 00:53:07 +02:00
ChillerDragon
f5f07860c4
Consistent spacing for getters and setters
2019-09-08 19:22:12 +02:00
bors[bot]
38f91d3891
Merge #1902
...
1902: Remove useless votemute struct r=heinrich5991 a=ChillerDragon
Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
2019-09-07 20:21:43 +00:00
ChillerDragon
dbad486c67
Remove useless votemute struct
2019-09-04 21:21:40 +02:00
12pm
3b1dcc8793
Handle 0 star random map votes
2019-08-27 18:33:37 +02:00
Corantin H
043859b66d
Fix keeping tmp replay demo file on map change
2019-08-21 22:49:21 +02:00
Ryozuki
b58037f31e
fix the telegun save
2019-08-19 10:35:37 +02:00
bors[bot]
e2840b1a57
Merge #1881 #1895
...
1881: Replace browse_icons (by MiM) (fixes #1880 ) r=heinrich5991 a=def-
1895: Centered entities text r=heinrich5991 a=BannZay
Closes https://github.com/ddnet/ddnet/issues/1721
Before:
![not_centered_100](https://user-images.githubusercontent.com/17499770/63204728-89772580-c0a3-11e9-8ad9-060cd03d2f74.png )
Now:
![centered_100](https://user-images.githubusercontent.com/17499770/63204730-8da34300-c0a3-11e9-86e2-5f542e4789a1.png )
It is done for "buffered" mode. Therefore, it works for OpenGL 3.3 only.
Co-authored-by: def <dennis@felsin9.de>
Co-authored-by: Andrii Vynychenko <bannzay3@yandex.ru>
2019-08-17 15:32:29 +00:00
bors[bot]
75f25f348b
Merge #1875
...
1875: Fix show_ips to show regular formatting (fixes #1873 ) r=heinrich5991 a=def-
Co-authored-by: def <dennis@felsin9.de>
2019-08-17 15:21:24 +00:00
Andrii Vynychenko
4ab2b2010a
Merge branch 'master' into centeredNumbers
2019-08-17 03:43:43 +03:00
Andrii Vynychenko
1671e6fbfc
numbers dynamically centered for OpenGL 3.3
2019-08-17 03:42:54 +03:00
bors[bot]
77e59e3c49
Merge #1894
...
1894: Fix max menu tabs (closed #1893 ) r=def- a=ChillerDragon
Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
2019-08-16 09:06:44 +00:00
ChillerDragon
ff49500659
Fix max menu tabs ( closed #1893 )
2019-08-16 00:58:06 +02:00
Andrii Vynychenko
0fa23a2c47
Numbers centered for OpenGL 3.3
2019-08-15 23:57:23 +03:00
bors[bot]
35b29ae01d
Merge #1889
...
1889: Dont reset variables twice r=def- a=fokkonaut
These variables get reset in Reset() aswell, no need to do it here
Co-authored-by: fokkonaut <35420825+fokkonaut@users.noreply.github.com>
2019-08-12 06:36:25 +00:00
fokkonaut
3434fca91c
Dont reset variables twice
2019-08-12 05:28:42 +02:00
fokkonaut
fcc2e06352
Fix unmasked entities
2019-08-06 23:43:11 +02:00
bors[bot]
b0f1164485
Merge #1883
...
1883: Fix crashbug on set_team_ddr -1 r=Learath2 a=fokkonaut
Teams over 63 are also forbidden, so I check for that too.
Co-authored-by: fokkonaut <35420825+fokkonaut@users.noreply.github.com>
2019-08-05 16:37:32 +00:00
fokkonaut
265d3b8a62
Fix namings
2019-08-05 14:45:04 +02:00
fokkonaut
ac588f324c
Fix crashbug on set_team_ddr -1
2019-08-04 23:38:08 +02:00
Ryozuki
e112cf6791
add paused and spec to explayerflags
2019-08-02 18:16:58 +02:00
Dennis Felsing
968b5c1fed
Version 12.6.1
2019-08-02 07:33:15 +02:00
bors[bot]
cb19e147d0
Merge #1876
...
1876: Reset m_Afk r=heinrich5991 a=FallenKN
Guess this was forgotten
Co-authored-by: FallenKN <fallen.kn@gmail.com>
2019-08-01 23:10:57 +00:00
FallenKN
a03b4f0cee
Reset m_Afk
2019-08-01 23:07:40 +02:00
def
cb738ffed0
Fix show_ips to show regular formatting ( fixes #1873 )
2019-08-01 20:24:30 +02:00
def
99b814342c
Add a few contributors
2019-08-01 18:36:21 +02:00
bors[bot]
17fd8ae79a
Merge #1870
...
1870: Clarify what `ENTITIES_UNUSED` does by renaming it r=Learath2 a=heinrich5991
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2019-07-31 20:57:55 +00:00
bors[bot]
85a8587f67
Merge #1872
...
1872: Replace `str_comp_num` with `str_startswith` r=Learath2 a=heinrich5991
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2019-07-31 19:44:37 +00:00
heinrich5991
9627fd0841
Clarify what ENTITIES_UNUSED
does by renaming it
2019-07-31 21:22:11 +02:00
heinrich5991
1e2b8a4a3e
Replace str_comp_num
with str_startswith
2019-07-31 21:20:03 +02:00
def
0018ed27df
Don't attempt to move DLLs on Linux ( fixes #1867 )
2019-07-31 18:00:48 +02:00
Dennis Felsing
c8b3670bbc
Merge pull request #1866 from def-/pr-12.6
...
Version 12.6
2019-07-31 17:31:24 +02:00
Dennis Felsing
c8d12bd386
Merge pull request #1853 from 12pm/pr_unused_non_ddnet
...
Render all entities on non ddnet servers
2019-07-31 17:31:11 +02:00
Learath
6882db1da2
Introduce flag to render all entities
2019-07-31 15:20:17 +03:00
Dennis Felsing
e791927541
Version 12.6
2019-07-31 07:20:21 +02:00
bors[bot]
7b1d2d3f23
Merge #1862
...
1862: Add Sleepbubble to ClAfkMark r=def- a=FallenKN
With setting cl_afk_mark to 2 you will now get a sleepbubble on afk instead of the mark.
Which option should be default?
Also it displays chatbubble instead of sleepbubble when the playerflag is active. (I don't know which behavior is preferred)
Kept sleepy eyes on afk aswell.
![screenshot_2019-07-29_14-47-34](https://user-images.githubusercontent.com/13277346/62049848-624dd680-b210-11e9-82f7-2d20281eb899.png )
Co-authored-by: FallenKN <fallen.kn@gmail.com>
2019-07-30 19:15:58 +00:00
FallenKN
b2d3df8f75
Remove ClAfkMark option & rename it to ClAfkEmote
2019-07-30 20:19:46 +02:00
bors[bot]
1d9191edfe
Merge #1819
...
1819: Show mapname in scoreboard r=def- a=ChillerDragon
![screenshot_2019-07-11_16-03-47](https://user-images.githubusercontent.com/20344300/61057588-e53ff600-a3f5-11e9-8b20-3b082172bd63.png )
![screenshot_2019-07-11_15-46-04](https://user-images.githubusercontent.com/20344300/61057605-ecff9a80-a3f5-11e9-8f59-68811a1b123a.png )
Not sure if this feature should exclude non ddrace gametypes. Or exclude standard maps. Or if the truncation limit should increase with bigger scoreboards.
Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
2019-07-30 17:17:32 +00:00
bors[bot]
fd502a8cce
Merge #1844
...
1844: Fix wrong flag color in scoreboard and spectator select menu (custom mods) r=Learath2 a=fokkonaut
Since in DDrace every player is in team red, in order to show them in one scoreboard, the flag will always be blue in scoreboard and the spectator select menu, here is a simple fix
I left kill messages out since they would need a fix which is a bit more complicated, and i didnt want to do too much just to support this. These two would make it already a lot better
Co-authored-by: fokkonaut <35420825+fokkonaut@users.noreply.github.com>
Co-authored-by: Learath <learath2@gmail.com>
2019-07-30 10:36:14 +00:00
Learath
99c62fb931
Fix killmessages aswell
2019-07-29 17:36:44 +03:00
FallenKN
b804d3e1f2
Enhance ClAfkMark with another option
2019-07-29 14:46:21 +02:00
bors[bot]
8ab6e2c0a8
Merge #1848 #1860
...
1848: Fix deci seconds not updating in spectator/pause (fixes #1846 ) r=heinrich5991 a=fokkonaut
Before this was set in `RenderDDRaceEffects()`, but that function is only called if `m_pClient->m_Snap.m_pLocalCharacter` exists, which isn't the case in spectator/pause.
1860: Ignore some more common files r=heinrich5991 a=Ryozuki
compile_commands.json is used a lot for language servers
https://cmake.org/cmake/help/latest/variable/CMAKE_EXPORT_COMPILE_COMMANDS.html
tags are generated from ctags
Co-authored-by: fokkonaut <35420825+fokkonaut@users.noreply.github.com>
Co-authored-by: Ryozuki <ryo@ryozuki.xyz>
2019-07-29 12:15:16 +00:00
Learath
9061f03174
Move the afk flag up front
2019-07-29 14:46:29 +03:00
Learath
0bc3650356
Send DDNet capability flag
2019-07-29 14:18:40 +03:00
bors[bot]
dc41bb9649
Merge #1821
...
1821: Add afk marks r=def- a=ardadem
This is final state (and most minimalist to not create mess) of my previous pull request. I didn't reopen it because it's contains changed unnecessary commits.
If someone will become afk, mark will be spawn next to tee's name.
![2019-07-13-13:59:20-screenshot](https://user-images.githubusercontent.com/13207692/61170739-8c4b9b80-a576-11e9-9d87-4c4b2f93941b.png )
Co-authored-by: Arda <ddmirarda@gmail.com>
2019-07-26 08:58:20 +00:00
Arda
fb2cb4db26
move afk state inside to player flags
2019-07-26 11:48:15 +03:00
Arda
1a7fc77931
better names
2019-07-26 10:18:50 +03:00
12pm
c57fcf3ee7
Persist playerflags when using timeout protection
2019-07-26 01:39:53 +02:00
12pm
a0e2abf4af
Render all entities on non ddnet servers
...
Fixes #1741
2019-07-24 21:33:43 +02:00
fokkonaut
5c280a3c9d
Fix blockZ and infectionZ
...
I talked to coffee (creator of both mods) and he said it is okay to use zoom on the mods, also: eye emotes work there so the eye wheel is also supported. I have updated both mods to ddnet master so they have all the new stuff
2019-07-24 06:52:32 +02:00
Learath
5ddc140494
Remove unused branch/flag
2019-07-22 18:20:19 +03:00
fokkonaut
1bfda0f635
Fix deci seconds not updating in spectator/pause ( fixes #1846 )
2019-07-22 10:41:19 +02:00
bors[bot]
658efe776b
Merge #1845
...
1845: Fix infectionZ gamemode seen as DDNet r=heinrich5991 a=fokkonaut
InfectionZ's gametype is somehow infection, instead of infectionZ
Co-authored-by: fokkonaut <35420825+fokkonaut@users.noreply.github.com>
2019-07-21 08:32:59 +00:00
fokkonaut
a8756f99e0
Fix infectionZ gamemode seen as DDNet
2019-07-21 10:03:27 +02:00
fokkonaut
e77bdb8114
Fix wrong flag color in spectator select menu (custom mods)
2019-07-21 09:02:38 +02:00
fokkonaut
a268b95ea3
Fix wrong flag color in scoreboard (custom mods)
2019-07-21 08:55:55 +02:00
bors[bot]
69ace3c1ec
Merge #1837
...
1837: Don't advertise the reserved slots. Fix #1808 r=heinrich5991 a=Learath2
I think this is also fine for vanilla, but I can't get the vanilla client to work on mac to test it.
Co-authored-by: Learath <learath2@gmail.com>
Co-authored-by: Emir Marincic <learath2@gmail.com>
2019-07-20 18:32:19 +00:00
Emir Marincic
57197d990c
Better represent the state of the server
...
Co-Authored-By: heinrich5991 <heinrich5991@gmx.de>
2019-07-20 21:25:15 +03:00
bors[bot]
cd8994147c
Merge #1842
...
1842: [WIP] Fix timer r=heinrich5991 a=Learath2
I'm really unsure about this one.
DEPENDS on #1839
Co-authored-by: Learath <learath2@gmail.com>
2019-07-19 22:23:22 +00:00
bors[bot]
628f673014
Merge #1830
...
1830: fix-ClDyncamMinDistance camera spawn r=Learath2 a=FallenKN
I forgot about the dyncam option, #1636 .
Co-authored-by: FallenKN <fallen.kn@gmail.com>
2019-07-19 16:53:06 +00:00
bors[bot]
2f23b5c29a
Merge #1839
...
1839: Set m_Race. Fix #1806 r=heinrich5991 a=Learath2
@heinrich5991 apparently you forgot to set `CGameInfo::m_Race` 🙂
Co-authored-by: Learath <learath2@gmail.com>
2019-07-19 09:31:04 +00:00
Learath
b1ed78d58d
Add new flag, Fix #1807
2019-07-19 12:28:08 +03:00
Learath
78ac5ce030
Send the flag from the server
2019-07-19 11:21:32 +03:00
bors[bot]
72dcf6fba6
Merge #1838
...
1838: Force spawn order of teams. Fix #1828 r=heinrich5991 a=Learath2
This has an unfortunate(?) consequence of causing tees that hit kill tiles and fall out of map respawn instantly. If this is undesirable the fix would be a little more complex, maybe implementing a delay to the spawn in `CPlayer` or reordering the entity list to force strong on the tee (by swapping with one of their teammates (this might have some undesirable effects aswell, not sure though)).
Co-authored-by: Learath <learath2@gmail.com>
2019-07-19 00:40:10 +00:00
bors[bot]
ebeeace65e
Merge #1841
...
1841: Restart required message when changing Show console r=heinrich5991 a=fokkonaut
Co-authored-by: fokkonaut <35420825+fokkonaut@users.noreply.github.com>
2019-07-19 00:16:01 +00:00
fokkonaut
3edaf4b8cd
Style fixes
2019-07-19 02:06:33 +02:00
fokkonaut
78f52629e4
fix build
2019-07-19 01:58:49 +02:00
fokkonaut
07089be2e0
Restart required message when changing Show console
2019-07-19 01:53:27 +02:00
Learath
25ec19b70b
Set m_Race. Fix #1806
2019-07-18 18:56:24 +03:00
Learath
02f5723321
Force spawn order of teams. Fix #1828
2019-07-18 18:35:51 +03:00
Learath
1769e5ae71
Don't advertise the reserved slots. Fix #1808
2019-07-18 18:20:55 +03:00
bors[bot]
71652e0113
Merge #1833
...
1833: Correctly embed replacing images r=def- a=12pm
Co-authored-by: 12pm <30786226+12pm@users.noreply.github.com>
2019-07-17 05:42:22 +00:00
12pm
5f7a09dfe3
Correctly embed replacing images
2019-07-17 03:00:09 +02:00
trml
cd64204358
Use IsOtherTeam for nameplates too
2019-07-16 22:34:18 +02:00
trml
ddfcb62caa
Apply ShowOtherAlpha to projectiles
2019-07-16 22:06:57 +02:00
FallenKN
e80cb9e86a
fix-ClDyncamMinDistance camera spawn
2019-07-16 12:56:43 +02:00
bors[bot]
c2e318985c
Merge #1827
...
1827: Fix small issue r=def- a=Learath2
This fixed
`objc[52886]: Class SDLApplication is implemented in both /Users/learath2/Desktop/C/ddnet/ddnet-libs/sdl/mac/lib64/SDL2.framework/Versions/A/SDL2 (0x10c8ac680) and /Users/learath2/Desktop/C/ddnet/build/./DDNet (0x10c46c090). One of the two will be used. Which one is undefined.`
Not sure if this was an issue for anyone, but at least it doesn't break anything.
Co-authored-by: Learath <learath2@gmail.com>
2019-07-15 11:53:05 +00:00
Learath
019998b4f8
Fix small issue
2019-07-15 14:48:45 +03:00
bors[bot]
a2e40ca4b3
Merge #1803
...
1803: Fix double pause due to spec r=def- a=fokkonaut
If a player is in /spec (sv_pausable 1 required) and would then use /pause, the tee would respawn, but the player would still be in /pause instead of playing again.
With this, the player will resume completely
Co-authored-by: fokkonaut <35420825+fokkonaut@users.noreply.github.com>
2019-07-15 07:55:48 +00:00
bors[bot]
5a93ddefae
Merge #1817
...
1817: Cfg to keep hammer after hammerfly (closed #1816 ) r=def- a=ChillerDragon
Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
2019-07-15 07:44:27 +00:00
heinrich5991
c8198cc853
Annotate str_timestamp_format
with format arguments
2019-07-14 15:42:16 +02:00
bors[bot]
d3c6f1b54f
Merge #1823
...
1823: Fix 'several players were found' on /rank r=heinrich5991 a=fokkonaut
If no player was found, it should say 'x is not ranked', instead it says 'Several players were found', that is because if the result is -1, it will say that. With the default result being -2, it can no longer say that, instead it will say that the player is not ranked.
Co-authored-by: fokkonaut <35420825+fokkonaut@users.noreply.github.com>
2019-07-14 11:23:55 +00:00
fokkonaut
fabdc73087
Fix 'several players were found' on /rank
2019-07-14 11:31:58 +02:00
Arda
43c94c3d30
Add afk marks
2019-07-13 13:25:54 +03:00
Arda
f1454dbb7a
Share afk state of players to client
2019-07-13 12:25:24 +03:00
ChillerDragon
4ad1cce93c
Show mapname in scoreboard ( closed #1818 )
2019-07-11 16:10:14 +02:00
bors[bot]
bbcf7a6905
Merge #1815
...
1815: Return error codes on server fail r=def- a=ChillerDragon
Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
2019-07-11 09:25:59 +00:00
ChillerDragon
b9273a9ed2
Return error codes on server fail
2019-07-11 11:18:25 +02:00
ChillerDragon
1703e9d94c
Cfg to keep hammer after hammerfly ( closed #1816 )
2019-07-10 18:04:54 +02:00
bors[bot]
65f4a619e8
Merge #1810
...
1810: Use the float type explicitly r=def- a=ChillerDragon
Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
2019-07-08 22:14:01 +00:00
ChillerDragon
6172a9dca0
Use the float type explicitly
2019-07-08 23:08:42 +02:00
ChillerDragon
573c46013d
Consitently mark floats as floats
2019-07-08 23:06:26 +02:00
bors[bot]
b50e7ee674
Merge #1802
...
1802: Prediction fixes r=def- a=trml
I believe this fixes #1671 (uninitialized variables).
Some other things: Use new ddnetchar fields in prediction, small fix for prediction of moving pickups, fix the freeze end tick in ddnetcharacter (will add it to the client later)
Also adds a setting for choosing between new/old antiping for grenade like suggested in #1683 (cl_antiping_gunfire 0 to disable).
Co-authored-by: trml <trml@users.noreply.github.com>
2019-07-04 12:59:52 +00:00
bors[bot]
ec5cfbad1e
Merge #1804
...
1804: Fix toggle not working with colors r=def- a=Learath2
Reported by @12pm on discord
Co-authored-by: Learath2 <learath2@gmail.com>
2019-07-04 12:47:05 +00:00
Learath2
1a80176365
Fix nameplate outline alpha
2019-07-03 12:31:05 +02:00
Learath2
8469949257
Remove debug message
2019-07-02 14:56:02 +02:00
Learath2
1993989067
Fix toggle not working with colors
2019-07-02 14:54:06 +02:00
fokkonaut
0cb13ccec1
Fix double pause due to spec
2019-07-01 01:17:32 +02:00
trml
82a47210eb
Fix freeze end tick in ddnetchar
2019-07-01 00:50:50 +02:00
trml
b72a16ca36
Use new ddnetchar fields, cleanup, and fix prediction for already used jumps
2019-07-01 00:50:50 +02:00
trml
011d9aa26f
Add option to use new/old antiping for grenades (cl_antiping_gunfire)
2019-07-01 00:42:02 +02:00
Jupeyy
60604cabca
fix name/clan width when zooming out ( fixes #1752 )
2019-06-28 20:23:01 +02:00
heinrich5991
b90dd43118
Fix -Wdeprecated-copy from GCC9
2019-06-26 11:53:39 +02:00
def
6d19963933
Remove unused variables
2019-06-25 23:07:32 +02:00
def
f7e642bbbe
Fix race condition in /map (untested)
2019-06-25 21:03:20 +02:00
Dennis Felsing
6e24bf9ae2
Merge pull request #1790 from ChillerDragon/pr_ctrl_k_console
...
Add ctrl-k delete in client console
2019-06-19 12:12:19 +02:00
Dennis Felsing
d9286e8beb
Merge pull request #1786 from fokkonaut/master
...
Fix zoom if dummy is connected and only one is able to zoom
2019-06-18 20:38:24 +02:00
ChillerDragon
93dc33ee57
Add ctrl-k delete in client console
...
Extends shortcuts from:
ed8a0b5eee
e9f8bd42b7
2019-06-18 20:16:54 +02:00
trml
18fbb10451
Fix some unitialized variables in the prediction
2019-06-18 19:08:09 +02:00
trml
087a5cbf6e
Fix intratick for predicted pickup
2019-06-18 19:08:09 +02:00
trml
25e08f13e4
Small prediction fix for laser/shotgun
2019-06-16 16:35:16 +02:00
trml
8a18cabbb1
Small fix and cleanup of prediction of teams/solo
2019-06-16 16:34:57 +02:00
bors[bot]
9c9264db8b
Merge #1785
...
1785: Revert "Merge pull request #1736 from sirius1242/master" r=Learath2 a=def-
This reverts commit e8362f1727
, reversing
changes made to 0f99605ab1
.
Apparently people don't like "Digital Wellbeing"-like features @sirius1242
Co-authored-by: Dennis Felsing <dennis@felsin9.de>
2019-06-15 13:18:11 +00:00
fokkonaut
1664a6e10e
Fix zoom if dummy is connected and only one is able to zoom
2019-06-15 12:23:50 +02:00
Dennis Felsing
1e74502e66
Revert "Merge pull request #1736 from sirius1242/master"
...
This reverts commit e8362f1727
, reversing
changes made to 0f99605ab1
.
Apparently people don't like "Digital Wellbeing"-like features
2019-06-14 12:00:49 +02:00
heinrich5991
ca03ab6337
Address Learath2's comments
2019-06-14 00:28:59 +02:00
heinrich5991
62846821da
Revert "Implement ISDDNET. Deprecates #1320 "
...
This reverts commit 1929bc6739
.
2019-06-14 00:28:59 +02:00
heinrich5991
a7857d58c4
Remove now-useless function in CGameClient
...
(incorporate @fokkonaut's feedback)
2019-06-14 00:28:59 +02:00
heinrich5991
2b7f3587c4
Only accept DDRace record message on DDRace servers
2019-06-14 00:28:59 +02:00
heinrich5991
f31e081bd4
Remove all checking for the gametype in the game
...
OK, maybe not actually remove because it is kept for fallback when the
new method isn't available.
The whole gametype parsing business had the same downsides as user agent
parsing on the web, hence I removed it while keeping behavior the same.
This allows servers to explicitly opt in or out of certain bug
workarounds and other client behavior. This increases the complexity of
different configurations that are available in the client (which is a
bad thing).
2019-06-14 00:28:59 +02:00
Learath
efbc05c9a8
No need for <algorithm>
2019-06-13 23:24:06 +02:00
Dennis Felsing
4f665a904b
Merge pull request #1782 from def-/pr-12.5
...
Version 12.5
2019-06-13 20:40:33 +02:00
trml
fbf5edfdcb
Set and send solo status on servers with sv_solo_server and sv_team 3
2019-06-13 17:23:23 +02:00
bors[bot]
f8ba394c5d
Merge #1781
...
1781: sv_server_info_per_second, sv_van_conn_per_second: allow 0 to disable r=heinrich5991 a=def-
Clean up code a bit, also allow larger values
Co-authored-by: def <dennis@felsin9.de>
2019-06-12 20:23:27 +00:00
Dennis Felsing
6b793c21a4
Version 12.5
2019-06-12 15:42:44 +02:00
Dennis Felsing
0d9952b32a
Merge pull request #1748 from archimede67/pr_replays
...
Replay system (demo after-the-fact)
2019-06-11 18:13:26 +02:00
def
85bb376bdc
sv_server_info_per_second, sv_van_conn_per_second: allow 0 to disable
...
Clean up code a bit, also allow larger values
2019-06-11 18:12:43 +02:00
Dennis Felsing
bbe411901e
Merge pull request #1764 from ChillerDragon/pr_console_word_del
...
Add console word deletion/navigation (#1032 )
2019-06-11 18:05:23 +02:00
Dennis Felsing
0992e3c7c4
Merge pull request #1777 from ChillerDragon/pr_demo_wrong_hash
...
Prefer downloadedmaps over maps ( #1702 )
2019-06-11 18:05:12 +02:00
Dennis Felsing
617d123024
Merge pull request #1778 from d3fault/instant-respawn
...
respawn is now instant, but rate limited to 3 sec unless player clicks mouse1
2019-06-11 18:04:52 +02:00
Dennis Felsing
bbb1b2cdef
Merge pull request #1733 from Learath2/dd_pr_colorsigned
...
Store colors unsigned
2019-06-11 12:26:28 +02:00
Ryozuki
916eab68fe
revert back to yellow color
2019-06-09 19:31:05 +02:00
Ryozuki
c089cffdde
fix hook col and make it green on tees
2019-06-09 19:26:20 +02:00
d3fault
10e06f919e
respawn is now instant, but rate limited to 3 sec unless player clicks mouse1
2019-06-07 02:44:19 -07:00
ChillerDragon
839009fc93
Prefer downloadedmaps over maps ( #1702 )
...
Fixes corrupted demos if there is a different version of the current map in the maps/ folder.
Thanks to @archimede67 for initial research.
2019-06-05 22:24:17 +02:00
archimede67
0e62b4b9b9
fix code style
2019-06-05 19:49:00 +02:00
archimede67
65353c2030
fix
2019-06-05 19:36:45 +02:00
archimede67
929bf57bf6
infinite length and a lot of changes including notifications are now chat messages
2019-06-05 19:17:55 +02:00
bors[bot]
0ad96f6901
Merge #1775
...
1775: Fix prediction of non-grabbed hook r=def- a=trml
Fix #1766 .
Turns out the bug was not just in the rendering, but in the prediction itself (hooks were not predicted unless/until they grabbed on to something). I compared with an older client (and the old implementation) and this seems like it will restore the old behavior.
Co-authored-by: trml <trml@users.noreply.github.com>
2019-06-05 05:53:18 +00:00
trml
cf8c8534f1
Fix prediction of non-grabbed hook
2019-06-05 02:01:31 +02:00
bors[bot]
cffd9b0ba6
Merge #1774
...
1774: Remove the unused Skinstealaction r=heinrich5991 a=fokkonaut
As far as I know it was never in use and the only punishment is to force pinky skin, which doesnt really seem useful. Skin stealing is a very harmless kind of 'bots', which doesnt need punishment imo
Co-authored-by: fokkonaut <35420825+fokkonaut@users.noreply.github.com>
2019-06-04 22:03:18 +00:00
fokkonaut
e471d4796e
Remove the unused Skinstealaction
2019-06-04 17:23:29 +02:00
heinrich5991
756aab339b
Remove item invalidation logging for unknown UUIDs
...
This caused lags due to too much output during gameplay, demo playback
and demo cutting.
Fixes #1643 .
2019-06-04 00:05:28 +02:00
bors[bot]
f3b1135770
Merge #1769
...
1769: Update view immediately when pasting in search in browser r=heinrich5991 a=def-
Co-authored-by: def <dennis@felsin9.de>
2019-06-03 16:34:26 +00:00
bors[bot]
21772bdc2f
Merge #1771
...
1771: Cleanup CPlayer Snap r=def- a=fokkonaut
Co-authored-by: fokkonaut <35420825+fokkonaut@users.noreply.github.com>
2019-06-03 10:05:29 +00:00
fokkonaut
75e13550c2
Convert to int
2019-06-03 11:57:46 +02:00
fokkonaut
078e88bc8f
Cleanup CPlayer Snap
2019-06-03 11:35:18 +02:00
Dennis Felsing
e8362f1727
Merge pull request #1736 from sirius1242/master
...
Recorded the time of the player's game after the client was opened and show it on the top.
2019-06-03 11:02:28 +02:00
fokkonaut
af7fd12341
Remove m_Weapon parameter from CProjectile
2019-06-02 22:04:11 +02:00
def
7e063109c6
Update view immediately when pasting in search in browser
2019-06-02 21:55:38 +02:00
bors[bot]
055b1fea79
Merge #1767
...
1767: Add missing letter to explanations r=def- a=fokkonaut
https://github.com/ddnet/ddnet/blob/master/src/game/editor/explanations.cpp#L36
Co-authored-by: fokkonaut <35420825+fokkonaut@users.noreply.github.com>
2019-06-02 18:42:57 +00:00
fokkonaut
18e704017c
Add missing letter to explanations
2019-06-02 18:01:28 +02:00
Corantin H
2e27a22927
typo + added an optional argument to save_replay + changed max replay length and fixed cl_notification_time values
2019-06-02 15:34:01 +02:00
bors[bot]
b113b70ec6
Merge #1765
...
1765: Add ctrl-u delete in client console r=heinrich5991 a=ChillerDragon
Extends shortcuts from:
e9f8bd42b7
Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
2019-06-01 15:58:11 +00:00
ChillerDragon
9c68765dae
Don't set Handled on ctrl-u
2019-06-01 17:51:22 +02:00
ChillerDragon
b98b71df88
Rename 'DeleteFromCursor' -> 'DeleteUntilCursor'
2019-06-01 17:41:40 +02:00
ChillerDragon
ed8a0b5eee
Add ctrl-u delete in client console
...
Extends shortcuts from:
e9f8bd42b7
2019-06-01 17:11:35 +02:00
ChillerDragon
1af09a840c
Add console word deletion/navigation ( #1032 )
2019-06-01 16:24:22 +02:00
bors[bot]
c44cd2897c
Merge #1763
...
1763: Fix typo 'helter' -> 'helper' r=heinrich5991 a=ChillerDragon
Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
2019-06-01 14:01:51 +00:00
ChillerDragon
9925f89077
Fix typo 'helter' -> 'helper'
2019-06-01 15:58:13 +02:00
Corantin H
761e73a131
should be thread safe now + moved demoedit to a new file
2019-05-31 20:42:28 +02:00
bors[bot]
1578a33628
Merge #1760
...
1760: Fix freeze projectiles only hit one tee (Fixes #1759 ) r=def- a=fokkonaut
Co-authored-by: fokkonaut <35420825+fokkonaut@users.noreply.github.com>
2019-05-31 11:59:15 +00:00
bors[bot]
647bbcc259
Merge #1732
...
1732: Implement ISDDNET and Time Score cleanly r=def- a=Learath2
This is an attempt at implementing the two things in a cleaner way.
Deprecated #1320
Willfix #1622 soon(tm)
Co-authored-by: Learath <learath2@gmail.com>
Co-authored-by: Learath2 <learath2@gmail.com>
2019-05-31 10:12:10 +00:00
fokkonaut
85cbe99422
Fix wrong character team check
2019-05-30 14:14:47 +02:00
fokkonaut
61a6518f0d
remove spaces
2019-05-29 16:30:44 +02:00
fokkonaut
bbbdd89e64
Fix freeze projectiles only hit one tee ( Fixes #1759 )
2019-05-29 16:28:38 +02:00
Corantin H
04464a325e
fix
2019-05-28 15:39:11 +02:00
Corantin H
709a6c2924
Moved notification outside of the demoedit job, so now we keep track of all the editjbos and show the notification when they are done in the client loop
2019-05-28 13:24:55 +02:00
fokkonaut
14c7bf550a
fixed typo
2019-05-26 22:47:02 +02:00
Corantin H
7c79b48da5
The demoeditors are now initialised in the constructor of the job
2019-05-26 21:06:43 +02:00
Corantin H
cbcb8d4830
The slicing is now done with a new demoeditor each time we save a replay
2019-05-25 15:16:03 +02:00
Corantin H
e35951dedc
demo slicing is now done in a separate task to prevent ingame freeze
2019-05-25 00:24:13 +02:00
Corantin H
bf435e8b72
coding style + added cl_notification_time
2019-05-23 23:17:12 +02:00
bors[bot]
dc4111da12
Merge #1746
...
1746: Fix zoom reset r=def- a=archimede67
Fix zoom reset when connecting dummy.
This should fix #1731
Co-authored-by: Corantin H <archi0670@gmail.com>
Co-authored-by: archimede67 <archi0670@gmail.com>
2019-05-23 11:30:23 +00:00
Dennis Felsing
05ae7c4b68
Version 12.4.3
2019-05-22 08:13:05 +02:00
Corantin H
858a85e7b5
fixed some typo errors, fixed code style and added a slider setting to set the replay length
2019-05-21 23:59:57 +02:00
Dennis Felsing
0eded7e406
Merge pull request #1744 from heinrich5991/pr_ddnet_quotefixquote_randommap
...
Hack around the race condition in random maps selection
2019-05-21 22:51:51 +02:00
Corantin H
e6ce2c0c46
Renamed class CNotification to CHudNotification
2019-05-21 18:50:41 +02:00
Corantin H
b6b8f7e536
Somehow build failed because of that
2019-05-21 18:04:37 +02:00
Corantin H
857656e8db
Implemented a small notification system, fixed some problems with removing tmp files and update the recorder status when checking/unchecking the setting "Enable replays".
2019-05-21 17:21:53 +02:00
Corantin H
ac4d7085c5
Switched to a proper new recorder instead of using the auto one
2019-05-21 12:49:19 +02:00
Learath2
c98978c9d6
Implement timescore using a netobj
2019-05-21 10:26:33 +02:00
Learath
0d25bb86c4
Style
2019-05-21 10:25:15 +02:00
Learath
c2a774275f
Move AuthInfo into DDNetPlayer
2019-05-21 10:25:15 +02:00
Learath
1929bc6739
Implement ISDDNET. Deprecates #1320
2019-05-21 10:25:15 +02:00
Learath
23255a04b3
Remove time-score
2019-05-21 10:24:07 +02:00
Learath2
c7d8ca129a
Rerevert #1187
2019-05-21 10:51:43 +02:00
Corantin H
817bdaf9cd
initial work on a replay system
2019-05-20 23:55:40 +02:00
archimede67
ba86bf7ff9
Update src/game/client/components/camera.cpp
...
Better formatting
Co-Authored-By: heinrich5991 <heinrich5991@gmx.de>
2019-05-20 20:39:02 +02:00
Corantin H
280f67af5f
Fixed zoom reset when dummy connects
2019-05-20 12:07:07 +02:00
bors[bot]
131a0e370d
Merge #1742
...
1742: fix particles, emote wheel, zoom and score for blockworlds r=Learath2 a=kpro998
fixes a few things that got broken for players using ddnet client in blockworlds
Co-authored-by: Kpro998 <kpro998@gmail.com>
Co-authored-by: Learath <learath2@gmail.com>
2019-05-19 22:51:06 +00:00
Learath
66b1b44e07
Style
2019-05-20 00:18:19 +02:00
heinrich5991
096c87bd1d
Hack around the race condition in random maps selection
...
Revert this "once we get proper SQL code"™.
2019-05-20 00:12:59 +02:00
Kpro998
f3ff81e5ab
fix IsBlockInfectionZ duplication
2019-05-19 22:35:56 +01:00
Kpro998
0856fec38e
fix particles, emote wheel, zoom and score for blockworlds
2019-05-19 22:11:16 +01:00
12pm
28f26a09cc
Ignore binds in slice save menu
...
Should fix a bug reported in #1702
2019-05-19 13:33:30 +02:00
sirius
f62f6d2207
show play time move to a new function
2019-05-17 21:57:00 +08:00
sirius
8819f21d3a
played time can show now
2019-05-17 21:47:12 +08:00
Learath
db5c17ce71
Avoid implementation-defined behaviour
2019-05-15 18:11:22 +02:00
Learath
0d39eb128d
Use unsigned integers for colors
2019-05-15 18:05:19 +02:00
Learath
551397117b
Last return isn't necessary
2019-05-14 14:20:36 +02:00
Learath
546016092d
Consistently determine OtherTeam
2019-05-14 00:00:28 +02:00
def
4e7598c22e
Version 12.4.2
2019-05-13 11:33:53 +02:00
Dennis Felsing
a562b573fd
Merge pull request #1717 from Learath2/dd_pr_bindstuck
...
Fix sticky binds
2019-05-13 11:29:35 +02:00
Dennis Felsing
0f65d02d1d
Merge pull request #1727 from trml/pr_pred_fixes_2
...
A few more prediction fixes
2019-05-13 07:29:04 +02:00
trml
a885c64f4f
Fix ninjajetpack prediction
2019-05-13 01:46:50 +02:00
trml
672b4aef02
Fix ninja animation with antiping off
2019-05-13 01:46:50 +02:00
trml
53fe0a56f8
Fix predicted weapon animation
2019-05-13 01:46:50 +02:00
trml
bde2de2267
Improve weapon prediction on fastcap and vanilla
2019-05-13 01:46:35 +02:00
bors[bot]
3f41eab6b3
Merge #1724
...
1724: fix crash on fontsize equal zero r=def- a=BannZay
#1718 fix
Co-authored-by: Andrii Vynychenko <bannzay3@yandex.ru>
2019-05-11 16:36:51 +00:00
12pm
a6a33bfaa5
Restore old team colors
2019-05-11 18:04:32 +02:00
Andrii Vynychenko
0353eb94ef
fix zero fonsize
2019-05-11 18:59:47 +03:00
12pm
219d6dcd92
Explicitly filter finished maps
...
Otherwise this filters all maps in all other tabs
2019-05-11 13:45:41 +02:00
trml
d9ade50e0a
Disable grenade prediction with cl_predict 0
2019-05-11 13:25:08 +02:00
bors[bot]
b03dad7626
Merge #1714 #1719
...
1714: Make the color output more sane r=def- a=Learath2
1719: Show the correct button when paused r=def- a=Learath2
Fix one bug from #1702
Co-authored-by: Learath2 <learath2@gmail.com>
2019-05-11 08:13:24 +00:00
Learath2
b2f92b09eb
Show the correct button when paused
2019-05-11 03:02:00 +02:00
Learath2
15879c16f9
Fix sticky binds
2019-05-11 02:46:22 +02:00
Learath2
e608e2f34f
Add Hex display
2019-05-11 02:32:37 +02:00
Learath2
0dd67c92f1
Abbreviate alpha
2019-05-11 02:16:48 +02:00
Learath2
82e6d180e4
Use % and °
2019-05-11 02:12:37 +02:00
Learath2
b059ac256e
Show Alpha only if it's relevant
2019-05-11 02:12:36 +02:00
Learath2
39303e3430
Blood color is a light color
2019-05-11 01:02:46 +02:00
12pm
51ba68eaa6
Don't show id for echo messages
2019-05-11 00:26:15 +02:00
def
c935b41026
Version 12.4.1
2019-05-10 23:47:41 +02:00
Dennis Felsing
2396096e3b
Merge branch 'master' into pr-rename-col
2019-05-10 23:46:38 +02:00
Dennis Felsing
9dd6cc9168
Merge pull request #1708 from 12pm/pr-restore-echo-col
...
Restore old echo default color
2019-05-10 23:45:03 +02:00
Learath2
b41529fefd
Try to be more accomodating of old players
2019-05-11 01:38:15 +02:00
12pm
ea324592c6
Change col to color in variable names
2019-05-10 23:34:21 +02:00
12pm
eda002993e
Restore old echo default color
2019-05-10 23:07:32 +02:00
Learath2
08e19e60f4
UI ID's need to be unique
2019-05-10 23:15:14 +02:00
Dennis Felsing
acd0cafaa0
Merge pull request #1704 from def-/pr-12.4
...
Version 12.4
2019-05-10 19:59:23 +02:00
Dennis Felsing
5e356b5327
Merge pull request #1692 from def-/pr-news
...
Render news without STL functions
2019-05-10 14:09:44 +02:00
Learath2
86fd363822
Keep the old default
2019-05-10 01:22:22 +02:00
Learath2
def36acce1
Apply alpha properly, fix refactoring fails
2019-05-10 01:00:24 +02:00
Learath2
06fc970ea1
Render the correct skin in the selector
2019-05-10 01:00:24 +02:00
def
7211d16ddb
Version 12.4
2019-05-09 22:00:21 +02:00
def
51385100cd
Make Color.HRHConv test runtime more reasonable
...
Previous execution time: 650 ms / 661 ms total (98%)
Now: 3 ms / 15 ms total (20%)
2019-05-09 21:55:34 +02:00
def
e1c9033300
Render news without STL functions ( fixes #1693 )
2019-05-09 21:54:56 +02:00
Andrew
0fffd7705f
Cl_text_entities_size ( #1632 )
...
* new command added
* fix code duplication after merge
* merge #1632 suggestions
* align the texture to the center vertically
* refactor
* fix RenderSwitchOverlay
* Update src/engine/client/text.cpp
Co-Authored-By: BannZay <bannzay3@gmail.com>
* Apply suggestions from code review
Co-Authored-By: BannZay <bannzay3@gmail.com>
* Apply suggestions from code review
* Apply suggestions from code review
Co-Authored-By: BannZay <bannzay3@gmail.com>
* Apply suggestions from code review
2019-05-06 14:19:10 +02:00
Dennis Felsing
76f2a5965f
Merge pull request #1701 from trml/pr_pred_fixes
...
Some prediction fixes (fix #1680 )
2019-05-05 20:11:18 +02:00
Dennis Felsing
7ba1cae5f6
Merge pull request #1699 from trml/pr_extend_ddnetchar
...
Add some more fields to ddnetcharacter
2019-05-05 20:11:10 +02:00
trml
339d9b05f8
Also reset hook on prediction reset
2019-05-05 14:28:39 +02:00
trml
6848274b43
Fix pickup prediction on vanilla
2019-05-05 12:33:26 +02:00
trml
00ab99aa2e
Add prediction for weapon switches and gunfire animation
2019-05-05 12:33:26 +02:00
trml
b61aae5ab4
Reset predicted character on kill
2019-05-05 12:33:26 +02:00
trml
df84e86ed0
Workaround for super prediction on non-64-player gametypes
2019-05-05 12:33:26 +02:00
trml
20c06dfcdf
Make speedup and stopper prediction on all gametypes again
2019-05-05 12:33:13 +02:00
trml
8eb4b7fd71
Add setting cl_predict_freeze 2 for having a small amount of misprediction while frozen
2019-05-05 12:32:06 +02:00
trml
b27a124e17
Enable freeze prediction with antiping off, and enable superjump prediciton on non-ddrace servers
2019-05-04 22:20:47 +02:00
Learath
13807edc6a
Don't apply colorscale to alpha
2019-05-03 20:37:32 +02:00
bors[bot]
0b7ca35414
Merge #1697
...
1697: Don't check dnsbl when alone r=def- a=Learath2
Should help relieve some of the issues reported on discord.
Co-authored-by: Learath <learath2@gmail.com>
2019-05-02 05:29:06 +00:00
trml
09401a83ec
Add strong/weak id to ddnetcharacter
2019-05-02 00:34:20 +02:00
trml
ae57b7f205
Add more fields to ddnetcharacter
2019-05-02 00:34:03 +02:00
Learath
b86c457c91
Remember whether a color is lit or not
2019-05-01 23:35:29 +03:00
Learath
57f58cc9c7
Refactoring mishap
2019-05-01 22:57:14 +03:00
Learath
ca888c56a2
Lighten when rendering the teeselector aswell
2019-05-01 22:49:52 +03:00
Learath
5d0a1c8d0a
Unlighten colors when sending to server
2019-05-01 22:49:52 +03:00
bors[bot]
9bca330a73
Merge #1691
...
1691: Persist show_ips setting on map changes r=Learath2 a=def-
@12pm
Co-authored-by: def <dennis@felsin9.de>
2019-05-01 12:08:13 +00:00
Learath
689c7b29be
Don't check dnsbl when alone
2019-05-01 14:54:51 +03:00
Learath
a451bb15c5
Dummy colors are also colors
2019-05-01 14:19:38 +03:00
Learath
b16c0b8aaf
Lighten the default authed color
2019-05-01 14:15:00 +03:00
Learath
bfeef8f9ad
Use the color macro
2019-05-01 14:05:39 +03:00
Learath
f479f69735
Add a flag for colors with alpha
2019-05-01 13:58:51 +03:00
Learath
324c389e87
Accept negatives aswell, don't clamp
2019-05-01 13:41:58 +03:00
Learath
3cfbd8376f
Forgot default color for ui
2019-05-01 10:27:04 +03:00
bors[bot]
a2f44299e0
Merge #1678
...
1678: Handle colors in console r=def- a=Learath2
DEPENDS: #1654
A better way to fix #1581 possibly deprecates #1597
Co-authored-by: Learath <learath2@gmail.com>
2019-04-30 19:39:56 +00:00
Learath
f9ab06476d
Lighten tee colors of others
2019-04-30 19:49:53 +03:00
12pm
3f76e17830
Fix FillSelection with no selected brush
...
As reported by BannZay on Discord
2019-04-30 14:24:13 +02:00
bors[bot]
9699d4ef06
Merge #1694
...
1694: Fix inconsistant uppercase server in logs r=def- a=ChillerDragon
```
$ grep -nr 'IConsole::OUTPUT_LEVEL_STANDARD, "server"' src/ | wc -l
31
$ grep -nr 'IConsole::OUTPUT_LEVEL_STANDARD, "Server"' src/ | wc -l
1
```
Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
2019-04-30 07:35:26 +00:00
ChillerDragon
7a7caabbec
Fix inconsistant uppercase server in logs
2019-04-30 09:03:06 +02:00
def
a910d9eff7
Persist show_ips setting on map changes
2019-04-29 21:39:17 +02:00
bors[bot]
d8964ceedb
Merge #1654 #1685
...
1654: Try working on colors a bit r=def- a=Learath2
There were color functions everywhere, I tried cleaning it up a little. I still couldn't get the roundtrip from Hsl to Rgb to be exactly the same, but I think this is the best possible.
1685: Work on compound binds r=def- a=Learath2
Closes #1417
Co-authored-by: Learath <learath2@gmail.com>
2019-04-29 15:56:16 +00:00
bors[bot]
70b3f1db21
Merge #1675
...
1675: Remove unused vanilla code (closed #1658 ) r=def- a=ChillerDragon
Removed vanilla code from gamecontext and gamecontroller. I didn't search for the code all over the place I just remember seing it there a lot. Also removed some empty lines. Wanted to do this for a long time :)
thought there is an reason it is there. But we have git and the vanilla repo so I don't see any point keeping it there.
Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
2019-04-29 07:24:01 +00:00
12pm
8fa6dada95
Highlight same clan as dummy too
...
Fixes #1686
2019-04-29 00:48:40 +02:00
Learath
6a1ef1af62
Can't access a siblings protected members?
2019-04-28 20:34:34 +03:00
Learath
2975d6998d
Block ctrl+shift+ binds. Fixes #1490
2019-04-28 20:30:17 +03:00
Learath
66c89eafb2
Allow binding with modifiers in settings
2019-04-28 20:22:19 +03:00
Learath
1da935f4c1
Fix stuck input
2019-04-28 16:52:10 +03:00
Learath
c0c79c69c3
Fix output
2019-04-28 16:37:20 +03:00
Learath
6b815b2375
Work on compound binds
2019-04-28 16:32:49 +03:00
bors[bot]
a5096c4de0
Merge #1663
...
1663: Use freeze end tick instead of a flag. Fix #1659 r=def- a=Learath2
I used -1 for deep frozen, and 0 for not frozen. Not really sure if this is the best way.
Co-authored-by: Learath <learath2@gmail.com>
2019-04-27 08:53:38 +00:00
Learath
05b3df0afa
Add the default constructors
2019-04-27 02:07:11 +03:00
Learath
588acdda0d
Consolidate color configs, extend debugging
2019-04-27 02:02:31 +03:00
Learath
979d58f830
Use colors in CTextRender
2019-04-27 01:34:20 +03:00
Learath
6c371a9a57
Even more refactoring
2019-04-27 01:11:15 +03:00
Learath
15058330fa
Don't inherit from vector, more cleanup
2019-04-27 00:47:34 +03:00
Learath
be26789872
Remove unused function
2019-04-26 22:57:40 +03:00
Learath
929d772071
Collateral
2019-04-26 22:38:18 +03:00
Learath
93d14a1eca
Inconvenience for windows
2019-04-26 22:36:49 +03:00
Learath
1b668916f2
Fix the test, fix small bug
2019-04-26 21:01:41 +03:00
Learath
ffa07d88cb
Please -WError
2019-04-26 19:11:34 +03:00
Learath
69d78c21b4
Lighten tee colors
2019-04-26 16:38:16 +03:00
Learath
54afd2c5af
No iostream
2019-04-26 15:09:12 +03:00
Learath
65a17599e1
Add ColorHSVA, phase out more vec3's
2019-04-26 15:06:32 +03:00
Learath
987b9f69de
Only lighten if too dark
2019-04-25 23:29:31 +03:00
Learath
93265dbb9c
Please MSVC
2019-04-25 21:09:32 +03:00
Learath
f53f09339a
Default constructor
2019-04-25 19:59:04 +03:00
Learath
e637064a68
Don't store HSL separately
2019-04-25 19:49:27 +03:00
Learath
95a3a69e08
Start phasing out vectors for colors
2019-04-25 18:21:35 +03:00
Learath
cc319e0152
Fix warnings and style
2019-04-25 15:04:36 +03:00
Learath
0f781df1dd
Try handling colors in console
2019-04-25 14:48:53 +03:00
Dennis Felsing
aa5458b81d
Version 12.3.1
2019-04-25 08:20:01 +02:00
Dennis Felsing
ab8b807c5d
Shorten strings correctly ( fixes #1652 )
...
Using a string to format itself is undefined behaviour.
2019-04-25 08:19:31 +02:00
Learath
5e5def314f
Add tests
2019-04-24 23:53:38 +03:00
Learath
cc36af73be
Cleanup colors
2019-04-24 23:53:26 +03:00
ChillerDragon
ad7a2cdef2
Remove unused vanilla code ( closed #1658 )
2019-04-24 22:36:47 +02:00
def
4f99623b5e
Version 12.3
2019-04-24 19:49:00 +02:00
Dennis Felsing
a1a581ecc2
Merge pull request #1653 from Ryozuki/pr_use_ddnetnetchar
...
Use the DDNet Network Character
2019-04-24 19:47:12 +02:00
def
b6d2ed268a
another one
2019-04-24 18:33:31 +02:00
Learath
24408e6f3c
Oops
2019-04-24 19:12:46 +03:00
def
6cf8999a2f
Restore old FindEntities behaviour, make it usable to count entities
2019-04-24 18:01:30 +02:00
trml
0b5f387779
Remove unneded check
2019-04-24 17:04:51 +02:00
trml
1db0d2ff40
Don't use freeze and deepfreeze flags for prediction yet
2019-04-24 15:56:56 +02:00
trml
2f35c64e6e
Initialize array and fix warning
2019-04-24 15:56:07 +02:00
Ryozuki
502ebc5628
fix all conflicts
2019-04-23 20:45:54 +02:00
Ryozuki
42a5d7a9c1
fix conflicts
2019-04-23 20:42:07 +02:00
Dennis Felsing
dc1e638fb9
Merge pull request #1664 from Learath2/dd_pr_solofix
...
Fix solo bug
2019-04-23 20:03:58 +02:00
Dennis Felsing
3f99dfdbcd
Merge pull request #1666 from Ryozuki/pr_fix_solo_spec
...
fix ghosts in spec
2019-04-23 20:03:01 +02:00
Ryozuki
87c797e84d
fix ghosts in spec
2019-04-23 19:22:58 +02:00
bors[bot]
526af034dd
Merge #1620
...
1620: Rewrite of prediction code, with additional prediction (updated) r=def- a=trml
This is a reworked attempt at a rewrite of the prediction code (#464 ), to allow for more client side prediction. It doesn't fix the duplication of server code, but the client code should otherwise be cleaner. This includes separating prediction code out of gamecore/gameclient, and a refactor of the rendering of predicted characters.
There is also prediction for some new things, and some other changes:
- prediction of laser, shotgun, ninja, fng hammer, pickups and ddrace tiles (freeze/unfreeze tiles with cl_predict_freeze)
- laser and bullets are rendered when you fire them and bullets don't go through walls (when both cl_antiping_grenade and cl_antiping_weapons are enabled)
- antiping for flags
- prediction of dummy input
- an additional smoothing option that attempts to make antiping less jumpy (cl_antiping_smooth)
Co-authored-by: trml <trml@users.noreply.github.com>
Co-authored-by: trml <trml@noreply.github.com>
2019-04-23 17:11:21 +00:00
Learath
5d4461981a
Fix solo bug
2019-04-23 19:46:51 +03:00
Learath
67668d7fb2
Use freeze end tick instead of a flag. Fix #1659
2019-04-23 18:57:26 +03:00
bors[bot]
34542e64b5
Merge #1655
...
1655: Add delete projectiles on death settings r=def- a=12pm
Need this for a map fix and doesn't hurt to have for grenades too I guess. Defaults are still the same
Co-authored-by: 12pm <30786226+12pm@users.noreply.github.com>
2019-04-23 14:43:23 +00:00
12pm
808bb1303a
Disable demo shortcuts in console
...
As reported here: https://forum.ddnet.tw/viewtopic.php?f=3&p=67807#p67807
2019-04-23 14:52:32 +02:00
trml
681f30950c
Remove the dummy prediction
2019-04-23 02:01:17 +02:00
trml
3d8bd174e7
Add extended data to CCharacter and improve prediction of super/solo/endless/superjump
2019-04-22 00:38:24 +02:00
12pm
a83e3e0d9a
Add delete projectiles on death settings
2019-04-21 20:17:41 +02:00
Ryozuki
d6cc94f839
fix hook col a bit
2019-04-21 19:35:07 +02:00
trml
78c8f42784
Put public members in a single block
2019-04-21 16:12:21 +02:00
trml
e88459acec
Make more variables private
2019-04-21 16:12:21 +02:00
trml
c5c837e0e3
Revert dummy input fix (which wasn't a sufficient fix)
2019-04-21 16:12:21 +02:00
trml
92ef0b0707
Collapse if statements
2019-04-21 16:12:21 +02:00
trml
0b3f3b03b5
Rewrite of prediction code, with additional prediction
2019-04-21 16:12:20 +02:00
Ryozuki
7d4fdb3322
update the core server-side
2019-04-21 15:16:28 +02:00
Ryozuki
6bfdad9771
fix super and solo
2019-04-21 14:57:45 +02:00
Ryozuki
eecdfd2af8
fix hook and colision on super
2019-04-21 10:45:11 +02:00
def
fc68f3add1
Version 12.2
2019-04-20 12:40:55 +02:00
Ryozuki
eaef31d4a0
fix wording and add/fix no col and no hook
2019-04-19 11:59:09 +02:00
Ryozuki
0f3411f8fa
fix wording
2019-04-19 11:46:54 +02:00
Ryozuki
f37f8a8268
add all character flags to ddnetnetwork character
2019-04-19 11:17:28 +02:00
bors[bot]
bbf485a9ac
Merge #1628
...
1628: Make client know about other solo players, fixes #258 r=heinrich5991 a=Ryozuki
When another player is in solo and you are not, you could notice a weird collision and also the hook moving a little towards the solo player. This as been fixed.
It also applies m_ClShowOthersAlpha to other players whenever you are on solo or others are.
It uses the protocol extension thingy.
fixes #258
Co-authored-by: Ryozuki <ryo@ryozuki.xyz>
Co-authored-by: Learath <learath2@gmail.com>
2019-04-18 23:03:52 +00:00
bors[bot]
f15dd6303e
Merge #1648
...
1648: Fix mute typo r=def- a=12pm
Co-authored-by: 12pm <30786226+12pm@users.noreply.github.com>
2019-04-18 20:00:53 +00:00
12pm
997e01bf31
Fix mute typo
2019-04-18 20:54:22 +02:00
Dennis Felsing
04ac4932c6
Merge pull request #1645 from def-/pr-str_copy_num
...
str_num_copy -> str_truncate, as in Vanilla 0.7
2019-04-18 10:25:25 +02:00
Dennis Felsing
00c87c121a
str_num_copy -> str_truncate, as in Vanilla 0.7
2019-04-18 10:25:01 +02:00
Learath
d6bfef2cc0
Use a NetObj instead of a system message
2019-04-17 23:47:32 +02:00
12pm
7901cc26ad
More reasonable layer size limits
2019-04-17 21:48:23 +02:00
12pm
50236ca45c
Add editor copy & paste
2019-04-17 21:47:52 +02:00
Dennis Felsing
6e74d9d728
remove debugging
2019-04-17 14:12:35 +02:00
Dennis Felsing
b425495f45
Fix draggers
2019-04-17 12:58:53 +02:00
def
9f3df78cae
Fix typo
2019-04-16 20:37:12 +02:00
Learath
843dc29a88
Names can include quotes :/
2019-04-16 02:39:22 +02:00
Learath
dd62629ee9
Clean statboard chat parsing a bit
2019-04-16 01:47:12 +02:00
bors[bot]
de5970579b
Merge #1642
...
1642: Add some demo player shortcuts r=def- a=12pm
Co-authored-by: 12pm <30786226+12pm@users.noreply.github.com>
2019-04-15 19:22:10 +00:00
12pm
6e880644af
Add some demo player shortcuts
2019-04-15 21:08:12 +02:00
bors[bot]
091e41206c
Merge #1635
...
1635: Editor save menu improvements r=Learath2 a=def-
Co-authored-by: def <dennis@felsin9.de>
2019-04-15 18:40:34 +00:00
def
9dddb290dd
File score: Implement negative top5 ( fixes #1631 )
2019-04-15 18:55:33 +02:00
Dennis Felsing
aad18ebb86
Merge pull request #1624 from ChillerDragon/pr_refactor_mute
...
Refactor mute and vote mute code
2019-04-13 17:52:55 +02:00
FallenKN
c69c4727ef
removed unnecessary brackets
2019-04-13 15:22:31 +02:00
FallenKN
83b385f8a5
Fix #1636
2019-04-13 14:33:25 +02:00
def
f1cf222e95
Editor: Don't enter directory name in filename in save menu
2019-04-13 13:21:05 +02:00
def
598c8cf1c6
Editor: Left align "New folder" button in save menu
2019-04-13 13:21:00 +02:00
def
87f588d8a3
Editor: Don't jump to first entry in file list when editing
...
Fixes saving a new map when a subdirectory already exists
2019-04-13 13:20:56 +02:00
ChillerDragon
deaab4bb4b
Add functions instead of goto
2019-04-12 19:50:02 +02:00
Ryozuki
fb84bd1f0b
fix prediction when antiping is on
2019-04-12 17:08:06 +02:00
Ryozuki
c686ceea53
Merge branch 'master' into pr_fix_solo
2019-04-12 16:34:43 +02:00
Ryozuki
3556830b9a
fix solo prediction
2019-04-12 16:29:13 +02:00
Ryozuki
7e43120b6e
make the client aware of other players solo status
2019-04-12 16:16:21 +02:00
bors[bot]
826a7781ae
Merge #1621
...
1621: Actually enable -Wuseless-cast r=heinrich5991 a=def-
It's not supported in C and we only checked using a C compiler.
Co-authored-by: Dennis Felsing <dennis@felsin9.de>
2019-04-12 00:08:19 +00:00
12pm
a1dd2e45a5
Fix non destructive drawing with hookthrough shortcut
...
Fixes #1623
2019-04-11 21:43:22 +02:00
ChillerDragon
a6d00973e1
Refactor mute and vote mute code
2019-04-11 20:10:04 +02:00
Dennis Felsing
cde07b420b
Implement changes suggested by -Wuseless-cast
...
But don't enable it yet because I'm not sure what the best way is.
2019-04-11 19:54:43 +02:00
bors[bot]
cde3781184
Merge #1616
...
1616: Minor CFileScore improvements r=heinrich5991 a=def-
It's written using STL strings and files intead of using system. Didn't change any of that because of the risk of breaking something unintentionally.
Co-authored-by: def <dennis@felsin9.de>
2019-04-11 09:41:01 +00:00
def
0a286b1d94
File score: report file opening errors
2019-04-11 08:15:14 +02:00
bors[bot]
279eeed9fc
Merge #1614
...
1614: Remove unmaintained Android code (fixes #1575 ) r=heinrich5991 a=def-
Thoughts?
Co-authored-by: def <dennis@felsin9.de>
2019-04-11 00:02:17 +00:00
bors[bot]
92a0dc8366
Merge #1618
...
1618: Implement color_to_rgb r=heinrich5991 a=def-
Co-authored-by: def <dennis@felsin9.de>
2019-04-10 23:38:29 +00:00
bors[bot]
933f938b48
Merge #1619
...
1619: Rcon console fixes r=heinrich5991 a=def-
Co-authored-by: def <dennis@felsin9.de>
2019-04-10 23:27:13 +00:00
def
b91530eedc
Console: Can't deallocate temp entries, so don't even try
2019-04-10 23:32:45 +02:00
def
ab9912c9c1
Rcon console: Don't show duplicates
...
when connecting to next server after old server shutdown
2019-04-10 23:31:06 +02:00
def
2eab795c9e
Implement color_to_rgb
2019-04-10 22:45:30 +02:00
fokkonaut
15658b3b10
removed brackets
2019-04-10 22:13:10 +02:00
def
279d6e60ca
No duplicate () on rank
2019-04-10 22:05:44 +02:00
fokkonaut
b92607eb7d
fix no score when joining when using file based score
2019-04-10 21:40:31 +02:00
def
94f3d97ddf
Remove unmaintained Android code ( fixes #1575 )
2019-04-10 19:40:50 +02:00
def
11127f9344
Release fixes
2019-04-10 17:57:56 +02:00
Dennis Felsing
93b88647eb
Merge pull request #1612 from def-/pr-12.1
...
Version 12.1
2019-04-10 17:38:37 +02:00
Dennis Felsing
ed34dcfec5
Merge pull request #1602 from def-/pr-explain-tiles
...
Explain game tiles and entities in editor (fixes #1600 )
2019-04-10 17:38:22 +02:00
Dennis Felsing
5d79c41010
Merge pull request #1603 from def-/pr-demo-open
...
Enable dragging demo file into client to play it directly
2019-04-10 17:38:00 +02:00
Dennis Felsing
2d69935a6b
Add explanations for TILE_THROUGH_CUT/ALL/DIR
2019-04-10 15:48:23 +02:00
bors[bot]
f0cce17bfc
Merge #1597
...
1597: Console command "color_from_rgb" (fixes #1581 ) r=heinrich5991 a=def-
Converts RGB colors to TW's HSL format
Co-authored-by: def <dennis@felsin9.de>
Co-authored-by: Dennis Felsing <dennis@felsin9.de>
2019-04-10 12:21:19 +00:00
Dennis Felsing
fc5810fa56
Version 12.1
2019-04-10 14:17:06 +02:00
Dennis Felsing
7c0f4c9856
Address reviewer comments
2019-04-10 09:00:06 +02:00
Dennis Felsing
bd4e3716a1
color -> color_from_rgb
2019-04-10 08:58:08 +02:00
bors[bot]
b05b268a6a
Merge #1598 #1601 #1605 #1606 #1607 #1609
...
1598: Fix home/end keys in console r=heinrich5991 a=def-
1601: 2 more tries to force DB to respond in UTF8 (fixes #1599 ) r=heinrich5991 a=def-
1605: Fix memory leak in draggers r=heinrich5991 a=def-
1606: Always initialize m_InfosLoaded r=heinrich5991 a=def-
otherwise it's uninitialized and then read, found by valgrind --tool=memcheck
1607: Enable a few more GCC warnings r=heinrich5991 a=def-
1609: Fix C90 compatibility on Windows r=heinrich5991 a=def-
Co-authored-by: def <dennis@felsin9.de>
2019-04-09 22:09:18 +00:00
def
fe432b8ae4
Enable a few more GCC warnings
2019-04-09 22:05:21 +02:00
def
0e7a514c7b
Fix C90 compatibility on Windows
2019-04-09 21:58:04 +02:00
Dennis Felsing
bdb579330d
Improve game tile explanations a bit
...
As suggested by Bojidar and jao
2019-04-09 14:23:40 +02:00
bors[bot]
d4d6ab681d
Merge #1593
...
1593: Add emacs style ctrl-a ctrl-e navigation r=def- a=ChillerDragon
Im sure im not the only one who keeps pressing ctrl-a and ctrl-e in the teewoods console and nothing happens .-.
Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
2019-04-09 10:54:04 +00:00
ChillerDragon
0b18d6eb44
Remove if nesting for compose keys in console
2019-04-09 12:11:29 +02:00
def
05fe69751d
Add jao's explanations for telegun
2019-04-08 22:36:47 +02:00
def
c3e36ee483
Always initialize m_InfosLoaded
2019-04-08 22:13:47 +02:00
def
708019c675
Grammar fix: Catched -> Caught
2019-04-08 21:54:33 +02:00
def
173b43d487
Fix memory leak in draggers
2019-04-08 21:54:12 +02:00
12pm
7b95d38bf3
Fix crash when draggers don't have a number
2019-04-08 21:47:22 +02:00
def
cca80da554
Enable dragging demo file into client to play it directly
2019-04-08 21:43:59 +02:00
def
eda16acbca
Explain game tiles and entities in editor ( fixes #1600 )
...
- Explanations by Lady Saavik taken from https://ddnet.tw/explain/
- CCW/CW were mixed up in enum names, fixed
- Make sure that the texts fits, otherwise reduce font size
- Still need explanations for Portal tiles
2019-04-08 19:39:56 +02:00
def
ea093f6d39
2 more tries to force DB to respond in UTF8 ( fixes #1599 )
2019-04-08 16:55:53 +02:00
def
527859e70c
Fix home/end keys in console
2019-04-07 23:28:30 +02:00
def
01ffde25f3
Console command "colors" ( fixes #1581 )
...
Converts RGB colors to TW's HSL format
2019-04-07 22:54:29 +02:00
Ryozuki
be708d0498
a mess
2019-04-07 21:18:43 +02:00
bors[bot]
a4e2130342
Merge #1571
...
1571: show_ips r=heinrich5991 a=def-
The problem is that the same console output is sent to all right now,
not sure how to change that cleanly
Co-authored-by: def <dennis@felsin9.de>
2019-04-07 19:01:21 +00:00
bors[bot]
52c00dcc02
Merge #1573
...
1573: Handle FS failures while updating (fixes #1560 ) r=heinrich5991 a=def-
Not sure if I caught all locations
Co-authored-by: def <dennis@felsin9.de>
2019-04-07 18:50:08 +00:00
Ryozuki
0138dd32e3
apply alpha to solo players
2019-04-07 19:42:26 +02:00
Ryozuki
813c24bf29
add m_IsSolo and fix hook col
2019-04-07 18:58:49 +02:00
ChillerDragon
e9f8bd42b7
Add emacs style ctrl-a ctrl-e navigation
2019-04-07 15:59:15 +02:00
bors[bot]
4931d00201
Merge #1589
...
1589: Remove some code duplication in CSaveTee::LoadString r=def- a=def-
by using a switch-case with fallthroughs, seems like the perfect use case.
Co-authored-by: def <dennis@felsin9.de>
2019-04-07 12:01:59 +00:00
Jordy Ruiz
1e0cc51ba1
Add bound check in datafile.cpp anywhere m_ppDataPtrs is accessed as an array. Should fix #2073
...
(cherry picked from commit e086f4b35b
)
2019-04-07 13:10:07 +02:00
bors[bot]
5d9d0d7d35
Merge #1587
...
1587: Small fixxings r=heinrich5991 a=ChillerDragon
Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
2019-04-06 21:08:40 +00:00
def
e27679ebcc
Remove some code duplication in CSaveTee::LoadString
...
by using a switch-case with fallthroughs
2019-04-06 20:28:47 +02:00
Dennis Felsing
edbd899471
Merge pull request #1588 from Ryozuki/pr_save_telegun
...
Save telegun on /save
2019-04-06 20:24:37 +02:00
def
e539bbacb1
Handle FS failures while updating ( fixes #1560 )
...
Not sure if I caught all locations
2019-04-06 19:24:40 +02:00
def
25c54ef4db
Implement show_ips to protect accidental leaking of IPs
...
Marks all sensitive data with <{ }> and then filters that out when
show_ips is not set.
2019-04-06 19:22:02 +02:00
Ryozuki
52b58c3d5b
final fix
2019-04-06 18:38:25 +02:00
Ryozuki
69fd7f1767
fix and add gameuuid
2019-04-06 18:37:25 +02:00
Ryozuki
fb398ebcbf
better this way
2019-04-06 18:19:56 +02:00
Ryozuki
beeda4d7bb
fix warnings
2019-04-06 18:18:46 +02:00
Ryozuki
b92b2f1878
save telegun on /save
2019-04-06 18:13:11 +02:00
bors[bot]
b25c5275d5
Merge #1585
...
1585: Use OpenSSL md5 if it is available r=def- a=heinrich5991
Fixes #1582 .
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2019-04-06 15:43:24 +00:00
ChillerDragon
905204781b
Cleanup if nesting
2019-04-06 17:22:15 +02:00
ChillerDragon
ce5a7ea626
Remove one of two graphic includes
2019-04-06 17:07:17 +02:00
ChillerDragon
abba71e6d6
Fix tw code style
2019-04-06 17:06:12 +02:00
bors[bot]
ea82402e7e
Merge #1574
...
1574: Updater localization and update language files r=heinrich5991 a=def-
Co-authored-by: def <dennis@felsin9.de>
2019-04-06 14:53:46 +00:00
bors[bot]
2f4dd5ae2c
Merge #1572
...
1572: cl_mouse_min_distance as requested by Makoyuri r=heinrich5991 a=def-
also cl_dyncam_min_distance
Co-authored-by: def <dennis@felsin9.de>
2019-04-06 14:17:25 +00:00
def
9df30dc235
Localize mentions
2019-04-06 15:18:40 +02:00
def
330a99686d
Add localization for updating output
2019-04-06 15:18:35 +02:00
12pm
98bfeb3e72
Notify about chat mentions in editor
2019-04-06 11:32:50 +02:00
heinrich5991
e3657ab2d5
Use SHA256 instead of MD5 in some places
...
This only works in places where the actual choice of hashing function
doesn't matter.
2019-04-06 02:56:29 +02:00
heinrich5991
e44b1ca986
Use OpenSSL md5 if it is available
...
Fixes #1582 .
2019-04-06 02:56:29 +02:00
Ryozuki
f0a4da58cb
Merge branch 'master' into add_clan_color
2019-04-05 16:46:14 +02:00
Ryozuki
4e3b2191a2
fix wrong variable
2019-04-05 13:47:38 +02:00
Ryozuki
06e8a07b99
fix phrasing
2019-04-05 13:36:18 +02:00
Ryozuki
735aab9609
fix braces
2019-04-05 13:25:17 +02:00
Ryozuki
bb3cde4369
add color to ping in scoreboard
2019-04-05 13:12:08 +02:00
Ryozuki
ef6d4b5de6
add clan color to people with same clan as you
2019-04-05 12:41:01 +02:00
def
e31561eb47
cl_mouse_min_distance as requested by Makoyuri
...
also cl_dyncam_min_distance
2019-04-04 20:19:37 +02:00
Dennis Felsing
a7dabe3475
Merge pull request #1570 from 12pm/playerflags
...
Add playerflags, dnsbl, and ips for non-admins in status
2019-04-04 18:55:40 +02:00
Dennis Felsing
fc76c2219f
Merge pull request #1566 from def-/pr-demo-speed
...
Demo speed improvements
2019-04-03 19:02:42 +02:00
Dennis Felsing
1fd130cf15
Merge pull request #1564 from def-/pr-dummy-fixes
...
Some more dummy fixes (might fix #1415 )
2019-04-03 19:02:28 +02:00
Dennis Felsing
b468552c43
Merge pull request #1563 from def-/pr-gun-sound
...
Enable gun sound by default
2019-04-03 19:02:14 +02:00
12pm
a7ef921e3f
Add playerflags, dnsbl, and ips for non-admins in status
2019-04-03 15:07:05 +02:00
bors[bot]
d72929d33b
Merge #1567
...
1567: Make world offset calculation more accurate r=def- a=12pm
Noticed that after some time groups with a parallax different than 100 were incorrectly rendered in the editor
Co-authored-by: 12pm <30786226+12pm@users.noreply.github.com>
2019-04-03 06:08:15 +00:00
12pm
4efc0e3b82
Make world offset calculation more accurate
...
Noticed that after some time groups with a parallax different than 100 were incorrectly rendered in the editor
2019-04-03 01:05:38 +02:00
def
9daa3beacd
Broadcast: Fix display time during demo replay
...
Only show for the same amount of ticks as originally, not number of
seconds, otherwise at high demo speeds you will see the broadcast for a
much longer game play time than originally.
2019-04-02 23:28:13 +02:00
def
e25d43aaf6
Extend GUI options for available demo speeds up to 64
2019-04-02 23:20:44 +02:00
def
989726db00
Allow demo speeds up to 256
2019-04-02 23:16:01 +02:00
12pm
ff48221797
Validate game layer hookthrough shortcut
...
Fixes #1556
2019-04-02 22:55:12 +02:00
def
ad70456687
Some more dummy fixes (might fix #1415 )
2019-04-02 22:02:55 +02:00
def
392fe03844
Enable gun sound by default
2019-04-02 21:52:02 +02:00
def
ef0e685496
Make timestamp consistent in scores
...
The motivation is to have the exact same timestamp for every member
finishing in a team and the team rank as well. This makes the database
more consistent and tooling easier.
2019-04-02 20:18:40 +02:00
yangfl
ee104428bb
Fix negative numbers in char
...
On some architectures char can be unsigned, which makes g++
very unhappy.
error: narrowing conversion of '-128' from 'int' to 'char' inside { }
2019-04-02 23:19:20 +08:00
def
ea6c69c273
Version 12.0.1
2019-03-30 17:01:00 +01:00
Dennis Felsing
0b76009644
Merge pull request #1553 from def-/pr-official-tab
...
No checkmark in DDNet/KoG tab (as suggested by Alexander)
2019-03-30 17:00:12 +01:00
Dennis Felsing
20f5d20692
Merge pull request #1552 from def-/pr-fix-confirm-time
...
Fix cl_confirm_disconnect/quit_time (fixes #1550 )
2019-03-30 17:00:02 +01:00
Dennis Felsing
7f28f882c2
Merge pull request #1551 from def-/pr-sql-command-completion
...
Command completion for /times, /points and /top5points
2019-03-30 16:59:50 +01:00
def
c0d3f5fa57
Actually disconnect dummy after confirmation ( fixes #1555 )
2019-03-30 16:59:25 +01:00
def
3248d94ace
No checkmark in DDNet/KoG tab (as suggested by Alexander)
2019-03-29 23:08:11 +01:00
Dennis Felsing
0b578c4330
Fix cl_confirm_disconnect/quit_time ( fixes #1550 )
...
-1 now works as described
Split into two settings
2019-03-29 14:56:02 +01:00
Dennis Felsing
2dd78b6568
Command completion for /times, /points and /top5points
...
Still not implemented for file based servers of course
2019-03-29 14:39:48 +01:00
bors[bot]
5c919b6aab
Merge #1549
...
1549: Allow editing texture UV offsets in Quad properties r=def- a=bojidar-bg
Partial manual cherrypick of de82ad7a26
.
Co-authored-by: Bojidar Marinov <bojidar.marinov.bg@gmail.com>
2019-03-29 13:11:18 +00:00
Bojidar Marinov
6ca6fce0b2
Allow editing texture UV offsets in Quad properties.
...
Manual cherrypick of de82ad7a26
, original code by @cinaera
2019-03-29 13:38:21 +02:00
def
4645b69401
Version 12.0
2019-03-28 23:39:30 +01:00
Dennis Felsing
d12ad9d05f
Merge pull request #1548 from def-/pr-vote-mute
...
Remove vote mute after it expired (fixes #1544 )
2019-03-28 23:38:45 +01:00