-
Notifications
You must be signed in to change notification settings - Fork 30
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
Error: attempt to index a nil value using factoriocalc #7
Comments
Don't trust the FactorioLoaderLib readme. That's an artifact from wherever I originally forked it from, and I've modified the library significantly since then. I believe that "packed" mods refers to mods which have been packaged into a .zip file, which it does support. (Adding this support is one of the major things I have done to the library.)
However, I haven't properly updated |
Anxiously awaiting new binary. Thanks for this! |
Okay, I have uploaded release 0.3. It appears to work for my installation. |
I have fixed one potential case for this error in KirkMcDonald/FactorioLoaderLib#7, but without reporduction steps it is impossible to say whether it is your case or not. @seonwoolee can you please post the |
Hey, I just downloaded 0.3 and ran into the same issue.
|
Your calculator is amazing for vanilla, so thank you.
I'm interested in running
factoriocalc
locally so I can have it calculate the rates for recipes in some of the mods I use.I'm running Factorio 0.17 on Linux, using the standalone installation. I have Factorio installed at
/run/media/seonwoo/Steam/Factorio-Linux
(despite the path, I don't actually have Factorio installed through Steam on Linux) and I have my mods directory at/mnt/veracrypt2/Factorio/mods
. When I runI get the nil value attempted error.
I've narrowed it down to this line:
factorio-tools/factorioload/load.go
Line 228 in a22a0b3
I've never used Lua so I have no idea what
L.Call
is meant to do.Does this have anything to do with the fact that FactorioLoaderLib doesn't work with packed mods? What exactly do you mean by "packed" mods - mods that have been compiled and don't provide source code? (I should preface this with I have no experience with creating mods in Factorio).
The text was updated successfully, but these errors were encountered: