Commit graph

462 commits

Author SHA1 Message Date
ClobberXD
cdef72cf5d Fix missing assignment of return value (#308) 2018-12-30 23:11:17 +00:00
ClobberXD
3b4692814d Allow specifying optional param for /r 2018-12-30 23:10:39 +00:00
MinetestSam
2b8356511f Add a random message for /r 2018-12-30 23:10:11 +00:00
ClobberXD
0a8f7233ee Replenish stamina on respawn 2018-12-30 23:09:25 +00:00
shivajiva101
8b41008bc1 Fix team-chest shift-click 2018-12-30 23:08:55 +00:00
ClobberXD
904c47dea2 Replace deprecated settings_* API methods 2018-12-30 23:08:25 +00:00
ClobberXD
f2c864ac04 Clear kill list on new match 2018-12-30 23:08:05 +00:00
ClobberXD
7acf79df24 Improve vote_kick feature 2018-12-30 23:07:22 +00:00
ClobberXD
fca7dc5678 Eliminate shooter's dependency on tnt_explode.ogg 2018-12-30 23:04:59 +00:00
shivajiva101
c94e34d911 Fix team-chest blacklist
fix typo in the ipair loop for the blacklist table
2018-12-04 19:19:54 +00:00
ClobberXD
5bb2cff6c5 Fix and improve /reset_rankings 2018-12-03 16:29:12 +00:00
ClobberXD
e865091a5a Hide builtin nametags on join until replaced by entity nametags 2018-12-03 09:37:32 +00:00
ClobberXD
6e8ca1505d Update ctf_pvp_engine to 6f5bcd0
I made a stupid mistake of not fetching the latest commits, and ended up updating the submodule to Gael's team-locking PR in #284

First time updating submodules, sorry >.<
2018-11-30 02:32:44 +00:00
ClobberXD
9a8076be4d Update ctf_pvp_engine to aa12c0d 2018-11-29 16:30:48 +00:00
ClobberXD
678c86aef5 Allow players to cross barrier if fly=true, interact=false 2018-11-29 16:19:07 +00:00
ClobberXD
7140e8430e Add workaround for orphaned entities (increased delay) 2018-11-29 16:09:57 +00:00
ClobberXD
c0fe21d01a Re-add mods/default/crafting.lua with only the fuel recipes 2018-11-29 15:56:09 +00:00
ClobberXD
ed5239cb56 Remove unused arg from ctf_colors.get_color and ctf_colors.get_irc_color 2018-11-29 15:53:27 +00:00
ClobberXD
a3989a6807 Fix points being for suicide and disable gun damage during buildtime 2018-11-29 15:52:43 +00:00
MinetestSam
4161ba0bee Add a 'x' minute temporary lockout feature when vote kicked 2018-11-29 15:45:17 +00:00
ClobberXD
b82af22a05 Allow .git in map dirs 2018-11-26 19:29:20 +00:00
ClobberXD
63835a51fa Add maps as submodule in mods/ctf_maps/maps 2018-11-26 19:16:40 +00:00
ClobberXD
1c7399b2cb Expose methods in gauges globally 2018-11-26 16:28:37 +00:00
ClobberXD
93da7d0108 Fix missing field: default.node_sound_snow_defaults 2018-11-21 09:12:51 +00:00
MinetestSam
2ae45bba97 Add vote_kick privilege to grant access to kick voting 2018-11-20 13:39:09 +00:00
ClobberXD
def3b99150 Fix accidental inclusion of 5.0-only methods 2018-11-20 13:22:44 +00:00
ClobberXD
5b3efd8909 Fix EOM shown before winner_player is initialized 2018-11-20 13:21:42 +00:00
Lone_Wolf
04e6a43cd2 Modify ammo recipe and add a new recipe that uses tin 2018-11-20 13:21:25 +00:00
ClobberXD
edecba43c2 Update stairs to latest MTG version
The 5.0 seems to add inner and outer stairs, which would be useful for maps and the ind_nodes PR.

Maps using stairs from 0.4-stable should still work, as the 5.0 version just adds more to the existing set of stairs and slabs.
2018-11-20 13:20:51 +00:00
ClobberXD
966aa08667 Delete default/crafting.lua 2018-11-18 15:42:15 +00:00
ClobberXD
0dd95d24eb Improve crafting recipe of ladder_wood
Current: 7 sticks -> 5 ladders
Proposed: 8 sticks -> 4 ladders

Fixes #249
2018-11-18 15:30:15 +00:00
MinetestSam
0c68a4564e Fix furnace and axe recipes 2018-11-18 15:16:01 +00:00
AKryukov92
e6e9760320 Add validation to map detection, to fix some issues 2018-11-16 19:52:02 +00:00
ClobberXD
696a44d3d9 Remove maps 2018-11-16 10:15:39 +00:00
ClobberXD
66a8a73c68 Fix summary not stored before restart
- Match summary is now shown at the end of the going match (using `registered_on_winner` and `register_on_skip_map` callbacks), instead of at the start of the next match.
- Therefore, `prev_match_summary` is now preserved even after restart.
- Also fixes the "Can't initialize mod storage twice" error which occurred due to mod storage also being initialized in `gui.lua` to set/get summary from mod storage. Now, the code for storing and retrieving `prev_match_summary` has been moved to init.lua itself.
2018-11-14 12:48:05 +00:00
rubenwardy
b28f5b94bb Revert "Display kill score as a HUD element (#182)" 2018-11-12 22:35:20 +00:00
rubenwardy
190d7b7e55 Fix crash due to running :get_player_name() on a string
Fixes #239. @ClobberXD
2018-11-12 22:26:36 +00:00
ClobberXD
c6b3fbd0ce Improve rankings formspec
- Renamed `render_per_team_stats` to `render_team_stats`, for the immaculate intention of shortening lines without adding a line-break.
- Adds fixed minimum width to columns to space them out.
- Displays a player's rankings at the bottom of the formspec without having to scroll down. (if the player isn't in the top 50)
  - This is achieved using a very hacky method: Another table is required, with the same column widths as the main table. This is the reason why I added fixed width to columns in the main table. :)
2018-11-12 21:31:05 +00:00
Anand S
5bd09b46ad Add /r to allow players to take a quick peek at their score 2018-11-12 15:26:40 +00:00
Anand S
d0ff9e332a Fix /rankings not returning text output 2018-11-12 15:26:40 +00:00
ClobberXD
9ac91d8ee1
Map Editor: Save context to mod_storage until map has been exported (#236) 2018-11-12 18:40:09 +05:30
ChandlerBing1994
425770efda Improve colored team door texture 2018-11-12 11:54:04 +00:00
ClobberXD
77cdecc15e
Display kill score as a HUD element (#182) 2018-11-12 11:45:51 +05:30
tidle
d111d8673a Add ammo crafting recipe 2018-11-12 04:34:17 +00:00
tidle
85a9eddd4f Update chest text to include exact KD number 2018-11-12 04:31:07 +00:00
ClobberXD
b07f318411 Improve layout of ctf_map GUI 2018-11-12 04:11:23 +00:00
ClobberXD
58fe5230d6 Replace middle barrier with water if surrounded by water 2018-11-12 04:06:52 +00:00
ClobberXD
6562959e63 Add ceiling and bedrock during barrier placement 2018-11-12 04:05:38 +00:00
AKryukov92
bdf0bbef94 Fix variable scope violation (#233)
closes #230
2018-11-11 23:09:15 +05:30
rubenwardy
df0adb4495
Fix crash on rightclick of orphan team chest
Fixes #228
2018-11-10 20:21:15 +00:00
AKryukov92
7ed2aabfff Enable PvP during server startup. 2018-11-10 10:19:26 +00:00
ClobberXD
f9d6ecd0bb Add wool mod 2018-11-10 09:53:50 +00:00
ClobberXD
664330276a Enable crafting of powerful tools 2018-10-17 22:27:33 +01:00
ClobberXD
41409ce158 Remove gold-related nodes and craftitems 2018-10-17 22:26:43 +01:00
ClobberXD
e43448482b Add support for transferring player stats 2018-10-17 22:25:40 +01:00
ClobberXD
f8a6b64627 Implement item blacklisting for team chests 2018-10-17 22:24:25 +01:00
ClobberXD
b30ea671e4 Use callback to stop punches in buildtime instead of setting
This stops the server list showing CTF as non-pvp
2018-10-17 22:22:44 +01:00
ClobberXD
6375bb2cf0 Fix map editor not saving team flag positions
Previously, meta was written to map.conf *before* setting the aforementioned values
2018-08-31 13:11:35 +01:00
ClobberXD
72c5afab55 Fix vote related bugs
* Reset playertag on new match
* Clear votes on new match
2018-08-20 11:23:42 +01:00
ClobberXD
c1fe05b78f Improve and fix some end-of-match formspec issues
* Fix clipped labels in end-of-match formspec
* Improve format for match duration
* Clean up code
2018-08-03 18:51:25 +01:00
ClobberXD
d6b7ae9b61 Add coloured team-doors
- Add coloured team-doors for visual distinction.
- Players can only ever have normal steel doors in their inventory which then convert into their respective team-doors on place.
- Team-doors can be opened by anyone from the placer's team, _irrespective of its location in the map_ (which is the expected behaviour).
2018-08-03 18:50:24 +01:00
ClobberXD
e9f3da31a6 Change ladder recipe to use sticks instead of wood 2018-08-03 14:25:09 +01:00
ClobberXD
65275185ba Deprecate /rankings me, always show player in rankings
- Deprecate `/rankings me`, `/rankings` is used to check own stats too.
- On `/rankings`, the league table is displayed with caller's stats highlighted in yellow.
  - If in top 50, stats are highlighted as-is.
  - If not in top 50, stats are appended to the bottom of the list.
2018-08-03 12:38:34 +01:00
rubenwardy
da8c9b53aa
Revert "Use an LVM to emerge map, place schematic, and fix lighting"
This reverts commit 7732d0c23d.
2018-07-19 22:17:15 +01:00
rubenwardy
35da0ca3fe
Revert "Fix lighting glitches on LVM map caused by engine mapgen"
This reverts commit ae8005a1f4.
2018-07-19 22:17:15 +01:00
ClobberXD
c7a8998b7c Fix county being awarded on suicide 2018-07-12 18:41:56 +01:00
rubenwardy
55b9ecf4a8
Fix crash caused by summary recall 2018-07-10 20:44:26 +01:00
Anand S
2ffaed27af Add /summary command to show last match's stats
* Add /summary command

* Fix invalid method names
2018-07-02 09:18:25 +01:00
rubenwardy
460fd335ff
Send kills to IRC channel 2018-06-25 00:04:35 +01:00
Gaël C
ead8366790 Fix team name in bounty announcement
It was set to the message receiver's color instead of the bounty holder's color.
2018-06-24 23:15:18 +01:00
rubenwardy
469347f716
Add map reload feature 2018-06-24 23:14:18 +01:00
rubenwardy
d3c8f39372
Add /set_next command, cycle rather than random 2018-06-24 21:17:23 +01:00
rubenwardy
b4be27e4a5
Require two flags before being able to export 2018-06-23 15:54:00 +01:00
rubenwardy
493a11a213
Remove report sending to email 2018-06-23 15:33:18 +01:00
rubenwardy
ae8005a1f4
Fix lighting glitches on LVM map caused by engine mapgen 2018-06-23 14:24:57 +01:00
Anand S
7732d0c23d
Use an LVM to emerge map, place schematic, and fix lighting 2018-06-23 13:39:01 +01:00
Anand S
0e1525d282 Make target name coloured by team in bounty announcement 2018-06-20 11:17:26 +01:00
Jak R
da9ab8ec15 Add ind_dirt and ind_dirt_with_grass 2018-06-08 23:35:28 +01:00
SmallJoker
0430aabdb0 Fix ability to use builtin inventory lists to store items between matches or craft 2018-05-04 19:01:53 +01:00
Anand S
bf9ae1a75a Fix team door craft recipe 2018-04-22 12:05:05 +01:00
SmallJoker
5ccf060841 Fix afkkick countdown notification 2018-04-22 11:50:41 +01:00
rubenwardy
543c9ad6b7 Add bronze craft recipe 2018-04-20 03:02:19 +01:00
rubenwardy
ca51ec9838
Fix crash due to lack of stats migration 2018-04-19 01:01:19 +01:00
rubenwardy
dde410ee8d
Fix crash on /rankings 2018-04-19 00:57:28 +01:00
rubenwardy
8c33076724 Add mese -> mese crystal 2018-04-19 00:45:21 +01:00
rubenwardy
10988ab6d8
Add more crafts 2018-04-18 23:49:22 +01:00
rubenwardy
52f2b617cc
Add crafting mod 2018-04-18 23:30:38 +01:00
rubenwardy
8c67155cdb
Add background to rankings GUI 2018-04-18 23:02:59 +01:00
rubenwardy
12d7228ff0
Add bounty kills to stats 2018-04-18 23:00:58 +01:00
Gaël C
cf81d194f9 Add more info to end of match score board
* Added name of winner team
* Number of kills, attempts, and score - total and per team
* Match duration
2018-04-18 21:49:47 +01:00
Anand S
b7bec9168b Fix issues with bounty_score
* Set lower limit to bounty
* Check for div-by-0 before calculating bounty_score
* Rounded score after calculation
* Changed the divisor from 10000 to 5000 to prevent very tiny bounties on targets
2018-04-08 15:48:33 +01:00
rubenwardy
e3b12312e5 Fix warnings in new luacheck 2018-04-06 16:18:32 +01:00
rubenwardy
6b8049f1aa Improve team algorithm 2018-04-06 16:10:05 +01:00
rubenwardy
7bd82dca86 Fix a load of issues, add luacheck and travis 2018-04-06 14:04:56 +01:00
rubenwardy
c21b192f82 Add naive team sorting and shuffling
Will probably be shit. Fixes #37
2018-04-06 13:35:13 +01:00
rubenwardy
0abd12b8a1 Fix errors in previous commits 2018-04-06 13:31:54 +01:00
Anand S
dc6c86d98c Add highlighted PM messages 2018-04-06 12:58:31 +01:00
Anand S
622b588e93 Add even more random messages 2018-04-06 12:58:12 +01:00
Anand S
ea51cf4152 Make bounties dynamic, plus small ctf_stats change
Top 50 (instead of 41) players in the league table
2018-04-06 11:21:44 +01:00
Anand S
ccd40285f0 Used colored chat messages in various mods 2018-04-06 11:20:35 +01:00