Auke Kok
bd20bcb694
Don't spam "limit reached" box count exceeded msgs.
2017-10-09 16:23:18 -07:00
Auke Kok
4853bb65ed
Add some minor FIXME's
2017-10-09 16:23:01 -07:00
Auke Kok
b194bc0aef
Enforce more strict formspec data checkign, erase contexts.
2017-10-09 16:22:23 -07:00
Auke Kok
2d8f0994b7
Bad test in create gui - this is basically a noop.
...
We don't want to display non-box stuff in here.
2017-10-07 17:02:47 -07:00
Auke Kok
7d29ce6fad
Admin: Manage series.
...
The creator interface now shows a "Manage Series" button which
opens the series maintenance UI.
In the series maintenance UI, the admins can quickly see boxes
that are not in any series, or not in the current selected series,
and add or remove boxes from series.
Only accepted boxes can be added. One can move and see boxes that
are not accepted but that are in a series, so it's easy to spot
where a series includes a bad box.
2017-10-07 17:01:48 -07:00
Auke Kok
237d2bbeee
Log ratings and icons.
...
Still needs recording.
2017-09-29 21:23:27 -07:00
Auke Kok
528fad5e86
Extensive bad formspec data logging.
...
Just because it looks like we're getting false positives,
we up the data dumped to logs significantly.
2017-09-29 20:09:16 -07:00
Auke Kok
7e45175079
Back this all out. Clearly I need to test better.
2017-09-26 21:49:06 -07:00
Auke Kok
771692df3d
Revert "IRC: announce significant box state changes in channel"
...
This reverts commit 9fc95fd4eff3c602f8e8266c1a784b35b1f6b133.
2017-09-26 21:46:49 -07:00
Auke Kok
e8243a8d60
Guard against missing attribute.
2017-09-26 21:44:31 -07:00
Auke Kok
9fc95fd4ef
IRC: announce significant box state changes in channel
...
- accept
- reject
- submit
- retract
player name (either admin or builder) and box id are listed as well.
2017-09-26 15:38:40 -07:00
Auke Kok
c3b82a481e
Make box limit a player attribute (optional).
...
Allows us to grant some players more boxes, which is relatively
easy to do. Default remains at <= 3. (was < 4, so the same).
2017-09-26 15:24:13 -07:00
Auke Kok
cd6438a222
Update node and tool description lines.
...
WIP. More need to be done.
2017-09-19 22:29:58 -07:00
Auke Kok
dab0270d32
Verify valid formspec context.
2017-09-18 21:36:09 -07:00
Auke Kok
9db70c273f
Return proper formspec API return values.
2017-09-18 17:25:48 -07:00
Auke Kok
d5b32b9867
Fix set door thing placing marble (and not marbleb)
2017-09-16 16:08:20 -07:00
Auke Kok
a3461ad15c
Proper permission checking for creator if.
...
This checks that modifications to state, editing, playing are only
done with all the required permissions in place after the formspec is
received. We therefore make sure that a modified client attempting
to send us requests can't just edit a box that they do not own,
or change the box status.
It is possible that 2 admins could create a conflict here, in which
case the second admin request will be discarded with a log message.
2017-09-14 20:06:25 -07:00
Auke Kok
34a6ddef91
Add 'retract' button, fix privileges for accept/reject!
...
Also size up the list horizontally so we can see more text,
the button text has been simplified and the buttons shrunk.
2017-09-13 21:33:43 -07:00
Auke Kok
1b92036db6
Maintain flag whether box creation is allowed for player.
...
Also, consistently word buttons the same.
2017-09-11 23:35:49 -07:00
Auke Kok
31ab551658
Crash fix, and log all create/submit/reject/accept events.
2017-09-11 23:17:36 -07:00
Auke Kok
fc2830ded9
Creator: review buttons in the UX.
2017-09-11 22:39:42 -07:00
Auke Kok
46628fce95
Creator menu: limit box creation.
...
This is a start to limit box creation. It counts the number of
boxes for each status and if too many unsubmitted boxes exist,
the create button is removed from the UI.
The create UI element is now a button and no longer a list entry
which had awkward workaround code. The button is much cleaner.
This still has gaps. The /create command is still entirely
unrestricted, so we should stop using that and reduce that to
server priv only.
Restrict making boxes through the GUI only.
server priv still gives access to /create.
Box builder name is shown to admins, so you can easily discern
whether the author is a troll and doesn't deserve your time
reviewing the box, or not.
Slight yellow color for boxes that you didn't make that are in
editing mode.
2017-09-11 21:16:56 -07:00
Auke Kok
57f34f6885
Ask the player before resetting series progress.
...
This removes the forced teleport to the lobby when you
step on a plate. Just like with the creator plate, I nudge
the player back a node to make sure we don't trigger a ton
of plate events.
The formspec explains what resetting means, and why players
likely do not want this - they should just come back for new
entries to the list at a later time.
Once reset the plate immediately puts the player in the first
box of the series again.
2017-09-04 16:24:26 -07:00
Ekdohibs
56d4d8a711
Remove "please crash" button
2017-09-03 08:35:19 +02:00
Auke Kok
8dad6de936
Two FIXME's - these are bugs we'll need to fix.
2017-09-02 22:34:02 -07:00
Ekdohibs
8b258d18bd
Add "Submit box" button to creator UI
2017-05-04 06:28:29 +02:00
Ekdohibs
88bf8f1c62
Sort boxes by status then reverse id
2017-05-04 06:22:48 +02:00
Ekdohibs
55206ff256
Add box status
2017-05-04 04:49:12 +02:00
Ekdohibs
ce091fac65
New creator UI, some space for box-specific info remaining in the formspec
2017-05-04 04:13:46 +02:00
Ekdohibs
47b5505861
Creator GUI: remove empty line
2017-05-04 03:29:47 +02:00
Auke Kok
fa8d2ebcbb
Don't announce ratings.
2017-04-23 22:39:19 -07:00
Ekdohibs
41f170d851
Only report stars & icons when a player uses the exit teleport
2017-04-16 02:48:51 +02:00
Auke Kok
42395bb109
Convert nexus animated texture to vertical_frames.
...
This is the only big thing that makes old clients not work
so well and is visually really present. So, convert it to
vertical_frames and optiping it.
2017-04-01 23:10:42 -07:00
Auke Kok
a3f98e65a5
Maybe this'll fix it?
2017-03-26 19:05:47 -07:00
Auke Kok
5965c39660
Protect against spacebar press.
2017-03-26 18:48:42 -07:00
Auke Kok
2564514fd5
Make sure these submember tables exist (sizes, boxes)
2017-03-26 18:43:50 -07:00
Auke Kok
7703dc6c5c
Escape box names in formspecs.
2017-03-25 23:09:33 -07:00
Auke Kok
42ffb2039a
List boxes with names in creator UI.
2017-03-25 22:52:50 -07:00
Auke Kok
5b46731537
Enable create functionality.
...
Hooks everything into the chatcommands' code for simplicity.
This makes all permission checks repeated as well, for safety.
2017-03-25 22:36:01 -07:00
Auke Kok
031985c8bc
Implement editing and playing your own boxes through creator GUI.
...
- editing own boxes
- playing your own boxes
Also we hide the 'create' side of the GUI if the 'create' priv
is missing.
2017-03-24 23:32:43 -07:00
Auke Kok
1d6f7823d2
Creator interface: prototype(UI)
...
Somewhat functional, but the lists are hardcoded and
this doesn't do anything yet.
2017-03-23 23:53:25 -07:00
Auke Kok
4408b95e39
Whitespace: new luacheck version.
2017-03-13 23:19:06 -07:00
Auke Kok
9cf951008a
Save meta on series reset.
2017-03-13 22:38:17 -07:00
Auke Kok
eb1b3ead5d
Reset series if a player steps on a series portal they've completed.
...
They won't get put into it. A message says "you've completed this,
try again if you want to re-take it entirely".
2017-03-13 22:34:28 -07:00
Auke Kok
3a1279aa4b
Sounds for mech, teleporters.
...
Mostly metal and wood sounds.
2017-02-24 19:30:19 -08:00
Auke Kok
6b3dfa7a14
Frames: more tools.
...
I can just /giveme the weird ones. No need to handle
insertion of these weird items into frames by
clicking.
2017-02-19 21:53:51 -08:00
Auke Kok
82a89020c1
Allow these 2 critical tools in frames.
...
Otherwise it's going to be really hard to explain how
they work.
2017-02-19 21:38:43 -08:00
Auke Kok
931bece381
Make pedestals and all boxes a trigger.
...
Allows any mech to be triggered with a pedestal or by
opening a box!
2017-02-17 00:31:25 -08:00
Auke Kok
2308a56c45
Maybe this is more efficient.
2017-02-16 20:35:13 -08:00
Auke Kok
27f2212506
Placeholder node for creator interface.
...
Since this will pop a formspec, I don't know how to easily
limit formspec display - probably needs a local table.
2017-02-14 22:26:33 -08:00