ZombieToad
f6d107b264
Update client.cpp
2018-06-20 07:44:44 +01:00
ZombieToad
dfaa8d1f46
Update client.cpp
2018-06-20 07:43:55 +01:00
ZombieToad
1c88ffd663
Update client.h
2018-06-20 07:36:10 +01: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
Dennis Felsing
45cf274fa9
Merge pull request #1153 from ZombieToad/patch-1
...
fix server browser bug
2018-06-18 09:03:44 +02:00
bors[bot]
048176d043
Merge #1155
...
1155: fix sv_skinstealaction r=Learath2 a=ZombieToad
Co-authored-by: ZombieToad <25847476+zombietoad@users.noreply.github.com>
2018-06-17 13:03:09 +00:00
bors[bot]
6850fa98bf
Merge #1154
...
1154: Rename 'credit' -> 'credits' r=Learath2 a=ChillerDragon
It's named ConCredits and there are many people credited so i guess the plural is fitting better c;
Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
2018-06-17 12:53:18 +00:00
ZombieToad
79c3327199
fix sv_skinstealaction
2018-06-17 07:28:32 +01:00
ChillerDragon
bc89e1644d
Rename 'credit' -> 'credits'
2018-06-17 05:42:41 +02:00
ZombieToad
7da716e3f0
fix server browser bug
...
ddnet client has the server browser while online
2018-06-17 03:26:23 +01:00
ZombieToad
13722d849d
fix server browser bug
...
it loaded favourite servers into ddnet serverlist if you used add_favorite or remove_favorite
2018-06-17 02:47:18 +01:00
ZombieToad
57d1c37fb4
send password to first connected server
2018-06-16 00:44:24 +01:00
ZombieToad
45a9d96a76
send password to first connected server
2018-06-16 00:41:55 +01:00
bors[bot]
d52143ffd5
Merge #1151
...
1151: fix veto r=heinrich5991 a=ZombieToad
before if a player entered the game and stayed before start on a server with a clock over 20 mins he would get veto
Co-authored-by: ZombieToad <25847476+zombietoad@users.noreply.github.com>
2018-06-15 07:44:28 +00:00
bors[bot]
ffb77f5962
Merge #1150
...
1150: fix pause messages r=heinrich5991 a=ZombieToad
they were reversed
Co-authored-by: ZombieToad <25847476+zombietoad@users.noreply.github.com>
2018-06-15 07:25:06 +00:00
ZombieToad
4544d02639
fix veto
...
before if a player entered the game and stayed before start on a server with a clock over 20 mins he would get veto
2018-06-15 00:49:09 +01:00
ZombieToad
99d0360947
fix pause messages
...
they were reversed
2018-06-14 22:41:28 +01:00
ZombieToad
e05bd9c6c8
remove unused thingy
2018-06-14 20:44:14 +01:00
ZombieToad
a858b7ddcd
fix /settings stuff
2018-06-14 00:33:07 +01:00
ChillerDragon
4b6133003b
Fix help for showall command
...
current ddnet doesn't support the '/help showall' command.
This commit should fix that.
2018-06-12 00:30:21 +02:00
Dennis Felsing
e72413c43b
Merge pull request #1137 from ChillerDragon/UpdateCredits
...
Update credits
2018-06-06 09:49:31 +02:00
Dennis Felsing
08c45ced0f
Merge pull request #1133 from ChillerDragon/ConsolePages
...
Add commands for switching pages in console
2018-06-06 09:48:00 +02:00
ChillerDragon
522c893812
Update credits
2018-06-06 02:40:37 +02:00
Dennis Felsing
0a7284913b
Merge pull request #1134 from ChillerDragon/DummyHammerflyFix
...
Fix unwanted dummy fire
2018-06-05 09:04:29 +02:00
ChillerDragon
0fe419589e
All hail teeworlds convention
2018-06-04 11:16:04 +02:00
ChillerDragon
6564b93a35
Fix unwanted dummy fire
...
If the latest fire input and the current differ in any way it causes firing.
So if you switch dummy after hammerfly was used it causes a weaponfire.
This unwanted fireing caused many unlucky fails for me already.
So i swap the fire status on dummyswapping so the server doesn't see any difference even if hamemrfly was used.
2018-06-04 11:06:54 +02:00
ChillerDragon
8a761bfedf
Add commands for switching pages in console
...
For now they were just hardcodet on page up and down keys.
The new command allows it to bind it for example on the f-keys for laptop users.
2018-06-03 11:48:08 +02:00
def
626de24d65
Version 11.1.9
2018-05-29 22:10:33 +02:00
Ryozuki
21d6f4f39b
use cstdint also in gamecontroller.h
2018-05-29 11:38:52 +02:00
Dennis Felsing
69667d4537
Also use cstdint on non-MSVC instead of stdint.h
2018-05-29 09:15:00 +02:00
Ryozuki
d539331c64
use includes first in msc in eventhandler.h
2018-05-29 09:01:35 +02: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
def
5726d5647c
Version 11.1.8
2018-05-13 22:23:11 +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
59675fe63c
Rate-limit /lock ( fixes #1122 )
2018-05-11 22:05:32 +02: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
def
121c3b8076
11.1.7
2018-05-09 22:07:03 +02:00
Dennis Felsing
bffa406e2c
Version 11.1.6
2018-05-09 09:10:46 +02:00
Dennis Felsing
44a8752929
Merge pull request #1126 from Jupeyy/master
...
Text fix
2018-05-09 08:53:05 +02:00
Dennis Felsing
05c41efcea
Version 11.1.5
2018-05-07 08:29:27 +02:00
Dennis Felsing
722087ba29
Merge pull request #1091 from heinrich5991/pr_ddnet_mapbugs
...
Add infrastructure for preserving bugs
2018-05-07 08:27:29 +02:00
jupeyy
88acd47c99
reset font texture at window resize
2018-05-07 06:02:44 +02:00
jupeyy
62352a78dd
respect text alpha channel correctly ( fixes #1124 )
2018-05-07 05:52:02 +02:00
bors[bot]
00dd1be3bf
Merge #1120
...
1120: Allows low mousesens r=heinrich5991 a=ChillerDragon
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
I did some testing and found no bugs... but i wonder why it was set to 5. So maybe it had some reason i don't understand so please only merge if you know what you are doing ;p
Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
2018-05-01 19:15:33 +00:00
ChillerDragon
e31f53f651
Fix ui for low mousesens
2018-05-01 17:51:36 +02:00
ChillerDragon
4fe6a23d0c
Allow low mosesens in menu
2018-05-01 17:23:14 +02:00
bors[bot]
97ce07a1ab
Merge #1118
...
1118: Add vote_ban rcon command r=heinrich5991 a=ChillerDragon
Works the same as muteid.
Vote banned players aren't allowed to start or participate in votes.
Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
2018-05-01 15:04:27 +00:00
ChillerDragon
d4b0ad462b
Allow vote muted players to vote...
...
It is a feature not a bug lol. Vote muted players are still not able to call own votes but they now can vote yes or no.
2018-05-01 16:58:03 +02:00
heinrich5991
81aeb30654
Also add a console command to enable map compatibility mode
2018-05-01 12:38:33 +02:00
def
8225077d17
Explicit type conversion
2018-04-30 18:22:31 +02:00
def
c594a59569
/timeout without parameter: Try to reclaim using already set timeout code
2018-04-29 16:01:01 +02:00
def
5473012a6d
/showall: Only print message if state changed
2018-04-29 15:57:57 +02:00
def
6793acafc4
Allow longer server settings in editor
2018-04-27 21:36:29 +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
e561498617
fix...
2018-04-25 14:12:49 +02:00
Dennis Felsing
96ecbfcfa8
Add cl_show_hook_coll_always
2018-04-25 12:03:27 +02:00
def
3f7b18322c
Set up DB by default
2018-04-24 23:07:51 +02:00
ChillerDragon
d6be41d7ab
Fix style and imporve performance
2018-04-21 18:45:33 +02:00
ChillerDragon
32189f8485
Pointer naming convention
2018-04-19 11:51:10 +02:00
ChillerDragon
c1952d3ff1
'VoteBan' -> 'VoteMute'
2018-04-19 11:49:18 +02:00
ChillerDragon
6b26751eba
Fixes style and shows ban message only in console
2018-04-19 11:01:27 +02:00
ChillerDragon
835f560013
Add vote_ban rcon command
2018-04-18 19:26:49 +02:00
Edgar
2ece3f36b7
remove periods
2018-04-17 19:35:25 +02:00
Ryozuki
07bc652896
add showall message
2018-04-17 17:52:35 +02:00
def
160b4df81c
Version 11.1.4
2018-04-15 20:15:13 +02:00
bors[bot]
73a65a7026
Merge #1116
...
1116: Don't send buffer cmds to non OpenGL 3.3 backend r=def- a=Jupeyy
Co-authored-by: Jupeyy <jupjopjap@gmail.com>
2018-04-15 18:00:54 +00:00
Jupeyy
5b4a889ae0
quad positioning to center of text
2018-04-15 19:35:56 +02:00
Jupeyy
27d9440751
don't create buffers, if OpenGL 3.3 is not used
2018-04-15 19:34:56 +02:00
def
666b1a9576
Another SDL GL try
2018-04-13 21:34:12 +02:00
def
920597d48e
Revert "Revert "Don't use aio logging to stdout on Windows""
...
This reverts commit 26b3be58bf
.
2018-04-13 20:04:40 +02:00
def
d0bb180473
Only run glewInit when using OpenGL3.3
2018-04-13 20:03:51 +02:00
bors[bot]
d77d18c98a
Merge #1114
...
1114: Some text positioning r=def- a=Jupeyy
To be clear, the entity text was meant to be a bit higher, so the text of the overlay is not overwritten("FROM", "CFROM")?
Because there was -4.f added to the y coordinate. Atleast it looks pretty much the same as the old renderer now.
Co-authored-by: Jupeyy <jupjopjap@gmail.com>
2018-04-11 10:27:07 +00:00
Jupeyy
8cc0de8d31
Some text positioning
2018-04-11 12:19:30 +02:00
bors[bot]
23f560f3d2
Merge #1112
...
1112: Fix default dyncam values r=def- a=Jupeyy
Since dyncam is disabled by default:
these are default static values.
Co-authored-by: Jupeyy <jupjopjap@gmail.com>
2018-04-11 09:35:40 +00:00
Jupeyy
3118ad4069
Fix default dyncam values
2018-04-11 11:27:30 +02:00
bors[bot]
73cc3a147b
Merge #1110
...
1110: Fix killmessage flag render r=def- a=Jupeyy
Co-authored-by: Jupeyy <jupjopjap@gmail.com>
2018-04-09 20:28:24 +00:00
Jupeyy
2a6050eaf4
use killer team not victim
2018-04-09 22:11:51 +02:00
Jupeyy
52ff132e56
reset color after text is drawn
2018-04-09 22:02:16 +02:00
heinrich5991
26b3be58bf
Revert "Don't use aio logging to stdout on Windows"
...
This reverts commit 8f291ce528
.
2018-04-09 15:02:34 +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
b504ae60fb
Improve wording in moderation messages
2018-04-07 16:51:17 +02:00
Jupeyy
fbaedff1e6
reset color for the gameflags
2018-04-05 20:46:22 +02:00
def
c95e1a61c6
More conservative config saving
2018-04-05 17:24:49 +02:00
Dennis Felsing
f426fef7f5
Version 11.1.3
2018-04-05 13:48:38 +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
a83a89703e
change position of mutex lock
2018-04-05 04:42:03 +02:00
Jupeyy
1208bcc562
Make mem_alloc, mem_free thread safe ( fixes #1087 )
2018-04-05 04:17:21 +02:00
def
bd1653a91b
Editor: Fix debug client crash
2018-04-04 21:41:14 +02:00
def
6d3b8f2d36
fix2
2018-04-04 20:41:05 +02:00
def
03ee53eaf1
space
2018-04-04 20:11:24 +02:00
def
30679364f5
Fix
2018-04-04 20:03:05 +02:00
def
8d98bd4e9f
Projectiles explode per team
2018-04-04 19:48:46 +02:00
Dennis Felsing
30588918c4
Merge pull request #1100 from Jupeyy/master
...
More GUI text positioning fixes
2018-04-04 08:40:22 +02:00
Dennis Felsing
e78c0b6085
Version 11.1.2
2018-04-04 08:39:13 +02:00
Jupeyy
c7114e734c
more ui text positioning fixes
2018-04-04 02:40:30 +02:00
def
c8c4fd5617
Fix reconnect timer display...
2018-04-03 21:32:21 +02:00
def
910b507903
Version 11.1.1
2018-04-03 19:20:34 +02:00
def
a9a71094dd
Revert "Allow specifying DATA_DIR by compiler option"
...
This reverts commit 3c488ff5c7
.
2018-04-03 19:18:27 +02:00
Dennis Felsing
dbc8321c56
Merge pull request #1098 from Jupeyy/master
...
Some text related fixes (color, positining)
2018-04-03 19:11:19 +02:00
def
07460ede9e
cl_control_dummy -> cl_dummy_control
2018-04-03 18:12:27 +02:00
Jupeyy
1a74d8c039
ui fixes: text positining
2018-04-03 17:41:11 +02:00
Jupeyy
15f0efc2bd
fix text color if opengl3.3 is off
2018-04-03 17:40:21 +02:00
Ryozuki
722b003d6b
fix command typo
2018-04-03 16:28:02 +02:00
Dennis Felsing
43bb77af05
Version 11.1
2018-04-03 10:30:08 +02:00
Dennis Felsing
5a53e4c54d
Fix compilation
2018-04-03 10:27:19 +02:00
Dennis Felsing
f8a00ad8af
Merge pull request #1000 from Ryozuki/pr_modhelp_chat_cmd
...
Add /modhelp chat command
2018-04-03 10:21:01 +02:00
Dennis Felsing
256845c824
Merge pull request #1072 from ChillerDragon/Broadcasts
...
Add broadcast importance (fixes #669 )
2018-04-03 10:15:01 +02:00
Dennis Felsing
ed33557a97
Merge pull request #1081 from Jupeyy/master
...
New buffer system and text renderer to support buffering of hud, text and map components, that are displayed ingame
2018-04-03 10:12:09 +02:00
Dennis Felsing
b3a8cef274
Merge pull request #1086 from QingGo/patch-1
...
Provide more controlable command for dummy
2018-04-03 10:10:35 +02:00
Jupeyy
53622f56b4
respect the area width in any case
2018-03-26 05:08:21 +02:00
heinrich5991
b9cdacbb37
Try to unfix the grenade bug for the map "Binary"
2018-03-24 14:01:01 +01:00
heinrich5991
4576dae6aa
Add infrastructure for special-casing maps
2018-03-24 14:00:41 +01:00
Jupeyy
abb9ba5572
use debug variable in a better way
2018-03-21 16:07:03 +01:00
Jupeyy
375b127f4e
style fix
2018-03-21 16:02:11 +01:00
Jupeyy
887bcb52ff
add window event listener for the client
2018-03-21 15:54:51 +01:00
Jupeyy
2cbb8af75b
add window resize event, and fix some ui things
2018-03-21 15:53:29 +01:00
Jupeyy
16894155e5
add attributes for screen state check
2018-03-21 15:49:15 +01:00
Jupeyy
53a93c077e
add window resize listener
2018-03-21 15:48:48 +01:00
Jupeyy
70c06be87e
allow non pixel alignment rendering, instead fo changing texture filter
...
add window resize event, and remove the font size limitation
2018-03-21 15:45:08 +01:00
Jupeyy
9b8da90151
check screen state
2018-03-21 15:41:45 +01:00
heinrich5991
6d88a29910
Add LATIN SMALL LETTER L
confusable
...
This makes `LATIN SMALL LETTER L` confusable with `LATIN SMALL LETTER I`
because `CYRILLIC SMALL LETTER PALOCHKA` "ӏ" (mapping to i) wasn't
confusable with `LATIN SMALL LETTER L` "l" (mapping to l) before.
Also add tests for `str_utf8_comp_confusable`.
2018-03-20 21:11:44 +01:00
heinrich5991
5be3e1ca84
Update confusable data to Unicode 11.0.0
2018-03-20 20:54:29 +01:00
bors[bot]
1e15b97543
Merge #1088
...
1088: Only count distinct client IP addresses for minimum player vote count r=heinrich5991 a=heinrich5991
2018-03-20 10:21:49 +00:00
heinrich5991
08e2c843a1
Only count distinct client IP addresses for minimum player vote count
2018-03-18 20:53:05 +01:00
Chiller Dragon
74ecdea3ab
Add assert on unimportant broadcasts to all players
2018-03-16 13:30:47 +01:00
Chiller Dragon
cc70628a49
Static broadcast delay (10 sec)
2018-03-15 22:35:25 +01:00
Jupeyy
91b1699994
remove unused and check freetype version
2018-03-15 14:22:08 +01:00
Jupeyy
71a4a20812
team name position fix
2018-03-15 03:59:57 +01:00
Jupeyy
da311d03c4
use a different texture filter instead of correcting text coordinates
2018-03-15 03:33:22 +01:00
heinrich5991
aa85c5b4a8
Add string and nameban tests with Unicode characters
2018-03-14 14:20:15 +01:00
清歌
06143eb273
Register more controlable command for dummy
...
Which is cl_control_dummy, cl_dummy_jump, cl_dummy_fire and cl_dummy_fire.
if i want to contol my dummy to jump,
first, press f1 in game, and use "cl_control_dummy 0",
second, use "bind mouse1 +toggle cl_dummy_jump 1 0".
finally, i can contol my dummy to jump by pressing left mouse button.
2018-03-14 20:20:41 +08:00
清歌
c976e6d017
Provide more controlable command for dummy
...
When g_Config.m_ClControlDummy id 1, we can control dummy by toggle g_Config.m_ClDummyJump or another to 1 or 0.
2018-03-14 20:14:18 +08:00
bors[bot]
c65ffeb4ae
Merge #1082
...
1082: Fix a bug with name bans r=Learath2 a=heinrich5991
Overlong nick names could be used to circumvent name bans.
2018-03-14 02:00:42 +00:00
heinrich5991
11304661db
Put name ban stuff into a separate file
...
Fix a bug when overlong names could be used to circumvent name bans. Add
tests for name bans.
2018-03-14 02:35:31 +01:00
heinrich5991
d7f6cf2892
Fix some system.c insanity
...
`str_utf8_isspace` now returns true if the passed code point renders as
a space, instead of when not.
Add `str_utf8_trim_right`, use this function and
`str_utf8_skip_whitespaces` in the server.
Add tests for the three functions
2018-03-14 02:27:15 +01:00
Jupeyy
c1a962b870
add ui fixes to work with new text renderer
2018-03-13 21:59:07 +01:00
Jupeyy
0930a3b7de
buffer quads, and use the new backend system (+ fix a bug when
...
rendering)
2018-03-13 21:57:46 +01:00
Jupeyy
790201f751
add buffering for the ingame visible components of the hud
2018-03-13 21:56:37 +01:00
Jupeyy
db48a03898
add text buffering for nameplates and killmessages
2018-03-13 21:55:47 +01:00
Jupeyy
6919a9da40
add new sprite functions for easier sprite quad buffering, and add this
...
to teerendering
2018-03-13 21:53:54 +01:00
Jupeyy
a59d7401b5
add buffering for dmg indicator, map items, particles and players
2018-03-13 21:52:44 +01:00
Jupeyy
59f9d021ce
buffer ingame chat
2018-03-13 21:50:49 +01:00
Jupeyy
62c3074c88
add new text renderer engine to support text buffering, cursors, text
...
marking and less character texture updates
2018-03-13 21:49:07 +01:00
Jupeyy
75eddfec7a
add new shader programs
2018-03-13 21:47:45 +01:00
Jupeyy
898af39311
add new functions to support the new backend layout and the new
...
rendering system
2018-03-13 21:47:07 +01:00
Jupeyy
35f3dd5bc2
add new shader programs in the backend
2018-03-13 21:44:58 +01: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
Learath
729a42adec
More style
2018-03-13 00:13:50 +01:00
Learath
b7610901e3
Handle empty reason. Fix formatting
2018-03-12 23:29:46 +01:00
Learath
22c21f73ae
Actually display the reason
2018-03-12 19:09:53 +01:00
Learath
c1a7c30f0f
Add reason to name bans
2018-03-12 19:05:49 +01:00
Jupeyy
3858a930a9
merge mac and linux impl into one
2018-03-12 17:10:11 +01:00
Jupeyy
5b56e5b2c4
move the keyboard state back into the gfx update
2018-03-12 16:51:31 +01:00
Jupeyy
72c38bca0c
devide by the time_freq
2018-03-12 16:41:02 +01:00
Jupeyy
c6a9aadbb0
add missing return statement
2018-03-12 16:21:21 +01:00
Jupeyy
e0b8ecabe4
move time fetch to time_get_impl
2018-03-12 16:12:06 +01:00
Jupeyy
081057d6b9
style fixes and remove float cast
2018-03-12 15:43:31 +01:00
Jupeyy
5e1bee2760
clean up a bit to and descripe it better
2018-03-12 15:10:49 +01:00
VeH-c
748007d525
Fixed typo
2018-03-09 22:24:56 -08:00
heinrich5991
31a3e8d4c0
Add possibility to ban players by name
...
This uses the Unicode confusable data together with judging how close
two strings are by using the Levenshtein distance.
Adds the commands `name_ban`, `name_unban` and `name_bans`. Kicks
players who join using a banned name and doesn't allow ingame players to
change their names to the banned ones.
2018-03-09 20:30:27 +01:00
ChillerDragon
8d1e60d5a6
Fix code style
2018-03-07 18:10:57 +01:00
ChillerDragon
ab2876743a
Make broadcast importance delay configurable
2018-03-07 18:06:39 +01:00
ChillerDragon
052e67c541
Add broadcast importance ( fixes #669 )
2018-03-07 17:22:41 +01:00
ChillerDragon
57cb136c55
Remove teamkill message on solo teams
...
For speedrunning alone in a team this "Everyone in your locked team was killed because '%s' %s."
is very annoying. So better only print it if more than 1 tee is in the team.
2018-03-06 14:08:04 +01:00
bors[bot]
eef5131b0d
Merge #1065
...
1065: Proper negative top5 calculation (fixes #1064 ) r=heinrich5991 a=def-
2018-03-05 11:00:57 +00:00
Dennis Felsing
93f0cd8933
Proper negative top5 calculation ( fixes #1064 )
2018-03-05 11:53:55 +01:00
bors[bot]
fb69fa1815
Merge #1042
...
1042: Allow specifying DATA_DIR by compiler option r=heinrich5991 a=yangfl
2018-03-05 10:50:38 +00:00
bors[bot]
e64919ddcb
Merge #1058
...
1058: Add /pausevoted and /specvoted r=heinrich5991 a=def-
- Also fix /pause and /spec with name parameter a bit
- Move out common code between pause/spec
2018-03-02 14:41:31 +00:00
Jupeyy
ced0ea3f82
set the gfx refresh rate limit higher for the console
2018-03-02 03:29:02 +01:00
Jupeyy
cc7371c1cd
set upper limit, for the case, if the refreshrate is smaller than the gameticks
2018-03-02 03:12:30 +01:00
def
ad99c58528
Add /pausevoted and /specvoted
...
- Also fix /pause and /spec with name parameter a bit
- Move out common code between pause/spec
2018-03-01 19:46:07 +01:00
heinrich5991
1387ee9a3a
Regenerate version file on git changes
...
Previously, this file had to be manually deleted if you wanted to have a
new version compiled in.
2018-03-01 16:50:29 +01:00
Jupeyy
089cb1ea44
this must be inactive ofc
2018-03-01 08:25:34 +01:00
Jupeyy
a808ee07d3
add accedentially removed cast
2018-03-01 08:07:48 +01:00
Jupeyy
3458ee0976
check if gfx_refresh_rate is non zero
2018-03-01 07:50:52 +01:00
Jupeyy
6f0509cfae
the actual description to the problem
2018-03-01 07:44:22 +01:00
Jupeyy
edaf632c04
Merge branch 'master' of https://github.com/ddnet/ddnet
2018-03-01 07:38:50 +01:00
Jupeyy
238c8847c0
keep track of lost frames and updates, to ensure FPS stability and
...
better CPU sleep times
2018-03-01 07:34:14 +01:00
Jupeyy
3dabb5c2bd
ensure right internal image format, to prevent unsupported reformatting
2018-03-01 07:31:09 +01:00
ChillerDragon
c1e3dec980
Remove unused teams function
2018-02-27 16:40:52 +01:00
heinrich5991
61c7e9307d
Don't log out on sv_rcon{,_mod,_helper}_password
if not changed
2018-02-26 18:01:02 +01:00
Dennis Felsing
03792c1d0f
Merge pull request #1047 from Learath2/dd_pr_ctrldelete
...
Add ctrl-delete to chat. Closes #1032
2018-02-22 21:58:51 +01:00
Dennis Felsing
4cebe86ad8
Merge pull request #1049 from Learath2/dd_pr_scoreboardclan
...
A little more space for clan name. Fixes #724
2018-02-22 21:58:10 +01:00
Learath
7d1aaa735a
A little more space for clan name. Fixes #724
2018-02-22 21:17:10 +01:00
Learath
4031e15fc8
Remove extra conditional
...
Stricter scope on temporary var.
2018-02-22 20:48:47 +01:00
Learath
20cac1c2bb
Fix dyncam confusion. Closes #783
...
Remove "vanilla" dyncam toggle.
2018-02-22 20:40:14 +01:00
Learath
1f2e398819
Add ctrl-delete to chat. Closes #1032
2018-02-22 20:11:56 +01:00
yangfl
3c488ff5c7
Allow specifying DATA_DIR by compiler option
2018-02-22 00:12:52 +08:00
heinrich5991
f7b7054152
Fix crash on startup due to sound initialization
...
Of course `WavpackOpenFileInputEx` is subtly incompatible to
`WavpackOpenFileInputEx64` in that it requires the userdata for the main
steam to be nonnull.
Fixes #1041 .
2018-02-18 12:45:03 +01:00
heinrich5991
73c03544b4
Support older wavpack versions
2018-02-17 01:35:07 +01:00
heinrich5991
99fe1d7bcf
Revert "Fix bundled wavpack when system wavpack is available"
...
This reverts commit 0d9265b1fa
.
2018-02-17 01:31:40 +01:00
def
0d9265b1fa
Fix bundled wavpack when system wavpack is available
2018-02-15 19:30:40 +01:00
bors[bot]
b14370e6ad
Merge #1035
...
1035: Fix #1031 r=heinrich5991 a=Learath2
Not sure if this is the best way to do this though :D
2018-02-14 13:08:15 +00:00
heinrich5991
c2aaef2adf
Remove vendored libwebsockets
2018-02-14 12:55:37 +01:00
def
e9bc42a63c
Update websockets implementation ( fixes #1022 )
...
seems to work with libwebsockets 2.4
2018-02-14 12:30:14 +01:00
Learath2
ff872b39cd
Forgot to add GameID to the col-list
2018-02-14 01:17:40 +01:00
Learath2
61f0461d46
Style
2018-02-13 17:15:16 +01:00
bors[bot]
6338a05fd3
Merge #1025
...
1025: Add Teehistorian UUIDs to every record r=heinrich5991 a=Learath2
For statistic collecting purposes, don't merge before updating the SQL Schema.
ALTER TABLE record_race ADD COLUMN GameID VARCHAR(64) AFTER cp25;
ALTER TABLE record_teamrace ADD COLUMN GameID VARCHAR(64) AFTER ID;
2018-02-13 16:01:20 +00:00
Learath2
8cfebaa0b2
Fix #1031
2018-02-13 03:45:43 +01:00
bors[bot]
c0fa444f3a
Merge #1034
...
1034: Try to find external GLEW, pnglite and Wavpack r=Learath2 a=heinrich5991
Allow for newer versions of Wavpack, fixes #1023 .
Fixes #1016 .
2018-02-13 02:02:07 +00:00
heinrich5991
94818ec1f0
Try to find external GLEW, pnglite and Wavpack
...
Allow for newer versions of Wavpack, fixes #1023 .
Fixes #1016 .
2018-02-12 23:29:45 +01:00
heinrich5991
797581502a
Remove spurious engine/server
include in game
2018-02-12 23:29:45 +01:00
heinrich5991
9e9b57ec62
Move generated files to the CMake build directory
2018-02-12 23:29:45 +01:00
def
5587e6dc96
Remove unused inp_grab
2018-02-11 16:40:08 +01:00
bors[bot]
6283ad2012
Merge #1015
...
1015: Fix typo r=heinrich5991 a=yangfl
2018-02-07 16:22:48 +00:00
Learath
bc11fc2a35
Add GameUuid to teamscore aswell
...
Also get GameUuid through an interface.
2018-02-07 16:43:36 +01:00
Dennis Felsing
f62833b699
Always keep same resolution on macosx
2018-02-07 13:21:18 +01:00
yangfl
1620fc9b0f
Fix typo
2018-02-07 16:10:40 +08:00
Dennis Felsing
4c8a770ba6
macosx highdpi try #123456789
2018-02-07 08:22:57 +01:00
Learath
94d98e833a
Fix mistakes. Fix CREATE TABLE
2018-02-07 01:10:02 +01:00
Learath
0aeb912db2
Escape the UUID just in case
2018-02-07 00:44:03 +01:00
Learath
4a52bca55d
Include the teehistorian uuid instead
2018-02-07 00:35:21 +01:00
def
864ff1ac74
Remove highdpi stuff
...
This reverts commit d234c55dfa
.
2018-02-06 23:21:17 +01:00
Learath
4748d5f065
Add client version to the record
2018-02-06 20:07:42 +01:00
Dennis Felsing
d234c55dfa
Try macosx highdpi fix
2018-02-05 14:37:26 +01:00
def
a00d4112a7
Version 11.0.3
2018-02-03 21:47:09 +01:00
def
c73e2a7ba8
New year is on January 1, not February 1
2018-02-01 20:22:18 +01:00
bors[bot]
4b84d7558f
Merge #1007
...
1007: Record rcon authentication stuff into teehistorian r=Learath2 a=heinrich5991
This allows to check moderator actions after-the-fact.
2018-01-30 10:38:01 +00:00
bors[bot]
250dd81e2e
Merge #1009
...
1009: Scrub more references to bam r=heinrich5991 a=Learath2
2018-01-29 13:23:02 +00:00
Learath2
98209fb0f4
Remove bam compatibility symlinks for osx
2018-01-28 22:53:51 +01: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
heinrich5991
a744fe53a2
Remove CPlayer::m_Authed
...
This can't get out of sync now.
2018-01-27 23:13:17 +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
4377c5d707
comma
2018-01-27 10:54:24 +01:00
def
3672efb6fe
Can't change GAME_VERSION after all
2018-01-26 22:12:12 +01:00
def
151da9af97
Remove Emojis
2018-01-25 20:03:18 +01:00
Ryozuki
214a8ba10a
fix votes
2018-01-25 19:36:40 +01:00
Dennis Felsing
cb0209d6e3
Reapply "Only make grenades explode once (fix by timakro)"
2018-01-25 02:32:34 +01:00
Dennis Felsing
f3256f0b6c
Revert "Only make grenades explode once (fix by timakro)"
...
This reverts commit b9a93a18fb
.
2018-01-24 07:50:15 +01:00
def
dd7281ef86
Limit m_NumTimelineMarkers (reported by GG Kid)
2018-01-23 16:04:24 +01:00
def
39cb6ad8b7
Version 11.0.2
2018-01-22 20:55:24 +01:00
Tim Schumacher
b3f7864ecf
Don't change map release time when updating map stars/points
2018-01-22 20:47:26 +01:00
Dennis Felsing
fac054275c
Merge pull request #992 from Jupeyy/master
...
RAM usage reduction for map buffering and foreground layer count fix
2018-01-22 20:44:56 +01:00
Dennis Felsing
8f2ce84f4e
Merge pull request #996 from Ryozuki/pr_cmd_vote_no
...
Add vote_no command
2018-01-22 20:36:20 +01:00
Dennis Felsing
b9a93a18fb
Only make grenades explode once (fix by timakro)
2018-01-22 14:15:53 +01:00
def
3033fbb466
Also pass negative numbers
2018-01-21 19:13:20 +01:00
def
a731482152
/top5, /top5team, /top5points, /times also show worst results with negative numbers
2018-01-21 19:08:52 +01:00
Ryozuki
79fedff12d
add /modhelp chat command
2018-01-21 01:32:55 +01:00
Ryozuki
0f328d6c52
wrong side..
2018-01-18 18:41:37 +01:00
Ryozuki
e039145628
fix pointer naming
2018-01-18 18:30:38 +01:00
Ryozuki
e59387a304
revision changes
2018-01-18 16:17:23 +01:00
Ryozuki
6413cab702
forgot newline
2018-01-18 07:58:22 +01:00
Ryozuki
1e88ad92a0
add vote_no command and show auth rank in force vote
2018-01-18 07:56:07 +01:00
Ryozuki
6bf4a6e2ee
fix style in ddracecommands.h
2018-01-18 01:25:45 +01:00
Jupeyy
15cc8e2dc8
use type that can hold any pointer size
2018-01-16 10:18:14 +01:00
Jupeyy
99bb1cc7db
add parentheses
2018-01-16 09:41:06 +01:00
Jupeyy
e9a2fc1d6e
reduce RAM allocation for map buffering, and fix forground layer count
2018-01-16 09:35:28 +01:00
def
c295ffbb6f
Version 11.0.1
2018-01-15 20:19:23 +01:00
Dennis Felsing
d174509f50
Merge pull request #990 from Ryozuki/pr_add_output_mutes_muteid
...
Add more output to mutes and muteid
2018-01-15 19:41:19 +01:00
Ryozuki
05ece01690
Add more output to mutes and muteid
2018-01-15 19:31:14 +01:00
def
949bb2d9fc
Fix crash in emoji on map change, clear emojis
2018-01-15 19:08:51 +01:00
def
9139737aa7
Minor style cleanup
2018-01-15 19:08:33 +01:00
Dennis Felsing
31bbbaf512
case sensitivity
2018-01-15 09:10:20 +01:00
Dennis Felsing
272e14357c
Fix SQL code for points/top5points
2018-01-15 09:08:51 +01:00
def
7ae5f33bdd
fix cl_show_direction (thanks jupeyy)
2018-01-14 20:51:02 +01:00
def
c8d4b605bf
Improved cl_showfps, don't need average/current anymore
2018-01-14 17:21:50 +01:00
def
325371331d
Version 11.0
2018-01-14 15:04:18 +01:00
def
2af80de4ea
Teeworlds game version update
2018-01-14 13:57:57 +01:00
def
80cf5eff45
Update credits
2018-01-14 08:11:48 +01:00
def
9d5976a07d
Fix version number...
2018-01-14 07:37:03 +01:00
def
dee03a4f2e
Version 11.0
2018-01-14 07:34:46 +01:00
def
48980efa2e
Disable OpenGL 3 by default
2018-01-14 07:33:00 +01:00
bors[bot]
861849c924
Merge #981
...
981: Fix some bugs related to asynchronous IO r=Learath2 a=heinrich5991
Since `aio_thread` was crashing with #964 on an address that we didn't hand to `io_write`, I hope that this was just a bug with concurrently writing to stdout on Windows, and not a bug in the `aio` stuff.
Fixes #914 . Fixes #964 .
2018-01-14 02:20:29 +00:00
def
4bc0d176d3
More reverts..
2018-01-13 22:22:55 +01:00
def
3ee76bc5ff
Revert voting change
2018-01-13 21:40:29 +01:00
heinrich5991
8f291ce528
Don't use aio logging to stdout on Windows
...
This should fix #964 .
2018-01-13 20:43:41 +01:00
heinrich5991
a5ab0faee7
Simplify aio
stuff a little
...
This hopefully gets rid of the uninitialized writes CI and I sometimes
see.
Fixes #914 .
2018-01-13 19:17:33 +01:00
def
16117f74d7
People don't like my vote changes
2018-01-13 16:46:31 +01:00
def
4dc118c752
Mutes work independent of port, don't announce IP in chat ( fixes #908 )
2018-01-13 10:50:31 +01:00
def
4682eaff56
Add option to turn off emojis ( fixes #936 ) and add options in settings menu
2018-01-13 10:37:24 +01:00
def
484325f493
Fix nameplates with antiping ( fixes #943 )
2018-01-12 19:24:44 +01:00
heinrich5991
9d9bfee53f
Move to ISO 8601-compliant timestamps
...
https://en.wikipedia.org/w/index.php?title=ISO_8601&oldid=819129098
2018-01-11 16:01:19 +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
def
2ebc993379
Oops
2018-01-11 15:26:41 +01:00
def
e29de3295f
Vote faster when all press yes
2018-01-10 23:46:14 +01:00
def
37b7f058b2
Fix voting
2018-01-10 23:44:40 +01:00
def
0cc4763a43
Fix crash: Switch tiles with number 0 are handled like non-switch tiles
...
Thanks to 645654 and phacrum for report
2018-01-10 22:19:38 +01:00
bors[bot]
4a3b280fbb
Merge #979
...
979: Add a missing call to `lock_wait` in test function r=Learath2 a=heinrich5991
This was uncovered when I tried to run other code with ThreadSan, but it
only found this. :(
2018-01-10 15:50:58 +00:00
Dennis Felsing
d4f5b6ae69
Remove redundant code
2018-01-10 14:36:04 +01:00
Dennis Felsing
ea85e0669a
Keep vote running until everyone presses f3 or time runs out
...
Gives enough time for mods to react and for players to save
2018-01-10 14:33:03 +01:00
bors[bot]
94e43509cc
Merge #977
...
977: Active moderator mode r=heinrich5991 a=Ryozuki
This PR adds a RCON command called "moderate", which enables a active moderator mode for the caller, so this will happen if a vote kick/spec is made:
- Vote will last atleast x seconds defined by CGameContext::m_VoteCloseTime (35 seconds on ddnet, according to @heinrich5991) even if there is majority.
- If a active moderator votes, it will be a force vote.
- If the active moderator doesn't vote, it will pass normally
- This is only for kick and spec votes.
I also added `access_level moderate 1` to autoexec_server.cfg
If there are any spelling errors on the code tell me.
Maybe needs to be tested more.
2018-01-09 09:14:17 +00:00
bors[bot]
5b2a929bc1
Merge #976
...
976: fixed rand init error message r=heinrich5991 a=ChillerDragon
the ``dbg_msg()`` func doesn't work until the
``IEngine *pEngine = CreateEngine("DDNet", Silent);`` line gets executed.
I used a bool to leave the code order untouched c:
2018-01-07 17:02:44 +00:00
Chiller Dragun
52a7f84583
code styling
2018-01-07 03:03:33 -08:00
def
4813a4b857
Add cl_shownotifications ( fixes #949 )
2018-01-05 20:20:39 +01:00
def
77a999c0b1
Add cl_showemotes
2018-01-05 20:17:22 +01:00
def
f1af7cff98
Still render chat input even when chat is disabled
2018-01-05 20:11:05 +01:00
def
3025ed35c9
Introduce cl_show_chat_system
...
Set to 0 to disable server messages
2018-01-05 20:10:39 +01:00
heinrich5991
c9fc487c43
Add a missing call to lock_wait
in test function
...
This was uncovered when I tried to run other code with ThreadSan, but it
only found this. :(
2018-01-05 16:06:24 +01:00
Ryozuki
d6eb604718
add rcon moderate mode
2018-01-05 15:23:08 +01:00
Chiller Dragun
654dd597fe
fixed rand init error message
2018-01-04 06:33:21 -08:00
bors[bot]
c15f52bf5f
Merge #957
...
957: Add manual locking to `ASYNCIO` for transacted writes r=Learath2 a=heinrich5991
Previously, e. g. it was possible that newlines are separated from the
printed line in `logger_file`.
2018-01-02 15:31:09 +00: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
def
627291c510
/pause <name> always switches to watching name
...
Old behaviour switched you out of pause if you were paused already
Thanks to fokkonaut for suggestion
2017-12-23 20:42:54 +01:00
Emir Marincic
08d7fc173c
Merge pull request #967 from heinrich5991/pr_ddnet_address_logging
...
Add address logging server
2017-12-21 16:35:47 +01:00
Dennis Felsing
be9a5fc8c8
Update save command description (by marcelherd)
2017-12-21 13:58:09 +01:00
heinrich5991
eb31a52b83
Add very basic test for Unix sockets
2017-12-20 16:56:44 +01:00