Redix
d4509111d5
Clean up ghost and race recorder
2017-10-06 22:01:33 +02:00
def
b368234dae
Delete editor before graphics ( fixes #881 )
2017-09-30 06:27:05 +02:00
Redix
1638f39557
Use the same ghost path everywhere
2017-09-29 23:15:47 +02:00
Redix
245afcb4b2
Fix warnings
2017-09-28 19:27:15 +02:00
Redix
2586c001b7
Use demos/auto/race for the race recorder
2017-09-28 19:14:36 +02:00
Redix
e9a0271c29
Improved ghost and race recorder file handling
2017-09-28 19:13:20 +02:00
Redix
66cc527af4
Do not restart ghost and race recorder when the race timer is turned on with /timer
2017-09-28 16:57:39 +02:00
Redix
0891ce2812
Use move instead of copy assignment operator for the ghost
2017-09-28 16:42:47 +02:00
Redix
c832beca63
Remove 30 min limit from the ghost
2017-09-28 16:02:01 +02:00
Redix
a3a82b6571
Move filename clearing function to base lib
2017-09-28 16:02:01 +02:00
Redix
5721612761
Clean up trailing whitespaces
2017-09-28 16:02:01 +02:00
Redix
d37bb5e65a
Fix ghost menu localization
2017-09-28 16:02:01 +02:00
Redix
0c6026c22e
Hide ghost menu buttons if there are no ghosts
2017-09-28 16:02:00 +02:00
Redix
0b4d629dab
Improved ghost memory management
2017-09-28 16:02:00 +02:00
Redix
216e5654e8
Added config variables for server controlled ghost and race recording
2017-09-28 16:02:00 +02:00
Redix
17f1978740
Use the race timer for the demo recorder as well
2017-09-28 16:02:00 +02:00
Redix
491cfdb93e
A few fixes in ghost and race recorder code
2017-09-28 16:02:00 +02:00
Redix
1efa8023ea
Use race timer for ghosts if available
2017-09-28 16:02:00 +02:00
Redix
4c8c546c35
Improved ghost start accuracy
2017-09-28 16:01:59 +02:00
Redix
ac234ad3ee
Write the correct player name into ghosts that are saved from menu
2017-09-28 16:01:59 +02:00
Redix
ffaa077c72
Improved ghost skin handling a bit
2017-09-28 16:01:59 +02:00
Redix
456a67fe2d
Start race recording immediately so we can also record the preparation steps
2017-09-28 16:01:59 +02:00
Redix
0721b895ae
Make sure that we have a free ghost slot for new records
2017-09-28 16:01:58 +02:00
Redix
353190588b
Disable ghost and race recorder during demo playback
2017-09-28 16:01:58 +02:00
Redix
1e845a4020
Added reload button in ghost menu
2017-09-28 16:01:58 +02:00
Redix
5b3e9e4bbf
Improved ghost file management
2017-09-28 16:01:58 +02:00
Redix
d09e825065
Use existing code for rendering the ghost
2017-09-28 16:01:58 +02:00
Redix
5cc0d16029
Reworked the race recorder
2017-09-28 16:01:57 +02:00
Redix
9e52957423
Only restart ghost and race demo on non-solo servers when crossing the start line again
2017-09-28 16:01:57 +02:00
Redix
1c377ed00f
Added Fastcap support for ghost and race demo
2017-09-28 16:01:57 +02:00
Redix
bd3e81d5e0
Use snapshot values instead of predicted ones for the ghost and also save the tick
...
This makes the ghosts more resistant against lags
2017-09-28 16:01:57 +02:00
Redix
3c8217b39c
Mark own ghost with color
2017-09-28 16:01:56 +02:00
Redix
4f57b33524
Use static array for active ghosts
...
Improve ghost file handling
2017-09-28 16:01:56 +02:00
Redix
c189678e44
Cleaned up the ghost component and made it use the ghost recorder and loader
2017-09-28 16:01:56 +02:00
Redix
b1e7138847
Added ghost file handling classes
2017-09-28 16:01:56 +02:00
Redix
e8d3469465
Fix fs_rename on windows
2017-09-28 16:01:56 +02:00
heinrich5991
f16059c0b8
teehistorian: Add a couple of tests, fix uninitialized vars and asserts
2017-09-28 02:42:35 +02:00
heinrich5991
f43480aeed
Add testing infrastructure for teehistorian
2017-09-28 02:03:30 +02:00
heinrich5991
1913106f15
teehistorian: Fix a bug with implicit ticks
2017-09-27 20:15:41 +02:00
heinrich5991
be79f14e38
teehistorian: Use m_pController->m_pGameType
directly
2017-09-27 19:38:54 +02:00
Jupeyy
baa69676ea
fix warnings
2017-09-27 15:06:47 +02:00
Jupeyy
7aa547946b
more warning fixes
2017-09-27 15:01:38 +02:00
Jupeyy
463944b143
fix code pattern mistakes and warnings
2017-09-27 14:52:06 +02:00
Jupeyy
e820a36899
don't use average FPS
2017-09-27 12:21:29 +02:00
Jupeyy
6185c05be4
for tilelayers, go thorugh them layer by layer to reduce GPU overload by
...
only render visible areas
2017-09-27 12:20:23 +02:00
Jupeyy
9fd1290734
auto adjust font size for entity overlay
2017-09-27 12:19:39 +02:00
Jupeyy
745d77ffeb
remove functions, that aren't needed anymore
2017-09-27 12:18:46 +02:00
Jupeyy
91216fb90c
reduce upload size by normalizing color values, fix slow upload for some
...
iGPUs and force old opengl context, if issueinit fails
2017-09-27 12:16:34 +02:00
Jupeyy
a85f542d1d
only use 4x2 matrix
2017-09-27 12:15:30 +02:00
Dennis Felsing
4fe6dc51f7
Fix non-random announcements (thanks noby)
2017-09-26 14:20:37 +02:00
Ryozuki
f472b02b17
fix little typo
2017-09-25 14:25:23 +02:00
Dennis Felsing
5b05e558dc
Fix grammar (thanks noby)
2017-09-25 09:07:12 +02:00
heinrich5991
a201352b29
Fix a grammar mistake in bot client message
2017-09-24 21:11:23 +02:00
heinrich5991
9d5ba770e9
teehistorian: Only record non-default config vars
2017-09-24 21:11:04 +02:00
def
b7f4ab4d80
Move comment
2017-09-23 22:49:01 +02:00
def
553c97b52d
Fix crash with broken ddnet-info.json
2017-09-20 22:25:55 +02:00
heinrich5991
3efa490cb7
teehistorian: Remove global buffer
...
This removes the possibility of the buffer filling up and discarding
data.
2017-09-20 02:23:28 +02:00
heinrich5991
9761e9606a
Make most user input teehistoric
...
Exclude private stuff like chat messages and votes.
2017-09-20 02:23:28 +02:00
heinrich5991
6ef9c8dbcd
First working version of teehistorian
...
teehistorian records all inputs from the players as well as the player
positions in each tick. It stores this info in a highly compressible
output format (I've achived 5x compression using xz or bz2).
2017-09-20 02:16:11 +02:00
def
03fa475b5e
Implement /pause [name] and /spec [name]
2017-09-18 19:12:01 +02:00
Redix
43f246f174
Made int packing functions safe
2017-09-17 02:36:50 +02:00
heinrich5991
42934fe102
Remove statically detectable float divisions by zero
...
This should fix the warning in MSVS.
2017-09-16 18:34:26 +02:00
heinrich5991
9911759314
Revert "Don't divide by 0"
...
This reverts commit 03faa51e28
.
Dividing floats by zero isn't undefined behavior and results in +inf or
-inf depending on the sign of the first operand.
#include <math.h>
#include <stdio.h>
#define PRINT(x) printf("%s = %f\n", #x, x)
int main()
{
PRINT(1.0 / 0.0);
PRINT(-1.0 / 0.0);
PRINT(atanf(1.0 / 0.0));
PRINT(atanf(-1.0 / 0.0));
return 0;
}
prints
1.0 / 0.0 = inf
-1.0 / 0.0 = -inf
atanf(1.0 / 0.0) = 1.570796
atanf(-1.0 / 0.0) = -1.570796
The changed function was problematic for values like (0,1), (-1,0),
(0,-1) where it always returned an angle of 0°.
2017-09-16 18:33:10 +02:00
def
03faa51e28
Don't divide by 0
2017-09-16 12:06:07 +02:00
Dennis Felsing
43d0299a45
Merge branch 'master' into pr_ddnet_fix_msvs_warnings
2017-09-16 11:17:39 +02:00
Jupeyy
fc706a820c
only check gametiles for DDNet server type
2017-09-16 03:45:24 +02:00
Jupeyy
26607cfd47
at texture upload, check if we have enough space in the command buffer
...
too
2017-09-15 03:50:06 +02:00
Jupeyy
31844d3353
set max width for custom text texture upload and fixing alignments for
...
texture updates
2017-09-15 03:01:26 +02:00
Jupeyy
f2820ea392
use 4*4 array instead of declearing a full matrix class
2017-09-14 19:47:04 +02:00
Jupeyy
f48e186bfd
use CLineReader instead of fgets, also delete program at destruct
2017-09-14 19:35:31 +02:00
Jupeyy
b6e4b4b4a6
detach shaders automatically after linking
2017-09-14 19:34:14 +02:00
Jupeyy
4fec86a354
support old opengl version with only 2 vertex coordinates
2017-09-14 08:03:33 +02:00
Jupeyy
3bdd8c19ac
delete primitive index buffer at shutdown too
2017-09-14 03:54:22 +02:00
Jupeyy
1df1731b01
use glDeleteVertexArrays instead of glDeleteBuffers
2017-09-14 03:50:42 +02:00
Jupeyy
211f8a6b11
only allow changing to use single/multiple texture units at restart
2017-09-14 02:58:13 +02:00
Jupeyy
1167ab822c
reduce upload since of vertices if drawing quads
2017-09-14 02:50:31 +02:00
Jupeyy
77b3c39553
allow disabling texture unit optimization by command, also use
...
drawelements instead of drawarrays for quads
2017-09-14 02:49:35 +02:00
Jupeyy
5c7c09d380
fixing most wrong code pattern
2017-09-13 20:33:58 +02:00
Jupeyy
a3658e5526
store alpha textures always as RGBA
2017-09-13 18:32:08 +02:00
Jupeyy
fd83d2834d
dont draw layer if our view is out of the layers range
2017-09-12 23:16:01 +02:00
Jupeyy
c437b5bb89
use 64 bit variable
2017-09-12 21:06:12 +02:00
Jupeyy
629bf2c5f9
Merge branch 'master' of https://github.com/ddnet/ddnet
2017-09-12 20:24:58 +02:00
Jupeyy
0caa70f0a1
support buffering of tile layers, draw them with the buffer objects and
...
some optimazations to border drawing
2017-09-12 20:22:18 +02:00
Jupeyy
9d2a625363
create overlay textures for entity overlays, instead of rendering glyphs
2017-09-12 20:15:37 +02:00
Jupeyy
6dc4d1e578
only allow a maximal zoom factor to make sure no bufferoverflow happens
2017-09-12 20:14:34 +02:00
Jupeyy
93138c1fba
make background class inherited from maplayers and change some things in
...
maplayers instead, so the background class can profit from buffering
2017-09-12 20:13:53 +02:00
Jupeyy
96694fb399
make new opengl version optionally
2017-09-12 20:12:37 +02:00
Jupeyy
92bf979467
add new functions to interface to support buffering and rendering
...
visual objects(opengl objects)
2017-09-12 20:11:47 +02:00
Jupeyy
2af3393810
add glyph upload for custom textures
2017-09-12 20:11:14 +02:00
Jupeyy
6a7e3d5836
add a glyph upload for custom textures
2017-09-12 20:10:27 +02:00
Jupeyy
bcb5f0ca8d
add new programs for various gpu render tasks, and some more uniform
...
setter
2017-09-12 20:09:40 +02:00
Jupeyy
a477540358
add new commands to buffer objects and draw them
2017-09-12 20:08:45 +02:00
Jupeyy
5f2ccf2960
add support for buffer objects and vertex object, and its draw calls
2017-09-12 20:07:38 +02:00
def
73d9ad7615
Really only download ddnet-info.json at correct time
2017-09-08 22:16:00 +02:00
def
715ac673ec
Version 10.8.6
2017-09-08 22:01:51 +02:00
def
e7e1070adf
WinXP: Use http://info.ddnet.tw
2017-09-08 20:06:48 +02:00
def
c2c453bd45
Make sending name to info.ddnet.tw optional, show dialog at start and some minor fixes
2017-09-07 20:51:46 +02:00
heinrich5991
4d96090770
Fix MSVS warnings
...
```
warning C4291: no matching operator delete found; memory will not be freed if initialization throws an exception
warning C4305: truncation from 'double' to 'float'
warning C4805: unsafe mix of type 'bool' and type 'int' in operation
```
2017-09-06 10:54:29 +02:00
Jupeyy
9bd6d0c6f9
Merge branch 'master' of https://github.com/ddnet/ddnet
2017-09-04 16:13:26 +02:00
def
58d1294b3c
oops
2017-09-03 23:50:27 +02:00
def
d5fc3210fd
Version 10.8.5
2017-09-03 23:46:58 +02:00
def
8b1470c31f
Revert "Merge GAME_VERSION and GAME_RELEASE_VERSION"
...
This reverts commit 5cfd779c68
.
2017-09-03 23:46:15 +02:00
def
4b39a39e10
Version 10.8.4
2017-09-03 19:30:29 +02:00
def
278c1ee198
Add Toggle ghost control ( fixes #823 )
2017-09-03 19:23:59 +02:00
def
5cfd779c68
Merge GAME_VERSION and GAME_RELEASE_VERSION
2017-09-03 18:54:43 +02:00
def
caec69abc1
RequestDDNetInfo in ingame menu too
2017-09-03 18:17:21 +02:00
def
89ed22e8d8
Introduce ddnet-info.json
...
- Single json file containing all information for the client
- Fetched from https://info.ddnet.tw/info?name=deen
- Replaces versionsrv, news, ddnet-maps.json and ddnet-ranks.json
- Servers are sorted by most popular ones for respective player
- Always stays < 100 ms response time, compared to occasional 50 s for
old ddnet-ranks.json
2017-09-03 17:42:04 +02:00
def
27b7549bba
Make --silent stop stdout logging
2017-09-03 10:37:24 +02:00
def
2e537684d5
actually don't need the family
2017-09-03 09:20:46 +02:00
def
f2a7f5f8dd
User agent in http fetcher
2017-09-03 09:18:00 +02:00
def
0a09af4b33
str_format instead of sprintf
2017-09-03 09:01:25 +02:00
def
42bc38227d
Request server list and ranks at better location
2017-09-03 09:00:57 +02:00
def
7b6317a5d6
buffer sizes
2017-09-03 08:53:54 +02:00
def
862e26dd08
Clean up time handling a bit
2017-09-03 08:48:21 +02:00
Jupeyy
1053bc735d
initial port to opengl3.3 (without any optimazations)
2017-09-02 15:24:07 +02:00
def
e64e59a839
semaphore instead of busy waiting in CJobPool
2017-09-02 12:30:55 +02:00
Dennis Felsing
ed59b0f4a2
Fix binary dirs for installed locations on POSIX
...
Also rename them from teeworlds to ddnet
2017-09-01 13:37:01 +02:00
Dennis Felsing
f8b98c6366
Version 10.8.3
2017-09-01 08:01:45 +02:00
Dennis Felsing
6c21738d9d
Try to fix Windows crash
2017-09-01 08:01:26 +02:00
def
f5edf53fd7
Version 10.8.2
2017-08-31 23:43:00 +02:00
def
7c6c2f5d9b
Fix graphics init to be later so that user resolution is available
2017-08-31 23:42:21 +02:00
def
9b214db85f
Force version.ddnet.tw and update4.ddnet.tw
2017-08-31 23:28:10 +02:00
def
8ebac31c03
Use old ddnet-ranks.json when new one can't be fetched currently
2017-08-31 22:40:55 +02:00
def
e36d7ce9a1
Version 10.8.1
2017-08-31 22:07:43 +02:00
def
583421b42d
Revert "fixed sprite rendering. Closes #834 "
...
This reverts commit 43af1fdb5f
.
2017-08-31 22:03:33 +02:00
def
fe208fb631
Cleaner logger
2017-08-31 20:07:43 +02:00
def
31ecbc3cf1
Don't skip items when logging
2017-08-31 19:51:58 +02:00
def
03399994b5
Remove duplicate semaphore
2017-08-31 19:36:27 +02:00
def
a58895291c
Only trust ddnet ca
2017-08-31 19:33:20 +02:00
def
97380494e6
Version 10.8
2017-08-31 19:24:17 +02:00
def
705349f2e5
Clean up and fix semaphores and threading
2017-08-31 19:18:07 +02:00
Learath2
cd386488e2
Rename semaphore_* to sphore_*
...
Previous naming conflicted with Mach kernel definitions.
2017-08-31 19:18:07 +02:00
Learath2
cd3038315b
Forgot the include
2017-08-31 19:18:07 +02:00
Learath2
abb9891947
Use the pointer address to ensure uniqueness
2017-08-31 19:18:07 +02:00
Learath2
573b75b1b2
Forgot the / for semaphore name
2017-08-31 19:18:07 +02:00
Learath2
fd17477f06
Enable threaded logging on OSX
2017-08-31 19:18:07 +02:00
Learath2
a8e19205dc
Fix conceptual mistakes
2017-08-31 19:18:07 +02:00
Learath2
153c6871c8
Try (ab)using named semaphores on OSX
2017-08-31 19:18:07 +02:00
Savander
1741df43cd
Add gametype support to exclude field
2017-08-31 12:35:01 +02:00
heinrich5991
659e1ff527
Merge pull request #853 from Redix/pr_ghost_time
...
Ghost and Race demo time extraction fix
2017-08-31 12:31:20 +02:00
Dennis Felsing
f5e1ba7638
Merge pull request #855 from heinrich5991/pr_ddnet_tests_travis_linux
...
Run tests on Travis on Linux
2017-08-31 08:15:02 +02:00
Redix
affa3faeec
Only use integers for ghost and race demo handling
...
Ghosts still use floats internally
2017-08-31 03:22:08 +02:00
heinrich5991
fc44bfcc76
Run tests on Travis on Linux
...
Fix the style of our only test.
2017-08-31 01:39:08 +02:00
Redix
cf09b6b08b
Use -1 as invalid for time parsing functions
2017-08-31 01:13:26 +02:00
Redix
a396e40c5e
Move race helper functions to own cpp file
...
Fix some style issues
2017-08-31 00:17:16 +02:00
def
bff1c12b83
Don't try to load ddnet-ranks.json while fetcher is downloading it anyway
2017-08-31 00:07:59 +02:00
def
a20db6ec56
Don't shutdown sound twice ( fixes #851 )
2017-08-30 23:19:33 +02:00
def
7d71dae87f
Fetcher: sephamore instead of spinlock, exit thread gracefully
2017-08-30 23:14:00 +02:00
def
040fc9ca32
Implement right click and middle click on country and type filters
...
Right click: exclusively activate one
Middle click: reset (reenable all)
2017-08-30 22:36:39 +02:00
def
58c5303262
Change unit test layout
2017-08-30 22:18:48 +02:00
Redix
b6a3a42aa6
Use the time parsing functions for race demo name parsing
2017-08-30 22:10:43 +02:00
Dennis Felsing
eb2634ab0a
Merge pull request #852 from heinrich5991/pr_ddnet_fix_extractname
...
Add testing; fix, rename and test the `CEditor::ExtractName` function
2017-08-30 22:09:17 +02:00
heinrich5991
de2fd75a16
Add possibility to write tests
...
Also add a test for `IStorage::StripPathAndExtension`
2017-08-30 21:57:55 +02:00
def
a1d2ecb6de
Empty when no rank
2017-08-30 21:50:09 +02:00
Redix
f1f7e4e30b
Fix ghost and race recorder time parsing
2017-08-30 21:44:27 +02:00
def
16f3ddc5a7
Show if user has rank on map in browser (+filter)
...
UI implementation by timakro
2017-08-30 21:34:04 +02:00
def
e480b651e7
Fix fetcher write function to return size
2017-08-30 21:01:19 +02:00
def
7f0eb53ff4
Initialize in order to ensure destruction in order ( fixes #848 )
2017-08-30 17:22:36 +02:00
Dennis Felsing
25a5eff1f8
Merge pull request #847 from heinrich5991/pr_ddnet_uncompressed_datasize
...
Rename `GetUncompressedDataSize` to `GetDataSize`
2017-08-30 16:34:02 +02:00
oy
43af1fdb5f
fixed sprite rendering. Closes #834
2017-08-30 16:32:39 +02:00
heinrich5991
22be1be389
Fix and rename the CEditor::ExtractName
function
...
Fixes #846 .
2017-08-30 13:59:42 +02:00
heinrich5991
2682480f8a
Rename GetUncompressedDataSize
to GetDataSize
...
Also rename the old `GetDataSize` to `GetFileDataSize`. `GetDataSize`
now returns the actual data size, not the data size before
decompression.
2017-08-30 08:36:17 +02:00
root
7cd95f63cf
Fixing spaces and globals
2017-08-30 00:34:14 +02:00
root
2c748ebf70
Fixing PR over heinrich revision
2017-08-30 00:21:41 +02:00
sctt
0849fa6024
fixing map_resave and adding map_replace_image
...
Update datafile.h
Update datafile.cpp
Update datafile.cpp
Update map_resave.cpp
Update datafile.h
Update map_resave.cpp
Update datafile.h
Update datafile.cpp
Update config_store.cpp
Update config_retrieve.cpp
Update io.cpp
Update gamecontext.cpp
Update config_store.cpp
Update CMakeLists.txt
Create map_replace_image.cpp
Update map_replace_image.cpp
fixing bug with height and witdth
2017-08-29 16:21:16 +02:00
def
40b145fe20
More utf8mb4 in database connection and database default
2017-08-26 10:12:47 +02:00
def
ac2943a49b
utf8mb4 in database for real utf8
2017-08-26 09:00:33 +02:00
def
fb252c4940
Fix compilation
2017-08-25 13:27:37 +02:00
heinrich5991
1ae004ba46
Make a copy of the input only after sanitizing it
...
This fixes a physics bug that allowed players to set their mouse
direction to (NaN, NaN), resulting in funny effects.
2017-08-25 13:20:10 +02:00
def
0e1cc205ef
Fix formatting for server chat messages with time in already
2017-08-21 20:48:11 +02:00
def
98520bb407
other kind of fix
2017-08-19 09:36:13 +02:00
def
d40dd4f362
Don't try next SQL server when /times returns empty
2017-08-19 09:32:14 +02:00
def
0b1842d438
Use filesystem paths for -f command line param
2017-08-11 21:07:20 +02:00
def
0b5dcdc478
Disable vsync by default and warn about possible delay
2017-08-08 19:53:16 +02:00
def
5d8a0ddc1e
Add time in console
2017-08-04 22:38:22 +02:00
heinrich5991
33315452c3
Merge branch 'master' into leak_fix
2017-07-31 20:42:32 +02:00
def
0a28556481
A bit nicer birthday message
2017-07-31 18:24:16 +02:00
def
d6143cb26f
How come no one notices that we're missing the day in our logs?...
2017-07-30 15:40:37 +02:00
def
d9aeeae3fc
Fix sql_score.cpp formatters
2017-07-30 14:23:25 +02:00
def
c12082c2ef
Not too many messages
2017-07-30 14:15:45 +02:00
def
3eb079bd64
Correct type in printf
2017-07-30 12:43:54 +02:00
def
d6deb707c8
no pragmas in functions
2017-07-30 12:35:54 +02:00
def
c6a5a7dcb3
Try using more modern SDL audio interface
2017-07-30 12:33:51 +02:00
Learath2
4622ab4cb6
Merge pull request #814 from heinrich5991/pr_ddnet_fix_cmake_mac
...
Fix the CMake Mac build
2017-07-30 11:38:12 +02:00
def
7a3b7c6228
oops
2017-07-29 23:13:04 +02:00
def
f3d4fcf012
Print message when team starts playing to team members
2017-07-29 23:11:33 +02:00
HMH
19a8e7add6
removed some spaces
2017-07-28 20:44:03 +02:00
HMH
04e2946efc
mem_free is safe on null pointers
2017-07-28 15:42:32 +02:00
HMH
6655b35bdd
minior style issues
2017-07-28 14:49:09 +02:00
HMH
d03e91153c
removed unused Dest function for layers
2017-07-28 14:43:03 +02:00
heinrich5991
6247aa0c7f
Enable -Wextra
and -Wformat=2
...
Also annotate `dbg_msg`, `str_format` and `str_timestamp_ex` so that the
compiler can determine whether the format strings are correct.
Fix the compiler warnings generated by these extra warnings -- some of
them were security issues.
2017-07-27 20:38:17 +02:00
Marcel Herd
d513af6a42
Removed default bind for home key (kill)
...
Kill is already bound to K by default, binding it on home as well doesn't really have any purpose. (?)
Furthermore, the home key is right next to page up which is bound to toggling entities.
It is very easy to accidentally hit home instead of page up, which is highly frustrating.. therefore I suggest removing this duplicate binding.
2017-07-26 20:43:26 +02:00
def
adef38a574
Revert "We want the Timestamp of a team to stay min(Timestamp) to indicate the first time this team finished the map"
...
This reverts commit bf0e67a34a
.
2017-07-26 18:12:41 +02:00
heinrich5991
98f229c48b
Fix a -Wunused-value
warning in map_diff
2017-07-26 11:53:21 +02:00
heinrich5991
ed0949cb2e
Remove unused function gui_messagebox
...
The Mac implementation was causing problems and it wasn't used anywhere.
2017-07-26 11:38:26 +02:00
heinrich5991
fd8bccb0f4
Fix the CMake Mac build
...
Fixes #805 .
2017-07-26 04:30:56 +02:00
def
5a437b110f
Nicer formatting for task fetcher
2017-07-25 19:23:10 +02:00
def
379f060126
Version 10.7.1
2017-07-25 19:09:05 +02:00
def
a9d3f45b25
Add ui_close_window_after_changing_setting
2017-07-25 19:08:16 +02:00
def
8d621dfc00
Add kitty skins (by Ravie + fuzzy ninja by patwo.*)
2017-07-25 00:11:37 +02:00
def
a9498b15cb
Fat skins
2017-07-25 00:11:37 +02:00
heinrich5991
1ebb4f89a6
Reopen: Add a flag for rcon login via username ( #800 )
...
This uses an extended protocol message to signal that rcon
authentication might require a username, allowing the client to enable
the username prompt.
Add a forgotten logout on key update
2017-07-24 21:43:55 +02:00
def
cf08239e58
no plenk
2017-07-24 20:58:51 +02:00
def
147005ea42
ask before overwriting demo file when slicing ( fixes #806 )
2017-07-24 18:33:11 +02:00
def
bcec0f1bb1
ctrl-f to search, ctrl-x to exclude, ctrl-r to reason
2017-07-24 18:05:19 +02:00
Dennis Felsing
402a71527a
Merge pull request #810 from H-M-H/stat_csv
...
use str_append for appending strings
2017-07-24 16:01:06 +02:00
HMH
f2ac4a02ce
use str_append for appending strings
...
this fixes corrupted stat csvs as str_format does not work with same
source and destination
2017-07-24 15:27:30 +02:00
def
4c98c4bdd6
typo
2017-07-23 21:34:36 +02:00
def
79d29b1e31
Fix: Finish score should always show the fastest time
2017-07-23 21:33:55 +02:00
def
bf0e67a34a
We want the Timestamp of a team to stay min(Timestamp) to indicate the first time this team finished the map
2017-07-23 21:20:12 +02:00
def
ec885f3e25
Fix layout
2017-07-22 22:43:20 +02:00
def
af5b903944
Version 10.7
2017-07-22 22:32:35 +02:00
def
f09a0f640f
Fix mouse sensitivity setting dialog and introduce new one for ui mouse sens (#fixes 804)
2017-07-22 22:31:14 +02:00
def
60d7388d9f
Fix demo slicing
2017-07-22 22:03:05 +02:00
def
34c8b047ea
Oldschool C please
2017-07-22 21:20:15 +02:00
def
e37d895399
Version 10.6.9
2017-07-22 17:35:45 +02:00
def
d50b39c530
Fix controls rectangle overlapping topbar and being clickable outside of scope
2017-07-22 17:35:30 +02:00
def
fd732e43bd
Version 10.6.8
2017-07-22 13:55:56 +02:00
def
2d68aed009
More settings in controls menu. use listbox ( fixes #802 )
2017-07-22 13:41:18 +02:00
def
6e5375da71
Moving mouse is not a key
2017-07-22 12:28:06 +02:00
def
7428dd0637
Editor: Don't show server settings when picker is active
2017-07-22 12:18:53 +02:00
def
2fb5835980
Update json-parser to 1.1.0, zlib to 1.2.11
2017-07-22 11:07:29 +02:00
def
be8a149d12
We want Y axis falloff on both speakers
2017-07-22 09:15:28 +02:00
def
0b5942fc04
Add special handling for infClass class selection ( fixes #794 )
2017-07-21 21:43:56 +02:00
HMH
5877b17f5a
cleanup freetype
2017-07-21 20:45:23 +02:00
HMH
476d57c5c5
Also cleanup CEditorMap on destruction
2017-07-21 20:02:46 +02:00
HMH
1f7d216f28
also delete Kernel in map_version
2017-07-21 20:01:39 +02:00
def
b57ffa429e
Use scancodes instead of keycodes for input ( fixes #796 , please test)
2017-07-21 19:53:49 +02:00
HMH
bfc5700314
Yes the Kernel and Interfaces need to be deleted too...
2017-07-21 19:46:31 +02:00
def
35befec54c
Clean up key binding a bit
2017-07-21 19:32:32 +02:00
def
f352daf00d
Allow moving mouse while spectating and typing ( fixes #798 )
2017-07-21 19:24:18 +02:00
HMH
ae411710ba
unload fonts that are not in use anymore
2017-07-21 19:10:50 +02:00
HMH
7f7fa06dd6
free the Client created by CreateClient
2017-07-21 16:46:29 +02:00
HMH
7486ee867e
also Unload Sound
2017-07-21 16:37:23 +02:00
HMH
7b3aba8fdc
fixed memoryleak in CCollision
2017-07-21 16:02:24 +02:00
HMH
d3714f7efa
close workerthreads on shutdown
2017-07-21 15:52:42 +02:00
HMH
80fac31175
fixed memory leak in console
2017-07-21 15:51:56 +02:00
def
bf6c91a25c
Oops, update4
2017-07-17 00:08:15 +02:00
def
5785267a39
Version 10.6.7
2017-07-16 23:54:22 +02:00
def
4a13d47637
Use update4.ddnet.tw...
2017-07-16 23:54:07 +02:00
def
a30323d986
oops
2017-07-16 21:27:18 +02:00
def
b05693e9cd
Version 10.6.6
2017-07-16 12:00:37 +02:00
def
4a8f3b083d
Use new update server that runs on Let's Encrypt
2017-07-16 11:46:38 +02:00
def
e4364983ab
Use https for map downloads by default
2017-07-16 11:29:10 +02:00
def
191eefbb2f
Only trust our own custom-selected CAs for our maps download server
2017-07-16 11:25:38 +02:00
def
c7c9c3c4dd
Possible to use https:// for map downloads, but still use http:// by default
2017-07-16 10:45:41 +02:00
def
a736a27430
No need for writing to tmp config file anymore
2017-07-16 06:54:02 +02:00
def
f3a44995cf
Don't stop movement after opening player list
2017-07-15 19:53:29 +02:00
def
440ee9397f
Version 10.6.5
2017-07-15 19:01:17 +02:00
def
f9170fd031
ugly workaround for dummy input when frozen with grenade and getting hammered
2017-07-15 18:59:33 +02:00
def
4b4f9992d4
Fix disappearing switches in editor
2017-07-15 18:11:01 +02:00
def
9a0706f8b1
Support ctrl-l to load map in editor
2017-07-15 18:08:34 +02:00
def
5ad633ef26
No success with Windows fixes, have to delay until someone with a
...
Windows computer can look into it
2017-07-15 17:29:57 +02:00
def
fba3815ddc
Only send password on connection when explicitly asked to ( fixes #788 )
2017-07-15 17:29:20 +02:00
def
49eb0128f2
Windows cleanup
2017-07-15 16:38:40 +02:00
def
1e3476e8bd
Opposite manifest setting
2017-07-15 16:18:18 +02:00
def
9bf84fd4be
Don't keep enabling input in menu all the time ( fixes #706 )
2017-07-15 15:37:05 +02:00
def
78dc5aa959
Another Windows DPI try
2017-07-15 15:31:53 +02:00
def
f627a72ebb
Refcount IME usage ( fixes #577 and #738 )
2017-07-15 15:25:36 +02:00
def
a5bd671e55
Show X and Y coordinates in map editor
2017-07-12 20:25:48 +02:00
def
f2444b0de7
Add map_diff tool to compare tile layers of map versions
2017-07-12 20:15:00 +02:00
def
ff8d22e335
Audio volume on right speaker should depend on x coordinate, not y...
2017-07-11 22:10:23 +02:00
Dennis Felsing
38eacf21b7
Next try for Windows
2017-07-11 14:37:12 +02:00
Dennis Felsing
6a90b00b0b
Types
2017-07-11 14:25:53 +02:00
Dennis Felsing
d6f6095358
Types
2017-07-11 14:24:28 +02:00
Dennis Felsing
81c6d0b33c
Who doesn't enjoy fixing Windows stuff?
2017-07-11 14:08:03 +02:00
def
8b5ee98193
Handle input reset on chat correctly on DDNet servers and other servers
2017-07-10 22:24:40 +02:00
Dennis Felsing
bcb30c860e
Merge pull request #761 from Learath2/dd_pr_vanillapause
...
Can't spectate yourself when /pause'd
2017-07-09 23:15:57 +02:00
def
d0f4ffdaad
SDL_HINT_VIDEO_HIGHDPI_DISABLED
2017-07-09 19:53:02 +02:00
def
53565aa937
fixes
2017-07-09 14:56:57 +02:00
def
afe8b4dfbe
Or we just disable stupid highdpi...
2017-07-09 14:50:10 +02:00
def
46cedf3a8c
Compiler warnings
2017-07-09 10:27:58 +02:00
def
66f6f16e81
Windows DPI fixes #2
2017-07-09 09:44:07 +02:00
def
2a1bf93165
Try to fix Windows DPI issue
2017-07-09 09:24:08 +02:00
def
35dcb4d6cf
Don't open map file again if we have it open already
2017-07-08 22:09:03 +02:00
def
42b07441a5
Try to make SQL connections a bit more hardy
2017-07-08 14:14:50 +02:00
def
f3e3d57a90
Always close files, cleaner demo recording, fix some other stuff
2017-07-08 13:39:20 +02:00
heinrich5991
409bc0e019
Ensure null-termination in str_escape
...
This also fixes a couple of potential buffer overflows. The affected
code is still buggy (doesn't do the right thing on potential buffer
overflow), but at least it won't result in crashes/out of bound writes
anymore.
2017-07-08 13:06:03 +02:00
def
33927f6397
Version 10.6.4
2017-07-08 11:06:59 +02:00
def
36d5c8d608
string toggling supports escaped strings; also some code cleanup
2017-07-08 11:03:51 +02:00
Dennis Felsing
80565b646c
Merge pull request #790 from Learath2/dd_pr_togglestr
...
Add toggling for string options
2017-07-08 10:03:47 +02:00
ChillerDragon
727b9f84b6
fixed scoreboard update for slow racers (less hacky) ( #765 )
...
* fixed scoreboard update for slow racers (less hacky)
* Fix some style issues
2017-07-05 23:01:57 +02:00
def
37a08e8ef0
Support pageup, pagedown, home, end buttons in menus
2017-07-04 22:07:02 +02:00
Dennis Felsing
fd73fdd942
Fix set_team_ddr doc
2017-06-26 16:00:03 +02:00
Learath2
5941755832
Add toggling for string options
2017-06-20 11:27:14 +02:00
heinrich5991
1a50d405cb
Use str_find
from src/base/system.h
and check for C:
on Windows
...
Previously, using drive-relative paths could be used to escape the
Teeworlds directory on Windows.
2017-06-18 16:26:29 +02:00
def
59b33b95e4
Stronger catch for ..
2017-06-17 23:07:02 +02:00
def
d3daa51486
Correct filter
2017-06-16 22:19:36 +02:00
def
624fd38188
Oops
2017-06-16 20:46:41 +02:00
def
1b0de108c6
Forbid escaping base directory
2017-06-16 20:22:43 +02:00
Tim Schumacher
2ef05c2def
Use sv_teleport_hold_hook also for checkpoint tele
2017-06-15 16:07:27 +02:00
Tim Schumacher
47fecc8659
Add sv_check_teleport_hold_hook map setting
2017-06-15 15:49:07 +02:00
def
3aaf38cefb
Fix map_extract usage a bit
2017-06-12 21:18:21 +02:00
def
c34482a9c4
Version 10.6.3
2017-06-12 21:12:57 +02:00
def
c943efbec0
Add tool to extract images and sounds from maps
2017-06-12 21:00:33 +02:00
Learath2
49e4501cc7
Merge pull request #785 from Ryozuki/pr_ddnet_fix_dbgassert
...
Get rid of wrong dbg_assert that can crash server
2017-06-12 18:54:48 +03:00
Ryozuki
5f23a68caf
get rid of wrong dbg_assert
2017-06-12 17:49:01 +02:00
def
73c61e4169
Let's not save maps that are ok already
2017-06-11 20:18:28 +02:00
def
2bd6316ce7
Add code for fixing old maps by removing unused tiles
2017-06-11 19:53:55 +02:00
heinrich5991
743c58e4ae
Revert "Fix OSX cmake build"
...
This reverts commit 3406f01ff9
.
2017-06-09 19:34:01 +02:00
Learath2
3406f01ff9
Fix OSX cmake build
...
A little crude but it works.
2017-06-09 16:05:04 +02:00
eeeee
0497cdd49d
stop casting auth state to bool
2017-06-08 13:03:44 -07:00
Learath2
ca4da73b75
Update the range of sv_default_timer_type. Fixes #760
2017-06-08 14:35:48 +03:00
eeeee
9c5ade24da
remove ConDnsblStatus copypasta
2017-06-07 11:04:04 +02:00
def
e4b3c17829
Add option to disable long pain sound (used when shooting in freeze)
2017-06-06 18:58:23 +02:00
Learath2
b04876361d
Fix indentation
2017-06-06 10:13:19 +02:00
eeeee
2797227063
also remove references to CGameContext from CServer
2017-06-05 22:31:56 -07:00
eeeee
9b6699d3b8
remove casts to CServer
...
improving encapsulation by going through the interface instead of including engine/server/server.h
2017-06-05 20:51:12 -07:00
def
ec5ede7633
Version 10.6.2
2017-06-04 21:00:42 +02:00
def
b592d6af55
ms not µs for thread_sleep
2017-06-02 23:28:47 +02:00
def
7e503a306b
Revert "Back to cl_cpu_throttle_inactive"
...
This reverts commit c217040319
.
2017-06-02 23:27:35 +02:00
def
c217040319
Back to cl_cpu_throttle_inactive
2017-06-02 23:18:14 +02:00
def
7a83af4d1b
Fix Mac build
2017-06-02 22:10:58 +02:00
def
d6e5df0023
oops
2017-06-02 21:58:16 +02:00
def
45acda1a66
Fix compiler warning
2017-06-02 21:49:53 +02:00
def
b8d61e9b7d
Change some defaults
2017-06-02 21:49:30 +02:00
def
8553ed727b
Replace cl_cpu_throttle with cl_refresh_rate
2017-06-02 21:33:45 +02:00
def
4125941896
Disable dbg_stress in release builds (fewer confused kids that think they hacked the server, less useless code in cache)
2017-06-02 20:45:09 +02:00
def
fe89b65368
Stupid C90
2017-06-02 20:31:37 +02:00
def
a6e144ea72
Let's not crash the client and server on dbg_assert
2017-06-02 20:12:20 +02:00
def
27074e926a
Further cleanup
2017-06-02 19:44:14 +02:00
def
9b48e902f0
Prevent data race when initializing loggers
2017-06-02 18:47:26 +02:00
def
814feede33
Don't copy strings into themselves
2017-06-02 18:37:29 +02:00
def
533ae0aaf8
Fix login crash ( fixes #771 )
2017-06-02 18:13:56 +02:00
def
a117e3a6e7
Version 10.6.1
2017-06-01 21:28:49 +02:00
def
ac481a972c
Heuristic to speed up ghost loading on map change
2017-06-01 21:26:59 +02:00
Dennis Felsing
ca9cca4c94
Merge pull request #770 from heinrich5991/pr_fix_events_uuid
...
Fix unpacking of net events
2017-05-27 16:21:37 +02:00
heinrich5991
3b88d78736
Fix a possible out-of-bounds read in snapshot.cpp
2017-05-27 15:52:05 +02:00
heinrich5991
9e7020368e
Fix UUID formatting - the last field only has 12 hex digits
...
It didn't cause misprinted UUIDs because the string buffers had the
correct size.
2017-05-27 15:02:32 +02:00
heinrich5991
5ae37e6c72
Add protocol extension with UUIDs
...
This system can easily be extended by independent authors without
collisions, something the old system with plain increasing integers did
not allow.
Do this by utilizing the previously unused message code `NETMSG_NULL`
which has a value of 0.
This works for engine and game messages, snapshot items and events.
2017-05-25 00:52:43 +02:00
def
c49aa0671f
Revert "A bit faster"
...
This reverts commit 1428c25083
.
2017-05-24 23:16:10 +02:00
Learath2
6a6666abc4
Keep pause state when killed
2017-05-24 22:30:28 +02:00
def
1428c25083
A bit faster
2017-05-24 21:39:04 +02:00
def
02995bf72f
Oops
2017-05-24 21:36:14 +02:00
def
1f86e6c8df
Save fixes
2017-05-24 21:32:26 +02:00
def
1b2a85af58
Fix m_Jumped loading
2017-05-24 20:23:54 +02:00
def
562dee6e38
Clean up server messages a bit
2017-05-21 01:20:25 +02:00
Valentin Lorentz
191f0e7f3d
Hide empty broadcast messages.
2017-05-20 13:59:39 +02:00
def
63c1d75458
When frozen and afk, show normal eyes to be able to tell non-afk from afk
2017-05-19 19:12:52 +02:00
Learath2
cf81ef8ce6
Can't spectate yourself when /pause'd
2017-05-19 00:21:01 +02:00
def
c1c2c1575f
Fix some vanilla pause issues
2017-05-18 23:52:54 +02:00
def
d7d0520f79
Another try
2017-05-18 20:04:29 +02:00
def
819187f376
Fix unweapons
2017-05-18 20:01:10 +02:00
def
0f14307e8f
oops
2017-05-17 22:37:54 +02:00
def
7e7d56048b
New try at loading in team only
2017-05-17 22:30:13 +02:00
def
569f17e3f3
No need to localize icons
2017-05-17 19:11:32 +02:00
def
bd75e6e1f6
Actual fix
2017-05-17 18:56:58 +02:00
def
a8966c680e
Revert "Prevent vote spam"
...
This reverts commit 526a23b191
.
2017-05-17 18:55:45 +02:00
def
b48005fe40
Revert "Fix last map vote"
...
This reverts commit 42f3b0d7a8
.
2017-05-17 18:50:01 +02:00
def
42f3b0d7a8
Fix last map vote
2017-05-17 18:45:45 +02:00
def
a7ee59804b
Reverse...
2017-05-16 17:52:29 +02:00
Dennis Felsing
666d1585b7
Fix crash on invalid pause state in save
2017-05-16 17:02:28 +02:00
def
74e19b26a7
Version 10.6
2017-05-15 22:32:31 +02:00
Learath2
b4b5d6cc9e
/pause'd players stay in player list
2017-05-15 13:56:54 +02:00
Dennis Felsing
87adba55ad
Allow voting again if no map could be found for random map vote
2017-05-15 11:15:04 +02:00
def
8c9995f166
oops
2017-05-14 22:44:52 +02:00
def
413f96b43d
Prevent some save/load cheating
2017-05-14 22:42:49 +02:00
def
f4112e3bcb
Revert "Tees must be teamed up before loading"
...
This reverts commit d29f2306ef
.
2017-05-14 22:36:44 +02:00
def
f57f1d0d17
You can't invite someone to team on solo server...
2017-05-14 22:16:58 +02:00
def
f2232b8026
Fix compilation
2017-05-14 22:14:02 +02:00
def
c2400c79cf
Rename cl_show_other_hook_coll to cl_show_hook_coll_other and add cl_show_hook_coll_own ( fixes #741 )
2017-05-14 12:03:09 +02:00
Dennis Felsing
278b17b460
Merge pull request #721 from Learath2/dd_pr_pause
...
Rework the pause system
2017-05-14 11:55:09 +02:00
Dennis Felsing
58207926ac
Merge pull request #726 from Learath2/dd_pr_load
...
Tees must be teamed up before loading
2017-05-14 11:54:39 +02:00
Dennis Felsing
a0a1276b6a
Merge pull request #751 from Learath2/dd_pr_ratelimitinvite
...
Add ratelimiting for /invite
2017-05-14 11:50:43 +02:00
Dennis Felsing
728e548f55
Merge pull request #754 from SheikhZayx/master
...
CSV file instead of statboard screenshot
2017-05-14 11:49:46 +02:00
Dennis Felsing
610195f21e
Merge pull request #753 from Learath2/dd_pr_voting
...
Fix vote spam
2017-05-14 11:49:12 +02:00
Dennis Felsing
45fa2a8586
Merge pull request #752 from d3fault/show-angle-in-debug
...
Add show angle in debug
2017-05-14 11:48:34 +02:00
def
6d81f1f188
Fix cl_cpu_throttle_inactive
2017-05-14 11:01:48 +02:00
def
7a9f316dd1
cl_cpu_throttle_inactive can be set higher than 1
2017-05-14 10:58:01 +02:00
SheikhZayx
451e5dfcf4
Sticking to naming convention. Freeing allocated memory.
2017-05-08 21:55:03 +02:00
SheikhZayx
80737e9c57
Fixed formatting & Removed function call for testing purposes
2017-05-02 18:55:05 +02:00
SheikhZayx
53e5150317
Altered string/memory function calls
2017-05-02 18:40:54 +02:00
SheikhZayx
6c0f889b95
Removed std::string
2017-05-02 18:27:04 +02:00
SheikhZayx
114eb81224
Changed loop variables
2017-04-28 11:28:18 +02:00
SheikhZayx
0d7a93326b
Fixed includes
2017-04-26 19:08:31 +02:00
SheikhZayx
ea0e4948b4
CSV file instead of statboard screenshot
...
En-/Disable statboard being saved as csv
2017-04-26 05:10:31 +02:00
Learath
58d3d5251a
Fix a mistake. Kill on kick
2017-04-25 20:27:23 +02:00
Learath
526a23b191
Prevent vote spam
...
Apply the timeout even after a successful vote
2017-04-25 19:53:18 +02:00
Learath
a1d2212696
Change behaviour for kick votes in teams
2017-04-25 19:10:22 +02:00
d3fault
592d2d7556
Add show angle in debug
2017-04-24 14:11:22 -07:00
Learath2
3878d6fb56
Reset invites when the team is empty
2017-04-24 21:28:02 +02:00
def
4b376d239c
rename
2017-04-24 17:36:13 +02:00
Learath2
1d84d0db07
Get rid of trailing spaces
2017-04-24 14:05:09 +02:00
Learath2
c1a4a95d61
Add ratelimiting and config options for invite
2017-04-24 14:04:50 +02:00
Dennis Felsing
716b61df23
Merge pull request #750 from d3fault/more-precise-coords-in-debug
...
Add show more precise coords in debug
2017-04-24 13:36:04 +02:00
Learath2
aa3690a632
Reset invites when the team is empty
2017-04-24 13:31:05 +02:00
d3fault
f5c4a6b578
Add show more precise coords in debug
2017-04-24 04:15:17 -07:00
Learath2
89199d04d0
Fix invite spam by abusing lock.
2017-04-24 11:03:16 +02:00
Learath2
309d47e933
Revert "Remove invite system entirely since no one wants to fix it"
...
This reverts commit 99cc9d2c0b
.
2017-04-23 22:50:07 +02:00
def
99cc9d2c0b
Remove invite system entirely since no one wants to fix it
2017-04-23 17:51:29 +02:00
def
8dcad29138
Also update timestamp in team rank (fixes discord bot to show team ranks when they exist)
2017-04-23 14:08:58 +02:00
Learath2
c091eb6cc9
Fix indentation
2017-04-22 19:04:16 +02:00
def
9da2655ea7
Add own time to /mapinfo
2017-04-21 20:13:51 +02:00
Dennis Felsing
63ca2f8749
Show nr of skipped log messages
2017-04-21 10:50:16 +02:00
def
d84911618a
Don't block when logging queue is full, instead ignore message
2017-04-20 21:25:20 +02:00
Ryozuki
3a4738560b
Don't show ips to non-administrators, Fixes #694 ( #739 )
...
People with non-administrator rights won't be able to see ips (mod, helper).
2017-04-17 12:13:58 +02:00
def
762ca52b59
Version 10.5
2017-04-16 09:30:53 +02:00
def
9e7eb9c142
Remove /uninvite
2017-04-13 10:34:19 +02:00
def
3c9b178e73
Fix /times ratelimit
2017-04-13 09:38:53 +02:00
def
d4ed1310d2
Configurable rate limit for SQL queries
2017-04-13 09:33:26 +02:00
def
407943a0a0
A bit more cautious SQL code
2017-04-13 09:26:12 +02:00
def
d450678bf3
Quit even if score-threads didn't complete
2017-04-13 08:38:27 +02:00
heinrich5991
921cfb29f8
Fix use-after-free on unbind
2017-04-13 02:09:42 +02:00
heinrich5991
1b88017fc5
Fix crashbug in bind system
...
Restore old behavior around the bind's Get() function, return "" if
there is no bind. Fixes #730 .
2017-04-13 02:09:42 +02:00
Learath2
38cd5e89a5
Revert "Missed a case. Fixes #730 "
2017-04-13 01:51:00 +02:00
Learath
c8acc2d286
Swap /pause and /spec around
2017-04-13 01:33:56 +02:00
Dennis Felsing
6f93be03cc
Merge pull request #733 from Learath2/dd_pr_chatoverlap
...
Fix chat overlapping
2017-04-13 01:30:54 +02:00
Learath
0b6c6f353d
Fix chat overlapping. One to go #723
2017-04-13 01:14:53 +02:00
Dennis Felsing
72e9571d57
Merge pull request #732 from Learath2/dd_pr_bindfix
...
Missed a case. Fixes #730
2017-04-13 01:13:24 +02:00
Learath2
30a9469df2
Missed a case. Fixes #730
2017-04-13 01:06:40 +02:00
Learath
0cafa8b813
Random tees can't load saves
2017-04-12 16:59:46 +02:00
Dennis Felsing
40d3b4071d
Merge pull request #729 from Learath2/dd_pr_friendcoll
...
Strict checking for friends
2017-04-12 11:16:20 +02:00
Learath
9d2fb7dfda
Missed one check
2017-04-12 11:13:54 +02:00
Learath
ec1581f13a
Strict checking for friends. Fixes #539
2017-04-12 11:04:20 +02:00
Learath
47f405e160
Remove tees that don't belong
2017-04-12 10:33:02 +02:00
Dennis Felsing
d146b51189
Merge pull request #728 from Learath2/dd_pr_bindlen
...
Allow arbitrary length binds
2017-04-12 10:12:05 +02:00
Learath
6895b5a180
Check if the allocation succeeded.
2017-04-12 10:05:22 +02:00
Learath
ae23924e81
Add arbitrary length binds. Fixes #642
2017-04-12 10:05:22 +02:00
Learath2
568b5e5603
Pointers should be set to NULL
2017-04-12 01:20:39 +02:00
Learath
389b432758
Take a blind stab at #718
2017-04-11 21:47:27 +02:00
Learath
d29f2306ef
Tees must be teamed up before loading
2017-04-11 21:18:26 +02:00
Learath
611b66e503
Fix a case reported in #723
2017-04-10 03:06:16 +02:00
Learath
45bc79b94b
Fix alignmend... Fixes #687
2017-04-09 03:46:02 +02:00
Learath
95690a1cf7
Reimplement sv_pause_frequency
2017-04-09 01:16:48 +02:00
Learath
5626259b27
Rework pause. Fixes force_pause
2017-04-09 00:20:41 +02:00
Henritees
33cdfee821
Handle multi-line motd correctly in the console
...
Rewrote MOTD processing to handle both kinds of newlines correctly
and added an option to disable printing it to the console.
Closes #711 .
2017-04-03 12:29:31 +02:00
Learath2
079c53471c
Remove unnecessary check. Fixes #714
2017-04-02 19:39:22 +02:00
trml
1211746491
Don't use predicted position for the hook when spectating
2017-04-02 18:41:55 +02:00
HMH
4a0abf6747
Access the correct Flags variable for saving maplayers
2017-04-01 18:16:02 +02:00
Learath2
9d0e054a06
Remove heart from on reset messages. Fixes #710
2017-04-01 15:19:20 +02:00
east
bffb989a11
add generated rcon password as default auth key
2017-03-29 14:56:44 +02:00
heinrich5991
1d81d56850
Introduce new, vanilla-compatible server info protocol
...
This means that we have a reliable and fast way to query for extended info,
while also not wasting network bandwidth.
The protocol is designed to be extensible, there's four bytes space for
encoding more request types (currently zeroed), and there's one string in each
response packet and one string for each player available (currently the empty
string).
The protocol itself has no problems with more than 64 players, although the
current client implementation will drop the player info after the 64th player,
because it uses a static array for storage.
Also fixes #130 , the player list is just sorted each time new player info
arrives.
2017-03-29 12:56:13 +02:00
Learath2
ed30c0b636
Clear only on a dc. Let rcon work during map change
2017-03-28 14:24:53 +02:00
Learath2
b52ed30618
Reset input when server/map changes. Fixes #633
2017-03-28 14:24:53 +02:00
Learath2
93ac8a97b1
Only reset auth on server change
2017-03-28 01:47:24 +02:00
Learath2
80f9d7a2ca
Reset the username input on server/map change.
2017-03-28 01:47:24 +02:00
HMH
7ef108c818
Fix style in some places which the previous fix missed
2017-03-23 22:28:06 +01:00
Learath2
d3bf89d7d3
Handle double click on server browser correctly. Fixes #597
2017-03-22 23:14:09 +01:00
Learath2
6377355d4a
Use %g. Get rid of comparison
2017-03-22 23:11:03 +01:00
Learath2
625433ed42
Fix double slowdown. Display the correct speed. Fixes #607
2017-03-22 23:11:03 +01:00
necropotame
b8e4e5beea
Fix style in several places
2017-03-22 19:45:14 +01:00
Learath2
55c5c3eac6
Properly calculate the width. Fixes #699
2017-03-22 12:10:22 +01:00
Learath2
2849e23003
Fix line width. Closes #687
2017-03-22 09:56:28 +01:00
heinrich5991
f5446ca3b0
Fix unsigned/signed comparison warning when interacting with freetype
2017-03-19 17:19:59 +01:00
def
125764815b
Update credits (I probably missed a few)
2017-03-16 19:17:24 +01:00
heinrich5991
b904822d57
Merge pull request #680 from necropotame/pr-i586-killborder
...
Fix #586 (display the killing clipping rectangle)
2017-03-16 17:00:57 +01:00
necropotame
c63c54d68e
Changes after heinrich5991's review of #586 - Fix code alignment
2017-03-16 16:51:52 +01:00
necropotame
5ddf0a5421
Changes after heinrich5991's review of #586 - Fix some more comments
2017-03-16 16:41:58 +01:00
necropotame
9bae313929
Changes after heinrich5991's review of #586 - Code cleanup, Fix typo, Fix bug with Y clipping
2017-03-16 16:39:29 +01:00
heinrich5991
f7dde1e061
Partially revert #681
...
The refactoring can cause a gameplay change, laws of associativity like
`x * (1 / z) == (x * 1) / z` don't hold for floating point numbers.
2017-03-16 10:19:08 +01:00
Ryozuki
d0c317d7c7
Fix a typo and refactor the normalize function
2017-03-16 07:55:49 +01:00
necropotame
4027b3dc01
Add error message in case of invalid argument for /timer
2017-03-15 12:22:13 +01:00
necropotame
6f58c49f7d
Fix #586 (display the killing clipping rectangle)
2017-03-15 12:06:13 +01:00
necropotame
e4345307c1
Fix #662 (timer command displays the wrong state)
2017-03-15 11:11:01 +01:00
Dennis Felsing
32a1fa0c07
Merge pull request #672 from Learath2/dd_pr_hearts
...
Forgot m_Friend isn't initialized, also align the messages
2017-03-13 12:04:47 +01:00
Learath2
3bd94b9ada
Forgot m_Friend isn't initialized, also align the messages
2017-03-12 22:32:05 +01:00
heinrich5991
54c5faa64c
Complete the refactor
2017-03-12 19:52:29 +01:00
Alexandre Díaz
3589ed0b0f
Start refactor...
2017-03-12 19:30:55 +01:00
heinrich5991
ccb9db9899
Merge pull request #652 from Learath2/dd_pr_invite
...
Add /invite for locked teams. Fixes #647
2017-03-12 19:04:55 +01:00
Learath2
c81f53ab6b
Forgot CID can be -1
2017-03-12 17:37:16 +01:00
heinrich5991
d91cca728d
Partially revert warning-fixing, it caused warnings on other systems
2017-03-12 16:47:37 +01:00
heinrich5991
94e8e26f8d
Merge pull request #664 from Learath2/dd_pr_friends2
...
Just color the heart preserving team information. Fixes #606
2017-03-12 15:18:04 +01:00
Ryozuki
84726547aa
Fix warning also for server.cpp, and fixed client.cpp
2017-03-12 14:49:18 +01:00
Ryozuki
79f5b26cf7
Moved _WIN32_WINNT to the top instead
2017-03-12 14:45:57 +01:00
Ryozuki
1614e59e8f
Fix some warnings
2017-03-12 12:12:39 +01:00
Learath2
9919173ceb
Just color the heart preserving team information. Fixes #606
2017-03-10 18:49:39 +01:00
Learath2
0b0783f13c
Fix styling issues, use uint for bitmask
2017-03-10 14:52:49 +01:00
Dennis Felsing
1d67e29c74
Merge pull request #663 from heinrich5991/pr_ddnet_fix_default_pws
...
Fix handling of default passwords
2017-03-10 12:45:01 +01:00
heinrich5991
87596c30ac
Fix handling of default passwords
...
It was horribly broken before. :) Only the first password set via
`sv_rcon*_password` worked, and that only due to a bug in `AddHashKey`
-- `AddHashKey` incorrectly assumed that only key slots greater than 0
are valid, but 0 is valid too.
Fix default passwords on password removal, fix no admin password being
generated if you only had `sv_rcon_mod_password` or
`sv_rcon_helper_password` set. Add an assert that would have caught our
mistake.
2017-03-10 12:33:34 +01:00
heinrich5991
f2b2eb8639
Allow easier login for passwords with spaces
2017-03-10 12:30:41 +01:00
Dennis Felsing
4e39aea2f7
Version 10.4.3
2017-03-09 14:23:40 +01:00
heinrich5991
72f2eb32ee
Fix wording in scripts/hash_passwords.py, fix brace in other file
2017-03-09 13:37:54 +01:00
Dennis Felsing
761c3c9be1
Merge pull request #646 from heinrich5991/pr_ddnet_brace_style
...
Fix the brace style in some places
2017-03-09 13:31:21 +01:00
heinrich5991
d98abf35db
Rename WEBSOCKETS
to CONF_WEBSOCKETS
2017-03-07 13:03:37 +01:00
heinrich5991
c201d7959c
Enable -Wdeclaration-after-statement for compat with MSVC
2017-03-07 13:02:37 +01:00
heinrich5991
5b63a33095
Merge pull request #639 from Learath2/dd_pr_rconauth2
...
New auth system for rcon.
2017-03-06 20:57:42 +01:00
heinrich5991
6302e4d7e0
Fix some style issues and a > to >=
2017-03-06 20:11:23 +01:00
heinrich5991
e08ca70b1f
Fix dummy input reset
2017-03-06 19:45:39 +01:00
Learath2
0d4499a027
Rename bind_print to dump_binds.
2017-03-06 18:06:55 +01:00
heinrich5991
c1e826e853
Fix key slot indices after removing a key
2017-03-06 18:02:19 +01:00
Learath2
759799953f
Remove dump_binds. Let bind_print dump all. Fixes #634
2017-03-06 15:32:11 +01:00
Learath2
8c79f28802
Fix a crash on malformed input
2017-03-06 15:18:52 +01:00
Learath2
b49c13e617
KeySlots are 0 indexed...
2017-03-06 14:14:45 +01:00
Learath2
a87edad978
Move to a cpp file
2017-03-06 14:04:09 +01:00
Learath2
cbb5891263
Introduce ugly workaround to allow empty usernames
2017-03-06 13:49:08 +01:00
Learath2
71fb030443
Fix a comparison. Hate backwards compatibility...
2017-03-06 13:46:02 +01:00
Learath2
4d0f036b4f
Forgot to negate the comparisons
2017-03-06 13:22:17 +01:00
Learath2
9800360340
Check the return from str_hex_decode. Remove comment
2017-03-06 12:59:47 +01:00
Learath2
3c6a21ace2
dbg_assert felt more appropriate
2017-03-06 12:58:49 +01:00
Learath2
c5a12e3eba
Fix the status command for logged out people
2017-03-06 12:35:37 +01:00
Learath2
6f1f348715
Fix c&p fail
2017-03-06 12:35:09 +01:00
Learath2
939a7f0d3f
This time actually add error checking to str_hex_decode
2017-03-06 12:33:29 +01:00
Learath2
9319a82c6e
Add /invite for locked teams. Fixes #647
2017-03-06 12:14:38 +01:00
Learath2
4101acd747
Add rcon_login
2017-03-06 10:31:05 +01:00
Learath2
5317be824e
Fix coloring of team chat. Fixes #648
2017-03-06 10:24:00 +01:00
def
de7587b8b5
Version 10.4.2
2017-03-05 20:19:46 +01:00
Learath2
95bb9894a7
Get rid of pw generation in CServer, Err out in CAuthManager instead
2017-03-04 23:16:02 +03:00
Learath2
3a22a4b62d
Fix some issues
2017-03-04 23:06:22 +03:00
Learath2
ed5824589c
Make str_hex_decode a little more friendly
2017-03-04 23:06:07 +03:00
heinrich5991
ba5af42b1f
Fix the brace style in some places
2017-03-04 15:43:49 +01:00
heinrich5991
a13cdc25b2
Merge pull request #632 from Learath2/dd_pr_friend
...
Put hearts before friends names. Closes #606
2017-03-04 15:37:24 +01:00
Learath2
cf9f3e3d38
Forgot one block
2017-03-04 10:58:02 +03:00
Learath2
d475eddb88
Add key ident to status command
2017-03-02 19:02:57 +03:00
Learath2
adfd6ca644
Enable the username prompt on client side
2017-03-02 18:16:50 +03:00
Learath2
b7cbaedea0
New auth system for rcon
2017-03-02 18:16:29 +03:00
necropotame
2c24fbce25
Fixed #636
2017-03-02 09:27:03 +01:00
Dennis Felsing
4c1053c6c4
Merge pull request #635 from heinrich5991/pr_dummy_input_demo_filter
...
Refactor dummy input and demo filtering
2017-03-01 07:59:24 +01:00
heinrich5991
b841fdc203
Bump version requirement for warmup race timer
2017-03-01 00:08:56 +01:00
heinrich5991
6517567e7e
Merge pull request #602 from necropotame/gametick
...
Send the race time using warmup timer
2017-03-01 00:05:22 +01:00
heinrich5991
305a67d492
Initialize variable in the demo recorder
2017-02-28 17:16:22 +01:00
heinrich5991
e3f2316106
Revert "Revert "Refactor dummy input and demo filtering""
...
This reverts commit 187560c8c0
.
2017-02-28 10:08:14 +01:00
Dennis Felsing
45c27e8b10
Version 10.4.1
2017-02-28 08:16:08 +01:00
Dennis Felsing
187560c8c0
Revert "Refactor dummy input and demo filtering"
...
This reverts commit 8375f4888e
.
2017-02-28 08:15:35 +01:00
necropotame
6a9406dc81
Fixed merge conflict
2017-02-28 07:31:39 +01:00
necropotame
b6548aa8cf
Fix wrong code convension, add enum for timer display type
2017-02-28 07:31:24 +01:00
necropotame
4cfe96801b
Send the race time using warmup timer
2017-02-28 07:31:24 +01:00
Learath2
7af41f6765
Actually use the color chosen
2017-02-28 01:23:10 +03:00
Learath2
fa22425f26
Add a checkbox to disable friend heart
2017-02-27 23:56:22 +03:00
Learath2
c783122301
Do not override the team color
2017-02-27 23:42:48 +03:00
Learath2
c76849c51a
Add sliders for friend chat color
2017-02-27 23:39:06 +03:00
Learath2
3b2d707f31
Add a second page to HUD page
2017-02-27 23:38:24 +03:00
Learath2
cd1f337bf5
Put hearts before friends names. Closes #606
2017-02-27 22:38:08 +03:00
Dennis Felsing
16f04d8989
Version 10.4
2017-02-27 16:33:10 +01:00
Dennis Felsing
eb36f421c5
Merge pull request #630 from heinrich5991/pr_ddnet_cmake_basic
...
Add overly simple CMakeLists.txt
2017-02-27 16:28:19 +01:00
heinrich5991
8375f4888e
Refactor dummy input and demo filtering
...
Remove references to src/game/ from src/engine/
2017-02-23 14:13:14 +01:00
Learath2
09552a6d9f
Get rid of trailing whitespaces
2017-02-21 19:11:43 +03:00
heinrich5991
1a103081b8
Merge pull request #623 from Ryozuki/pr_ctrl_backspace_fix
...
ctrl + backspace support on chat (Fixes ddnet#515)
2017-02-18 10:41:42 +01:00
Ryozuki
9af59fe8f3
tiny style changes
2017-02-18 09:02:29 +01:00
heinrich5991
0f50356e2d
Merge pull request #624 from Redix/pr_stats
...
Statboard fix
2017-02-18 02:36:33 +01:00
Redix
abcb074dcc
Fixed statboard
...
- FPM value
- reset when a player leaves
2017-02-15 16:43:45 +01:00
Ryozuki
141a256cb3
Delete useless brackets
2017-02-14 17:06:51 +01:00
Ryozuki
ec957fc00e
ctrl + backspace support on chat (Fixes ddnet#515)
2017-02-14 17:00:50 +01:00
Learath2
9cd5fa53e5
Fix horrible indent.
2017-02-09 13:01:19 +01:00
heinrich5991
67062d8d84
Merge pull request #613 from marcelherd/feature/printbind
...
New command bind_print
2017-02-02 14:32:03 +01:00
east
0acad1a28b
dnsbl fix: HostLookup check result properly
2017-02-01 12:13:50 +01:00
Marcel Herd
7737129ed6
Fixed code style
2017-01-28 18:34:24 +01:00
Marcel Herd
b09bcb90a3
Added check for unbound key
2017-01-28 17:02:39 +01:00
Marcel Herd
1f58595033
Added command bind_print
2017-01-28 16:29:03 +01:00
def
1f636fe875
Fix team for echo
2017-01-06 00:30:21 +01:00
def
224b9d5443
echo command for clients prints to chat instead of mostly useless console
2017-01-06 00:17:53 +01:00
Dennis Felsing
fd7561f869
Merge pull request #604 from necropotame/clipfix
...
Skip clipped groups that are outside the screen
2017-01-05 18:11:40 +01:00
necropotame
b9e7728e2e
Skip clipped groups that are outside the screen
2017-01-05 10:24:52 +01:00
heinrich5991
b42a59f290
Fix a crash with semicolon handling and timeout codes
...
Timeout codes lead to deallocation of the player structure, the
semicolon code tried to access it, resulting in a segmentation fault.
2017-01-04 18:14:08 +01:00
heinrich5991
80ea4c8590
Disallow usage of semicolons in chat commands
...
This prevents player name exploits due to tab completion of nicknames
that could result in unwanted commands being executed.
Print a deprecation message that is supposed to be removed in the
future.
2017-01-03 14:01:51 +01:00
heinrich5991
e94c0260d7
Implement /rules in a less copy-and-pasty way
2017-01-03 13:57:22 +01:00
Dennis Felsing
57c04cf988
Version 10.3.5
2016-12-16 15:56:22 +01:00
Dennis Felsing
7296dd2b53
Merge pull request #590 from Redix/pr_finish_buffer
...
Fix buffer overflow in race recorder and ghost
2016-12-16 15:54:02 +01:00
BannZay
c6e7ad5e45
map details button name fix
2016-11-27 20:55:05 +02:00
def
49127a251a
Initialize int to fix compiler warning
2016-11-19 01:42:20 +01:00
Kevin Mersch
22753c2026
fix laser rendering on high gameticks
2016-11-18 21:28:14 +01:00