AAI Vehicles: Miner


A set of mining and excavation vehicles that can quickly mine solid resources such as coal, stone, ores, etc. They also harvest any trees in their path (and can consume the wood as fuel). The miners can be used standalone, or and can act autonomously if programmed with the AAI Programmable Vehicles mod.

Content
a month ago
0.14 - 1.1
156K
Transportation Mining

b Crash when i put down the miner

5 years ago

When i put down the miner there is write: "Error while running event aai-vehicles-miner::on_tick (ID 0) aai-vehicles-miner/control.lua:328: attempt to perform arithmetic on field 'miningtime' (a nil value)". Thanks

5 years ago
(updated 5 years ago)

When start mine Bob's iron ore:
Error while running event aai-vehicles-miner::on_tick (ID 0)
__aai-vehicles-miner__/control.lua:496: bad argument #1 to 'pairs' (table expected, got nil)

Not every time error.

5 years ago

Error while running event aai-vehicles-miner::on_tick (ID 0)
__aai-vehicles-miner__/control.lua:496: bad argument #1 to 'pairs' (table expected, got nil)

Frequntly getting this error during 'regular' Miner usage, such as placing on the ground from the inventory or driving.

5 years ago

I'm temporary fixed it:
if proto.mineable_properties.products == nil then return miner end
for _, product in pairs(proto.mineable_properties.products) do

5 years ago

This should be fixed now, thanks.