Commit graph

27 commits

Author SHA1 Message Date
ClobberXD 5b3efd8909 Fix EOM shown before winner_player is initialized 2018-11-20 13:21:42 +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 77cdecc15e
Display kill score as a HUD element (#182) 2018-11-12 11:45:51 +05:30
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 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
rubenwardy 7bd82dca86 Fix a load of issues, add luacheck and travis 2018-04-06 14:04:56 +01:00
Andrew Mac 4ae687086a Fix syntax error in good weapons list 2018-02-18 08:30:50 +00:00
Anand S 87454dd0e3 Improve ctf_stats
* Modified ctf_stats/init.lua

* Modified ctf_stats/init.lua

- Max. points for a kill has been increased from 150 to 200
- good_weapons list has been modified to include *all* mese and diamond implements
- Minor corrections in comments

* Delete init.lua

Was created by accident in the root directory of repo
2018-02-15 08:04:34 +00:00
AKryukov92 f179b4f52d Update good weapons list in ctf_stats 2018-02-11 15:44:10 +00:00
rubenwardy 92e1029b96 Defer ctf_stats.txt removal to reduce chance of loss of data 2018-01-09 02:41:46 +00:00
rubenwardy d46e705329 Fix crash in ctf_stats on new worlds 2018-01-09 02:40:28 +00:00
rubenwardy 68cea916ce Add ability to list a certain user's score 2018-01-03 00:23:38 +00:00
rubenwardy d66cabe446 Add userlimit skip if sufficient score 2018-01-02 23:58:47 +00:00
rubenwardy c835a117a7 Fix ctf_stats migration crash on new servers 2017-11-07 00:32:20 +00:00
rubenwardy 31ae819d0b Increase score given by kill 2017-10-13 02:05:21 +01:00
rubenwardy 13bd6fb832 Fix some bugs in created in ctf_stats rewrite 2017-10-13 00:57:09 +01:00
rubenwardy 2234a59c61 Rewrite scoring algorithm 2017-10-13 00:09:25 +01:00
rubenwardy 82529b56e3 Add pro-only area in chest 2017-10-12 01:19:23 +01:00
rubenwardy 6fdfb28f37 Record kills 2015-12-04 00:15:03 +00:00
rubenwardy f952112be0 Add league tables 2015-12-03 23:57:28 +00:00
rubenwardy 220d5e2a3c Add end of match score board 2015-12-03 23:46:52 +00:00
rubenwardy ae6a5e7741 Disable inv for now, remove debug stuff from ctf_stats 2015-11-29 23:55:27 +00:00
rubenwardy 79238968d6 Add ctf_stats, remove furnace 2015-11-29 00:05:37 +00:00