Compare commits

..

1 Commits

Author SHA1 Message Date
6f8b165745 v14 fixes again
All checks were successful
Release Creation / build (release) Successful in 49s
2026-04-24 22:27:58 +02:00
49 changed files with 77 additions and 67 deletions

View File

@@ -131,10 +131,12 @@ Hooks.once("ready", function () {
/* Foundry VTT Initialization */ /* Foundry VTT Initialization */
/* -------------------------------------------- */ /* -------------------------------------------- */
Hooks.on("chatMessage", (html, content, msg) => { Hooks.on("chatMessage", (html, content, msg) => {
if (content[0] == '/') { // In Foundry v14+, ProseMirror wraps message in <p>...</p> — strip it like ChatLog.parse does
const stripped = content.replace(/^<p>|<\/p>$/gi, "").trim();
if (stripped[0] === '/') {
let regExp = /(\S+)/g; let regExp = /(\S+)/g;
let commands = content.match(regExp); let commands = stripped.match(regExp);
if (game.system.malefices.commands.processChatCommand(commands, content, msg)) { if (game.system.malefices.commands.processChatCommand(commands, stripped, msg)) {
return false; return false;
} }
} }

Binary file not shown.

View File

@@ -1 +1 @@
MANIFEST-000076 MANIFEST-000004

View File

@@ -1,11 +1,16 @@
2026/04/21-11:52:44.202744 7ff1aaffd6c0 Delete type=3 #1 2026/04/24-22:24:59.171196 7f57a57ee6c0 Recovering log #3
2026/04/21-13:41:40.820174 7ff1a9ffb6c0 Level-0 table #79: started 2026/04/24-22:24:59.171446 7f57a57ee6c0 Level-0 table #5: started
2026/04/21-13:41:40.820230 7ff1a9ffb6c0 Level-0 table #79: 0 bytes OK 2026/04/24-22:24:59.188279 7f57a57ee6c0 Level-0 table #5: 49972 bytes OK
2026/04/21-13:41:40.826374 7ff1a9ffb6c0 Delete type=0 #77 2026/04/24-22:24:59.232997 7f57a57ee6c0 Delete type=0 #3
2026/04/21-13:41:40.846124 7ff1a9ffb6c0 Manual compaction at level-0 from '!items!2HWSdXDSFei9KC6y' @ 72057594037927935 : 1 .. '!items!xtYE2kVIfNtrXSoU' @ 0 : 0; will stop at '!items!xtYE2kVIfNtrXSoU' @ 92 : 1 2026/04/24-22:24:59.233084 7f57a57ee6c0 Delete type=3 #2
2026/04/21-13:41:40.846135 7ff1a9ffb6c0 Compacting 1@0 + 0@1 files 2026/04/24-22:27:28.425927 7f57977fe6c0 Level-0 table #8: started
2026/04/21-13:41:40.850988 7ff1a9ffb6c0 Generated table #80@0: 23 keys, 50829 bytes 2026/04/24-22:27:28.430469 7f57977fe6c0 Level-0 table #8: 50829 bytes OK
2026/04/21-13:41:40.851009 7ff1a9ffb6c0 Compacted 1@0 + 0@1 files => 50829 bytes 2026/04/24-22:27:28.436422 7f57977fe6c0 Delete type=0 #6
2026/04/21-13:41:40.857011 7ff1a9ffb6c0 compacted to: files[ 0 1 0 0 0 0 0 ] 2026/04/24-22:27:28.465787 7f57977fe6c0 Manual compaction at level-0 from '!items!2HWSdXDSFei9KC6y' @ 72057594037927935 : 1 .. '!items!xtYE2kVIfNtrXSoU' @ 0 : 0; will stop at '!items!xtYE2kVIfNtrXSoU' @ 23 : 1
2026/04/21-13:41:40.857165 7ff1a9ffb6c0 Delete type=2 #41 2026/04/24-22:27:28.465795 7f57977fe6c0 Compacting 2@0 + 0@1 files
2026/04/21-13:41:40.887698 7ff1a9ffb6c0 Manual compaction at level-0 from '!items!xtYE2kVIfNtrXSoU' @ 92 : 1 .. '!items!xtYE2kVIfNtrXSoU' @ 0 : 0; will stop at (end) 2026/04/24-22:27:28.469433 7f57977fe6c0 Generated table #9@0: 23 keys, 50829 bytes
2026/04/24-22:27:28.469455 7f57977fe6c0 Compacted 2@0 + 0@1 files => 50829 bytes
2026/04/24-22:27:28.476490 7f57977fe6c0 compacted to: files[ 0 1 0 0 0 0 0 ]
2026/04/24-22:27:28.476684 7f57977fe6c0 Delete type=2 #5
2026/04/24-22:27:28.476866 7f57977fe6c0 Delete type=2 #8
2026/04/24-22:27:28.476999 7f57977fe6c0 Manual compaction at level-0 from '!items!xtYE2kVIfNtrXSoU' @ 23 : 1 .. '!items!xtYE2kVIfNtrXSoU' @ 0 : 0; will stop at (end)

View File

@@ -1,4 +1 @@
2026/04/21-11:52:44.183987 7ff1aaffd6c0 Log #74: 0 ops saved to Table #75 OK 2026/04/24-22:22:27.429550 7fcbf37fe6c0 Delete type=3 #1
2026/04/21-11:52:44.184084 7ff1aaffd6c0 Archiving /home/morr/foundry/foundrydata-dev/Data/systems/fvtt-malefices/packs/malefices-archetypes/000074.log: OK
2026/04/21-11:52:44.186478 7ff1aaffd6c0 Table #41: 23 entries OK
2026/04/21-11:52:44.190025 7ff1aaffd6c0 **** Repaired leveldb /home/morr/foundry/foundrydata-dev/Data/systems/fvtt-malefices/packs/malefices-archetypes; recovered 1 files; 50829 bytes. Some data may have been lost. ****

Binary file not shown.

Binary file not shown.

View File

@@ -1 +1 @@
MANIFEST-000076 MANIFEST-000004

View File

@@ -1,11 +1,16 @@
2026/04/21-11:52:44.181427 7ff1aaffd6c0 Delete type=3 #1 2026/04/24-22:24:59.115818 7f57a4fed6c0 Recovering log #3
2026/04/21-13:41:40.838999 7ff1a9ffb6c0 Level-0 table #79: started 2026/04/24-22:24:59.115867 7f57a4fed6c0 Level-0 table #5: started
2026/04/21-13:41:40.839022 7ff1a9ffb6c0 Level-0 table #79: 0 bytes OK 2026/04/24-22:24:59.136445 7f57a4fed6c0 Level-0 table #5: 1991 bytes OK
2026/04/21-13:41:40.846003 7ff1a9ffb6c0 Delete type=0 #77 2026/04/24-22:24:59.169110 7f57a4fed6c0 Delete type=0 #3
2026/04/21-13:41:40.878282 7ff1a9ffb6c0 Manual compaction at level-0 from '!items!5J6qIaWdnhEGMAXJ' @ 72057594037927935 : 1 .. '!items!nkRQU81L1gWOfaeo' @ 0 : 0; will stop at '!items!nkRQU81L1gWOfaeo' @ 36 : 1 2026/04/24-22:24:59.169225 7f57a4fed6c0 Delete type=3 #2
2026/04/21-13:41:40.878297 7ff1a9ffb6c0 Compacting 1@0 + 0@1 files 2026/04/24-22:27:28.406907 7f57977fe6c0 Level-0 table #8: started
2026/04/21-13:41:40.881453 7ff1a9ffb6c0 Generated table #80@0: 9 keys, 2083 bytes 2026/04/24-22:27:28.410027 7f57977fe6c0 Level-0 table #8: 2085 bytes OK
2026/04/21-13:41:40.881477 7ff1a9ffb6c0 Compacted 1@0 + 0@1 files => 2083 bytes 2026/04/24-22:27:28.416047 7f57977fe6c0 Delete type=0 #6
2026/04/21-13:41:40.887457 7ff1a9ffb6c0 compacted to: files[ 0 1 0 0 0 0 0 ] 2026/04/24-22:27:28.446021 7f57977fe6c0 Manual compaction at level-0 from '!items!5J6qIaWdnhEGMAXJ' @ 72057594037927935 : 1 .. '!items!nkRQU81L1gWOfaeo' @ 0 : 0; will stop at '!items!nkRQU81L1gWOfaeo' @ 9 : 1
2026/04/21-13:41:40.887570 7ff1a9ffb6c0 Delete type=2 #41 2026/04/24-22:27:28.446030 7f57977fe6c0 Compacting 2@0 + 0@1 files
2026/04/21-13:41:40.887738 7ff1a9ffb6c0 Manual compaction at level-0 from '!items!nkRQU81L1gWOfaeo' @ 36 : 1 .. '!items!nkRQU81L1gWOfaeo' @ 0 : 0; will stop at (end) 2026/04/24-22:27:28.449382 7f57977fe6c0 Generated table #9@0: 9 keys, 2085 bytes
2026/04/24-22:27:28.449407 7f57977fe6c0 Compacted 2@0 + 0@1 files => 2085 bytes
2026/04/24-22:27:28.456221 7f57977fe6c0 compacted to: files[ 0 1 0 0 0 0 0 ]
2026/04/24-22:27:28.456392 7f57977fe6c0 Delete type=2 #5
2026/04/24-22:27:28.456494 7f57977fe6c0 Delete type=2 #8
2026/04/24-22:27:28.476974 7f57977fe6c0 Manual compaction at level-0 from '!items!nkRQU81L1gWOfaeo' @ 9 : 1 .. '!items!nkRQU81L1gWOfaeo' @ 0 : 0; will stop at (end)

View File

@@ -1,4 +1 @@
2026/04/21-11:52:44.164486 7ff1aaffd6c0 Log #74: 0 ops saved to Table #75 OK 2026/04/24-22:22:27.427665 7fcbf37fe6c0 Delete type=3 #1
2026/04/21-11:52:44.164589 7ff1aaffd6c0 Archiving /home/morr/foundry/foundrydata-dev/Data/systems/fvtt-malefices/packs/malefices-armes/000074.log: OK
2026/04/21-11:52:44.164875 7ff1aaffd6c0 Table #41: 9 entries OK
2026/04/21-11:52:44.168545 7ff1aaffd6c0 **** Repaired leveldb /home/morr/foundry/foundrydata-dev/Data/systems/fvtt-malefices/packs/malefices-armes; recovered 1 files; 2083 bytes. Some data may have been lost. ****

Binary file not shown.

Binary file not shown.

View File

@@ -1 +1 @@
MANIFEST-000076 MANIFEST-000004

View File

@@ -1,11 +1,16 @@
2026/04/21-11:52:44.222882 7ff1abfff6c0 Delete type=3 #1 2026/04/24-22:24:59.235537 7f57a4fed6c0 Recovering log #3
2026/04/21-13:41:40.832543 7ff1a9ffb6c0 Level-0 table #79: started 2026/04/24-22:24:59.235607 7f57a4fed6c0 Level-0 table #5: started
2026/04/21-13:41:40.832568 7ff1a9ffb6c0 Level-0 table #79: 0 bytes OK 2026/04/24-22:24:59.258336 7f57a4fed6c0 Level-0 table #5: 803 bytes OK
2026/04/21-13:41:40.838884 7ff1a9ffb6c0 Delete type=0 #77 2026/04/24-22:24:59.302049 7f57a4fed6c0 Delete type=0 #3
2026/04/21-13:41:40.867899 7ff1a9ffb6c0 Manual compaction at level-0 from '!macros!ESV4er8Hy6liMOC3' @ 72057594037927935 : 1 .. '!macros!zDPgmHiwNxBWhoYz' @ 0 : 0; will stop at '!macros!zDPgmHiwNxBWhoYz' @ 12 : 1 2026/04/24-22:24:59.302122 7f57a4fed6c0 Delete type=3 #2
2026/04/21-13:41:40.867910 7ff1a9ffb6c0 Compacting 1@0 + 0@1 files 2026/04/24-22:27:28.416201 7f57977fe6c0 Level-0 table #8: started
2026/04/21-13:41:40.871553 7ff1a9ffb6c0 Generated table #80@0: 3 keys, 843 bytes 2026/04/24-22:27:28.419304 7f57977fe6c0 Level-0 table #8: 844 bytes OK
2026/04/21-13:41:40.871580 7ff1a9ffb6c0 Compacted 1@0 + 0@1 files => 843 bytes 2026/04/24-22:27:28.425776 7f57977fe6c0 Delete type=0 #6
2026/04/21-13:41:40.877546 7ff1a9ffb6c0 compacted to: files[ 0 1 0 0 0 0 0 ] 2026/04/24-22:27:28.456560 7f57977fe6c0 Manual compaction at level-0 from '!macros!ESV4er8Hy6liMOC3' @ 72057594037927935 : 1 .. '!macros!zDPgmHiwNxBWhoYz' @ 0 : 0; will stop at '!macros!zDPgmHiwNxBWhoYz' @ 3 : 1
2026/04/21-13:41:40.877655 7ff1a9ffb6c0 Delete type=2 #41 2026/04/24-22:27:28.456571 7f57977fe6c0 Compacting 2@0 + 0@1 files
2026/04/21-13:41:40.887725 7ff1a9ffb6c0 Manual compaction at level-0 from '!macros!zDPgmHiwNxBWhoYz' @ 12 : 1 .. '!macros!zDPgmHiwNxBWhoYz' @ 0 : 0; will stop at (end) 2026/04/24-22:27:28.459693 7f57977fe6c0 Generated table #9@0: 3 keys, 844 bytes
2026/04/24-22:27:28.459721 7f57977fe6c0 Compacted 2@0 + 0@1 files => 844 bytes
2026/04/24-22:27:28.465548 7f57977fe6c0 compacted to: files[ 0 1 0 0 0 0 0 ]
2026/04/24-22:27:28.465648 7f57977fe6c0 Delete type=2 #5
2026/04/24-22:27:28.465738 7f57977fe6c0 Delete type=2 #8
2026/04/24-22:27:28.476986 7f57977fe6c0 Manual compaction at level-0 from '!macros!zDPgmHiwNxBWhoYz' @ 3 : 1 .. '!macros!zDPgmHiwNxBWhoYz' @ 0 : 0; will stop at (end)

View File

@@ -1,4 +1 @@
2026/04/21-11:52:44.205891 7ff1abfff6c0 Log #74: 0 ops saved to Table #75 OK 2026/04/24-22:22:27.431094 7fcbf37fe6c0 Delete type=3 #1
2026/04/21-11:52:44.206027 7ff1abfff6c0 Archiving /home/morr/foundry/foundrydata-dev/Data/systems/fvtt-malefices/packs/malefices-macros/000074.log: OK
2026/04/21-11:52:44.206120 7ff1abfff6c0 Table #41: 3 entries OK
2026/04/21-11:52:44.210039 7ff1abfff6c0 **** Repaired leveldb /home/morr/foundry/foundrydata-dev/Data/systems/fvtt-malefices/packs/malefices-macros; recovered 1 files; 843 bytes. Some data may have been lost. ****

Binary file not shown.

Binary file not shown.

View File

@@ -1 +1 @@
MANIFEST-000076 MANIFEST-000004

View File

@@ -1,11 +1,16 @@
2026/04/21-11:52:44.160569 7ff1aa7fc6c0 Delete type=3 #1 2026/04/24-22:24:59.055819 7f5797fff6c0 Recovering log #3
2026/04/21-13:41:40.826507 7ff1a9ffb6c0 Level-0 table #79: started 2026/04/24-22:24:59.055873 7f5797fff6c0 Level-0 table #5: started
2026/04/21-13:41:40.826536 7ff1a9ffb6c0 Level-0 table #79: 0 bytes OK 2026/04/24-22:24:59.074116 7f5797fff6c0 Level-0 table #5: 3817 bytes OK
2026/04/21-13:41:40.832425 7ff1a9ffb6c0 Delete type=0 #77 2026/04/24-22:24:59.112929 7f5797fff6c0 Delete type=0 #3
2026/04/21-13:41:40.857305 7ff1a9ffb6c0 Manual compaction at level-0 from '!items!1DRKmbzGzbCRCswc' @ 72057594037927935 : 1 .. '!items!zbGGMEQFdwVdlKAf' @ 0 : 0; will stop at '!items!zbGGMEQFdwVdlKAf' @ 88 : 1 2026/04/24-22:24:59.112993 7f5797fff6c0 Delete type=3 #2
2026/04/21-13:41:40.857314 7ff1a9ffb6c0 Compacting 1@0 + 0@1 files 2026/04/24-22:27:28.396493 7f57977fe6c0 Level-0 table #8: started
2026/04/21-13:41:40.860393 7ff1a9ffb6c0 Generated table #80@0: 22 keys, 4074 bytes 2026/04/24-22:27:28.400076 7f57977fe6c0 Level-0 table #8: 4076 bytes OK
2026/04/21-13:41:40.860404 7ff1a9ffb6c0 Compacted 1@0 + 0@1 files => 4074 bytes 2026/04/24-22:27:28.406770 7f57977fe6c0 Delete type=0 #6
2026/04/21-13:41:40.867688 7ff1a9ffb6c0 compacted to: files[ 0 1 0 0 0 0 0 ] 2026/04/24-22:27:28.436577 7f57977fe6c0 Manual compaction at level-0 from '!items!1DRKmbzGzbCRCswc' @ 72057594037927935 : 1 .. '!items!zbGGMEQFdwVdlKAf' @ 0 : 0; will stop at '!items!zbGGMEQFdwVdlKAf' @ 22 : 1
2026/04/21-13:41:40.867784 7ff1a9ffb6c0 Delete type=2 #41 2026/04/24-22:27:28.436587 7f57977fe6c0 Compacting 2@0 + 0@1 files
2026/04/21-13:41:40.887714 7ff1a9ffb6c0 Manual compaction at level-0 from '!items!zbGGMEQFdwVdlKAf' @ 88 : 1 .. '!items!zbGGMEQFdwVdlKAf' @ 0 : 0; will stop at (end) 2026/04/24-22:27:28.439689 7f57977fe6c0 Generated table #9@0: 22 keys, 4076 bytes
2026/04/24-22:27:28.439755 7f57977fe6c0 Compacted 2@0 + 0@1 files => 4076 bytes
2026/04/24-22:27:28.445747 7f57977fe6c0 compacted to: files[ 0 1 0 0 0 0 0 ]
2026/04/24-22:27:28.445870 7f57977fe6c0 Delete type=2 #5
2026/04/24-22:27:28.445963 7f57977fe6c0 Delete type=2 #8
2026/04/24-22:27:28.476959 7f57977fe6c0 Manual compaction at level-0 from '!items!zbGGMEQFdwVdlKAf' @ 22 : 1 .. '!items!zbGGMEQFdwVdlKAf' @ 0 : 0; will stop at (end)

View File

@@ -1,4 +1 @@
2026/04/21-11:52:44.059054 7ff1aa7fc6c0 Log #74: 0 ops saved to Table #75 OK 2026/04/24-22:22:27.425195 7fcbf37fe6c0 Delete type=3 #1
2026/04/21-11:52:44.059194 7ff1aa7fc6c0 Archiving /home/morr/foundry/foundrydata-dev/Data/systems/fvtt-malefices/packs/malefices-tarots/000074.log: OK
2026/04/21-11:52:44.059258 7ff1aa7fc6c0 Table #41: 22 entries OK
2026/04/21-11:52:44.063146 7ff1aa7fc6c0 **** Repaired leveldb /home/morr/foundry/foundrydata-dev/Data/systems/fvtt-malefices/packs/malefices-tarots; recovered 1 files; 4074 bytes. Some data may have been lost. ****

Binary file not shown.