Schall Tank Woodcutting


Harvest wood on the way of vehicles driving over trees. Can also harvest stone and coal when driving over rocks. (Locale: English, Deutsch, 正體中文, 简体中文, Português Brasileiro)

Utilities
16 days ago
0.16 - 2.0
2.53K
Transportation Mining

b [Solved] Caused a nonrecoverable error

2 years ago
(updated 2 years ago)

I got this message and was kicked back out to the main menu during a singleplayer game:

The mod Schall Tank Woodcutting (1.1.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event SchallTankWoodcutting::on_entity_damaged (ID 102)
Item stack count has to be a positive integer.
stack traceback:
[C]: in function 'spill_item_stack'
_ _SchallTankWoodcutting_ _/control.lua:57: in function 'car_harvest'
_ _SchallTankWoodcutting_ _/control.lua:73: in function
<_ _SchallTankWoodcutting_ _/control.lua:72>

1 year, 6 months ago

It's been a while but I figured out some more context - it specifically crashes out when a vehicle collides with a meteor object from Space Exploration.

a month ago

Should be fixed in my fork of this mod (see here for more details)!

a month ago

Just uploaded 1.1.2 & 2.0.0 updates, hope the above bug can be dealt with them.

28 days ago

i received one very similar to this with a slightly different lua and id but seemingly related.

The mod Schall Tank Woodcutting (2.0.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event SchallTankWoodcutting::on_entity_damaged (ID 111)
SchallTankWoodcutting/control.lua:48: attempt to index local 'char' (a nil value)
stack traceback:
SchallTankWoodcutting/control.lua:48: in function 'car_harvest'
SchallTankWoodcutting/control.lua:89: in function <SchallTankWoodcutting/control.lua:88>

25 days ago

Got the same error as snakeanarchy. It popped up when I had to jump out of my car because i hit a dead end in a forest and had a huge swarm of biters on my tail. Perhaps it's because the car tried to collect wood without a driver?

Error while running event SchallTankWoodcutting::on_entity_damaged (ID 111)
SchallTankWoodcutting/control.lua:48: attempt to index local 'char' (a nil value)
stack traceback:
SchallTankWoodcutting/control.lua:48: in function 'car_harvest'
SchallTankWoodcutting/control.lua:89: in function <SchallTankWoodcutting/control.lua:88>

16 days ago

This is a new bug, caused by different return value type from the API when remote driving.
Possibly a duplicate report.
Please check 2.0.1 update.

New response