Deep core mining

by VortiK

A not cheaty infinite ore mod. Adds ore patches that appear when ore fields are depleted that can be mined with a pair of advanced mining drill to upgrade mining outposts and provide source of expensive but steady infinite ore. Adds an high tech infinite ore mining from rare deep core cracks spawned in the world that require heavy refining. Many mods supported : - Angel's Ores & Bob's Ores - Mad Clown's Extended Minerals - Dirty Mining - Simple Silicon quartz - Krastorio 2 Rare Metal - Leighzer's Morphite - Pyanodons Raw Ores - Pyanodons Coal Processing - Mylon's Prospector - Brevven's Titanium - Brevven's Lead - Space Exploration (Beta)

a month ago
0.15 - 1.1
137103

b FIXED Causing crashes with other mods

7 months ago

So I reported this to the Squeak Through and Alien Tech authors, and apparently this mod is causing my issue.

Whenever I load the game with this mod, Squeak Through, and Schall's Alien Tech; it crashes and I get this error: https://imgur.com/GGyDgrW.

Disabling any of the mods (including this one) will fix the issue.

Here are the reports from the others:

Alien Tech - https://mods.factorio.com/mod/SchallAlienTech/discussion/5f2919fdb0db42478725fe49
Squeak Through - https://mods.factorio.com/mod/Squeak%20Through/discussion/5f41b3738ea52313980ed1e9

7 months ago

I have had the same Issue though with more mods involved

Failed to load mods: Error while loading entity Prototype "electric-mining-drill"(mining-drill): Animation speed has to be set to 0.

At ROOT.mining-drill.electric-mining-drill.graphics_set.working[0].animation.hr_version

Modifications: Base mod > Squeak Through > Bob's Ores mod > Artisanal Reskins: Bob's Mods > AAI Industry

Mods to be disabled:
-Squeak Through (1.8.0)
-bobores (1.0.0)
-reskins-bobs (0.0.22)
-aai-industry (0.4.18)

Full Log
https://pastebin.com/VB5zrds0

7 months ago
(updated 7 months ago)

Here's the issue:

In deepcore-mining-items.lua the function electric_mining_drill_smoke() is defined:

function electric_mining_drill_smoke()
    return
    {
      filename = "__base__/graphics/entity/electric-mining-drill/electric-mining-drill-smoke.png",
      line_length = 6,
      width = 24,
      height = 38,
      frame_count = 30,
      animation_speed = 0,4,
      direction_count = 1,
      shift = util.by_pixel(0, 2),
      hr_version =
      {
        filename = "__base__/graphics/entity/electric-mining-drill/hr-electric-mining-drill-smoke.png",
        line_length = 6,
        width = 48,
        height = 72,
        frame_count = 30,
        animation_speed = 0,4,
        direction_count = 1,
        shift = util.by_pixel(0, 3),
        scale = 0.5,
      }
    }
  end

The animation speed is broken, should be 0.4. But as far as I can tell Deep Core Mining does not use this function, so should not be defining it in the first place. I would strongly recommend not to overwrite base global functions, I'd suggest declaring a local copy at minimum, and a global named uniquely to the mod at most.

7 months ago
(updated 7 months ago)

--snip--

7 months ago
(updated 7 months ago)

Hello everyone,

Thanks for your report and the analysis of the source of the problem. This was an obvious mistake and deadcode.

This is now fixed in 2.3.2 let me know if that's corrected as expected !

7 months ago

It works just fine now, thanks!

7 months ago

Seems to be fixed now, thanks.

New response