def
13044e093c
Fix some more undefined behavior with super ( fixes #4412 )
2021-11-29 17:12:50 +01:00
Jupeyy
9a0f16b55b
Add exception id to TeamKill
2021-11-01 16:49:14 +01:00
heinrich5991
d6c344853a
Kill unfinishable teams if they don't enter /practice within a minute
...
This is to avoid players playing in unfinishable teams for a long time
if they don't understand the system messages.
Fixes #4088 .
2021-09-11 20:23:27 +02:00
gerdoe-jr
1cf43b48ae
Add /team -1
2021-08-10 22:26:07 +03:00
heinrich5991
9f57293ce8
Warn teams after 30s if not every tee has started
...
Part of fixing startline skipping.
2021-07-21 17:54:46 +02:00
heinrich5991
4c2bd53e9b
/save each tee's starting state
...
Part of fixing start line skipping.
2021-07-21 17:54:46 +02:00
heinrich5991
35402b07d7
Try to fix "start line skipping"
...
Previously, tees could go around the start line on some maps, going
directly to the finish line while leaving one tee behind at the start.
By letting that sole tee start and kill itself, the team could be
directly at the finish at time 0:00.
Fix this by requiring every tee of a team to hit the start line before
being able to finish. Tees can still get some advantage by skipping the
start line, but it will no longer be a 0:00 finish.
2021-07-21 17:54:46 +02:00
Jupeyy
a663799188
uint64 -> uint64_t, int64 -> int64_t
2021-06-24 17:19:17 +02:00
Kyle Bradley
35991ea973
Fixed names
2021-03-20 18:33:34 +02:00
Kyle Bradley
4afe62a596
Updated to include penalty, cooldown and timeout
2021-03-17 00:31:16 +02:00
Kyle Bradley
cf7fb72dbf
- Added timeout penalty
...
- Applied PR feedback
2021-03-01 00:37:49 +02:00
def
d39a17933d
Improve error messages when you can't join team
2021-01-23 15:52:57 +01:00
Zwelf
87d422df5a
Remove unused onChangeTeamState
2021-01-11 14:29:01 +01:00
Alexander Akulich
f16937b361
gamecontext.h: Remove unused player.h include
...
See the upstream commit 24bda2faa0
2021-01-10 14:25:12 +03:00
Dennis Felsing
516c1cc599
Merge pull request #3382 from Zwelf/pr-fix-race-condition
...
Fix storing load/save result in main thread without incrementing usage count
2020-12-04 11:48:14 +01:00
Zwelf
e15a91911e
Fix storing load/save result in main thread without incrementing usage count
...
Resulting to race condition, since the main thread always thought that the
load/save thread already completed. Passing the shared_ptr by reference to
prevent a similar future bug to happen.
Fixes #3380
2020-12-04 11:09:21 +01:00
def
9d66c2530b
Check finish of team after player joins spectators
...
Reported by Jupeyy
2020-11-28 20:59:51 +01:00
def
312b9d3bd8
Enable clang-tidy performance-* checks
2020-11-05 11:34:20 +01:00
def
3be8a592e5
Run clang-format
...
Purely automatic change. In case of conflict with this change, apply the
other change and rerun the formatting to restore it:
$ python scripts/fix_style.py
2020-09-26 21:50:15 +02:00
def
f4344dc420
Use (u)int64 from system.h instead of (u)int64_t from cstdint
...
src/game/client/prediction/gameworld.h:62:90: error: ‘int64_t’ has not been declared
62 | void CreateExplosion(vec2 Pos, int Owner, int Weapon, bool NoDamage, int ActivatedTeam, int64_t Mask);
| ^~~~~~~
2020-07-09 13:55:28 +02:00
Zwelf
bff8e90319
Fix loading team sets teamstate to TEAMSTATE_OPEN
2020-07-01 09:03:16 +02:00
Zwelf
b99bbccd24
Revert "Revert "Fix /save on solo server""
...
This reverts commit 59a7e1f187
.
2020-06-30 20:22:17 +02:00
def
59a7e1f187
Revert "Fix /save on solo server"
...
This reverts commit 506602d472
.
2020-06-30 18:41:22 +02:00
Zwelf
506602d472
Fix /save on solo server
...
Fixes #2404
2020-06-29 19:34:21 +02:00
def
6455689e32
Super team can't be saved/loaded
...
Thanks to Lady Saavik for report
2020-06-29 08:46:34 +02:00
Zwelf
a8abc3937b
Make game less dependend on score backend
2020-06-25 12:36:01 +02:00
def
243be18fb4
Keeping multiple states consistent is hard ( fixes #2315 )
...
let's go recount every time
2020-06-24 14:50:32 +02:00
Zwelf
031ac52320
Thread safe /save
2020-06-15 11:14:15 +02:00
def
88b65b6def
Newly joined player should not immediately be subtracted from team 0
2020-05-31 00:34:29 +02: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
def
ef0e685496
Make timestamp consistent in scores
...
The motivation is to have the exact same timestamp for every member
finishing in a team and the team rank as well. This makes the database
more consistent and tooling easier.
2019-04-02 20:18:40 +02:00
def
f5e8b9d822
Fix potential inconsistencies in rank/teamrank
2019-01-10 09:32:23 +01:00
ChillerDragon
c1e3dec980
Remove unused teams function
2018-02-27 16:40:52 +01:00
yangfl
1620fc9b0f
Fix typo
2018-02-07 16:10:40 +08: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
Learath2
0b0783f13c
Fix styling issues, use uint for bitmask
2017-03-10 14:52:49 +01:00
Learath2
9319a82c6e
Add /invite for locked teams. Fixes #647
2017-03-06 12:14:38 +01:00
def
2750a23792
Only allow savegames on same server. Clean up saving a bit and prevent another possible exploit
2014-12-17 20:38:05 +01:00
def
e29571dd73
save doesn't create ranks accidentally anymore ( fixes #73 )
2014-10-21 14:27:10 +02:00
def
2c2b77ac3b
Check whether team has finished once a player in the team kills
2014-09-26 03:42:49 +02:00
def
145f0434f5
Add /save by the glorious HMH
2014-07-26 14:46:31 +02:00
def
7fd799f894
Timeouts, disconnects and game leaves no longer kill your entire locked team
2014-04-12 12:08:20 +02:00
def
a2adca7036
Fix: Don't access unlockable teams
2014-01-30 03:37:45 +01:00
def
6126ad50c4
Fix range of team related bugs by actually removing people from team when they spectate
2014-01-11 15:19:34 +01:00
def
3607218f12
Merge ddrace64 from eeeeee
2013-12-31 06:13:57 +01:00
def
5c6ce4585b
Revert "Fix crash for overfull solo servers: One more team"
...
This reverts commit 2e8c3cfb66
.
2013-12-28 16:09:03 +01:00
def
2e8c3cfb66
Fix crash for overfull solo servers: One more team
2013-12-22 01:52:40 +01:00
def
eba45c4f0a
Add /lock
2013-11-16 00:44:49 +01:00
def
42a8783f00
Add /teamrank and /teamtop5
2013-07-21 08:46:52 +02:00