Ekdohibs
7a57d6167f
Make series_enter_choice linear complexity instead of quadratic.
2017-12-12 09:31:24 +01:00
Auke Kok
fec7f4a25b
Color boxes in the random order selection formspec.
...
white/gray: not yet completed boxes
green: completed boxes
Display the box numbers, since the order numbers may be confusing.
2017-12-11 22:16:37 -08:00
Auke Kok
5943079b6a
Slightly make this more pleasant to the eye.
...
A bit longer, wider, centered, more space in the size and
centered button with "Play" for consistency (creator ui
has this wording as well).
2017-12-10 23:13:22 -08:00
Ekdohibs
2d02f44d07
Teleports: on_teleport method, add return value saying whether player should be moved off the teleport
2017-12-07 22:46:55 +01:00
Ekdohibs
699e4e0bba
Add random access series type, which shows a formspec to player to choose box to enter.
2017-12-07 22:22:03 +01:00
Auke Kok
6a778d8ba6
Allow placement anywhere, just adjust pos on the fly to fit.
...
- removed 2 prints.
- prevents making signs outside the +x side of the box.
2017-12-06 23:14:13 -08:00
Ekdohibs
99b27daa94
Make set door tool able to move digits in a box
2017-12-06 23:52:01 +01:00
Auke Kok
516f22a0ae
Slightly rephrase now that this works.
2017-11-09 00:21:23 -08:00
Auke Kok
be8169879e
Try this irc say thing again.
...
This should work according to both the code AND the docs.
2017-11-09 00:17:23 -08:00
Auke Kok
c204228c97
Do not record certain score data.
...
- builder runs
- admin runs
- box not published
2017-11-05 11:27:18 -08:00
Auke Kok
51c57f9647
Convert most base block tiles to a tilesheet
...
About 40 textures are in here now, there's space for 26 more.
2017-10-26 23:13:31 -07:00
Auke Kok
b99b365e62
Add a small log
helper mod so all mods can use log.fs_data()
2017-10-24 10:29:11 -07:00
Auke Kok
43e9829ec4
Prep for box score migration, fix up loose meta table ends.
2017-10-21 14:28:28 -07:00
Auke Kok
c6fa3b4585
Use points table to score players/boxes.
...
Adds an icon UI for the category signs.
No longer stores scoring info in box_meta.
2017-10-21 11:21:16 -07:00
Auke Kok
812f5a20d5
Hide all lobbies from the admin view.
...
These really don't add anything significant here.
2017-10-17 21:25:32 -07:00
Auke Kok
b8bbcc2856
Don't break a nexus block.
2017-10-17 08:36:59 -07:00
Auke Kok
6be84a9111
Cover a potential crash scenario.
2017-10-11 14:05:20 -07:00
Auke Kok
b52895ca8a
Player box create limit (tested) and attr admin command.
...
Allows us to modify attributes of online players. Offline player
attributes need to be modified using sqlite from the cmdline.
2017-10-10 21:50:46 -07:00
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