Commit Graph

92 Commits (master)

Author SHA1 Message Date
Zughy 8f4c537b67 Fix crash introduced with previous commit 2022-08-16 22:02:23 +02:00
Zughy 22e3683b59 Use globalsteps for queue countdowns 2022-08-16 14:30:08 +00:00
Zughy c015c8c2c4 Remove (now) pointless afters to change hotbar items 2022-07-05 15:35:28 +02:00
Zughy 39d2803d26 Small clean up 2022-07-04 13:20:41 +02:00
Zughy 3db1c62336 Bugfix: (regression) display message about leaving queue also for the very ones who've just left it 2022-07-01 23:55:49 +02:00
Zughy a0449234a7 Better log on_kick and on_disconnect deprecations 2022-07-01 16:16:22 +02:00
Zughy 9220a5097e Bugfix: (regression) lower queue timer if the queue is full 2022-07-01 00:10:51 +02:00
Zughy a3d45dae9b (hopefully) Bugfix: check sign coords reliably with vector.equals (fix #152) 2022-06-30 15:24:38 +02:00
Zughy c32530bde9 Add register_on_eliminate global callback 2022-06-28 01:17:43 +02:00
Zughy df913d63d7 Add global callbacks 2022-06-26 17:58:52 +00:00
Zughy 5eb9527481 `name` and `icon` attributes when registering a minigame 2022-06-11 15:18:17 +02:00
Zughy ac45819527 Redo quit callbacks (deprecate `on_disconnect` and `on_kick`) 2022-06-07 18:19:03 +00:00
Zughy 9e87893362 Add on_respawn callback (closes #157) 2022-06-07 12:18:38 +02:00
Zughy 415793d06d Add queue callbacks
Closes #107
2022-06-06 01:30:37 +02:00
Zughy 4d29da467e More translations cleaning 2022-06-05 23:29:33 +02:00
Zughy f2ac202bea Fix players added in queue 2022-06-05 23:13:12 +02:00
Zughy a9649fa4f3 Translations clean up 2022-06-05 19:53:26 +02:00
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