You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
invalid side:
stack traceback:
[C]: in function 'error'
machine:986: in function <machine:983>
(...tail calls...)
/home/miner.lua:564: in upvalue 'digVein'
/home/miner.lua:583: in upvalue 'digVeins'
/home/miner.lua:598: in upvalue 'dig1x2'
/home/miner.lua:678: in upvalue 'digShafts'
/home/miner.lua:761: in local 'main'
/home/miner.lua:817: in main chunk
(...tail calls...)
[C]: in function 'xpcall'
machine:751: in global 'xpcall'
/lib/process.lua:63: in function </lib/process.lua:59>
started with miner 30 3 2> out (for error logging, otherwise miner 30 3)
Minecraft 1.12.2
OpenComputers 1.7.2.67
Using Lua 5.3
Activity
cmilanschmidt commentedon Sep 12, 2018
@hasezoey I also ran into this issue. It turns out it was the FOR loop in the digVein function.
Replace
for _, side in ipairs(sides) dowithfor sideIndex = 0,5 doand replaceside = sides[side]withside = sideIndexHere is a pastebin of the whole program: https://pastebin.com/5M4Yc7Tp