Capacity Combinator


Have accumulators actual and total charge as signals in your circuit network, with capabilities to measure capacities up to about 1.8 × 10^308 joules. We use the electric network id for accounting of all calculated values within each electric network

Content
7 months ago
1.1
6.64K
Circuit network

b [done] crash

3 years ago

Error while running event capacity-combinator::on_tick (ID 0)
capacity-combinator/control.lua:143: attempt to index local 'entity' (a number value)
stack traceback:
capacity-combinator/control.lua:143: in function 'collect_capacities'
capacity-combinator/control.lua:318: in function 'update'
capacity-combinator/control.lua:374: in function <capacity-combinator/control.lua:373>

3 years ago
(updated 3 years ago)

I had this error as well. I have a long list of mods though, so here goes :P The ones without .zip are extracted and adjusted either for a bug in mod interactions, or a tweak I wanted to what they were changing. NFMC is my own compilation of numerous mods, that work better together in one mod to avoid conflicts, as well as more tweaks. Also of note, the only solar/accumulators I had were from the ruins mod, I had none placed yet, and it happened as I was 'claiming' one of the ruins or deconstructing (not 100% sure since I send both orders in quick succession, for the bots to execute).

Second edit: I reproduced the error without having any accumulators or solar placed, simply revealing chunks, so I think it must be related to the ownership status of the buildings from the ruins mod, and how you're iterating through the entities/players. Exact error for this occurrence is at the end of the post.

Big_Brother_0.5.4
LootChestPlus_1.4.5
melodys-lamps_1.0.0
miniloader_1.13.1
NFMC
OSHA_BotRecaller_0.1.4
zzzReducedUPS
AbandonedRuins_1.1.3.zip
actual-craft-times-remade_1.0.6.zip
advanced-logistics-system-fork_3.0.0.zip
AfraidOfTheDark_1.1.1.zip
ammo-loader_1.1.4.zip
AutoDeconstruct_0.1.21.zip
AutoTrash_5.3.13.zip
Barbed-Spikes_1.0.0.zip
Battery-Pack_0.1.4.zip
big-data-string_1.0.0.zip
BigPumpjack_0.0.4.zip
Bio_Industries_1.1.10.zip
Booktorio_1.5.4.zip
capacity-combinator_2.1.1.zip
cargo-ships_0.0.59.zip
ChangeMapSettings_5.0.0.zip
CleanMap_0.0.9.zip
CleanTiles_1.0.3.zip
combat-mechanics-overhaul_0.6.15.zip
construction-train_0.2.0.zip
DeathMarkers_0.4.0.zip
DeleteEmptyChunks_0.4.3.zip
Dirt_Path_1.3.5.zip
distribution-centers_1.1.9.zip
DoubleSpeedSpidertron_0.0.5.zip
Electric_Transformators_2.2.0.zip
Enhanced_Map_Colors_1.5.5.zip
even-distribution_1.0.8.zip
EvenMoreLight_0.1.1.zip
Exoskeleton Mark II_6.0.0.zip
factoryplanner_1.1.19.zip
flib_0.7.0.zip
Flow Control_3.0.8.zip
fluid-memory-storage_1.3.14.zip
FNEI_0.4.0.zip
gvv_0.4.3.zip
HandyHands_1.13.0.zip
helmod_0.12.5.zip
high-pressure-pipes_1.0.6.zip
hourly_autosaves_1.0.1.zip
Induction Charging_2.0.2.zip
infinity-invo_0.1.1.zip
informatron_0.2.1.zip
InitialBusCheat_0.0.5.zip
intermediate-bulk-containers_1.0.0.zip
inventory-repair_19.0.1.zip
jetpack_0.2.6.zip
kry-inserters_4.0.3.zip
Kux-CraftingTools_2.0.1.zip
LandfillEverything_1.1.0.zip
Less_Power_Hungry_Radar_0.1.1.zip
LogisticTrainNetwork_1.15.5.zip
MiningUPSGrade_1.110.1.zip
Mining_Drones_1.1.10.zip
mining_drones_overloaded_1.0.0.zip
MomoEasyEvolution_1.1.0.zip
MoveFullStacks_1.110.0.zip
multi-product-recipe-details_1.1.1.zip
NewGamePlus_5.0.0.zip
nonukescorch_0.8.7.zip
Noxys_QuickerStumpFade_0.4.1.zip
Noxys_Trees_0.4.1.zip
ore-manager-updated_1.1.0.zip
pipelayer_0.5.1.zip
Player_Reach_Research_1.1.1.zip
power-combinator_5.1.0.zip
pyalienlifegraphics2_1.1.8.zip
pyalienlifegraphics3_1.2.5.zip
pyalienlifegraphics_1.3.3.zip
pyalienlife_1.12.4.zip
pycoalprocessinggraphics_1.0.9.zip
pycoalprocessing_1.9.3.zip
pyfusionenergygraphics_1.0.7.zip
pyfusionenergy_1.6.7.zip
pyhightechgraphics_1.1.2.zip
pyhightech_1.7.6.zip
pyindustry_1.5.2.zip
pypetroleumhandlinggraphics_1.0.9.zip
pypetroleumhandling_2.0.5.zip
pyraworesgraphics_1.0.9.zip
pyrawores_2.2.7.zip
QuickItemSearch_2.0.1.zip
RateCalculator_2.1.3.zip
resourceMarker_0.7.25.zip
reverse-factory_8.0.2.zip
RitnLib_0.4.2.zip
RitnWaterfill_1.2.0.zip
rso-mod_6.2.3.zip
SchallAlienLoot_1.1.0.zip
SchallAlienTech_1.1.2.zip
SchallBeltConfiguration_1.1.0.zip
SchallEndgameEvolution_1.1.1.zip
SchallMachineScaling_1.1.0.zip
SchallPerpetualMachine_1.1.0.zip
SchallPipeScaling_1.1.0.zip
SchallRecipeScaling_1.1.0.zip
SchallTankPlatoon_1.1.1.zip
SchallTransportGroup_1.1.0.zip
Schall_LabModules_1.1.0.zip
Side Inserters_2.4.0.zip
simhelper_1.1.1.zip
sl-biters-rebuild-their-bases_1.1.0.zip
SmelterUPSGrade_1.110.0.zip
solar-calc_0.1.81.zip
sonaxaton-research-queue_0.4.21.zip
spidertron-logistics_1.2.5.zip
SpidertronEnhancements_1.2.8.zip
Squeak Through_1.8.2.zip
StatsGui_1.2.0.zip
stdlib_1.4.6.zip
textplates_0.6.3.zip
train-pubsub_1.1.4.zip
Trees_4.5.0.zip
upgraded_gas-generator_0.1.8.zip
UtilizationMonitorBlargh_0.8.6.zip
Void-All_1.1.0.zip
Warehousing_0.4.1.zip
YARM_0.8.203.zip

Second error:
The mod Capacity Combinator (2.1.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event capacity-combinator::on_tick (ID 0)
capacity-combinator/control.lua:143: attempt to index local 'entity' (a number value)
stack traceback:
capacity-combinator/control.lua:143: in function 'collect_capacities'
capacity-combinator/control.lua:318: in function 'update'
capacity-combinator/control.lua:374: in function <capacity-combinator/control.lua:373>

3 years ago

i got ruins mod too

3 years ago
(updated 3 years ago)

Ah, found the line! ... something i forgot to refactor ... and test, sorry about that.

And thanks for the report. Should be fixed in version 2.1.2

If there is anything else fishy, let me know ;)

3 years ago

will do. Thanks for the update

New response