Learath
03070d0567
Fix many issues
2020-06-19 20:28:52 +03:00
Learath
807c92f1a4
Generate the 0.7 protocol
2020-06-19 20:27:15 +03:00
Zwelf
7f4dc2bb4e
Thread safe /map
2020-06-15 11:14:15 +02:00
Zwelf
a990acc512
Remove existing CRandomMapResult to simplify IScore interface
2020-06-15 11:12:57 +02:00
bors[bot]
92fc95d742
Merge #2202
...
2202: Send DDNet version early in the connection process r=Learath2 a=heinrich5991
This gets rid of the problem that we don't know whether we should send
full snapshots to clients because they haven't told us about them being
DDNet yet.
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2020-05-27 17:49:31 +00:00
bors[bot]
438dc519d6
Merge #2212
...
2212: Use a consistent PRNG on all platforms r=Learath2 a=heinrich5991
I just used glibc's because that is what we use on all the servers. Based on https://www.mscs.dal.ca/~selinger/random/ .
Behavior change: The PRNG is actually seeded now.
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2020-05-27 16:14:09 +00:00
def
e1849ad1bb
Implement /practice for teams
...
As discussed on Discord today, can be enabled inside of teams on the fly
during each run on any server. Finishes don't count. I haven't tested
save/load yet, would do that live on the server if this can be merged.
2020-05-27 17:33:26 +02:00
heinrich5991
2692f3c758
Use a consistent PRNG on all platforms
2020-05-25 15:19:29 +02:00
def
37e0a33da2
Also introduce /unlock as an alias of /lock 0
2020-05-23 17:55:56 +02:00
heinrich5991
0d7872c79e
Send DDNet version early in the connection process
...
This gets rid of the problem that we don't know whether we should send
full snapshots to clients because they haven't told us about them being
DDNet yet.
2020-05-22 17:58:41 +02:00
Zwelf
71b687cbd6
Remove unused ConSaveTeam, ConLoadTeam declarations
2020-05-21 00:44:30 +02:00
Learath
5e02bb5a23
Extend antibot interface
...
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2020-05-13 23:39:40 +03:00
trafilaw
44cc0e29a4
Remove No reason given
2020-03-31 00:20:25 +02:00
trafilaw
8d8bc018c6
Add pr_mutereason
2020-03-30 23:51:58 +02:00
heinrich5991
a3163c5b9c
Add support for dynamically loading an antibot module
...
Support for this feature is turned off by default. This feature allows
to integrate with noby's anticheat feature.
2020-03-11 01:58:50 +01:00
Learath2
27d9ac54b0
Implement dry saves
2020-02-13 16:16:35 +01:00
ChillerDragon
96c9b1ab73
Rename rifle to laser
...
This makes it easier to copy code from/to 0.7
23df3c609e
2019-11-22 15:37:18 +01:00
ChillerDragon
dbad486c67
Remove useless votemute struct
2019-09-04 21:21:40 +02:00
def
f7e642bbbe
Fix race condition in /map (untested)
2019-06-25 21:03:20 +02:00
heinrich5991
096c87bd1d
Hack around the race condition in random maps selection
...
Revert this "once we get proper SQL code"™.
2019-05-20 00:12:59 +02:00
ChillerDragon
ad7a2cdef2
Remove unused vanilla code ( closed #1658 )
2019-04-24 22:36:47 +02:00
ChillerDragon
deaab4bb4b
Add functions instead of goto
2019-04-12 19:50:02 +02:00
ChillerDragon
a6d00973e1
Refactor mute and vote mute code
2019-04-11 20:10:04 +02:00
Dennis Felsing
2dd78b6568
Command completion for /times, /points and /top5points
...
Still not implemented for file based servers of course
2019-03-29 14:39:48 +01:00
Ryozuki
e00e9f126a
add vote_mutes
2019-03-19 20:25:21 +01:00
Ryozuki
43a1990e5d
ConVoteUnMute -> ConVoteUnmute
2019-03-19 20:18:11 +01:00
Ryozuki
d469654629
add vote_unmute and display on chat
2019-03-19 20:07:33 +01:00
def
afa1e8adc5
Uninvite kicked/spectated players from team ( fixed #1464 )
2019-03-01 22:11:00 +01:00
Dennis Felsing
6f3d261b73
Merge pull request #1441 from trml/pr_sync_weapon_input
...
Sync weapon input with other input
2019-02-14 10:27:52 +01:00
Learath
0086452757
Use str_in_list, generalize further
2019-02-11 18:52:40 +01:00
ChillerDragon
867b0a66ce
Fixings thanks to @Learath2
2019-02-04 22:16:09 +01:00
ChillerDragon
069b1763dd
Add autoban depending on client version
2019-02-04 20:46:42 +01:00
trml
3f9d30af0f
Sync weapon input with other inputs
2019-01-29 20:58:25 +01:00
Dennis Felsing
fcf2a16aef
Add toggle_tune
2018-12-20 09:18:22 +01:00
Dennis Felsing
5c18d6c481
Remove /modhelp ( fixes #1401 )
2018-12-12 10:05:44 +01:00
Learath
571b069b91
Small cleanup of *Mute functions
2018-10-08 21:29:33 +03:00
heinrich5991
57e26450b2
Unify spelling of Modhelp
...
Since the command name is `/modhelp` it should be written `Modhelp` in
camel case.
2018-06-24 11:03:18 +02: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
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
heinrich5991
81aeb30654
Also add a console command to enable map compatibility mode
2018-05-01 12:38: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
def
8d98bd4e9f
Projectiles explode per team
2018-04-04 19:48:46 +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
heinrich5991
4576dae6aa
Add infrastructure for special-casing maps
2018-03-24 14:00:41 +01:00
ChillerDragon
052e67c541
Add broadcast importance ( fixes #669 )
2018-03-07 17:22:41 +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
Learath
bc11fc2a35
Add GameUuid to teamscore aswell
...
Also get GameUuid through an interface.
2018-02-07 16:43:36 +01:00
Learath
4a52bca55d
Include the teehistorian uuid instead
2018-02-07 00:35:21 +01:00
Ryozuki
79fedff12d
add /modhelp chat command
2018-01-21 01:32:55 +01:00
Ryozuki
e59387a304
revision changes
2018-01-18 16:17:23 +01:00
Ryozuki
1e88ad92a0
add vote_no command and show auth rank in force vote
2018-01-18 07:56:07 +01:00
Ryozuki
d6eb604718
add rcon moderate mode
2018-01-05 15:23:08 +01:00
heinrich5991
8e778cd9ab
Address pull request comments
2017-10-13 02:29:18 +02:00
heinrich5991
4d05a2379b
Make teehistorian asynchronous
2017-10-10 04:11:14 +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
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
eeeee
2797227063
also remove references to CGameContext from CServer
2017-06-05 22:31:56 -07:00
Learath
a1d2212696
Change behaviour for kick votes in teams
2017-04-25 19:10:22 +02:00
Learath2
309d47e933
Revert "Remove invite system entirely since no one wants to fix it"
...
This reverts commit 99cc9d2c0b
.
2017-04-23 22:50:07 +02:00
def
99cc9d2c0b
Remove invite system entirely since no one wants to fix it
2017-04-23 17:51:29 +02:00
def
9e7eb9c142
Remove /uninvite
2017-04-13 10:34:19 +02:00
Learath2
9319a82c6e
Add /invite for locked teams. Fixes #647
2017-03-06 12:14:38 +01:00
BannZay
a96ebde93a
getting jetpack through remote
2016-10-10 15:18:06 +03:00
H-M-H
cd41220a44
wait for score-threads on shutdown
2016-05-04 15:32:24 +02:00
heinrich5991
384668928b
Add sv_join_vote_delay
...
This is a new delay that specifies how many seconds you have to wait
before making your first vote. In case the server was only recently
filled (e.g. by a map change or if people start joining an empty
server), this delay is disabled (in the first case, because it's normal
to join after a map change, in the second case because you might have
joined the empty server to vote for a different map).
2016-01-19 23:52:28 +01: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
def
a04578b3ba
Add switch_open to set the initial state of a switch to open
2015-07-22 23:32:39 +02:00
def
6e8ada1ac8
Fix whitespaces a bit
2015-07-09 02:12:35 +02:00
def
a77cd039a6
Get rid of all Clang warnings
2015-04-18 22:29:28 +02:00
timgame
62aa011734
added /r, /rescue: teleport yourself out of freeze
2015-04-16 17:37:57 +02:00
def
023f926e89
Fix Compilation
2014-12-20 16:35:47 +01:00
def
21472046df
Remove magic number: 256 -> NUM_TUNINGZONES
2014-11-25 22:47:25 +01:00
east
630fd4fa07
sending vote options balanced
2014-10-26 19:39:42 +01:00
def
e0a16e0644
/mapinfo: Show mapper name
2014-10-11 12:58:27 +02:00
savander
1577201364
Kill protection
2014-08-24 23:24:33 +02:00
def
75538e32cc
make sv_vote_max_total only work for kick and spec votes
2014-08-12 13:41:57 +02:00
def
2980bd77e8
Add /specteam
2014-08-09 19:53:38 +02:00
def
f859f350ca
Kind of working with timeout code
2014-08-09 17:25:29 +02:00
def
145f0434f5
Add /save by the glorious HMH
2014-07-26 14:46:31 +02:00
def
eaeaf54250
Add freezehammer/unfreezehammer for blocker
2014-07-16 02:59:39 +02:00
def
a7329d0a14
Add random_unfinished_map
2014-06-20 22:40:23 +02:00
def
e86b7da312
Add undeep
2014-06-13 23:49:34 +02:00
def
b8f93bdcea
Add unsolo command
2014-06-11 17:53:59 +02:00
def
c3062fb787
Fix: Default tune zone is 0, not -1
2014-03-29 23:34:36 +01:00
def
7494bb7b93
Fix bug in tuning zone messages (My bad) and increase text lengths to 256
2014-03-28 23:31:53 +01:00
def
63f642c478
Fix array sizes and array accesses
2014-03-23 18:56:07 +01:00
HMH
330fc92c8c
added a list out of CTuningParams for the different tunezones, added a list for messages to display on switching between zones, put rcon commands for adjusting theses lists, edited SendTuningParams to make it possible to send zonespecific tunings
2014-03-23 17:10:49 +01:00
def
73663f2919
Vote delay for /map
2014-03-04 02:48:58 +01:00
def
a5f3de6827
Add /map (for votes) and /mapinfo (instead of /mappoints)
2014-02-19 21:22:36 +01:00
def
51012d479b
Add totelecp
2014-02-11 22:36:55 +01:00
def
c907071d4c
Merge branch 'DDRace64' of github.com:def-/teeworlds into DDRace64
2014-02-03 04:32:29 +01:00
def
1dd666e066
Major SQL Change:
...
Keep records in a single table records_race
Keep team records in a single table records_teamrace
Keep maps with their server and respective points in a table records_maps
2014-02-03 04:31:30 +01:00
def
823a04333a
Add /showall
2014-02-02 19:56:10 +01:00
def
d8533eea67
Proper Client Version numbers and more visible whispers
2014-01-30 16:49:15 +01:00
def
2af9d9f423
Switchable ninjajetpack
2014-01-11 13:59:20 +01:00