Skip to content

Instantly share code, notes, and snippets.

@Ricket
Ricket / reduce-to-daily.py
Created December 5, 2022 05:53
Minecraft backups: prune the backups to just one file per play session (i.e. find groups of consecutive backups and delete all but the newest)
from datetime import datetime, timedelta
from dateutil import tz
from functools import reduce
import os
from pprint import pprint
import re
import sys
if sys.version_info < (3,7):
sys.exit('Python 3.7 guarantees ordered dicts, which this script relies on')
@Ricket
Ricket / crash-2023-02-28_02.32.27-server.txt
Last active February 28, 2023 03:18
Astra sorcery server crash + corruption
---- Minecraft Crash Report ----
// My bad.
Time: 2/28/23 2:32 AM
Description: Exception in server tick loop
java.lang.NullPointerException: Exception in server tick loop
at hellfirepvp.astralsorcery.common.crystal.CrystalCalculations.calculate(CrystalCalculations.java:36) ~[astralsorcery:1.16.4-1.14.1] {re:classloading}
at hellfirepvp.astralsorcery.common.crystal.CrystalCalculations.getThroughputMultiplier(CrystalCalculations.java:103) ~[astralsorcery:1.16.4-1.14.1] {re:classloading}
at hellfirepvp.astralsorcery.common.starlight.network.TransmissionChain.recBuildChain(TransmissionChain.java:108) ~[astralsorcery:1.16.4-1.14.1] {re:classloading}
@Ricket
Ricket / crash-2024-01-28_03.46.54-server.txt
Created January 28, 2024 05:24
E2EE 1.26.0 crash 2023-01-27
---- Minecraft Crash Report ----
// Lolis deobfuscated this stacktrace using MCP's stable-39 mappings.
// Oh - I know what I did wrong!
Time: 2024-01-28 03:46:54 GMT
Description: Ticking block entity
java.util.ConcurrentModificationException
at java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:966)
at java.util.LinkedList$ListItr.next(LinkedList.java:888)
@Ricket
Ricket / _ls
Created February 6, 2024 20:04
E2EE folder structure and docker setup
additions/
-> config/
-> Discord-Integration.toml
-> ftbbackups.cfg
-> mods/
-> bedtimeban
-> dcintegration
-> tellme
crash-reports/
heapdumps/