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
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
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
f4112e3bcb
Revert "Tees must be teamed up before loading"
...
This reverts commit d29f2306ef
.
2017-05-14 22:36:44 +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
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
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
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
d4ed1310d2
Configurable rate limit for SQL queries
2017-04-13 09:33:26 +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
ec1581f13a
Strict checking for friends. Fixes #539
2017-04-12 11:04:20 +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
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
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
necropotame
b8e4e5beea
Fix style in several places
2017-03-22 19:45:14 +01:00
heinrich5991
f5446ca3b0
Fix unsigned/signed comparison warning when interacting with freetype
2017-03-19 17:19:59 +01:00
heinrich5991
d91cca728d
Partially revert warning-fixing, it caused warnings on other systems
2017-03-12 16:47:37 +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
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
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
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
c1e826e853
Fix key slot indices after removing a key
2017-03-06 18:02:19 +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
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
c5a12e3eba
Fix the status command for logged out people
2017-03-06 12:35:37 +01:00