Commit Graph

92 Commits (master)

Author SHA1 Message Date
Zughy 588c2557f4 CRASHFIX: wrong checks when punching players 2022-01-24 20:14:39 +01:00
Zughy dcc8f945e7 Allow multiple players and multiple teams to win a match
This introduces a compatibility issue for minigames with teams when a team wins by being the only one left; however, considering that the only minigame with teams not developed by me or friends is Gems and that the current code is way better than before, I prefer warn Gems developer and give the possibility to everyone to use such a feature
2022-01-23 23:57:49 +01:00
Zughy 2d667236db More tracebacks 2022-01-23 00:46:38 +01:00
Zughy 8adb576356 CRASHFIX: check for player in HUD_send_msg and log a traceback if not found 2022-01-23 00:46:18 +01:00
Zughy 091b297cd9 Store custom hands for spectators and give them back when leaving 2022-01-22 17:29:05 +01:00
Zughy 699bf7e2b1 Don't allow spectators attached to something to join queues nor ongoing games 2022-01-22 14:00:38 +01:00
Zughy b56ca9ab47 Bugfix: avoid spectators falling down when entering (regression from the entity detach commit) 2022-01-22 13:19:01 +01:00
Zughy 6b22891f59 Initialise players_spectated when the match loads and clear it when it ends 2022-01-22 13:17:48 +01:00
Zughy 8807cf56e5 Document previous commit about chat registration order 2022-01-18 00:04:32 +01:00
MisterE d63c8ffc3d Execute arenas chat checks last, to allow mods like chat bridges to run flawlessly 2022-01-17 22:48:57 +00:00
Zughy 911dceaf9b Bugfix: detach players when entering an arena 2022-01-14 20:15:24 +01:00
Zughy 4f29df7e22 Don't allow players attached to something to join queues and ongoing games 2022-01-13 00:19:28 +01:00
Zughy 29f868ae00 Redesign set_sign + CRASHFIX when moved with WorldEdit 2022-01-11 23:44:53 +01:00
Zughy 12b344a59a CRASHFIX: players in different arenas can now hit themselves (with no damage). Same for when one is in an arena and the other is not 2022-01-10 14:15:10 +01:00
Zughy ebef57c7b8 Fix missing icons from previous commit 2022-01-10 14:11:06 +01:00
Zughy 4691bd2d0e Editor: clean up (new Customise section) 2022-01-09 23:26:52 +01:00
Zughy d848aa9bcb Bugfix: Z cloud speed in the sky editor was taking the X value 2022-01-09 14:30:13 +01:00
Zughy 429d94f109 Editor: remove BGM section and instantly open the BGM window instead 2022-01-09 12:55:19 +01:00
Zughy c4cc6d2c1b Refactor AL_value_to_string -> AL_property_to_string 2022-01-08 00:11:22 +01:00
Zughy 1cf51640cb Update BGM and celestial vault translations 2022-01-08 00:03:27 +01:00
Zughy 85673fb81b Print arenas BGM into the debug log 2022-01-07 23:59:12 +01:00
Zughy 4f7c905a8a Custom sky per arena 2022-01-07 22:14:41 +00:00
Zughy a8af85a18b CRASHFIX: flushing nonexistent arenas made the game crash 2021-12-24 19:47:11 +01:00
Zughy d1305be391 local function was actually global 2021-12-24 18:46:26 +01:00
Giov4 8487362cab CRASHFIX: removed missplaced end 2021-03-12 15:16:09 +00:00
Zughy d32f4ebcd9 Bugfix: don't end the match when the last spectator leaves and only a player is present 2021-03-12 14:38:57 +01:00
Zughy 8c03575015 CRASHFIX: spectators can't use /all and /t anymore 2021-03-11 23:28:53 +01:00
Zughy 9885297140 Bugfix: (hybrid servers) when disconnecting while in arena, players will be teleported back, their life replenished and their inventories returned 2021-02-27 13:09:49 +01:00
Zughy a7fb09c878 Removed a few afters thanks to MT 5.4 (fixes invisible former spectator names too) 2021-02-26 22:16:28 +01:00
Zughy d67355b85f Hypertext translations (5.4) 2021-02-26 21:17:23 +01:00
Zughy e1f5c6823a Bugfix: spectators weren't informed when new people joined (both players and spectators) 2021-02-25 00:16:19 +01:00
Zughy e195e59397 Spectate: avoid rotating between players when there is only one player left inside the current spectated team 2021-02-24 14:41:38 +01:00
Zughy 67b16e9ab8 Better eye icon positioning for spectating 2021-02-24 14:19:21 +01:00
Zughy 7c31b169e2 New getter: get_player_spectated 2021-02-24 14:09:53 +01:00
Zughy 5560848d2a Removed useless on_quit call on force_arena_ending 2021-02-23 01:47:20 +01:00
Zughy 474b1fe11b Bugfix: spectate followed the eliminated player outside of the arena when there were only 2 players left 2021-02-19 22:38:11 +01:00
Zughy 830699dd81 CRASHFIX: disabling arenas with people in queue made the game crash (due to the API split) 2021-02-18 21:37:59 +01:00
Zughy eb5aa65508 set_author and set_timer didn't update the storage (+ little refactoring) 2021-02-18 11:43:24 +01:00
Zughy 13d1457f61 Split api.lua in more files, inside a folder with the same name | removed (useless) global teleport_in_arena 2021-02-17 22:41:21 +01:00
Zughy a3953ea4b5 Bugfix: wrong team rotation in spectate mode 2021-02-17 22:20:37 +01:00
Zughy 3d11a4bcb4 Removed useless database update when arenas ended 2021-02-17 22:20:21 +01:00
Zughy 0b35627377 Proper folders structure (src) 2021-02-17 17:03:03 +01:00