Compare commits

..

37 Commits

Author SHA1 Message Date
9ba6bde6e0 Fix versionning 2023-11-13 07:07:10 +01:00
1ff7be02d4 Fix versionning 2023-11-13 07:06:55 +01:00
bd113b6ef3 Fix spell damages 2023-11-12 00:22:44 +01:00
db1bf4e23a Utilisation des ID pour certains items litigieux 2023-11-09 17:04:42 +01:00
4cf52343c6 Merge pull request 'Utilisation des IDs pour les éléments doublons du core' (#98) from pallando/foundryvtt-wh4-lang-fr-fr:core-duplicates into v10
Reviewed-on: #98
2023-11-09 17:01:41 +01:00
83822ade7f Use IDs for duplicate items in core 2023-11-06 22:26:06 +01:00
e79474ab8d Nouvelles tables de critiques 2023-10-29 09:53:13 +01:00
8d5fb68182 Merge pull request 'Gestion des résultats des critiques pour le Starter Set et Up In Arms' (#97) from pallando/foundryvtt-wh4-lang-fr-fr:update-tables into v10
Reviewed-on: #97
2023-10-29 09:52:03 +01:00
54612628b8 Handle results for criticals from Up In Arms 2023-10-25 22:37:46 +02:00
3f861ed86c Translate Critical Hits tables from the Starter Set 2023-10-25 22:36:55 +02:00
a15260bff7 Use raw spells functions 2023-10-14 11:28:48 +02:00
541e2836ca Amelioration du parser de statblock 2023-10-12 20:10:13 +02:00
73133b0abf Amelioration du parser de statblock 2023-10-12 08:31:55 +02:00
7ceaa73233 Better management of careers translations 2023-10-03 11:51:09 +02:00
a888502952 Better management of careers translations 2023-10-03 11:43:31 +02:00
a1f1861172 Better management of careers translations 2023-10-03 11:42:43 +02:00
0335ffb354 Merge pull request 'bugfix' (#95) from pallando/foundryvtt-wh4-lang-fr-fr:bugfix into v10
Reviewed-on: #95
2023-10-03 11:41:41 +02:00
303cdece36 Merge pull request 'Gestion des items de Winds of Magic' (#96) from pallando/foundryvtt-wh4-lang-fr-fr:wom into v10
Reviewed-on: #96
2023-10-03 11:41:28 +02:00
71b45c0cad Update wfrp4e-core.careers.json to make it valid 2023-10-03 11:18:41 +02:00
1408122c59 Remove tory | grep github 2023-10-03 11:18:40 +02:00
7305a9c370 Add wfrp4e-wom.items.json 2023-10-03 11:13:52 +02:00
e427e3702b Fix skill testing 2023-10-03 10:48:42 +02:00
8c7848bf2b Fix compendiums 2023-10-01 21:15:56 +02:00
e5ba63b8e0 Fix compendiums 2023-10-01 21:15:31 +02:00
16f97040d3 Fix compendiums 2023-10-01 21:08:37 +02:00
a9aa0edad8 Fix compendiums 2023-10-01 20:30:32 +02:00
0f0c482187 Fix compendiums 2023-10-01 20:28:29 +02:00
644e8b8146 Fix talents naming 2023-09-28 07:49:24 +02:00
044dcde7bf Merge pull request 'Correction des possessions de carrière pour correspondre aux journaux' (#94) from pallando/foundryvtt-wh4-lang-fr-fr:match-trappings into v10
Reviewed-on: #94
2023-09-25 10:55:01 +02:00
fb6ef1b0b3 Merge pull request 'Petites corrections' (#93) from pallando/foundryvtt-wh4-lang-fr-fr:fixes into v10
Reviewed-on: #93
2023-09-25 10:54:48 +02:00
6149261726 Apply previous corrections to careers and trappings JSONs 2023-09-21 23:39:41 +02:00
4a1295de15 Fix trappings to match journals 2023-09-21 23:09:47 +02:00
095a3a0929 Remove unnecessary 'Vigilance' from trappings in Apprenti Cavalier journal entry 2023-09-18 22:39:30 +02:00
b3703c62d3 Fix Jewellery in items 2023-09-17 23:55:33 +02:00
b5f77c27c6 Add Honour Guard description and remove duplicate entries 2023-09-17 21:13:37 +02:00
6eaf2bb030 Fix journals 2023-09-17 10:44:03 +02:00
2ae5349f15 Fix Honour Guard 2023-09-17 10:40:56 +02:00
111 changed files with 2738 additions and 1050 deletions

4
.gitignore vendored
View File

@ -1,6 +1,2 @@
.history/
.vscode/
/packs/*/
/packs/*/CURRENT
/packs/*/LOG
/packs/*/LOCK

View File

@ -72,6 +72,7 @@ Pour info, il existe énormément de cas particuliers dans le système de règle
* compendium/talents -> LeRatier/Dr.Droide/Moilu/Gharazel
* various modules and fixes -> Ashburry77
* various modules and fixes -> Bimkiz
* contributions au code et améliorations -> Pallando
## Feedback

View File

@ -41,7 +41,7 @@ Hooks.once('init', () => {
}
/*---------------------------------------------------------------------*/
game.wfrp4e.entities.ItemWfrp4e.prototype.computeSpellDamage = function (formula, isMagicMissile) {
/* DEPRECATED : game.wfrp4e.entities.ItemWfrp4e.prototype.computeSpellDamage = function (formula, isMagicMissile) {
try {
formula = formula.toLowerCase();
@ -85,10 +85,10 @@ Hooks.once('init', () => {
catch (e) {
throw ui.notifications.error("Error: could not parse spell damage. See console for details")
}
}
}*/
/*---------------------------------------------------------------------*/
game.wfrp4e.entities.ItemWfrp4e.prototype.computeSpellPrayerFormula = function (type, aoe = false, formulaOverride) {
/* DEPRECATED : game.wfrp4e.entities.ItemWfrp4e.prototype.computeSpellPrayerFormula = function (type, aoe = false, formulaOverride) {
let formula = formulaOverride || this[type]?.value
if (Number.isNumeric(formula))
return formula
@ -134,7 +134,7 @@ Hooks.once('init', () => {
//console.log("calculateSpellAttributes -> " + formula );
return formula.capitalize();
}
}*/
/*---------------------------------------------------------------------*/
// Converters area
@ -158,29 +158,32 @@ Hooks.once('init', () => {
for (i = 0; i < len; i++) {
skills_list[i] = skills_list[i].trim();
for (let compData of validCompendiums) {
let transl = game.babele.translate(compData.metadata.id, { name: skills_list[i] }, true).name;
let translItem = game.babele.translate(compData.metadata.id, { name: skills_list[i], type: "skill" }, true)
let transl = translItem?.name || undefined
if (!transl) transl = skills_list[i]
//console.log("List ...", skills_list[i]);
//console.log("List ...", skills_list[i], compData.metadata.id, translItem);
if (transl == skills_list[i]) {
let res = re.exec(skills_list[i]);
if (res) {
//console.log("Matched/split:", res[1], res[2]);
let subword = game.i18n.localize(res[2].trim());
let s1 = res[1].trim() + " ()";
let translw = game.babele.translate(compData.metadata.id, { name: s1 }, true).name;
if (translw != s1) {
translItem = game.babele.translate(compData.metadata.id, { name: s1, type: "skill" }, true)
let translw = translItem?.name || undefined
if (translw && translw != s1) {
let res2 = re.exec(translw);
transl = res2[1] + "(" + subword + ")";
} else {
s1 = res[1].trim() + " ( )";
translw = game.babele.translate(compData.metadata.id, { name: s1 }, true).name;
translItem = game.babele.translate(compData.metadata.id, { name: s1, type: "skill" }, true)
translw = translItem?.name || undefined
let res2 = re.exec(translw);
transl = res2[1] + "(" + subword + ")";
}
}
}
skills_list[i] = transl;
if (transl?.system)
if (translItem?.system)
break;
}
}
@ -242,31 +245,25 @@ Hooks.once('init', () => {
let re = /(.*)\((.*)\)/i;
for (i = 0; i < len; i++) {
for (let compData of validCompendiums) {
let transl = game.babele.translate(compData.metadata.id, { name: talents_list[i] }, true).name;
//console.log("TALENT - Parsing : ", talents_list)
let translItem = game.babele.translate(compData.metadata.id, { name: talents_list[i], type: "talent" }, true);
let transl = translItem?.name || undefined
if (!transl) transl = talents_list[i]
if (transl == talents_list[i]) {
let res = re.exec(talents_list[i]);
if (res) {
//console.log("Matched/split:", res[1], res[2]);
let subword = game.i18n.localize(res[2].trim());
let s1 = res[1].trim(); // No () in talents table
let translw = game.babele.translate(compData.metadata.id, { name: s1 }, true).name;
if (translw != s1) {
translItem = game.babele.translate(compData.metadata.id, { name: s1, type: "talent" }, true)
let translw = translItem?.name || undefined
//console.log("Ssearch talent name:", compData.metadata.id, s1, translw);
if (translw && translw != s1) {
transl = translw + " (" + subword + ")";
} else {
s1 = res[1].trim() + " ( )";
translw = game.babele.translate(compData.metadata.id, { name: s1 }, true).name;
let res2 = re.exec(translw);
if (res2) {
transl = res2[1] + " (" + subword + ")";
} else {
transl = translw
}
}
}
}
}
talents_list[i] = transl;
if (transl?.system)
if (translItem?.system)
break;
}
}
@ -547,6 +544,7 @@ Hooks.once('init', () => {
var translw = value;
var re = /(.*) Bonus (\w*)/i;
var res = re.exec(value);
console.log("RES1:", res);
var unit = "";
if (res) { // Test "<charac> Bonus <unit>" pattern
if (res[1]) { // We have char name, then convert it
@ -573,7 +571,12 @@ Hooks.once('init', () => {
if (unit == "days") unit = "jours";
if (unit == "yard") unit = "mètre";
if (unit == "yards") unit = "mètres";
translw += " " + unit;
if (unit == "Bonus") { // Another weird management
translw = "Bonus de " + translw;
} else {
translw += " " + unit;
}
console.log("Spell duration/range/damage/target :", value, translw);
return translw;
}
});

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -779,7 +779,7 @@
{
"description": "<p style=\"text-align: justify;\">Le prix varie en fonction de la fabrication, du type de métal et de la valeur des gemmes. En règle générale, des bagues communes sans gemme coûtent 10 pièces du métal correspondant (par exemple, cuivre, argent ou or) alors que les colliers coûtent 20 pièces du métal correspondant.</p>",
"effects": [],
"id": "Jewellry",
"id": "Jewellery",
"name": "Bijoux"
},
{

View File

@ -0,0 +1,23 @@
{
"label": "Tables (Starter Set)",
"mapping": {
"results": {
"path": "results",
"converter": "resultConverter"
}
},
"entries": {
"3m4LPj58xoNju80B": {
"name": "Blessures Critiques - Tête (Starter Set)"
},
"BlDLji1LeqHOVj8r": {
"name": "Blessures Critiques - Jambe (Starter Set)"
},
"yYfGtudjckO3bubF": {
"name": "Blessures Critiques - Bras (Starter Set)"
},
"yvzv7xxQuxX7N16b": {
"name": "Blessures Critiques - Corps (Starter Set)"
}
}
}

View File

@ -0,0 +1,23 @@
{
"label": "Tables (Up In Arms)",
"mapping": {
"results": {
"path": "results",
"converter": "resultConverter"
}
},
"entries": {
"Head Critical Wounds (Up In Arms)": {
"name": "Head Critical Wounds (Up In Arms)"
},
"Leg Critical Wounds (Up In Arms)": {
"name": "Leg Critical Wounds (Up In Arms)"
},
"Arm Critical Wounds (Up In Arms)": {
"name": "Arm Critical Wounds (Up In Arms)"
},
"Body Critical Wounds (Up In Arms)": {
"name": "Body Critical Wounds (Up In Arms)"
}
}
}

File diff suppressed because one or more lines are too long

View File

@ -8,7 +8,7 @@
}
],
"url": "https://www.uberwald.me/gitea/public/foundryvtt-wh4-lang-fr-fr",
"version": "7.0.10",
"version": "7.0.21",
"esmodules": [
"babele-register.js",
"addon-register.js",
@ -50,18 +50,6 @@
"ASSISTANT": "OWNER"
}
},
{
"label": "Sorts FR",
"type": "Item",
"name": "sort-fr",
"path": "packs/sort-fr",
"system": "wfrp4e",
"flags": {},
"ownership": {
"PLAYER": "OBSERVER",
"ASSISTANT": "OWNER"
}
},
{
"label": "Aides de Jeu FR",
"type": "JournalEntry",
@ -75,55 +63,7 @@
}
},
{
"label": "Potions : Drogues et Sédatifs",
"type": "Item",
"name": "drogues-and-sedatifs",
"path": "packs/drogues-and-sedatifs",
"system": "wfrp4e",
"flags": {},
"ownership": {
"PLAYER": "OBSERVER",
"ASSISTANT": "OWNER"
}
},
{
"label": "Potions : Pansements et Cataplasmes",
"type": "Item",
"name": "pansements-and-cataplasmes",
"path": "packs/pansements-and-cataplasmes",
"system": "wfrp4e",
"flags": {},
"ownership": {
"PLAYER": "OBSERVER",
"ASSISTANT": "OWNER"
}
},
{
"label": "Potions : Poisons et Toxiques",
"type": "Item",
"name": "poisons-and-toxiques",
"path": "packs/poisons-and-toxiques",
"system": "wfrp4e",
"flags": {},
"ownership": {
"PLAYER": "OBSERVER",
"ASSISTANT": "OWNER"
}
},
{
"label": "Potions : Potions et Décoctions",
"type": "Item",
"name": "potions-and-decoctions",
"path": "packs/potions-and-decoctions",
"system": "wfrp4e",
"flags": {},
"ownership": {
"PLAYER": "OBSERVER",
"ASSISTANT": "OWNER"
}
},
{
"label": "Potions : Antidotes et Remèdes",
"label": "Potions",
"type": "Item",
"name": "antidotes-and-remedes",
"path": "packs/antidotes-and-remedes",
@ -159,11 +99,27 @@
}
}
],
"packFolders": [
{
"name": "Module WFRP4 FR",
"sorting": "m",
"color": "#00435c",
"packs": [
"apothicarium",
"tables-des-traductions",
"antidotes-and-remedes",
"aides-de-jeu-fr",
"dons-de-rhya",
"plats-dauberges"
],
"folders": []
}
],
"manifest": "https://www.uberwald.me/gitea/public/foundryvtt-wh4-lang-fr-fr/raw/v10/module.json",
"download": "https://www.uberwald.me/gitea/public/foundryvtt-wh4-lang-fr-fr/archive/foundryvtt-wh4-lang-fr-7.0.10.zip",
"download": "https://www.uberwald.me/gitea/public/foundryvtt-wh4-lang-fr-fr/archive/foundryvtt-wh4-lang-fr-7.0.21.zip",
"id": "wh4-fr-translation",
"compatibility": {
"minimum": "10",
"minimum": "11",
"verified": "11"
},
"relationships": {
@ -182,4 +138,4 @@
}
]
}
}
}

View File

@ -176,6 +176,22 @@ export class WH4FRPatchConfig {
game.wfrp4e.config.species["welf"] = "Elfe Sylvain";
}
if (game.wfrp4e.config.charastericticsBonus) {
game.wfrp4e.config.charastericticsBonus =
{
"ws": "Bonus de Capacité de Combat",
"bs": "Bonus de Capacité de Tir",
"s": "Bonus de Force",
"t": "Bonus d'Endurance",
"i": "Bonus d'Initiative",
"ag": "Bonus d'Agilité",
"dex": "Bonus de Dexterité",
"int": "Bonus d'Intelligence",
"wp": "Bonus de Force Mentale",
"fel": "Bonus de Sociabilité"
}
}
if (game.wfrp4e.config.classTrappings) {
for(const c of Object.keys(game.wfrp4e.config.classTrappings)) {
game.wfrp4e.config.classTrappings[game.i18n.localize(c)] = game.wfrp4e.config.classTrappings[c];

View File

@ -52,13 +52,13 @@ import "./xregexp-all.js";
const us_carac = 'm\\s+ws\\s+bs\\s+s\\s+t\\s+i\\s+agi?\\s+dex\\s+int\\s+\\wp\\s+fel\\s+w';
const fr_carac = 'm\\s+cc\\s+ct\\s+f\\s+e\\s+i\\s+agi?\\s+dex\\s+int\\s+fm\\s+soc\\s+b';
const carac_val = '(?<m>[0-9\\-]+)\\s+(?<ws>[0-9\\-]+)\\s+(?<bs>[0-9\\-]+)\\s+(?<s>[0-9\\-]+)\\s+(?<t>[0-9\\-]+)\\s+(?<i>[0-9\\-]+)\\s+(?<ag>[0-9\\-]+)\\s+(?<dex>[0-9\\-]+)\\s+(?<int>[0-9\\-]+)\\s+(?<wp>[0-9\\-]+)\\s+(?<fel>[0-9\\-]+)\\s+(?<w>[0-9\\-\*]+)';
const name_val = '(?<name>[a-zA-Z\\s\\-,]*)[\\s\\r\\na-zA-Z]*(?<tiers>.*|[\\(\\)a-z0-9]+)';
const name_val = '(?<name>[a-zA-Z\\s\\-,\']*)[\\s\\r\\na-zA-Z]*(?<tiers>.*|[\\(\\)a-z0-9]+)';
let sectionDataFR = [
{ name: "trait", toFind: "Traits\\s*:", secondParse: '(?<name>[a-zöàéè\\s]*)[\\s\\+]*(?<value>.*|[\\+0-9]+)', index: -1 },
{ name: "skill", toFind: "Compétences\\s*:", secondParse: '(?<name>[a-zàéè\\s\\(\\)]*)[\\s\\+]*(?<value>.*|[0-9]+)', index: -1 },
{ name: "talent", toFind: "Talents\\s*:", secondParse: '(?<name>[a-zöàéè\\-\\(\\)\\s\\/\']*)[\\s\\+]*(?<value>.*|[0-9]+)', index: -1 },
{ name: "talent", toFind: "Talents\\s*:", secondParse: '(?<name>[a-zöàéè\\-\\!\\(\\)\\s\\/\']*)[\\s\\+]*(?<value>.*|[0-9]+)', index: -1 },
{ name: "mutation", toFind: "Mutations\\s*:", secondParse: '(?<name>[a-zöàéè\\s]*)[\\s\\+]*(?<value>.*|[0-9]+)', index: -1 },
{ name: "trapping", toFind: "Equipement\\s*:", secondParse: '(?<name>[a-zöàéè0-9\\s]*)[\\s\\+]*(?<value>.*|[0-9]+)', index: -1 },
{ name: "trapping", toFind: "Equipement\\s*:", secondParse: '(?<name>[a-zöàéè0-9\\s(\\)\\-]*)[\\s\\+]*(?<value>.*|[0-9]+)', index: -1 },
{ name: "spell", toFind: "Sorts\\s*\\([a-z\\s]*\\)*:", secondParse: '(?<name>[a-zöàéè\\s]*)', index: -1 },
{ name: "spellpetty", toFind: "Spells\\s*\\(Magie Mineure\\)*:", secondParse: '(?<name>[a-zö\\-\\s]*)', index: -1 },
{ name: "spellarcane", toFind: "Spells\\s*\\(Arcane[a-z\\s]*\\)*:", secondParse: '(?<name>[a-zö\\-\\s]*)', index: -1 },
@ -67,13 +67,17 @@ let sectionDataFR = [
let sectionDataUS = [
{ name: "trait", toFind: "Traits\\s*:", secondParse: '(?<name>[a-z\\s]*)[\\s\\+]*(?<value>.*|[\\+0-9]+)', index: -1 },
{ name: "skill", toFind: "Skills\\s*:", secondParse: '(?<name>[a-z\\s\\(\\)]*)[\\s\\+]*(?<value>.*|[0-9]+)', index: -1 },
{ name: "talent", toFind: "Talents\\s*:", secondParse: '(?<name>[a-z\\-\\s\\(\\)\\/\']*)[\\s\\+]*(?<value>.*|[0-9]+)', index: -1 },
{ name: "talent", toFind: "Talents\\s*:", secondParse: '(?<name>[a-z\\-\\s\\!\\(\\)\\/\']*)[\\s\\+]*(?<value>.*|[0-9]+)', index: -1 },
{ name: "mutation", toFind: "Mutations\\s*:", secondParse: '(?<name>[a-zö\\s]*)[\\s\\+]*(?<value>.*|[0-9]+)', index: -1 },
{ name: "trapping", toFind: "Trappings\\s*:", secondParse: '(?<name>[a-zö0-9\\s]*)[\\s\\+]*(?<value>.*|[0-9]+)', index: -1 },
{ name: "trapping", toFind: "Trappings\\s*:", secondParse: '(?<name>[a-zö0-9\\s\\(\\)\\-]*)[\\s\\+]*(?<value>.*|[0-9]+)', index: -1 },
{ name: "spellpetty", toFind: "Spells\\s*\\(Petty\\s*[a-z\\s]*\\)*:", secondParse: '(?<name>[a-zö\\-\\s]*)', index: -1 },
{ name: "spellarcane", toFind: "Spells\\s*\\(Arcane\\s*[a-z\\s]*\\)*:", secondParse: '(?<name>[a-zö\\-\\s]*)', index: -1 },
{ name: "spelllore", toFind: "Spells\\s*\\(Lore\\s*of\\s*(?<lore>[a-z\\s]*)\\)*:", secondParse: '(?<name>[a-zö\\-\\s]*)', index: -1 }
]
let moneyUS = [ {name:" gold crown", key: "gc"}, {name: " gc", key: "gc"},
{name:" silver shilling", key:"ss"}, {name:" ss", key: "ss"}, {name:"/-", key: "ss"}, {name:" brass penn", key: "bp"}, {name:" bp", key: "bp"} ]
let moneyFR = [ {name:" couronnes d", key: "gc"}, {name: " co", key: "gc"},
{name:" pistoles ", key:"ss"}, {name:" pa", key: "ss"}, {name:"/-", key: "ss"}, {name:" sous de cuivre", key: "bp"}, {name:" sc", key: "bp"} ]
let regSep = XRegExp('\\s*,\\s*', 'gi'); // Term separator, with auto trim
let regLine1 = XRegExp('[\\r\\n\\.]', 'gi'); // Term separator, with auto trim
let regName = XRegExp(name_val, 'gi');
@ -178,7 +182,7 @@ async function __findSkill(skillName, value = undefined) {
/************************************************************************************/
async function __findTalent(talentName) {
let parseStr = '(?<name>[a-z\\s\\/\']*)[\\s\\+]*(?<specialized>[a-z\\s\\(\\)\']*)';
let parseStr = '(?<name>[a-z\\s\\!\\/\']*)[\\s\\+]*(?<specialized>[a-z\\s\\(\\)\']*)';
let talentSplit = XRegExp.exec(talentName, XRegExp(parseStr, 'gi'));
let toSearch = talentSplit.name.toLowerCase().trim();
@ -246,16 +250,19 @@ export default async function statParserFR(statString, type = "npc") {
// Patch wront/strange carac value before processing
statString = statString.replace(/ /g, " 0")
let moneys = { gc: 0, ss: 0, bp: 0 }
let statNameReg = us_carac
let sectionData = sectionDataUS
let sectionData = duplicate(sectionDataUS)
let skillGrouping = __SkillGroupsUS
let moneyLang = moneyUS
// Detect French stat block
if (statString.includes('CC') && statString.includes('CT') && statString.includes('FM')) {
//ui.notifications.warn("Le parsing de stablock en Français n'est pas encore prêt")
statNameReg = fr_carac
sectionData = sectionDataFR
sectionData = duplicate(sectionDataFR)
skillGrouping = __SkillGroupsFR
moneyLang = moneyFR
}
let reg1 = XRegExp(statNameReg, 'gi')
@ -368,7 +375,7 @@ export default async function statParserFR(statString, type = "npc") {
} else {
itemFound.system.specification.value = game.i18n.localize(value)
}
itemFound.name += "(" + value + ")"
//itemFound.name += "(" + value + ")"
}
if (!itemFound)
ui.notifications.error("Trait non trouvé, à ajouter manuellement : " + name, { permanent: true })
@ -405,6 +412,7 @@ export default async function statParserFR(statString, type = "npc") {
if (!itemFound) {
ui.notifications.error("Talent non trouvé, à ajouter manuellement : " + name, { permanent: true })
}
} else if (def.name == 'trapping') {
itemFound = await __findItem(name, "trapping");
if (!itemFound) {
@ -415,7 +423,7 @@ export default async function statParserFR(statString, type = "npc") {
}
if (!itemFound && name) {
if (name.toLowerCase().includes("armor") || name.toLowerCase().includes("armure") || name.toLowerCase().includes("armour")) {
itemFound = new ItemWfrp4e({ img: "systems/wfrp4e/icons/blank.png", name: name, type: "armor", system: game.system.model.Item.armor })
itemFound = new ItemWfrp4e({ img: "systems/wfrp4e/icons/blank.png", name: name, type: "armour", system: game.system.model.Item.armor })
} else if (name.toLowerCase().includes("weapon") || name.toLowerCase().includes("arme")) {
itemFound = new ItemWfrp4e({ img: "systems/wfrp4e/icons/blank.png", name: name, type: "weapon", system: game.system.model.Item.weapon })
} else {
@ -427,13 +435,22 @@ export default async function statParserFR(statString, type = "npc") {
}
itemFound = itemFound.toObject()
}
// Searching money stuff
for (let mondeyDef of moneyLang) {
if (name.toLowerCase().includes(mondeyDef.name)) {
let regMoney = XRegExp("(\\d+)\\s*" + mondeyDef.name.trim(), 'gi')
let moneyParsed = XRegExp.exec(name.toLowerCase(), regMoney)
console.log("Parsing money", name, moneyParsed)
moneys[mondeyDef.key] += (moneyParsed && moneyParsed[1]) ? Number(moneyParsed[1]) : 0
}
}
} else if (def.name.includes('spell')) {
console.log("Found spells section!!!!", name, def, def.lore || "NO LORE")
// Lore management, firs pass
if ( def.lore ) {
if (def.lore) {
let newName = name + " (" + def.lore + ")"
itemFound = await __findItem(newName, "spell");
console.log("Trying to find ", newName, itemFound)
//console.log("Trying to find ", newName, itemFound)
}
if (!itemFound) { // If not found with Lore, try without the lore
itemFound = await __findItem(name, "spell");
@ -455,14 +472,39 @@ export default async function statParserFR(statString, type = "npc") {
}
let moneyItems = await game.wfrp4e.utility.allMoneyItems() || [];
moneyItems = moneyItems.sort((a, b) => (a.system.coinValue.value > b.system.coinValue.value) ? -1 : 1);
moneyItems.forEach(m => m.system.quantity.value = 0)
for (let m of moneyItems) {
m.system.quantity.value = 0
if (m.system.coinValue.value == 1) {
m.system.quantity.value += moneys.bp
}
if (m.system.coinValue.value == 240) {
m.system.quantity.value += moneys.gc
}
if (m.system.coinValue.value == 12) {
m.system.quantity.value += moneys.ss
}
}
globalItemList = globalItemList.concat(moneyItems);
//console.log("My liste :", globalItemList);
//DEBUG : console.log("My liste :", moneyItems, moneys);
let name = pnjName;
let effects = globalItemList.reduce((total, globItem) => total.concat(globItem.effects), [])
effects = effects.filter(e => !!e)
effects = effects.filter(e => e.transfer)
for (let e of effects) {
for (let c of e.changes) {
// Charac management stuff
if (c.key?.includes("characteristics")) {
let cKey = c.key.split(".")[2]
model.characteristics[cKey].initial -= Number(c.value)
}
// Move management
if (c.key?.includes("move")) {
model.details.move.value -= Number(c.value)
}
}
}
//DEBUG : console.log("EFFECTS", effects)
return { name, type, data: model, items: globalItemList, effects }
}

View File

Binary file not shown.

View File

@ -0,0 +1 @@
MANIFEST-000342

View File

11
packs/aides-de-jeu-fr/LOG Normal file
View File

@ -0,0 +1,11 @@
2023/11/12-16:28:45.276682 7f4c327fc6c0 Delete type=3 #1
2023/11/12-16:30:07.848922 7f4c30ff96c0 Level-0 table #345: started
2023/11/12-16:30:07.848963 7f4c30ff96c0 Level-0 table #345: 0 bytes OK
2023/11/12-16:30:07.855601 7f4c30ff96c0 Delete type=0 #343
2023/11/12-16:30:07.882513 7f4c30ff96c0 Manual compaction at level-0 from '!journal!3IgmiprzLB6Lwenc' @ 72057594037927935 : 1 .. '!journal!suuYN87Al1ZZWtQQ' @ 0 : 0; will stop at '!journal!suuYN87Al1ZZWtQQ' @ 5 : 1
2023/11/12-16:30:07.882529 7f4c30ff96c0 Compacting 1@0 + 0@1 files
2023/11/12-16:30:07.887126 7f4c30ff96c0 Generated table #346@0: 5 keys, 49338 bytes
2023/11/12-16:30:07.887163 7f4c30ff96c0 Compacted 1@0 + 0@1 files => 49338 bytes
2023/11/12-16:30:07.894400 7f4c30ff96c0 compacted to: files[ 0 1 0 0 0 0 0 ]
2023/11/12-16:30:07.894598 7f4c30ff96c0 Delete type=2 #5
2023/11/12-16:30:07.919620 7f4c30ff96c0 Manual compaction at level-0 from '!journal!suuYN87Al1ZZWtQQ' @ 5 : 1 .. '!journal!suuYN87Al1ZZWtQQ' @ 0 : 0; will stop at (end)

View File

@ -0,0 +1,4 @@
2023/11/12-16:28:45.253740 7f4c32ffd6c0 Log #340: 0 ops saved to Table #341 OK
2023/11/12-16:28:45.253935 7f4c32ffd6c0 Archiving /home/morr/foundry/foundrydata-v11/Data/modules/wh4-fr-translation/packs/aides-de-jeu-fr/000340.log: OK
2023/11/12-16:28:45.255237 7f4c32ffd6c0 Table #5: 5 entries OK
2023/11/12-16:28:45.259457 7f4c32ffd6c0 **** Repaired leveldb /home/morr/foundry/foundrydata-v11/Data/modules/wh4-fr-translation/packs/aides-de-jeu-fr; recovered 1 files; 49338 bytes. Some data may have been lost. ****

Binary file not shown.

View File

View File

Binary file not shown.

View File

@ -0,0 +1 @@
MANIFEST-000343

View File

View File

@ -0,0 +1,11 @@
2023/11/12-16:28:45.304949 7f4c31ffb6c0 Delete type=3 #1
2023/11/12-16:30:07.855778 7f4c30ff96c0 Level-0 table #346: started
2023/11/12-16:30:07.855832 7f4c30ff96c0 Level-0 table #346: 0 bytes OK
2023/11/12-16:30:07.862356 7f4c30ff96c0 Delete type=0 #344
2023/11/12-16:30:07.894853 7f4c30ff96c0 Manual compaction at level-0 from '!folders!3uquYH73ttCdoH0I' @ 72057594037927935 : 1 .. '!items!ylFhk7mGZOnAJTUT' @ 0 : 0; will stop at '!items!ylFhk7mGZOnAJTUT' @ 103 : 1
2023/11/12-16:30:07.894875 7f4c30ff96c0 Compacting 1@0 + 0@1 files
2023/11/12-16:30:07.900627 7f4c30ff96c0 Generated table #347@0: 89 keys, 96484 bytes
2023/11/12-16:30:07.900658 7f4c30ff96c0 Compacted 1@0 + 0@1 files => 96484 bytes
2023/11/12-16:30:07.906863 7f4c30ff96c0 compacted to: files[ 0 1 0 0 0 0 0 ]
2023/11/12-16:30:07.907101 7f4c30ff96c0 Delete type=2 #272
2023/11/12-16:30:07.919636 7f4c30ff96c0 Manual compaction at level-0 from '!items!ylFhk7mGZOnAJTUT' @ 103 : 1 .. '!items!ylFhk7mGZOnAJTUT' @ 0 : 0; will stop at (end)

View File

@ -0,0 +1,4 @@
2023/11/12-16:28:45.280834 7f4c327fc6c0 Log #341: 0 ops saved to Table #342 OK
2023/11/12-16:28:45.281059 7f4c327fc6c0 Archiving /home/morr/foundry/foundrydata-v11/Data/modules/wh4-fr-translation/packs/antidotes-and-remedes/000341.log: OK
2023/11/12-16:28:45.282622 7f4c327fc6c0 Table #272: 89 entries OK
2023/11/12-16:28:45.286508 7f4c327fc6c0 **** Repaired leveldb /home/morr/foundry/foundrydata-v11/Data/modules/wh4-fr-translation/packs/antidotes-and-remedes; recovered 1 files; 96484 bytes. Some data may have been lost. ****

Binary file not shown.

View File

Binary file not shown.

View File

@ -0,0 +1 @@
MANIFEST-000342

0
packs/apothicarium/LOCK Normal file
View File

11
packs/apothicarium/LOG Normal file
View File

@ -0,0 +1,11 @@
2023/11/12-16:28:45.354171 7f4c32ffd6c0 Delete type=3 #1
2023/11/12-16:30:07.919758 7f4c30ff96c0 Level-0 table #345: started
2023/11/12-16:30:07.919806 7f4c30ff96c0 Level-0 table #345: 0 bytes OK
2023/11/12-16:30:07.926377 7f4c30ff96c0 Delete type=0 #343
2023/11/12-16:30:07.926603 7f4c30ff96c0 Manual compaction at level-0 from '!journal!cZtNgayIw2QFhC9u' @ 72057594037927935 : 1 .. '!journal!cZtNgayIw2QFhC9u' @ 0 : 0; will stop at '!journal!cZtNgayIw2QFhC9u' @ 1 : 1
2023/11/12-16:30:07.926620 7f4c30ff96c0 Compacting 1@0 + 0@1 files
2023/11/12-16:30:07.931147 7f4c30ff96c0 Generated table #346@0: 1 keys, 18667 bytes
2023/11/12-16:30:07.931182 7f4c30ff96c0 Compacted 1@0 + 0@1 files => 18667 bytes
2023/11/12-16:30:07.937420 7f4c30ff96c0 compacted to: files[ 0 1 0 0 0 0 0 ]
2023/11/12-16:30:07.937601 7f4c30ff96c0 Delete type=2 #5
2023/11/12-16:30:07.937809 7f4c30ff96c0 Manual compaction at level-0 from '!journal!cZtNgayIw2QFhC9u' @ 1 : 1 .. '!journal!cZtNgayIw2QFhC9u' @ 0 : 0; will stop at (end)

View File

@ -0,0 +1,4 @@
2023/11/12-16:28:45.334424 7f4c317fa6c0 Log #340: 0 ops saved to Table #341 OK
2023/11/12-16:28:45.334594 7f4c317fa6c0 Archiving /home/morr/foundry/foundrydata-v11/Data/modules/wh4-fr-translation/packs/apothicarium/000340.log: OK
2023/11/12-16:28:45.335422 7f4c317fa6c0 Table #5: 1 entries OK
2023/11/12-16:28:45.338815 7f4c317fa6c0 **** Repaired leveldb /home/morr/foundry/foundrydata-v11/Data/modules/wh4-fr-translation/packs/apothicarium; recovered 1 files; 18667 bytes. Some data may have been lost. ****

Binary file not shown.

View File

View File

Binary file not shown.

View File

@ -0,0 +1 @@
MANIFEST-000342

0
packs/dons-de-rhya/LOCK Normal file
View File

11
packs/dons-de-rhya/LOG Normal file
View File

@ -0,0 +1,11 @@
2023/11/12-16:28:45.249196 7f4c32ffd6c0 Delete type=3 #1
2023/11/12-16:30:07.842308 7f4c30ff96c0 Level-0 table #345: started
2023/11/12-16:30:07.842386 7f4c30ff96c0 Level-0 table #345: 0 bytes OK
2023/11/12-16:30:07.848757 7f4c30ff96c0 Delete type=0 #343
2023/11/12-16:30:07.869748 7f4c30ff96c0 Manual compaction at level-0 from '!journal!50u8VAjdmovyr0hx' @ 72057594037927935 : 1 .. '!journal!yzw9I0r3hCK7PJnz' @ 0 : 0; will stop at '!journal!yzw9I0r3hCK7PJnz' @ 23 : 1
2023/11/12-16:30:07.870212 7f4c30ff96c0 Compacting 1@0 + 0@1 files
2023/11/12-16:30:07.875695 7f4c30ff96c0 Generated table #346@0: 23 keys, 53814 bytes
2023/11/12-16:30:07.875744 7f4c30ff96c0 Compacted 1@0 + 0@1 files => 53814 bytes
2023/11/12-16:30:07.882149 7f4c30ff96c0 compacted to: files[ 0 1 0 0 0 0 0 ]
2023/11/12-16:30:07.882321 7f4c30ff96c0 Delete type=2 #5
2023/11/12-16:30:07.919602 7f4c30ff96c0 Manual compaction at level-0 from '!journal!yzw9I0r3hCK7PJnz' @ 23 : 1 .. '!journal!yzw9I0r3hCK7PJnz' @ 0 : 0; will stop at (end)

View File

@ -0,0 +1,4 @@
2023/11/12-16:28:45.216086 7f4c317fa6c0 Log #340: 0 ops saved to Table #341 OK
2023/11/12-16:28:45.216263 7f4c317fa6c0 Archiving /home/morr/foundry/foundrydata-v11/Data/modules/wh4-fr-translation/packs/dons-de-rhya/000340.log: OK
2023/11/12-16:28:45.217493 7f4c317fa6c0 Table #5: 23 entries OK
2023/11/12-16:28:45.221094 7f4c317fa6c0 **** Repaired leveldb /home/morr/foundry/foundrydata-v11/Data/modules/wh4-fr-translation/packs/dons-de-rhya; recovered 1 files; 53814 bytes. Some data may have been lost. ****

Binary file not shown.

View File

Binary file not shown.

View File

View File

@ -0,0 +1 @@
MANIFEST-000268

View File

View File

@ -0,0 +1,8 @@
2023/10/01-20:44:40.570183 7f5807fff6c0 Recovering log #266
2023/10/01-20:44:40.632484 7f5807fff6c0 Delete type=3 #264
2023/10/01-20:44:40.632822 7f5807fff6c0 Delete type=0 #266
2023/10/01-20:59:02.099129 7f58067fc6c0 Level-0 table #271: started
2023/10/01-20:59:02.099170 7f58067fc6c0 Level-0 table #271: 0 bytes OK
2023/10/01-20:59:02.106069 7f58067fc6c0 Delete type=0 #269
2023/10/01-20:59:02.112689 7f58067fc6c0 Manual compaction at level-0 from '!items!0LoyZMCXQNdFa2eX' @ 72057594037927935 : 1 .. '!items!ylFhk7mGZOnAJTUT' @ 0 : 0; will stop at (end)
2023/10/01-20:59:02.112752 7f58067fc6c0 Manual compaction at level-1 from '!items!0LoyZMCXQNdFa2eX' @ 72057594037927935 : 1 .. '!items!ylFhk7mGZOnAJTUT' @ 0 : 0; will stop at (end)

View File

@ -0,0 +1,8 @@
2023/10/01-18:43:22.727478 7f5807fff6c0 Recovering log #262
2023/10/01-18:43:22.785389 7f5807fff6c0 Delete type=3 #260
2023/10/01-18:43:22.785534 7f5807fff6c0 Delete type=0 #262
2023/10/01-18:47:48.446951 7f58067fc6c0 Level-0 table #267: started
2023/10/01-18:47:48.447052 7f58067fc6c0 Level-0 table #267: 0 bytes OK
2023/10/01-18:47:48.485936 7f58067fc6c0 Delete type=0 #265
2023/10/01-18:47:48.524251 7f58067fc6c0 Manual compaction at level-0 from '!items!0LoyZMCXQNdFa2eX' @ 72057594037927935 : 1 .. '!items!ylFhk7mGZOnAJTUT' @ 0 : 0; will stop at (end)
2023/10/01-18:47:48.524330 7f58067fc6c0 Manual compaction at level-1 from '!items!0LoyZMCXQNdFa2eX' @ 72057594037927935 : 1 .. '!items!ylFhk7mGZOnAJTUT' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1 @@
MANIFEST-000268

View File

View File

@ -0,0 +1,8 @@
2023/10/01-20:44:40.636180 7f5a9cdff6c0 Recovering log #266
2023/10/01-20:44:40.697598 7f5a9cdff6c0 Delete type=3 #264
2023/10/01-20:44:40.697748 7f5a9cdff6c0 Delete type=0 #266
2023/10/01-20:59:02.084751 7f58067fc6c0 Level-0 table #271: started
2023/10/01-20:59:02.084857 7f58067fc6c0 Level-0 table #271: 0 bytes OK
2023/10/01-20:59:02.091434 7f58067fc6c0 Delete type=0 #269
2023/10/01-20:59:02.112649 7f58067fc6c0 Manual compaction at level-0 from '!items!25lWFfePrPzoL9qs' @ 72057594037927935 : 1 .. '!items!t9Z8fy9D9bcgBzj0' @ 0 : 0; will stop at (end)
2023/10/01-20:59:02.112721 7f58067fc6c0 Manual compaction at level-1 from '!items!25lWFfePrPzoL9qs' @ 72057594037927935 : 1 .. '!items!t9Z8fy9D9bcgBzj0' @ 0 : 0; will stop at (end)

View File

@ -0,0 +1,8 @@
2023/10/01-18:43:22.793152 7f5806ffd6c0 Recovering log #262
2023/10/01-18:43:22.857219 7f5806ffd6c0 Delete type=3 #260
2023/10/01-18:43:22.857359 7f5806ffd6c0 Delete type=0 #262
2023/10/01-18:47:48.340716 7f58067fc6c0 Level-0 table #267: started
2023/10/01-18:47:48.340770 7f58067fc6c0 Level-0 table #267: 0 bytes OK
2023/10/01-18:47:48.376145 7f58067fc6c0 Delete type=0 #265
2023/10/01-18:47:48.376399 7f58067fc6c0 Manual compaction at level-0 from '!items!25lWFfePrPzoL9qs' @ 72057594037927935 : 1 .. '!items!t9Z8fy9D9bcgBzj0' @ 0 : 0; will stop at (end)
2023/10/01-18:47:48.376460 7f58067fc6c0 Manual compaction at level-1 from '!items!25lWFfePrPzoL9qs' @ 72057594037927935 : 1 .. '!items!t9Z8fy9D9bcgBzj0' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

Binary file not shown.

View File

@ -0,0 +1 @@
MANIFEST-000342

View File

11
packs/plats-dauberges/LOG Normal file
View File

@ -0,0 +1,11 @@
2023/11/12-16:28:45.211861 7f4c317fa6c0 Delete type=3 #1
2023/11/12-16:30:07.824306 7f4c30ff96c0 Level-0 table #345: started
2023/11/12-16:30:07.824373 7f4c30ff96c0 Level-0 table #345: 0 bytes OK
2023/11/12-16:30:07.830848 7f4c30ff96c0 Delete type=0 #343
2023/11/12-16:30:07.831080 7f4c30ff96c0 Manual compaction at level-0 from '!tables!4l60Lxv8cpsyy2Cg' @ 72057594037927935 : 1 .. '!tables.results!tfaYKDZqu7kgZvRG.yvbwKursaixh2dby' @ 0 : 0; will stop at '!tables.results!tfaYKDZqu7kgZvRG.yvbwKursaixh2dby' @ 227 : 1
2023/11/12-16:30:07.831097 7f4c30ff96c0 Compacting 1@0 + 0@1 files
2023/11/12-16:30:07.835289 7f4c30ff96c0 Generated table #346@0: 234 keys, 19449 bytes
2023/11/12-16:30:07.835330 7f4c30ff96c0 Compacted 1@0 + 0@1 files => 19449 bytes
2023/11/12-16:30:07.841639 7f4c30ff96c0 compacted to: files[ 0 1 0 0 0 0 0 ]
2023/11/12-16:30:07.841825 7f4c30ff96c0 Delete type=2 #5
2023/11/12-16:30:07.842195 7f4c30ff96c0 Manual compaction at level-0 from '!tables.results!tfaYKDZqu7kgZvRG.yvbwKursaixh2dby' @ 227 : 1 .. '!tables.results!tfaYKDZqu7kgZvRG.yvbwKursaixh2dby' @ 0 : 0; will stop at (end)

View File

@ -0,0 +1,4 @@
2023/11/12-16:28:45.038839 7f4c31ffb6c0 Log #340: 0 ops saved to Table #341 OK
2023/11/12-16:28:45.039026 7f4c31ffb6c0 Archiving /home/morr/foundry/foundrydata-v11/Data/modules/wh4-fr-translation/packs/plats-dauberges/000340.log: OK
2023/11/12-16:28:45.039821 7f4c31ffb6c0 Table #5: 234 entries OK
2023/11/12-16:28:45.045897 7f4c31ffb6c0 **** Repaired leveldb /home/morr/foundry/foundrydata-v11/Data/modules/wh4-fr-translation/packs/plats-dauberges; recovered 1 files; 19449 bytes. Some data may have been lost. ****

Binary file not shown.

View File

Binary file not shown.

View File

View File

@ -0,0 +1 @@
MANIFEST-000268

View File

View File

@ -0,0 +1,8 @@
2023/10/01-20:44:40.701549 7f5806ffd6c0 Recovering log #266
2023/10/01-20:44:40.764544 7f5806ffd6c0 Delete type=3 #264
2023/10/01-20:44:40.764684 7f5806ffd6c0 Delete type=0 #266
2023/10/01-20:59:02.106210 7f58067fc6c0 Level-0 table #271: started
2023/10/01-20:59:02.106249 7f58067fc6c0 Level-0 table #271: 0 bytes OK
2023/10/01-20:59:02.112490 7f58067fc6c0 Delete type=0 #269
2023/10/01-20:59:02.112706 7f58067fc6c0 Manual compaction at level-0 from '!items!7NSF4hTW0QUkYCnZ' @ 72057594037927935 : 1 .. '!items!xobXk8u7SVQ49eP8' @ 0 : 0; will stop at (end)
2023/10/01-20:59:02.112767 7f58067fc6c0 Manual compaction at level-1 from '!items!7NSF4hTW0QUkYCnZ' @ 72057594037927935 : 1 .. '!items!xobXk8u7SVQ49eP8' @ 0 : 0; will stop at (end)

View File

@ -0,0 +1,8 @@
2023/10/01-18:43:22.865435 7f58077fe6c0 Recovering log #262
2023/10/01-18:43:22.924289 7f58077fe6c0 Delete type=3 #260
2023/10/01-18:43:22.924448 7f58077fe6c0 Delete type=0 #262
2023/10/01-18:47:48.407565 7f58067fc6c0 Level-0 table #267: started
2023/10/01-18:47:48.407608 7f58067fc6c0 Level-0 table #267: 0 bytes OK
2023/10/01-18:47:48.446683 7f58067fc6c0 Delete type=0 #265
2023/10/01-18:47:48.524233 7f58067fc6c0 Manual compaction at level-0 from '!items!7NSF4hTW0QUkYCnZ' @ 72057594037927935 : 1 .. '!items!xobXk8u7SVQ49eP8' @ 0 : 0; will stop at (end)
2023/10/01-18:47:48.524299 7f58067fc6c0 Manual compaction at level-1 from '!items!7NSF4hTW0QUkYCnZ' @ 72057594037927935 : 1 .. '!items!xobXk8u7SVQ49eP8' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

View File

View File

@ -0,0 +1 @@
MANIFEST-000268

View File

View File

@ -0,0 +1,8 @@
2023/10/01-20:44:40.768234 7f58077fe6c0 Recovering log #266
2023/10/01-20:44:40.821657 7f58077fe6c0 Delete type=3 #264
2023/10/01-20:44:40.821800 7f58077fe6c0 Delete type=0 #266
2023/10/01-20:59:02.112885 7f58067fc6c0 Level-0 table #271: started
2023/10/01-20:59:02.112924 7f58067fc6c0 Level-0 table #271: 0 bytes OK
2023/10/01-20:59:02.119967 7f58067fc6c0 Delete type=0 #269
2023/10/01-20:59:02.147587 7f58067fc6c0 Manual compaction at level-0 from '!items!0iQg3XJmxAAbFief' @ 72057594037927935 : 1 .. '!items!uwcMzO6u0rnhqLdf' @ 0 : 0; will stop at (end)
2023/10/01-20:59:02.147752 7f58067fc6c0 Manual compaction at level-1 from '!items!0iQg3XJmxAAbFief' @ 72057594037927935 : 1 .. '!items!uwcMzO6u0rnhqLdf' @ 0 : 0; will stop at (end)

View File

@ -0,0 +1,8 @@
2023/10/01-18:43:22.932395 7f5a9cdff6c0 Recovering log #262
2023/10/01-18:43:22.998115 7f5a9cdff6c0 Delete type=3 #260
2023/10/01-18:43:22.998245 7f5a9cdff6c0 Delete type=0 #262
2023/10/01-18:47:48.376668 7f58067fc6c0 Level-0 table #267: started
2023/10/01-18:47:48.376711 7f58067fc6c0 Level-0 table #267: 0 bytes OK
2023/10/01-18:47:48.407379 7f58067fc6c0 Delete type=0 #265
2023/10/01-18:47:48.524212 7f58067fc6c0 Manual compaction at level-0 from '!items!0iQg3XJmxAAbFief' @ 72057594037927935 : 1 .. '!items!uwcMzO6u0rnhqLdf' @ 0 : 0; will stop at (end)
2023/10/01-18:47:48.524283 7f58067fc6c0 Manual compaction at level-1 from '!items!0iQg3XJmxAAbFief' @ 72057594037927935 : 1 .. '!items!uwcMzO6u0rnhqLdf' @ 0 : 0; will stop at (end)

Binary file not shown.

BIN
packs/sort-fr/000005.ldb Normal file

Binary file not shown.

0
packs/sort-fr/000274.log Normal file
View File

1
packs/sort-fr/CURRENT Normal file
View File

@ -0,0 +1 @@
MANIFEST-000272

0
packs/sort-fr/LOCK Normal file
View File

8
packs/sort-fr/LOG Normal file
View File

@ -0,0 +1,8 @@
2023/10/01-20:59:53.930690 7f5a9cdff6c0 Recovering log #270
2023/10/01-20:59:53.941737 7f5a9cdff6c0 Delete type=3 #268
2023/10/01-20:59:53.942093 7f5a9cdff6c0 Delete type=0 #270
2023/10/01-21:01:43.214418 7f58067fc6c0 Level-0 table #275: started
2023/10/01-21:01:43.214458 7f58067fc6c0 Level-0 table #275: 0 bytes OK
2023/10/01-21:01:43.221508 7f58067fc6c0 Delete type=0 #273
2023/10/01-21:01:43.236081 7f58067fc6c0 Manual compaction at level-0 from '!items!2NuLGbLlyHPck2Je' @ 72057594037927935 : 1 .. '!items.effects!VexogjUDXdGAHWmN.kNTwaivtonPJpdY6' @ 0 : 0; will stop at (end)
2023/10/01-21:01:43.236146 7f58067fc6c0 Manual compaction at level-1 from '!items!2NuLGbLlyHPck2Je' @ 72057594037927935 : 1 .. '!items.effects!VexogjUDXdGAHWmN.kNTwaivtonPJpdY6' @ 0 : 0; will stop at (end)

8
packs/sort-fr/LOG.old Normal file
View File

@ -0,0 +1,8 @@
2023/10/01-20:44:40.439485 7f58077fe6c0 Recovering log #266
2023/10/01-20:44:40.500106 7f58077fe6c0 Delete type=3 #264
2023/10/01-20:44:40.500261 7f58077fe6c0 Delete type=0 #266
2023/10/01-20:59:02.063156 7f58067fc6c0 Level-0 table #271: started
2023/10/01-20:59:02.063229 7f58067fc6c0 Level-0 table #271: 0 bytes OK
2023/10/01-20:59:02.069747 7f58067fc6c0 Delete type=0 #269
2023/10/01-20:59:02.084232 7f58067fc6c0 Manual compaction at level-0 from '!items!2NuLGbLlyHPck2Je' @ 72057594037927935 : 1 .. '!items.effects!VexogjUDXdGAHWmN.kNTwaivtonPJpdY6' @ 0 : 0; will stop at (end)
2023/10/01-20:59:02.084332 7f58067fc6c0 Manual compaction at level-1 from '!items!2NuLGbLlyHPck2Je' @ 72057594037927935 : 1 .. '!items.effects!VexogjUDXdGAHWmN.kNTwaivtonPJpdY6' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

Binary file not shown.

View File

@ -0,0 +1 @@
MANIFEST-000342

View File

View File

@ -0,0 +1,11 @@
2023/11/12-16:28:45.330471 7f4c317fa6c0 Delete type=3 #1
2023/11/12-16:30:07.862607 7f4c30ff96c0 Level-0 table #345: started
2023/11/12-16:30:07.862667 7f4c30ff96c0 Level-0 table #345: 0 bytes OK
2023/11/12-16:30:07.869562 7f4c30ff96c0 Delete type=0 #343
2023/11/12-16:30:07.907474 7f4c30ff96c0 Manual compaction at level-0 from '!journal!056ILNNrLiPq3Gi3' @ 72057594037927935 : 1 .. '!journal!yfZxl4I7XAuUF6r3' @ 0 : 0; will stop at '!journal!yfZxl4I7XAuUF6r3' @ 12 : 1
2023/11/12-16:30:07.907497 7f4c30ff96c0 Compacting 1@0 + 0@1 files
2023/11/12-16:30:07.913133 7f4c30ff96c0 Generated table #346@0: 12 keys, 64134 bytes
2023/11/12-16:30:07.913182 7f4c30ff96c0 Compacted 1@0 + 0@1 files => 64134 bytes
2023/11/12-16:30:07.919296 7f4c30ff96c0 compacted to: files[ 0 1 0 0 0 0 0 ]
2023/11/12-16:30:07.919431 7f4c30ff96c0 Delete type=2 #5
2023/11/12-16:30:07.919655 7f4c30ff96c0 Manual compaction at level-0 from '!journal!yfZxl4I7XAuUF6r3' @ 12 : 1 .. '!journal!yfZxl4I7XAuUF6r3' @ 0 : 0; will stop at (end)

View File

@ -0,0 +1,4 @@
2023/11/12-16:28:45.310132 7f4c31ffb6c0 Log #340: 0 ops saved to Table #341 OK
2023/11/12-16:28:45.310346 7f4c31ffb6c0 Archiving /home/morr/foundry/foundrydata-v11/Data/modules/wh4-fr-translation/packs/tables-des-traductions/000340.log: OK
2023/11/12-16:28:45.311453 7f4c31ffb6c0 Table #5: 12 entries OK
2023/11/12-16:28:45.314949 7f4c31ffb6c0 **** Repaired leveldb /home/morr/foundry/foundrydata-v11/Data/modules/wh4-fr-translation/packs/tables-des-traductions; recovered 1 files; 64134 bytes. Some data may have been lost. ****

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More