fokkonaut
fe4426b008
fixed ddrace score (time score)
2019-01-14 08:01:20 +01:00
fokkonaut
0e842359ad
Add DDRace Score NETMSG
2019-01-14 08:01:20 +01:00
def
15fb7891cb
Fix FileCollection to remove the oldest file ( fixes #605 )
...
Previously it removed one entry from m_aTimestamps before having filled
it entirely, so there was a small chance that it was not the smallest
one. Only after we have filled more entries than we want to keep can we
know which ones can be deleted for sure.
2019-01-11 11:39:05 +01:00
def
6e9aa68149
Fix timestamp extraction with wildcards ( fixes #605 )
...
in CFileCollection. Previously it included the _ character.
2019-01-11 11:37:43 +01:00
def
f9d9fee314
Demo browser: Show markers ( fixes #329 )
...
- Fetch Headers button
- Display Markers & Length columns
- Display footer info
- Don't rescan directory when not required
- Clean up code a bit
2019-01-09 08:25:03 +01:00
def
8b782285ab
Fix return type of CStorage::RemoveFile
2019-01-07 14:35:11 +01:00
def
a116ed3dbe
Revert "New try at not decompressing unknown packets"
...
Causes connection problems with old clients
This reverts commit a3b07dbf9c
.
2018-12-30 12:22:05 +01:00
def
87fa394daa
Add Christmas skin event for client
2018-12-23 22:58:30 +01:00
def
4b92e72763
Prevent copies
2018-12-17 22:15:41 +01:00
def
6846a6ecad
Fixes and stress improvements
2018-12-17 20:05:50 +01:00
Dennis Felsing
e9ee74a941
Merge pull request #1402 from ddnet/remove-modhelp
...
Remove /modhelp (fixes #1401 )
2018-12-17 14:42:07 +01:00
Dennis Felsing
9febf58f37
New try at recvmmsg with some improvements
2018-12-16 22:59:41 +01:00
def
a3b07dbf9c
New try at not decompressing unknown packets
2018-12-16 22:15:45 +01:00
def
d884465710
Revert "Don't decompress packets from unknown IPs"
...
This reverts commit 9089c2b35a
.
2018-12-14 17:12:49 +01:00
Dennis Felsing
0b256ff653
Allow connecting clients to compress
...
TODO: Look for better solution
2018-12-14 11:17:15 +01:00
Dennis Felsing
9089c2b35a
Don't decompress packets from unknown IPs
2018-12-13 16:24:37 +01:00
Dennis Felsing
5c18d6c481
Remove /modhelp ( fixes #1401 )
2018-12-12 10:05:44 +01:00
def
5b436adff8
blockZ & infectionZ are 64player but not DDNet
...
even though their name contains DDNet
fixes #1364
2018-10-29 21:33:35 +01:00
bors[bot]
1b0b36c6eb
Merge #1316 #1341 #1349
...
1316: code improvement on gameclient.cpp r=def- a=Ryozuki
1341: Mark unused envelopes r=def- a=Learath2
Thought I'd do this one as well while looking at the editor code.
1349: Don't ignore CONNECT packets with data that we don't know r=def- a=heinrich5991
This specifically affects 0.6.5. Just treat them the same way as those
without any data.
Co-authored-by: Ryozuki <edgar@ryobyte.com>
Co-authored-by: Learath <learath2@gmail.com>
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2018-10-29 14:31:27 +00:00
heinrich5991
c7750f3616
Don't ignore CONNECT packets with data that we don't know
...
This specifically affects 0.6.5. Just treat them the same way as those
without any data.
2018-10-14 08:18:32 +02:00
Dennis Felsing
e02a9956a5
Remove unused cl_eventthread
2018-10-12 14:42:40 +02:00
bors[bot]
61559f2ff0
Merge #1329
...
1329: Add support for extra map items in datafiles r=Learath2 a=heinrich5991
This works by utilizing the good old UUIDs – this way we can make sure
that we don't clash with other people extending the map format.
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2018-10-09 09:30:23 +00:00
heinrich5991
4660e0a680
Add support for extra map items in datafiles
...
This works by utilizing the good old UUIDs – this way we can make sure
that we don't clash with other people extending the map format.
2018-10-08 23:05:56 +02:00
Learath
5b95eddca1
DRY with net_addr_comp_noport
2018-10-08 21:04:04 +03:00
Dennis Felsing
dbaf779bda
Merge pull request #1335 from heinrich5991/pr_ddnet_serverjobs
...
Use two threads for the server thread pool
2018-10-07 17:29:22 +02:00
heinrich5991
a36250ba34
Use two threads for the server thread pool
...
This might help with long DNS timeouts.
2018-10-07 12:47:32 +02:00
Learath
189a2939b0
Try closing the file earlier. Fix #1250
2018-10-04 16:10:27 +02:00
fokkonaut
cf727576eb
spaces again?
2018-09-28 18:29:14 +02:00
fokkonaut
ea64d57be1
spaces
2018-09-28 18:28:45 +02:00
fokkonaut
3240f6fbc5
fix bw support
2018-09-28 18:27:51 +02:00
def
2198f6c997
Limit demo speed to 64 (thanks to fokkonaut for report)
2018-09-24 18:07:14 +02:00
def
48d1757793
Fix bw support
2018-08-26 21:21:27 +02:00
Dennis Felsing
39b36b2c3b
Check file system operations and log them
2018-08-23 09:58:35 +02:00
Dennis Felsing
20ea1651cb
Don't save non-client configs
2018-08-23 09:57:48 +02:00
Dennis Felsing
e2eb4a66dc
Add Filter for connecting players ( fixes #1263 )
2018-08-21 09:03:48 +02:00
Dennis Felsing
0b539df741
bw
2018-08-09 13:05:36 +02:00
Dennis Felsing
dda2b06672
Merge pull request #1235 from fokkonaut/master
...
block worlds zoom + eye wheel
2018-08-09 13:04:07 +02:00
def
18529fa082
Revert "Implement recvmmsg"
...
This reverts commit de5fe64be5
.
2018-07-29 23:07:59 +02:00
fokkonaut
2dafafd75b
oops, tab instead of spaces
2018-07-27 23:32:10 +02:00
fokkonaut
cd5d69bfc5
added bw to isddnet
2018-07-27 23:28:02 +02:00
fokkonaut
b8730b3653
block worlds zoom + eye wheel
2018-07-26 21:34:24 +02:00
heinrich5991
e8c7dca035
Fix storage.cfg reading broken by the str_startswith
change
2018-07-26 15:46:54 +02:00
heinrich5991
5c4e819e44
Use str_startswith
, str_endswith
instead of ad-hoc implementations
2018-07-26 14:18:23 +02:00
Dennis Felsing
de5fe64be5
Implement recvmmsg
2018-07-25 16:06:00 +02:00
heinrich5991
8d04e7e5e1
Share libcurl resources across requests
...
Use the libcurl-share interface to share DNS cache and connections
between different requests.
If compiled with OpenSSL, libcurl can only be safely used from multiple
threads for OpenSSL >= 1.1.0, but this problem is not newly introduced
by this commit: According to libcurl-thread(3):
>OpenSSL <= 1.0.2 the user must set callbacks.
>
>https://www.openssl.org/docs/man1.0.2/crypto/threads.html#DESCRIPTION
>
>https://curl.haxx.se/libcurl/c/opensslthreadlock.html
2018-07-11 20:17:21 +02:00
yangfl
81a39c229b
Fix typo
2018-07-10 17:29:02 +08:00
heinrich5991
925aff21d4
Fix all the header guards and adjust the script a little
2018-07-06 16:11:38 +02:00
heinrich5991
ca8fcc823c
Use more secure hash function for map downloads
...
SHA256 was chosen because it is reasonably standard, the file names
don't explode in length (this rules out SHA512) and it is supported by
basically all versions of OpenSSL (this rules out SHA512/256 and SHA3).
The protocol is changed in a backward compatible way: The supporting
server sends the SHA256 corresponding to the map in the `MAP_DETAILS`
message prior to sending the `MAP_CHANGE` message. The client saves the
SHA256 obtained from the `MAP_DETAILS` message until the next
`MAP_CHANGE` message.
For servers not supporting this protocol, the client falls back to
simply opening maps like in the previous scheme.
Remove the `map_version` tool, it is not being used and would have been
a little bit effort to update.
Use the OpenSSL implementation of SHA256 if it is supported, otherwise
fall back to a public domain one.
Fix #1127 .
2018-06-24 17:04:50 +02:00
bors[bot]
ebb9481857
Merge #1157 #1160
...
1157: Add a way to call for external moderator help r=Learath2 a=heinrich5991
This is done by HTTP POSTing to a location specified by
`sv_modhelp_url`. We also provide a `src/modhelp/server.py` which can
use theses POSTs to forward them to Discord servers.
The POST contains a JSON object payload, with the keys `"port"` which
contains the server port, `"player_id"` which contains the calling
player's client ID, `"player_name"` which contains the calling player's
nick and `"message"` which is the user-specified message.
Make JSON-escaping function public, add tests and fix bugs uncovered by
these tests.
Supersedes #1129 .
1160: Fix warning about incompatible function pointers r=Learath2 a=heinrich5991
This comes at the cost of one allocation per started thread. This should
be okay because we're about to invoke a syscall anyway.
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2018-06-24 14:12:48 +00:00
heinrich5991
36694d3852
Add a way to call for external moderator help
...
This is done by HTTP POSTing to a location specified by
`sv_modhelp_url`. We also provide a `src/modhelp/server.py` which can
use theses POSTs to forward them to Discord servers.
The POST contains a JSON object payload, with the keys `"port"` which
contains the server port, `"player_id"` which contains the calling
player's client ID, `"player_name"` which contains the calling player's
nick and `"message"` which is the user-specified message.
Make JSON-escaping function public, add tests and fix bugs uncovered by
these tests.
Supersedes #1129 .
2018-06-19 23:27:35 +02:00
heinrich5991
c739aef60e
Some style fixes
2018-06-19 14:28:53 +02:00
ZombieToad
e05bd9c6c8
remove unused thingy
2018-06-14 20:44:14 +01:00
Dennis Felsing
ae3d91cf17
Set cl_refresh_rate to 0 by default to get higher fps and faster input processing
2018-05-28 08:03:31 +02:00
bors[bot]
eca23e45b7
Merge #1128
...
1128: Remove superfluous parameter from `CServer::NewClientNoAuthCallback` r=Learath2 a=heinrich5991
The `Reset` parameter was only ever set to true, at the only call site.
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2018-05-12 15:47:29 +00:00
def
a7b778977a
Add sv_sql_validservernames ( fixes #1123 )
2018-05-11 21:57:47 +02:00
heinrich5991
9454dfbff9
Remove superfluous parameter from CServer::NewClientNoAuthCallback
...
The `Reset` parameter was only ever set to true, at the only call site.
2018-05-09 23:50:25 +02:00
ChillerDragon
589749c2cf
Allows low mousesens
...
Lower minimum mousesens value to avoid confusion. Responing to GG Kid's request:
https://forum.ddnet.tw/viewtopic.php?f=45&t=5807&p=58207&hilit=mousesens#p58207
2018-04-27 01:40:59 +02:00
Dennis Felsing
96ecbfcfa8
Add cl_show_hook_coll_always
2018-04-25 12:03:27 +02:00
heinrich5991
f8277267a0
Remove mem_alloc
and mem_free
, use standard C functions instead
...
Replace `mem_free` by `free`, and `mem_alloc` by `malloc` or `calloc`
(the latter one being used to allocate a zeroed array of elements,
sometimes, this makes a call to `mem_zero` superfluous).
This results in having to remove `mem_stats` which previously recorded
the number of allocations and their size that the Teeworlds code did
directly.
Remove OOM handling in `src/game/client/components/binds.cpp`.
Remove needless copying in the CSV code in
`src/game/client/components/statboard.cpp`.
2018-04-09 11:56:39 +02:00
def
c95e1a61c6
More conservative config saving
2018-04-05 17:24:49 +02:00
Dennis Felsing
fc355797a5
Merge pull request #1101 from Jupeyy/pr_mem_fix
...
Make mem_alloc, mem_free thread safe (fixes #1087 )
2018-04-05 09:10:55 +02:00
yangfl
46b7e4198b
Allow specifying DATA_DIR by compiler option, retry #1042
2018-04-05 11:11:31 +08:00
Jupeyy
1208bcc562
Make mem_alloc, mem_free thread safe ( fixes #1087 )
2018-04-05 04:17:21 +02:00
def
a9a71094dd
Revert "Allow specifying DATA_DIR by compiler option"
...
This reverts commit 3c488ff5c7
.
2018-04-03 19:18:27 +02:00
bors[bot]
cc6449bcd6
Merge #1055
...
1055: Keep track of lost frames and update time r=heinrich5991 a=Jupeyy
The problem a friend was occuring was, that on a fresh Windows install settings like cl_refresh_rate are set to 480.
Since the render calls take longer time than no render calls, it happened that client was sleeping on one update cycle and then took to long in another, where it called the render functions, leeding to less FPS than the cl_refresh_rate. this caused mouse lags and rarely frame drops.
another thing is, that select on Windows is non microsecond accurate, or just often returns too early, which caused that the refresh rate is much too high, or even ignored, (probably windows can only sleep on milliseconds, or again, is extremly inaccurate).
Another things on windows is that time_freq might be a "very odd" number ^^
i mean like on unix it's one microsecond (1,000,000 = 1s), but on windows the time_freq depends on the CPU leading to inaccurate calculation of the sleep time and render time.
This wasn't insanly huge issue, but probably skipped a few microseconds here and there.
This fix should stabilize the frames. I'd like to hear your opinion on this tho.
2018-03-13 19:41:38 +00:00
Jupeyy
ced0ea3f82
set the gfx refresh rate limit higher for the console
2018-03-02 03:29:02 +01:00
yangfl
3c488ff5c7
Allow specifying DATA_DIR by compiler option
2018-02-22 00:12:52 +08:00
def
e9bc42a63c
Update websockets implementation ( fixes #1022 )
...
seems to work with libwebsockets 2.4
2018-02-14 12:30:14 +01:00
def
5587e6dc96
Remove unused inp_grab
2018-02-11 16:40:08 +01:00
yangfl
1620fc9b0f
Fix typo
2018-02-07 16:10:40 +08:00
heinrich5991
1c3dc8c316
Record rcon authentication stuff into teehistorian
...
This allows to check moderator actions after-the-fact.
2018-01-28 03:13:05 +01:00
bors[bot]
f48a2a395b
Merge #947
...
947: Add support for extra chunks in teehistorian r=Learath2 a=heinrich5991
This allows to add rarely-used chunks without increasing the file format
version.
2018-01-27 21:09:43 +00:00
def
dd7281ef86
Limit m_NumTimelineMarkers (reported by GG Kid)
2018-01-23 16:04:24 +01:00
def
48980efa2e
Disable OpenGL 3 by default
2018-01-14 07:33:00 +01:00
heinrich5991
22080c840f
Move teehistorian UUIDs into engine
2018-01-11 16:01:13 +01:00
heinrich5991
6c378b972b
Add support for extra chunks in teehistorian
...
This allows to add rarely-used chunks without increasing the file format
version.
2018-01-11 15:59:53 +01:00
Learath2
8353701789
Add sv_rcon_vote. Fix punctuation.
...
Add option to only allow authed clients to call votes.
2017-12-27 10:40:51 +03:00
heinrich5991
1a236dbefc
Send connection information to external server
2017-12-20 16:56:34 +01:00
bors[bot]
bad105c5e4
Merge #953
...
953: Overhauled job system r=Learath2 a=heinrich5991
The engine now takes `std::shared_ptr<IJob>`, this will ensure the
appropriate lifetime of the given parameters, it also allows for proper
destruction. Remove the now obsolete `IFetcher` interface and `CFetcher`
class.
Also adds some locks to `CUpdater`, previously it didn't have any locks
at all.
2017-11-27 23:34:54 +00:00
heinrich5991
fd36b8c8c8
Remove unused header file src/engine/shared/storage.h
2017-11-27 00:58:30 +01:00
heinrich5991
c10db436b4
Change some config variable defaults to official server values
2017-11-24 11:59:45 +01:00
heinrich5991
3f43624d21
Add a couple of tests for CJobPool
2017-11-24 10:33:42 +01:00
heinrich5991
01d81fc4cc
Make m_Shutdown
variable atomic instead of volatile
2017-11-24 09:23:23 +01:00
heinrich5991
a3cdfac84e
Fix lookup job being zeroed in CMasterServer::Load
2017-11-24 02:13:34 +01:00
heinrich5991
94acac91a0
Overhauled job system
...
The engine now takes `std::shared_ptr<IJob>`, this will ensure the
appropriate lifetime of the given parameters, it also allows for proper
destruction. Remove the now obsolete `IFetcher` interface and `CFetcher`
class.
Also adds some locks to `CUpdater`, previously it didn't have any locks
at all.
2017-11-23 15:47:38 +01:00
bors[bot]
fdb2e330ce
Merge #904
...
904: Fix use-after-free r=heinrich5991 a=Learath2
Not sure if this is the best way to go about this, but it works :/
2017-11-08 17:30:34 +00:00
bors[bot]
5528cde5f6
Merge #869
...
869: Complete rework of the ghost and race recorder r=Learath2 a=Redix
This PR fixes a lot of issues with the ghost and race recorder, introduces a new ghost file format and implements some pretty useful features.
**A quick overview:**
- When you cross the start line multiple times, both (ghost and recorder) will only restart if it is a non-solo server
- If available, both will use the race timer to recognize the start instead of searching for the start line
- Fastcap support for both
- The recorder immediately starts when the Tee spawns, so the preparation steps (which are quite important for speedruns) will be included in the demo. If you do not cross the start-line within 20 seconds, it will stop the demo until you really start.
- Better ghost menu (colors, reloading, deleting and saving ghosts)
- The ghosts are more resistant against lags (old ones were sometimes completely useless due to small lags)
- New ghosts files are significantly smaller
- Cleanup, bugfixes..
**About the new ghost format (version 4/5):**
This format is used by Teerace for over a year now. The code for handling the binary files was moved to the engine. It includes an auto updater which creates a backup of all ghosts and converts them to the new format afterwards. The major differences from the format used by DDNet right now (version 2), are the ability to store multiple types of data, the usage of delta-encoding and a more portable header.
For whatever reason, the ghost stores values for every predicted tick, but without tick information, so lost snapshots can make them unusable. The new code uses the original values from the snapshots including ticks but it can also handle the old ones without. Since hardly any server uses the high bandwidth option this practically reduces the file size.
Like the demo recorder the ghost recorder directly stores the data to a file (every 50 snapshots) instead of writing the whole file at the end of the race. Indeed this can be changed with only a few lines if the old behavior is preferred.
The updater can handle version 2 (DDNet) and 3 (old teerace format, only slightly different from version 2) files. The updating already happens when the files are scanned for generating the list in the menu and not only when you activate them. The change from version 4 to 5 was only needed due to a bug in the implementation, the ghost loader can read both.
Some numbers about the file size: (map: hotrun, both about 30 seconds)
- Old ghost: 30.4 kB (converted: 10.7 kB)
- New ghost: 5.4 kB
**One thing about the race recorder:**
The old implementation compared the new file only with the first file it found for the particular map. The new one compares with all related demos and deletes them possibly, so that only the best demo is left. Since DDNet can also store the demos without name, this might also delete demos from other players, that you might have in your directory.
To prevent this I at least check whether the demo contains the player name if `cl_demo_name` is on.
In my opinion the better solution would be to remove `cl_demo_name` and always use the player name.
2017-10-30 20:27:10 +00:00
Redix
de1c0cf24d
Fixed several issues with the ghost (thanks to Learath2)
2017-10-28 14:23:24 +02:00
def
cb00a294b8
Enable gfx_opengl3 by default
2017-10-20 22:52:38 +02:00
def
342c6048bf
Use new opengl by default
2017-10-20 22:47:59 +02:00
Learath2
b8b4f7771d
Rename the callback
2017-10-19 18:13:28 +02:00
Dennis Felsing
d6999bb726
Merge "Pull Request using OpenGL 3.3"
2017-10-18 12:49:27 +02:00
Learath
96acddb57f
Fix the other use after free
2017-10-17 15:39:20 +02:00
heinrich5991
dfc53b48cf
Fix victim handling
2017-10-17 01:32:40 +02:00
Jupeyy
1814fa8d19
make OpenGL 3.3 experimental option, and don't initialize it as default
2017-10-10 15:35:20 +02:00
heinrich5991
2fc018aac3
Add asynchronous file output, port dbg_msg()
s to that system
...
Also add tests.
2017-10-10 04:11:14 +02:00
Redix
2586c001b7
Use demos/auto/race for the race recorder
2017-09-28 19:14:36 +02:00
Redix
5721612761
Clean up trailing whitespaces
2017-09-28 16:02:01 +02:00
Redix
216e5654e8
Added config variables for server controlled ghost and race recording
2017-09-28 16:02:00 +02:00
Redix
1c377ed00f
Added Fastcap support for ghost and race demo
2017-09-28 16:01:57 +02:00
Redix
b1e7138847
Added ghost file handling classes
2017-09-28 16:01:56 +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
heinrich5991
a201352b29
Fix a grammar mistake in bot client message
2017-09-24 21:11:23 +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
Redix
43f246f174
Made int packing functions safe
2017-09-17 02:36:50 +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
629bf2c5f9
Merge branch 'master' of https://github.com/ddnet/ddnet
2017-09-12 20:24:58 +02:00
Jupeyy
96694fb399
make new opengl version optionally
2017-09-12 20:12:37 +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
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
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
def
705349f2e5
Clean up and fix semaphores and threading
2017-08-31 19:18:07 +02:00
Dennis Felsing
eb2634ab0a
Merge pull request #852 from heinrich5991/pr_ddnet_fix_extractname
...
Add testing; fix, rename and test the `CEditor::ExtractName` function
2017-08-30 22:09:17 +02:00
def
16f3ddc5a7
Show if user has rank on map in browser (+filter)
...
UI implementation by timakro
2017-08-30 21:34:04 +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
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
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
HMH
19a8e7add6
removed some spaces
2017-07-28 20:44:03 +02:00
HMH
6655b35bdd
minior style issues
2017-07-28 14:49:09 +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
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
60d7388d9f
Fix demo slicing
2017-07-22 22:03:05 +02:00
def
0b5942fc04
Add special handling for infClass class selection ( fixes #794 )
2017-07-21 21:43:56 +02:00
HMH
bfc5700314
Yes the Kernel and Interfaces need to be deleted too...
2017-07-21 19:46:31 +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
a736a27430
No need for writing to tmp config file anymore
2017-07-16 06:54:02 +02:00
def
f2444b0de7
Add map_diff tool to compare tile layers of map versions
2017-07-12 20:15:00 +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
35dcb4d6cf
Don't open map file again if we have it open already
2017-07-08 22:09:03 +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
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
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
Learath2
ca4da73b75
Update the range of sv_default_timer_type. Fixes #760
2017-06-08 14:35:48 +03:00
def
e4b3c17829
Add option to disable long pain sound (used when shooting in freeze)
2017-06-06 18:58:23 +02:00
eeeee
2797227063
also remove references to CGameContext from CServer
2017-06-05 22:31:56 -07: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
d6e5df0023
oops
2017-06-02 21:58:16 +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
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
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
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
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
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
ea0e4948b4
CSV file instead of statboard screenshot
...
En-/Disable statboard being saved as csv
2017-04-26 05:10:31 +02:00
def
4b376d239c
rename
2017-04-24 17:36:13 +02:00
Learath2
c1a4a95d61
Add ratelimiting and config options for invite
2017-04-24 14:04:50 +02:00
def
d4ed1310d2
Configurable rate limit for SQL queries
2017-04-13 09:33:26 +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
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
necropotame
b8e4e5beea
Fix style in several places
2017-03-22 19:45:14 +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
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
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
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
4cfe96801b
Send the race time using warmup timer
2017-02-28 07:31:24 +01:00
Learath2
fa22425f26
Add a checkbox to disable friend heart
2017-02-27 23:56:22 +03:00
Learath2
c76849c51a
Add sliders for friend chat color
2017-02-27 23:39:06 +03: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
9cd5fa53e5
Fix horrible indent.
2017-02-09 13:01:19 +01:00
def
224b9d5443
echo command for clients prints to chat instead of mostly useless console
2017-01-06 00:17:53 +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
Dennis Felsing
c92e10914a
Refactor demo speed setting, add 1.5x speed ( fixes #568 )
2016-10-28 09:31:22 +02:00
east
823e330a76
Merge pull request #554 from heinrich5991/pr_ddnet_random_timeouttoken
...
Generate server-specific timeout codes
2016-10-05 12:21:51 +02:00
ChillerDragon
944752b78a
Fixed typo.
2016-10-04 20:08:39 +02:00
heinrich5991
7ca2697135
Generate server-specific timeout codes
...
This way, servers can no longer hijack the timeout codes of clients.
Timeout codes are generated from md5(seed + dummy + server address).
If `cl_timeout_seed` is set to the empty string, the old config options
are used instead.
2016-10-02 11:36:42 +02:00
east
c9a50916b3
sv_dnsbl_vote option added
2016-09-05 11:53:26 +02:00
east
678a69bf5b
basic DNSBL implementation
2016-09-05 11:38:11 +02:00
Dennis Felsing
1990707d68
Merge pull request #527 from heinrich5991/pr_no_compressed_control
...
Disallow compressed control messages
2016-08-13 00:39:42 +02:00
heinrich5991
884ad25204
Disallow compressed control messages
2016-08-12 18:41:03 +02:00
def
28f50e4440
Revert "Implement comma in search and exclude queries to separate search terms"
...
This reverts commit 3341e18d13
.
2016-08-07 00:52:00 +02:00
def
3341e18d13
Implement comma in search and exclude queries to separate search terms
2016-08-02 22:16:02 +02:00
Dennis Felsing
8b10d15845
Merge pull request #509 from timakro/pr_no_disconnect_timeout
...
Don't send disconnect on timeout
2016-07-08 17:25:43 +02:00
Tim Schumacher
46b75886c9
Don't send disconnect on timeout
2016-07-08 17:00:47 +02:00
Dennis Felsing
45bf601570
Merge pull request #495 from heinrich5991/pr_ddnet_smaller_dummy_map
...
Reduce dummy map size from 549 bytes to 191 bytes
2016-07-03 23:26:42 +02:00
heinrich5991
0244640aca
Also don't send the token magic to unsupported clients
...
Since only the client can initiate the secure session, there's basically
no reason to send this magic to clients which didn't advertise the
feature.
2016-06-08 09:57:17 +02:00
Dennis Felsing
3dd2f23d45
Merge pull request #499 from heinrich5991/pr_ddnet_no_tokens_for_vanilla
...
Don't send token to harmless vanilla clients
2016-06-07 16:22:29 +02:00
heinrich5991
a2e64f0a16
Don't send token to harmless vanilla clients
2016-06-07 15:52:57 +02:00
H-M-H
ada3b9a5db
Merge pull request #378 from H-M-H/sqlmasters
...
separate sqlwrite and sqlread server
2016-05-28 23:00:16 +02:00
heinrich5991
4d6657e3f1
Fix CRC of dummy map
2016-05-26 11:06:56 +02:00
heinrich5991
b075f1ff1b
Use a dummy map with background
2016-05-25 23:47:34 +02:00
heinrich5991
702ed7e023
Reduce dummy map size from 549 bytes to 191 bytes
...
Also include a tool to generate said map; the map is generated without
any hacks. It could likely be made smaller using a few tricks.
2016-05-24 01:47:04 +02:00
heinrich5991
e353aa80b2
Don't send uninitialized memory over the network
2016-05-23 11:48:23 +02:00
H-M-H
b648b530d5
Merge branch 'master' into sqlmasters
2016-05-20 23:40:29 +02:00
def
1645310750
Keep reading packets after invalid control packet
2016-05-17 23:44:57 +02:00
def
695bf346ac
Make gfx_refresh_rate functional ( fixes #255 )
2016-05-10 17:43:27 +02:00
def
f3a4069867
Set gfx_highdpi to 0 as default (needs someone to fix it on Win >= 8.1 and Mac)
2016-05-08 19:40:53 +02:00
Dennis Felsing
6c771f6bff
Merge pull request #475 from east/timeoutprotfix
...
Copy resendbuffer on timeout protection
2016-05-07 23:41:54 +02:00
east
1cbaa0c4ef
copy resendbuffer on timeout protection
2016-05-07 19:28:16 +02:00
def
9bd30ce447
Make high-dpi screen support optional
2016-05-07 17:47:05 +02:00
def
c325b08087
Add inp_mouseold for warped mouse input
2016-05-07 15:59:13 +02:00
def
939f2136c0
Nicer way of handling Mac fifo rewinding (just don't use high level file streams)
2016-05-05 23:32:55 +02:00
H-M-H
319729e207
ifdef for rewind as it is only required of OS X
2016-05-05 21:15:15 +02:00
H-M-H
491d878a64
always read fifo from start
2016-05-05 20:29:31 +02:00
def
14f1670fda
Fix fifo console to remove newline character at end
2016-05-05 18:48:15 +02:00
H-M-H
e351080dd3
removed double semicolons
2016-05-04 00:24:54 +02:00
H-M-H
c9e65c7931
Merge branch 'master' into sqlmasters
2016-05-03 23:07:24 +02:00
Henningstone
be010ff370
Fixed crashbug in fifo.cpp
2016-05-03 19:17:44 +02:00
def
a954241169
style
2016-05-02 23:37:40 +02:00
def
21ac41bfae
Clean up fifo console
2016-05-02 23:36:21 +02:00
def
61e47422f6
Clean up debug messages a bit (lower case, no useless errors)
2016-05-02 21:35:32 +02:00
def
a9ed7035ee
Add inp_ignored_modifiers to ignore set of keyboard modifiers
2016-05-01 23:07:19 +02:00
def
644a23ba57
Fix folder creation
2016-05-01 14:45:47 +02:00
def
13143eac23
Reconnect for timeout instead of bans, some simplification
2016-05-01 11:12:07 +02:00
def
cc002d244d
Fix gfx_resizable to be on by default with X11
2016-05-01 03:28:41 +02:00
Dennis Felsing
f016a0eb1f
Merge pull request #436 from timakro/pr_other_gametype_entities_clear
...
added entities clear for other gametypes
2016-04-30 20:28:27 +02:00
def
1446adee2c
Window resizing only with X11 (not on Windows and Mac OS X)
2016-04-30 19:19:19 +02:00
def
644fec7e55
Resize window without restarting client
2016-04-30 17:59:58 +02:00
def
db8a126315
Merge swick's SDL2 branch
2016-04-29 21:55:48 +02:00
Tim Schumacher
4a22e762ff
added entities clear for other gametypes
2016-04-29 19:29:19 +02:00
def
86a0f46937
Add a connection limit ( fixes #408 )
2016-04-27 22:09:18 +02:00
def
0f5611c2f0
Add function to filter chat out of demo when slicing ( fixes #382 )
2016-04-27 17:05:30 +02:00
east
a5de7596fa
comments added
2016-04-23 17:44:42 +02:00
east
32ba1c9239
Antispoof dm1 fallback on flood added
2016-04-23 17:23:01 +02:00
H-M-H
e35de5a371
whether to setup a db can be configured for each server now
2016-02-20 15:33:35 +01:00
H-M-H
88ed7391da
handle exceptions from sql properly
...
- write failed sqlinserts to a file
- improved structure
2016-02-20 15:33:35 +01:00
H-M-H
1314085928
restructured sqlconnection
...
reading from and writing to several different servers is now possible
TODO:
-handle Exceptions properly (try another sqlserver)
-if everything fails while writing write the insert to a file
2016-02-20 15:33:35 +01:00
H-M-H
15f2e07c48
moved sqlserver stuff into CServer-class
...
as sqlconnections should not last only
until next mapreload
2016-02-20 15:33:35 +01:00
H-M-H
6ba10d2719
mastersqlservers are working now
...
TODO: move the sqlserver objects somewhere else
so they wont be destroyed on every reload
2016-02-20 15:33:35 +01:00
H-M-H
9ed66f7adc
Cleanup of Sqlconnection
...
-moved all connectionstuff to a new class
-moved sqlstring functions to an own file
-do not give threads access to CSqlScore
2016-02-20 15:33:35 +01:00
Tim Schumacher
9e6e062793
added cl_skin_filter_string for skin quick search
2016-02-14 19:51:49 +01:00
def
0a49428e21
Veto considers time on server not in current race
2016-01-27 02:14:46 +01:00
def
56ca49f1de
More conservative default for sv_server_info_per_second
2016-01-23 15:14:22 +01:00
heinrich5991
96f0eddbb8
Add sv_max_server_info_per_second
...
This controls how many complete server info responses are sent per
second.
2016-01-22 16:42:54 +01:00
Väinö Mäkelä
f1038b0092
Obey the Teeworlds code formatting rules.
2016-01-18 18:20:47 +02:00
Väinö Mäkelä
cb84cf2216
Improve the handling of invalid skins.
...
CDataFileReader::Open(): Check the return status of io_read()
before reading the buffer, to avoid reading uninitialized data
in case the file was shorter than a full header.
CSkins::SkinScan(): Check that the image is high enough.
2016-01-17 10:48:21 +02:00
H-M-H
e41b4f463d
Merge pull request #389 from H-M-H/command_usage
...
added (console-)command usage fixes #387
2016-01-03 20:59:32 +01:00
def
c78ade00c1
Fix bug where timed out people can connect more than sv_max_clients_per_ip times
2016-01-03 01:42:28 +01:00
H-M-H
cc2bbd62ca
if there is no matching ']' do not attempt to read
...
beyond the given string
2015-12-29 00:45:51 +01:00
H-M-H
8e24ef8020
commanddescription can now be placed directly in
...
the commandparamsstring: "s[file]"
2015-12-28 16:19:52 +01:00
H-M-H
11a426c18b
added (console-)command usage
2015-12-23 14:29:31 +01:00
H-M-H
c38cba9bd0
Merge pull request #373 from H-M-H/eyewheel
...
Eyewheel (by Chairn and CytraL)
2015-12-01 14:02:22 +01:00
H-M-H
b3b38dd0d3
minior cleanup of eyewheel
2015-11-16 21:15:37 +01:00
timgame
2874e18ce0
dont restore empty config values at start
2015-11-16 20:31:56 +01:00
H-M-H
8d9dd65f0b
Merge branch 'master' into pr/317
2015-11-15 00:05:04 +01:00
Tim Schumacher
d99660f20e
Merge pull request #356 from H-M-H/helper_pw
...
Implemented Helper accesslevel
2015-10-27 02:18:00 +01:00
H-M-H
cd6c297cb0
removed some code duplication and updated autoexec_server.cfg
2015-10-27 00:46:28 +01:00
H-M-H
1b8a201a48
increased max sv_rules_line<x> length
2015-10-24 18:41:30 +02:00
H-M-H
0e532adb67
Implemented Helper accesslevel
...
basically just copied everything from moderator-accesslevel implementation
note however that mod_command changed to access_level
2015-10-23 04:21:07 +02:00
timgame
7fafd2db2f
added sv_reload_when_empty
2015-10-22 17:27:30 +02:00
H-M-H
bf8aea3857
Merge pull request #333 from heinrich5991/pr_ddnet_antiping_no_reset
...
Don't reset `cl_antiping` subconfig on restart
2015-10-22 00:01:28 +02:00
Tim Schumacher
7bf36ac174
Merge pull request #334 from heinrich5991/pr_error_string
...
Only clear the error string if none is given
2015-10-21 02:56:06 +02:00
timgame
4b07927213
Added possibility to discard settings
2015-10-21 00:54:10 +02:00
fstd
d276f2c0e7
add /usr/pkg to the list of paths searched for data files (this is the default installation prefix on NetBSD (pkgsrc))
2015-09-23 16:47:01 +02:00
def
336e916548
Add option not to create sql tables
2015-09-15 09:28:18 +02:00
heinrich5991
19e9f4e2fb
Only clear the error string if none is given
2015-09-11 11:08:35 +01:00
heinrich5991
7512cc10d6
Introduce a mechanism to import old configs and use it for cl_antiping*
2015-09-10 12:31:02 +01:00
heinrich5991
48ecf3d5a1
Merge pull request #323 from Chairn/drag_range
...
Added sv_dragger_range to control the length of the laser draggers.
2015-09-07 11:12:52 +01:00
def
7487923774
Fix Windows thread handle leak
2015-09-05 04:49:22 +02:00
def
a1e9f07bb8
Missed one
2015-09-05 00:52:08 +02:00
Chairn
c5443d8e34
Added command sv_dragger_range. Maybe need some more tests.
2015-09-01 23:15:48 +02:00
oy
e91d26b8ac
force vital check on essential cl/srv messages and added additional sequence checking
2015-09-01 13:50:45 +02:00
Chairn
3552e1a042
Added eye wheel. Render only on ddrace/race/ictf+/dm+/gctf+ server.
2015-08-30 21:42:16 +02:00
east
d1c0551546
Don't reset timeout state on rejoin
2015-08-28 12:23:44 +02:00
def
d2ac9e53ab
Update info texts about variables
2015-08-27 23:41:06 +02:00
Dennis Felsing
a32aca50bf
Merge pull request #306 from Chairn/pr_custom_background
...
Added custom background in entities mod.
2015-08-27 16:08:46 +02:00
east
675c6eb1e0
Demo browser column listbox added
2015-08-27 15:05:24 +02:00
heinrich5991
a945cca8a5
Fix datafile building before the file is open
2015-08-27 12:55:35 +02:00
heinrich5991
53d7e0dd4c
Fix file opening in config_* tools
2015-08-27 12:55:35 +02:00
heinrich5991
d13ebf93a2
Add config_store
and config_retrieve
tool
2015-08-27 12:55:35 +02:00
heinrich5991
a8d3f3bbc5
Only revert configs that have both SERVER and GAME flags on map change
2015-08-27 12:55:34 +02:00
heinrich5991
bf1f7d6ccd
(Safely) execute settings embedded in maps
2015-08-27 12:55:34 +02:00
SushiTee
7bd0f276d4
saving server settings within the map and loading them on init
2015-08-27 12:51:24 +02:00
heinrich5991
a3246ed099
Save the config into the map when the server loads the map
2015-08-27 12:51:24 +02:00
Chairn
8b8ba7b860
Added variable for tile background. Improved a lil bit maplayers.
2015-08-27 00:52:50 +02:00
Chairn
abbea6b2ac
Added support for custom background in entities.
2015-08-27 00:52:11 +02:00
def
fe22edadaa
Hide console window on Windows by default
2015-08-26 12:40:50 +02:00
def
7aec49e6b1
Sort by number of players on server by default
...
- Then we don't have to hide empty servers, they're at the bottom anyway
- Sorting by ping is not that important, the ping already shows in a
flashing color how good it is
2015-08-24 20:35:15 +02:00
east
c1cbfcacf4
correctly reset network connection
2015-08-23 18:12:13 +02:00
east
cf9e1373d7
correctly reset client
2015-08-23 17:51:28 +02:00
east
c47697bdef
session rejoin
2015-08-23 17:01:01 +02:00
east
bb58264333
don't send chunks to network connections in timeout state
2015-08-23 12:31:09 +02:00
east
09166494a5
Antispoof: fix error state
2015-08-23 12:29:41 +02:00
oy
01527f51c9
let the client check if a connection is still established and for the correct peer address before processing data. Closes #1356
2015-08-22 21:52:02 +02:00
def
83be8af082
Change auto demo recorder format ( fixes #297 )
...
- auto/MAP_TIME.demo instead of the old auto/autorecord_TIME.demo
- Made CFileCollection usable with a wildcard to include the entire
directory and not just files with a specific file name
2015-08-22 17:22:46 +02:00
def
db2256e827
Fix a few whitespace-at-end-of-file issues
2015-08-22 15:27:41 +02:00
east
79a523e8a8
websocket support fixed
2015-08-21 13:08:40 +02:00
east
6ab2a558b3
Disable vanilla antispoof on password protected servers
2015-08-17 17:06:32 +02:00
def
51dda4e72b
Fix aliasing warning
2015-08-16 19:14:17 +02:00
def
e21d6e8574
Remove useless variable
2015-08-16 19:08:33 +02:00
Dennis Felsing
e03071e146
Merge pull request #285 from east/antispoof
...
Ip spoofing protection (prevents spoofed connections)
2015-08-16 18:20:20 +02:00
def
e1fe407ee5
Make team locking an option
2015-08-16 00:39:31 +02:00
east
e9a1c3ef92
vanilla handshake: add vital flags and use correct sequence (support for 0.6.4)
2015-08-15 10:38:39 +02:00
east
76d29f9e23
fixed dublication
2015-08-14 18:40:06 +02:00
east
d82b75f760
log/info for security token protocol
2015-08-14 18:39:13 +02:00
east
a084f1e31e
use complete map as dummy map
2015-08-14 18:37:00 +02:00
east
48fc0f93bb
added enable/disable conf var for vanilla antispoof
2015-08-14 18:36:28 +02:00
east
051ec30832
vanilla handshake: ignore unknown sequence
2015-08-14 18:36:13 +02:00
east
9f1ab9a7bf
added simple flooding detection (temprorary)
2015-08-14 18:34:22 +02:00
east
aabd777858
fixed includes
2015-08-14 18:33:42 +02:00
east
d1382349f5
vanilla token handshake implemented
2015-08-14 18:30:49 +02:00
east
a2174bf179
anti spoof for token protocol added
2015-08-14 18:30:12 +02:00
Dennis Felsing
37256d6e2c
Merge pull request #283 from savander/DDRace64
...
Improvements for demoplayer (pause/unpause demo is bindable) + you can hide scoreboard after death
2015-08-13 17:25:57 +02:00
def
547274b806
Add cl_chat_reset, which can be set to 0 so that chat is not reset when pressing escape
2015-08-12 17:03:27 +02:00
def
8f532aad9f
Use autoexec_client/server.cfg by default, fall back to autoexec.cfg for both
2015-08-12 13:49:16 +02:00
def
d616eee3c0
Kobra 4 as default map
2015-08-12 13:42:55 +02:00
Adam Jaworski
ab6f522aa5
Whether to show scoreboard after death or not
2015-08-12 11:30:26 +02:00
def
0d5304c1d5
Reset tunes by default
2015-08-11 20:37:25 +02:00
def
94f35d6f6e
Don't ignore clan of friends by default anymore
2015-08-10 15:19:11 +02:00
def
0969eadb4e
Use temporary file for saving config to prevent broken configs
2015-07-22 18:23:48 +02:00
def
4e658c1057
Minor cleanups
2015-07-22 18:23:40 +02:00
def
9a556cba70
Fix documentation (thanks to Lady Saavik)
2015-07-13 13:27:53 +02:00
def
17b8a5219b
Show a nice message to known bot clients
2015-07-13 00:02:57 +02:00
def
6e8ada1ac8
Fix whitespaces a bit
2015-07-09 02:12:35 +02:00
def
c79b4d3112
Add veto right for players with high time to stop map change votes
2015-07-08 17:03:22 +02:00
def
b3592380d1
Re-enable broadcast for old DDNet client version
2015-07-04 14:12:49 +02:00
heinrich5991
71548fc0d6
If no rcon password is set, generate one
...
After the generation (using the OS random number generator), the password is
displayed to the user on stdout.
2015-06-21 19:56:35 +02:00
BeaR
839db0a04a
Create directory for statboard screenshots
2015-06-17 14:13:19 +02:00
def
34fba30ca7
Add sv_port description
2015-06-01 12:42:44 +02:00
def
f2fb4e089f
Fix FIFO initialization once again
2015-05-31 17:36:00 +02:00
eeeee
6e3a14c0e1
fix the fix
2015-05-15 18:47:57 -07:00
eeeee
e6e9bbc059
hacky bans fix
2015-05-15 18:32:30 -07:00
def
5988162b30
Fix running without fifo console
2015-05-07 17:14:03 +02:00
def
08cb934e84
Try to handle FIFO problems more graciously
2015-05-03 13:44:49 +02:00
east
9d50085782
Fix dummy connect on servers without security token protocol
2015-04-19 23:09:55 +02:00
east
93305aef74
Fix dummy connect delay (Fullfill securitytoken handshake)
2015-04-19 19:53:37 +02:00
def
d690877117
At least don't access invalid memory on server request. Should fix #173
2015-04-19 14:09:40 +02:00
def
6d54de89b6
Get rid of clang static analyzer warnings
2015-04-19 00:31:45 +02:00
def
5dd83b58ff
Fix security token conversion in a platform independent way
2015-04-18 23:54:19 +02:00
def
1f2d5d3e81
Fix masterserver compilation with clang and optimizations
2015-04-18 23:02:48 +02:00
def
a77cd039a6
Get rid of all Clang warnings
2015-04-18 22:29:28 +02:00
def
0ffa79671b
Get rid of all GCC warnings
2015-04-18 21:33:51 +02:00
def
3992b1346b
Hopefully fix compilation on new OS X systems
...
Names collided with some new OS X defined names, fixes #189
2015-04-07 19:07:38 +02:00
def
3c496c62e1
Rename gfx_quads_as_triangles to gfx_quad_as_triangle and set default to 1
2015-03-31 16:41:51 +02:00
def
d835826461
Use proper path for autoupdater on *nix
2015-03-14 20:01:18 +01:00
def
381b4512fb
Fix segfault with demo cutting ( fixes #140 )
2015-03-13 15:48:30 +01:00
Dennis Felsing
07497523b4
Merge pull request #152 from cinaera/pr_demo
...
Fix bug when reading reading chunks with a tick delta of 0
2015-03-11 17:55:51 +01:00
BeaR
723bf0f6dc
Restore compatibility with older demo versions
2015-03-11 17:52:18 +01:00
eeeee
0dc332c931
fix timeout protection with tokens
...
timeout protection code now transfers the token properly
2015-03-05 22:33:01 -08:00
heinrich5991
fa0708b99d
Make the secure random stuff platform-independent
2015-03-06 01:35:08 +01:00
eeeee
85acfd9d77
added security token to protocol
...
to prevent packet injection from spoofed source ips
2015-03-05 11:07:03 -08:00
Learath
09ce649238
First get rid of the old autoupdate
...
Conflicts:
src/engine/client/client.cpp
src/engine/client/client.h
Conflicts:
src/engine/shared/config_variables.h
2015-02-23 20:23:35 +02:00
BeaR
6364e3e176
Fix bug when reading reading chunks with a tick delta of 0
...
* Remove magic value '63'
* Add flag for chunks where the tick value is stored on the first chunk along the flags
* Correctly read chunks with tick values smaller then the tick mask
2015-02-23 14:26:10 +01:00
def
2b32b4a18a
Add fire delay tunings
2015-02-12 15:20:22 +01:00
eeeee
56c42c3c31
websockets support in server
2015-02-08 19:11:34 -08:00
def
0df35a990c
Remove spoof protection, interacts badly with HTTP download
2015-01-27 23:13:47 +01:00
def
3d686a223f
Add an option to disable http map download (not working yet)
2015-01-20 00:21:28 +01:00
def
c8405ce13e
Add cl_show_broadcasts, but don't save it
2015-01-19 22:14:49 +01:00
def
79aeb5ea38
Add hook duration tune
2014-12-27 12:05:02 +01:00
eeeee
fabcfc1cbc
Update fifoconsole.cpp
...
actually store the pointer in the field
2014-12-21 17:21:19 -08:00
def
c004a352d2
Highlight in console
2014-12-20 13:37:11 +01:00
def
8d945fe968
Exclude DDNet servery by type
2014-12-14 16:45:18 +01:00
def
3b0f768478
Add setting to ignore clan in friends and enable by default
2014-12-12 17:15:29 +01:00
def
dfa804fb58
Add missing file
2014-12-10 11:21:13 +01:00
def
76b6a99f26
Add Exclusion filter strings and clean up menu a bit
2014-12-10 04:49:16 +01:00
def
3a5b3735ed
Fix: Client & Server quit properly
2014-12-08 13:53:19 +01:00
def
f32b09206a
Fuzzing optimization
2014-12-06 19:29:20 +01:00
def
366f0281ed
Fuzzing options
2014-12-06 16:17:04 +01:00
def
8275f2d811
Finally working...
2014-12-06 14:34:30 +01:00
def
6b1666d51d
Next try
2014-12-06 14:18:59 +01:00
def
b334c462c2
Try to explicitly close fifo console
2014-12-06 14:14:46 +01:00
def
af3b68b253
Enable antiping projectiles starting with 6.4
2014-12-05 17:46:32 +01:00
def
83987e0bfb
Fix compile
2014-12-02 21:23:54 +01:00
def
801d6033a5
Revert "More unsigned ints because of undefined integer overflow behaviour"
...
This reverts commit 623223354a
.
2014-12-02 15:54:59 +01:00
def
9ea846033b
Optimization for faster server side demo recording
2014-12-02 15:44:54 +01:00
def
0947de4b3f
Centisecs -> Decisecs
2014-12-02 13:55:19 +01:00
def
d0c85acc0d
Add cl_show_centisecs
2014-12-02 13:19:06 +01:00
def
db4d472443
Don't copy string when it's in the right position already
2014-12-02 12:35:28 +01:00
def
623223354a
More unsigned ints because of undefined integer overflow behaviour
2014-12-02 12:10:21 +01:00
Dennis Felsing
b525de33b5
Merge pull request #112 from trml/prediction_weapons
...
Prediction weapons
2014-12-02 11:24:52 +01:00
def
b4cef79b82
Fix compile with -O3 & -Ofast
2014-12-01 21:10:10 +01:00
nuborn
03bc769c09
prediction of hammer (hits) and grenade (explosions)
2014-12-01 01:31:58 +01:00
def
e4c4ba2d44
Remove another bad log
2014-11-26 21:33:57 +01:00
def
d2573e78c2
comment
2014-11-26 21:18:11 +01:00
def
8fdd6da926
Keep retrying for FifoFile even if it's temporarily unavailable
2014-11-26 21:17:00 +01:00
def
9d3cb79db5
Remove log that happens too often
2014-11-26 21:10:22 +01:00
def
bba82712e0
Add sv_solo_server for easier solo servers (also working for tunezones finally)
2014-11-25 22:42:05 +01:00
def
91bc16c037
Add an option to assume demos to be race demos
2014-11-25 20:46:21 +01:00