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
515c7df029
Bugfix: custom editor section was mixed with the settings section
2022-06-04 01:11:17 +02:00
Zughy
2ec4de91da
Bugfix: editor tools requiring right-clicking now work also when pointing a node ( fixes #146 )
2022-05-31 10:30:41 +02:00
Zughy
ab008a3c3a
make arena_lib truly game agnostic
2022-05-31 00:25:53 +02:00
Zughy
227c5f7785
comments
2022-05-31 00:25:42 +02:00
Zughy
d9aeb1f629
Debugger: add spectatable entities/areas + clean up
2022-05-28 01:06:19 +02:00
Zughy
e79598c268
Remove unused undocumented function
2022-05-28 00:32:19 +02:00
Zughy
6f45e3b26c
Crashfix introduced by latest commit + small cleaning
2022-05-27 23:31:26 +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
06a0b9697e
small refactor
2022-04-11 14:42:33 +02:00
Zughy
8d77ec6ae5
Better print custom celestial vaults in debug log
2022-04-11 14:39:36 +02:00
Zughy
fc9b8eb7df
Fix crash when leaving the editor if the arena had no custom celestial vault (introduced with 05db5a)
2022-04-11 14:38:14 +02:00
Zughy
05db5ad21f
Improve arenas celestial_vault parameter (now nil by default)
2022-04-04 00:03:53 +02:00
Zughy
d6281181cb
Improved debug log
2022-04-03 16:07:27 +02:00
Zughy
eaab3e07b3
Remove possibility to jump from an editor into another (debatably useful and probably bugged)
2022-04-03 00:39:00 +02:00
Zughy
d4b63dd616
Editor: fix lighting value not correctly retrieved
2022-04-01 16:57:58 +02:00
Zughy
b0512d80d9
Custom lighting per arena
2022-04-01 10:26:26 +00:00
Zughy
85a29dfb2b
Unremoved debug line
2022-02-24 00:43:49 +01:00
Zughy
12cd4bfe1c
Editor: add clouds transparency in cel. vault formspec
2022-02-24 00:31:27 +01:00
Zughy
9a30e0dd0b
Another 5.5 fix
2022-02-03 01:16:15 +01:00
Zughy
5ebfbcf613
CRASHFIX (5.5): spectators camera offset wrongly obtained
2022-02-01 19:05:04 +01:00
Zughy
549bf412ee
MT 5.5: temporary func reset_celestial_vault no longer needed
2022-02-01 13:32:32 +01:00
Zughy
c6ab1e0b2d
change _ with nil values
2022-01-30 17:58:27 +01:00
Zughy
c75194ae93
callback for when the spectated target changes
2022-01-29 21:58:15 +01:00
Zughy
d2344a4697
Refill spectator life when spectated player respawns
2022-01-29 21:57:13 +01:00
Zughy
f667108fc6
spectator life fixes
2022-01-29 18:29:35 +01:00
Zughy
177eb6d513
CRASHFIX: is_player_spectated checks if someone is inside an arena first
2022-01-28 00:05:03 +01:00
Zughy
77c155573c
improve previous commit
2022-01-28 00:04:21 +01:00
Zughy
1f16ea2dd0
Spectators share the same HPs of the player they're spectating
2022-01-27 22:07:31 +01:00
Zughy
86d8467fac
Bugfix: sky features half broken in the editor because of a refactor (whoopsie)
2022-01-25 13:27:36 +01:00
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