Since i solved the problem with what you told me, yes this thread is resolved.
Posts by Joizz
-
-
Deleting and updating compatible mods worked. Although i think it could have been the custom calibers mod that messed the loading of maps loot
-
Guys what do i need to do to be able to load into a map. It loads and when it gets to loacal game starting this error pops up.
TypeError: staticAmmoDist[caliber] is not iterable
[2024-02-19T00:13:25.542Z] debug: Generating data for: Woods, variant: 4
[2024-02-19T00:13:25.581Z] error: TypeError: staticAmmoDist[caliber] is not iterable
[2024-02-19T00:13:25.581Z] error: TypeError: staticAmmoDist[caliber] is not iterable
at ItemHelper.drawAmmoTpl (C:\snapshot\project\src\helpers\ItemHelper.ts:1101:41)
at ItemHelper.fillMagazineWithRandomCartridge (C:\snapshot\project\src\helpers\ItemHelper.ts:1008:35)
at LocationGenerator.createStaticLootItem (C:\snapshot\project\src\generators\LocationGenerator.ts:999:33)
at LocationGenerator.addLootToContainer (C:\snapshot\project\src\generators\LocationGenerator.ts:429:49)
at LocationGenerator.generateStaticContainers (C:\snapshot\project\src\generators\LocationGenerator.ts:123:44)
at LocationController.generate (C:\snapshot\project\src\controllers\LocationController.ts:104:51)
at LocationController.get (C:\snapshot\project\src\controllers\LocationController.ts:70:21)
at LocationCallbacks.getLocation (C:\snapshot\project\src\callbacks\LocationCallbacks.ts:39:66)
at RouteAction.action (C:\snapshot\project\src\routers\dynamic\LocationDynamicRouter.ts:17:51)
at LocationDynamicRouter.handleDynamic (C:\snapshot\project\src\di\Router.ts:68:61)
[2024-02-19T00:13:25.580Z] error: TypeError: staticAmmoDist[caliber] is not iterable
at ItemHelper.drawAmmoTpl (C:\snapshot\project\src\helpers\ItemHelper.ts:1101:41)
at ItemHelper.fillMagazineWithRandomCartridge (C:\snapshot\project\src\helpers\ItemHelper.ts:1008:35)
at LocationGenerator.createStaticLootItem (C:\snapshot\project\src\generators\LocationGenerator.ts:999:33)
at LocationGenerator.addLootToContainer (C:\snapshot\project\src\generators\LocationGenerator.ts:429:49)
at LocationGenerator.generateStaticContainers (C:\snapshot\project\src\generators\LocationGenerator.ts:123:44)
at LocationController.generate (C:\snapshot\project\src\controllers\LocationController.ts:104:51)
at LocationController.get (C:\snapshot\project\src\controllers\LocationController.ts:70:21)
at LocationCallbacks.getLocation (C:\snapshot\project\src\callbacks\LocationCallbacks.ts:39:66)
at RouteAction.action (C:\snapshot\project\src\routers\dynamic\LocationDynamicRouter.ts:17:51)
at LocationDynamicRouter.handleDynamic (C:\snapshot\project\src\di\Router.ts:68:61)