Commit graph

523 commits

Author SHA1 Message Date
Thomas--S
967afeb5b8 Add IRC support for maps catalog (#415) 2019-07-14 14:48:40 +05:30
ANAND
ed7b1ce902
Update maps submodule 2019-07-13 17:04:17 +05:30
ANAND
39b573de53
Merge branch 'master' of https://github.com/MT-CTF/capturetheflag 2019-07-13 07:23:08 +05:30
ANAND
8a37dac73d
Update ctf_pvp_engine 2019-07-13 07:23:04 +05:30
MinetestSam
0829d4c700 ctf_bandages: Show coloured alert to target when being healed (#436)
Also increase the spawn rate of bandages.

Co-Authored-By: ANAND <ClobberXD@gmail.com>
2019-07-13 06:48:48 +05:30
ANAND
da8a166902
Update maps submodule 2019-07-12 15:52:08 +05:30
ANAND
2abd4098fc
Update ctf_pvp_engine and maps 2019-07-11 13:00:59 +05:30
ANAND
d4c612d2fb Fix flag claimed right after creation (#433)
Regression introduced by abbd62ac:

- Since abbd62ac, all map metas are loaded at server startup.
- In `ctf_match.create_teams`, `map.teams.pos` is passed to `ctf_flag.add`.
- As tables are passed by reference, properties added to `ctf.team("team_name").flags[i]` are also added to ctf_map.map.teams.
- This means that the next time this table is passed to `ctf_flag.add`, this table would already contain the `claimed` property, that holds the name of the player who last claimed the flag at this pos, and the name of their team.

This is fixed by simply passing `map.teams.pos` to `ctf_flag.add` using `table.copy`
2019-07-11 08:57:10 +02:00
ANAND
99bb09def6
ctf_events: Fix grenade kills not being detected (#428) 2019-07-10 15:49:33 +05:30
ANAND
b289da8344
Update ctf_pvp_engine
This is so annoying...
2019-07-10 14:56:04 +05:30
ANAND
f3cd2a0539
Update maps submodule 2019-07-06 14:03:19 +05:30
ANAND
c30d3d84d9
ctf_map: Fix per-map treasures registering at server startup (#421)
Fixes regression introduced by abbd62ac, which calls `load_map_meta` for all maps right at server startup, instead of calling it per-map for every new match.
2019-07-06 10:16:04 +05:30
Lone_Wolf
045281e60d Fix crash due to missed updation of ctf_color.get_color in ctf_bounties (#427) 2019-07-05 21:48:59 +05:30
ANAND
102792032a
Update maps submodule 2019-07-05 19:57:35 +05:30
ANAND
82c4dab2bf
Update ctf_pvp_engine 2019-07-05 16:12:45 +05:30
ANAND
60d3f2600e
Merge branch 'master' of https://github.com/MT-CTF/capturetheflag 2019-07-05 15:49:06 +05:30
ANAND
85959ba913
Fix deprecated API method calls 2019-07-05 15:48:59 +05:30
Lone_Wolf
03f368743e ctf_map: Force-register aliases (#423)
Fixes aliases not being registered, as they are names of existing items.
2019-07-05 06:21:13 +05:30
ANAND
1aca94fd8c
medkits: Fix missing return statement
This fixes the flags not being capture-able
2019-07-03 12:24:54 +05:30
rubenwardy
0d6c80642c Update ctf_pvp_engine 2019-07-03 06:17:49 +01:00
ANAND
37d88a88a1
Disable respawn immunity message when hitting teammates (#417) 2019-06-25 18:54:57 +05:30
ANAND
62eb068c35
Increase capacity of team-chest (#380)
+ cosmetic and code-style improvements
2019-06-23 12:34:15 +05:30
Thomas--S
74c8531de4 Maps catalog: Use textareas for hint and license, add others (#413) 2019-05-15 20:34:25 +05:30
Thomas--S
0d04bfd081 Add random message for maps catalog (#414) 2019-05-14 13:24:02 +05:30
ANAND
72f48db70d
Update maps submodule
Screenshots have been added for all existing maps
2019-05-12 23:37:37 +05:30
Thomas--S
16ba9ef044 update.sh: Move map screenshots to ctf_map/textures/ (#411) 2019-05-12 23:06:39 +05:30
Thomas--S
4d6b3512ab ctf_map: Move duplicated code to helper function (#410) 2019-05-12 23:03:32 +05:30
Thomas--S
9956606899 Maps catalog: Abort if no maps are available (#412) 2019-05-12 22:49:14 +05:30
ANAND ︻气デ═一
abbd62acc8
Add maps catalog (#381)
This allows maps to have a description, a valid viewable license, screenshot, etc.
2019-05-12 18:53:31 +05:30
ANAND
967dee94a0
Remove leftover debug message 2019-05-12 14:52:12 +05:30
Lars Müller
b8d1bdc9f3 Fix healing interrupted on new match due to respawn (#400) 2019-05-11 09:57:25 +05:30
Thomas--S
96636d4c88 Fix crash on grant/revoke of vote_starter, when granter/revoker is nil 2019-05-11 09:31:44 +05:30
Thomas--S
0eadaf9a96 Fix crash when kick vote target leaves before being kicked
Also fix the /unblock command which didn't work previously
2019-05-11 09:31:44 +05:30
Thomas-AC-Dev
ba432ea77c Improve feedback message upon reporting (#408) 2019-05-10 21:01:15 +05:30
ANAND
b9e7b3b58e
Update ctf_pvp_engine submodule
Includes:
- Fix missing priv check in chat message handler
- Remove chatplus leftovers
2019-05-01 12:11:29 +05:30
ANAND
4cb8e731ca
Rename global playertag to ctf_playertag 2019-04-12 15:41:14 +05:30
ANAND
dc850acd9d
Don't end respawn immunity on hitting team-mates (#404) 2019-04-12 15:22:32 +05:30
ANAND
fea07d8ae8
Exclude map's initial_stuff from list of treasures (#385) 2019-04-10 15:37:31 +05:30
ANAND
8f78cd7644
Update calls to ctf_colors.get_color (#396)
MT-CTF/ctf_pvp_engine#35. Also update ctf_pvp_engine submodule.
2019-04-09 14:01:18 +05:30
ANAND
802426b842
physics: Remove assertions and physics.change (#394)
Without the assertion, physics.set does the exact same thing physics.change would do.
2019-03-26 07:28:58 +05:30
rubenwardy
8b2174a7dc Remove saplings and flint fully 2019-03-21 17:45:39 +00:00
Anand S
a1f32d8fcf Remove all unused MTG features - Part 2
Including
- Saplings and corresponding growth functions and node-timers
- Features using node meta (e.g. bookshelves formspec)
- Signs (they're nothing without their meta)
2019-03-21 17:33:10 +00:00
ANAND
703a3bbc50
Improve grenades (#349)
- Reduce collision-checking interval
- Increase initial velocity of grenade entity
- Make grenade blast damage scaling more realistic
2019-03-21 00:40:16 +05:30
rubenwardy
682f63d74b
shooter: Fix incorrect eye_height used (#386) 2019-03-20 17:47:26 +00:00
ANAND
17f4cfd58e Add mod.conf for physics mod (#387) 2019-03-20 17:44:19 +00:00
ANAND
05033060db
shooter: Fix incorrect eye_height used 2019-03-20 15:40:43 +05:30
ANAND
daf09af648
Update maps sub-module (#384)
Includes fix for unknown items, due to maps specifying wooden tools as initial stuff.
2019-03-20 13:32:57 +05:30
ANAND
29a0861aef
Add HUD score elements for flag pickup and capture (#378) 2019-03-19 22:34:41 +05:30
ANAND
ed85e3258b
Fix indestructible snow and ice not being slippery (#377) 2019-03-19 22:34:25 +05:30
ANAND
d6dab9182a
Move physics mod into "other" modpack (#382) 2019-03-19 22:34:05 +05:30