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
13 days ago
0.14 - 2.0
171K
Transportation Mining

b Crash when i put down the miner

6 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

6 years ago
(updated 6 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.

6 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.

6 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

6 years ago

This should be fixed now, thanks.