Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't use - crashes #46

Open
gendalv opened this issue Jan 4, 2023 · 1 comment
Open

can't use - crashes #46

gendalv opened this issue Jan 4, 2023 · 1 comment

Comments

@gendalv
Copy link

gendalv commented Jan 4, 2023

shift+c

The mod Even Distribution (1.0.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event even-distribution::inventory-cleanup (ID 200)
LuaEntity doesn't contain key x.
stack traceback:
	[C]: in function '__index'
	__even-distribution__/scripts/helpers.lua:21: in function <__even-distribution__/scripts/helpers.lua:20>
	[C]: in function 'create_entity'
	__even-distribution__/scripts/visuals.lua:77: in function 'mark'
	__even-distribution__/scripts/cleanup.lua:45: in function 'func'
	__even-distribution__/scripts/util.lua:82: in function 'distribute'
	__even-distribution__/scripts/cleanup.lua:36: in function 'func'
	__even-distribution__/scripts/helpers.lua:176: in function 'each'
	__even-distribution__/scripts/cleanup.lua:29: in function 'distributeItems'
	__even-distribution__/scripts/cleanup.lua:20: in function 'func'
	__even-distribution__/framework.lua:99: in function <__even-distribution__/framework.lua:98>

ctrl+right click-drag or ctrl+left click-drag

The mod Even Distribution (1.0.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event even-distribution::on_player_fast_transferred (ID 131)
LuaEntity doesn't contain key x.
stack traceback:
	[C]: in function '__index'
	__even-distribution__/scripts/helpers.lua:21: in function <__even-distribution__/scripts/helpers.lua:20>
	[C]: in function 'create_entity'
	__even-distribution__/scripts/visuals.lua:39: in function 'mark'
	__even-distribution__/scripts/drag.lua:238: in function 'onStackTransferred'
	__even-distribution__/scripts/drag.lua:212: in function 'func'
	__even-distribution__/framework.lua:99: in function <__even-distribution__/framework.lua:98>

mods list:
``
aai-industry
Aircraft
alien-biomes
beautiful bridge railway Cargoships
Bio Industries
Bottleneck
cargo-ships
cargo-ships-graphics
CopyPasteModules
even-distribution
EvoGUI
FARL-fixed-se
Fill4Me-fixed
flib
Flow Control
FluidMustFlow
helmod
informatron
jetpack
KingsTurret-Shields
KS Power
LogisticTrainNetwork
LtnManager
ModuleInserterEx
PickerAtheneum
PickerExtended
Robo-Charge-1x1
Solar-Lamp
stdlib
thermal-solar-power
upgrade-planner-next
Warehousing

@DarkJune0122
Copy link

image
Same here.

Happens when sending fuel to the miner car, that is assigned to an path, after it used up all of it's fuel.
I suppose because fuel is being used immediately - index of an item, that code is trying to fetch, is effectively missing.

Works fine if I fuel-up the miner manually a bit via default UI, and then use even distribution on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants