901 Commits

Author SHA1 Message Date
Auke Kok
3be634fa58 Force testing requirement on all boxes.
Boxes need to be tested. Untested boxes can not be submitted.
For small edits, re-testing isn't required (<150sec). Lots of
messaging to the builder as well to make sure it doesn't go
unnoticed.
2019-11-05 21:07:40 -08:00
Auke Kok
d5aebb5e9d Add queue mod. /queue command.
The queue is periodically scanned and output as `queue.json` such
that the website can ingest it and display it.
2019-11-04 20:23:38 -08:00
Auke Kok
2a87ac818d Replace :[gs]etpos with :[gs]et_pos globally. 2019-10-07 09:08:08 -07:00
ANAND
a7403d6600 Nullify velocity and acceleration if player is below y < 50 2019-10-07 09:04:53 -07:00
Auke Kok
3099dd6228 Attempt to allow empty lines in telex/files.
These were previously filtered out. Unfortunately now there's some
awkward emtpy lines in various places, but, I prefer having empty
lines show since that makes typing much simpler.
2019-10-04 22:15:06 -07:00
Auke Kok
27448a62ea Don't kill players that are already dead. 2019-09-18 21:31:31 -07:00
Emerald2
661e7ebe5c Added builder name to irc_whereis 2019-09-17 19:59:21 -07:00
Auke Kok
5a0cbbc844 Fix unit of these (os.clock returns 's'). 2019-09-15 21:07:48 -07:00
Auke Kok
1f493f4ad3 Translations broke this, too.
Unbreak reveal tool.
2019-09-14 23:10:18 -07:00
Auke Kok
71009b5764 Bug made by Wuzzy. 2019-09-14 22:38:19 -07:00
Auke Kok
c2e278898d Don't translate IRC announcements and messages. This doesn't work. 2019-09-14 22:24:36 -07:00
Auke Kok
bf4724938a Can't do this anymore either.
The detector node used to print the description. But this is
broken now. Instead, print the technical name instead, without
translating it.
2019-09-12 22:38:21 -07:00
Auke Kok
ca7c77c895 Undo translation of technical items.
This really breaks badly. Too many untranslatable characters that
completely break things. These are meant to be technical and postion
strings are not translatable either. Revert.
2019-09-12 22:27:45 -07:00
Auke Kok
0dbff53e74 Undo translating some really dangerous stuff that crashes the server.
Tooltips likely need formspec escapes or something else. Revert this
to try and avoid crashing the server.
2019-09-12 15:49:23 -07:00
Auke Kok
7ed72218e0 Don't translate the number. It is parsed by the form code. 2019-09-12 11:04:34 -07:00
Auke Kok
dd2b25a379 Avoid crash in skybox.set.
For some reason, `number` was invalid. It was likely passed from
a formspec. Avoid this part of the crash entirely.
2019-09-12 10:59:59 -07:00
Auke Kok
6f82f9a8b8 Announce messages are like logs: Server language, not localized.
These were malforming IRC and log output messages, so I'm reverting
this.

`(T@boxes)Flerker100E completed box F27E!E`
2019-09-12 08:47:34 -07:00
Auke Kok
6d538955fd Kurtzmusch's experiment skipping nodes without meta. 2019-09-11 21:50:44 -07:00
Auke Kok
3d090e5940 Add timing for boxes.save() 2019-09-11 21:50:44 -07:00
Wuzzy
207de4dc2c Add I18N support
This adds I18N support for ITB by using Minetest 5.0.0's locale system.
2019-09-11 21:06:59 -07:00
Auke Kok
ea80c7658b Fix debug printing. 2019-09-06 22:43:29 -07:00
Auke Kok
0a5cefdb21 Add some timing data here. 2019-09-06 22:41:19 -07:00
Auke Kok
faff22dd8b Bring down jump to normal. Problems hitting ceilings. 2019-08-31 23:37:34 -07:00
Auke Kok
04dc57066e Actually preserve custom physics parameters.
Using the inspector, I found that the teleport-into-box code
overwrites and deletes the gravity and speed values for each
player. This was never intentional.

This fixes that problem. However, that means that my physics estimates
are completely off and I will need to redo the custom physics
values to match the expectations on the server and to make
sure this doesn't massively nerf those values.

oops :(
2019-08-30 17:29:20 -07:00
Auke Kok
c93f8402e5 Allow inspection of players/objects.
At minimum, base properties and phsyics settings. Others need
adding as well.
2019-08-30 17:29:20 -07:00
Auke Kok
b5eca5eb52 Update inspector mod to current. 2019-08-30 16:34:28 -07:00
Auke Kok
f957f1cab9 Fix incorrect usage of msg.content. 2019-08-29 09:06:03 -07:00
Auke Kok
047ef1b578 Also show builder name in the inventory game tab. 2019-08-28 21:23:10 -07:00
Auke Kok
eb32e3dc0f Make sure not to concatenate nil if no wasn't passed. 2019-08-28 11:32:40 -07:00
Auke Kok
b800889b7b Notify player of old but unread messages. 2019-08-25 22:32:37 -07:00
Auke Kok
0956803e46 Make this code handling spool identical to the other section. 2019-08-25 22:32:15 -07:00
Auke Kok
01e31f4288 Simplify message notifications a bit. 2019-08-25 22:31:54 -07:00
Auke Kok
29f14abc54 Log spool size. 2019-08-25 22:22:18 -07:00
Auke Kok
639b497e36 Explicitly log msgid's to better track issues. 2019-08-25 22:04:28 -07:00
Auke Kok
c753a53f0e Fix off-by-one error in spool handling. 2019-08-25 21:55:58 -07:00
Auke Kok
d5db7412f5 Perks!
These are granted to people who have gotten 2 (zoom) or 5 (lobby
sprint) boxes accepted. A telex is sent to inform them, since, they
are likely not on the server when this is done.
2019-08-24 23:26:08 -07:00
Auke Kok
2ccee549b6 Fix logging in case of error. 2019-08-24 22:22:44 -07:00
Auke Kok
cf460a95bd Add some more logging in telex. 2019-08-24 22:15:18 -07:00
Auke Kok
190f12412e Perks.
`zoom` and `sprint` perks. These are not yet obtainable by playing,
but I intend to roll that out soon.
2019-08-23 23:41:38 -07:00
Auke Kok
386ff8f926 Basic Parkour rules describing limits of jumps allowed. 2019-08-23 22:06:40 -07:00
Auke Kok
f274254b34 Add some better logging for these infrequent events. 2019-08-21 22:50:50 -07:00
Auke Kok
7a69c6c733 Convert telex to store mesages in a more scalable way.
I was severely worried about `mbox` and `spool` becoming way
too large way too quick - We just can't store the entire array
of full messages in there all the time.

Instead, both those arrays become simple string arrays of `msgid`
objects, which are nothing more but simple numeric strings. Each
message can now live in mod_storage which should scale a lot better
and make player mboxes a lot smaller - it can now easily hold a few
hundred messages without growing much.

This means all the messages are in mod_storage. We can at a later
point perhaps consider compression.

There's compat code to read old mbox formats, but not spool. Thus
the server spool must be empty when this code is deployed.
2019-08-21 22:47:57 -07:00
Auke Kok
4f6f1ce9c3 Fix incorrect API usage or irc mod. 2019-08-08 11:34:27 -07:00
Auke Kok
139dd7a2af Make sure telex + random command doesn't crash the server. 2019-08-07 22:21:17 -07:00
Auke Kok
4838ebec5c Don't error out when arrow keys used.
Fix the logging here so we can figure out which events are
causing the messages.
2019-08-07 22:14:18 -07:00
Auke Kok
04a76fc0c7 Unsure if I want to keep this, but, IRC server admin announcements. 2019-08-07 22:04:25 -07:00
Auke Kok
702639ea56 Add telex reply n.
This allows players to quickly respond to an existing message
and send a quoted reply to the original user. The reply is
a new draft that has the message quoted and subject prepended
with "Re: ".
2019-08-07 21:32:42 -07:00
Auke Kok
a1f484a2f2 Fix terminal destroying context.
After a draft or edit, the terminal always left the context in an
invalid state. I finally found this terrible bug that's been making
the terminal difficult to work with... `button_exit` can _not_ be
used if the context is to be preserved. Of course we also forgot to
properly store the output for the context.
2019-08-07 21:31:16 -07:00
Auke Kok
2065b0b55b Fix logging, and allow messages to spool for 7+30 days instead of 3+30 2019-08-01 00:03:36 -07:00
Auke Kok
85994c2dbb Fix 'from' display in telex. 2019-08-01 00:03:18 -07:00