Skip to content

Instantly share code, notes, and snippets.

@0n3m0r3
0n3m0r3 / README.md
Created September 8, 2026 16:47
WeaponMechanics #246 projectile-speed damage scale. Tests: python 12 + java 9.

Projectile-speed damage for WeaponMechanics #246

One-off for WeaponMechanics/WeaponMechanics#246 (JuggernautStyle: PAY FEATURE checkbox. Arrow at muzzle 80, oak Through slows to 40 → 50% damage.)

WM already multiplies motion in Through.handleThrough. DamageDropoff is distance, not current speed. This pack: base * clamp(current/muzzle, 0, 1).

What this is

@0n3m0r3
0n3m0r3 / README.md
Created September 8, 2026 16:40
CustomNPC-Plus #101 unload-safe respawn ledger. Tests: python 15 + java 9.

Unload-safe respawn ledger for CustomNPC-Plus #101

One-off for KAMKEEL/CustomNPC-Plus#101 (wastelanderstuff: dungeon NPCs do not count down while the chunk is empty; PayPal. Friend's "Custom NPC Spawner" block is lost.)

CNPC already has killedtime on the entity and checks it in EntityNPCInterface.onDeathUpdate. That only runs while the entity ticks. Unload the chunk and the five-minute timer freezes. Thermos/Crucible may also delete() a dead NPC that is not in its home chunk.

@0n3m0r3
0n3m0r3 / PotionFireRate.java
Created September 8, 2026 16:31
WeaponMechanics #269 potion-gated full-auto rate (BAD_OMEN-3). Tests: python 27 + java 17.
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
@0n3m0r3
0n3m0r3 / ClientExplorationProgressMixin.java
Created September 8, 2026 16:14
aa4-atlas: record Surveyor progress only when atlas is in hand (#1)
package com.lumiscosity.aa4atlas.mixin.client;
import com.lumiscosity.aa4atlas.ProgressGate;
import folk.sisby.surveyor.client.SurveyorClient;
import net.minecraft.client.MinecraftClient;
import net.minecraft.registry.RegistryKey;
import net.minecraft.util.math.ChunkPos;
import net.minecraft.world.World;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
@0n3m0r3
0n3m0r3 / README.md
Created September 8, 2026 16:05
French FEC (CGI A47 A-1) from CSV journal. 18-col pipe, ISO-8859-15. 8 USDC filled pack.

frfec

French FEC (Fichier des Écritures Comptables, CGI art. A47 A-1) from a CSV journal.

  • 18 pipe-separated columns, ISO-8859-15, CRLF
  • Dates YYYYMMDD
  • Debit XOR credit; file must balance
  • Stdlib only. No network. Not a tax filing / not a PDF invoice.
@0n3m0r3
0n3m0r3 / README.md
Created September 8, 2026 16:05
BBQr HEX encode/decode for Electrum #9172

BBQr HEX for Electrum #9172

One-off for spesmilo/electrum#9172 (ATButteaux: happy to pay a bounty for BBQr. RockWest still wants it 2026-09-07).

Maintainers leaned toward BC-UR 2.0 in #7905; PR #10518 covers decoding UR. This pack is the other air-gap: BBQr HEX encode + decode, the KISS path Coldcard documents (B$HP0n0x).

No QR pixels. No zlib Z. No Base32 2. Strings are QR alphanumeric so Electrum can feed them to its existing QR renderer.

What this is

@0n3m0r3
0n3m0r3 / README.md
Created September 8, 2026 16:00
PAY. reverse-charge VAT percent drop-in for prestashop-plugin #75

PAY. reverse-charge VAT percent (prestashop-plugin #75)

One-off for paynl/prestashop-plugin#75 (muyncky: BTW verlegd / eurovat; PrestaShop shows €51.80, PAY. charges €62.68).

_getProductData() still does:

new PayProduct(..., $product['price_wt'], ..., $product['rate'])
@0n3m0r3
0n3m0r3 / README.md
Created September 8, 2026 15:51
Windows ffmpeg subtitle path escape for h2non/videoshow #63

Windows ffmpeg subtitle path for videoshow #63

One-off for h2non/videoshow#63 (russjfreeman: captions.js on Windows, prepared to pay a bounty). elchanchoUy still hitting it 2026-06-03.

lib/render.js does:

filepath = path.join(os.tmpdir(), 'videoshow-' + uuid())   // C:\Users\…\Temp\…
@0n3m0r3
0n3m0r3 / PositionHistory.java
Created September 8, 2026 15:43
Lag-comp rewind ring buffer for WeaponMechanics #363
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* Lag-comp rewind for WeaponMechanics #363.
*
* HitBoxValidator Entity_Hitboxes is damage-region proportions.
* This is the other half: test the projectile against the entity at
@0n3m0r3
0n3m0r3 / README.md
Created September 8, 2026 15:32
Local IntelliCenter mDNS + ws://:6680 drop-in for udi-pentair-pg3x #2

Local IntelliCenter for udi-pentair-pg3x

One-off for lovintexas/udi-pentair-pg3x#2 (JudgeDreddKLC: local IntelliCenter, happy to pay extra).

The plugin already has an IntelliCenterClient. It still dials the cloud:

wss://prod-api.intellicenter.com/client?id=<InstallationId>&access-token=<cognito>