Tycoon 2

by plexpt

Become the transportation tycoon of factorio! Collect food from farms, craft delicious food and useful utilities, grow your cities, and cater to the needs of an ever-growing population. now support 2.0

Content
4 days ago
2.0
392
Transportation Logistics Environment

b Well, something broke

Got this message on the first resource check after inserting some apples in my market:

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

Error while running event tycoon2::on_nth_tick(3600)
tycoon2/util.lua:483: attempt to perform arithmetic on local 'count' (a table value)
stack traceback:
tycoon2/util.lua:483: in function 'aggregateSupplyBuildingResources'
tycoon2/consumption.lua:236: in function 'updateProvidedAmounts'
tycoon2/consumption.lua:271: in function 'getSupplyLevels'
tycoon2/consumption.lua:657: in function 'calculate_ratio'
tycoon2/consumption.lua:673: in function 'update_construction_timers'
tycoon2/consumption.lua:705: in function 'update_construction_timers_all'
tycoon2/control.lua:78: in function 'consume_resources'
tycoon2/control.lua:86: in function <tycoon2/control.lua:82>

6 days ago

will fix it

6 days ago

fixed

Awesome, thanks! Sure enough, nothing crashed after putting apples in the market.

But then this happened when I opened the City Hall a few moments later:

Error while running event tycoon2::on_gui_opened (ID 96)
tycoon2/util.lua:483: attempt to perform arithmetic on local 'count' (a table value)
stack traceback:
tycoon2/util.lua:483: in function 'aggregateSupplyBuildingResources'
tycoon2/consumption.lua:236: in function 'updateProvidedAmounts'
tycoon2/consumption.lua:271: in function 'getSupplyLevels'
tycoon2/gui.lua:523: in function 'getOverallSupplyLevelsSummary'
tycoon2/gui.lua:546: in function 'getOverallBasicNeedsCaption'
tycoon2/gui.lua:579: in function 'addCityOverview'
tycoon2/gui.lua:703: in function 'addCityView'
tycoon2/gui-event-handler.lua:32: in function <tycoon2/gui-event-handler.lua:5>

5 days ago

try again

New response