Zughy
ec5e46c0e2
Separate queuing system from signs (check description)
...
* adds `arena_lib.join_queue(mod, arena, p_name)`
* adds `arena_lib.get_players_amount_left_to_start_queue(arena)`
* `arena_lib.remove_player_from_queue(p_name)` now returns `true` if successful
2022-06-05 12:20:28 +00:00
Zughy
227c5f7785
comments
2022-05-31 00:25:42 +02:00
Zughy
244d272379
Spectate areas
...
implements #101
2022-05-27 21:12:15 +00:00
Zughy
bb44b3bd9f
Prevent flash damage to appear if fall damage is disabled
...
Co-authored-by: Lars Müller <appgurulars@gmx.de>
2022-05-26 17:13:16 +02:00
Zughy
1b9f3e1383
Spectate entities
2022-05-25 21:25:39 +00:00
Zughy
5c448a33aa
BUGFIX: spectators don't risk to end stuck anymore when leaving a match
...
(TEMPFIX for #131 , waiting for upstream)
2022-04-24 11:14:03 +02:00
Zughy
05db5ad21f
Improve arenas celestial_vault parameter (now nil by default)
2022-04-04 00:03:53 +02:00
Zughy
b0512d80d9
Custom lighting per arena
2022-04-01 10:26:26 +00:00
Zughy
9a30e0dd0b
Another 5.5 fix
2022-02-03 01:16:15 +01:00
Zughy
c6ab1e0b2d
change _ with nil values
2022-01-30 17:58:27 +01:00
Zughy
1f16ea2dd0
Spectators share the same HPs of the player they're spectating
2022-01-27 22:07:31 +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
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
911dceaf9b
Bugfix: detach players when entering an arena
2022-01-14 20:15:24 +01:00
Zughy
4f7c905a8a
Custom sky per arena
2022-01-07 22:14:41 +00: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
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
e1f5c6823a
Bugfix: spectators weren't informed when new people joined (both players and spectators)
2021-02-25 00:16:19 +01:00
Zughy
5560848d2a
Removed useless on_quit call on force_arena_ending
2021-02-23 01:47:20 +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
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