Coder Social home page Coder Social logo

factorio-recipe-extraction's People

Contributors

codelenny avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

sdobz

factorio-recipe-extraction's Issues

Add lint

Add lint checking, fix any issues in the current code.

Errors in combination with Bob's and Angel's mods

As mentioned before, I ran into issued when I tried to extract game data with Bob's and Angel's mods installed. There seem to be some internal lua objects that your are not present while your tools runs and thus mod data cannot be loaded properly. Logs below.

The ~/Applications/factorio-recipe-extraction/factorio folder is a full merge of both ~/Games/Steam/steamapps/common/Factorio (which is the installation directory) and ~/.factorio (which is the user-specific data directory), so all data should be available.

$ $(npm bin)/factorio-extractor --output /tmp/factorio.json --data ~/Applications/factorio-recipe-extraction/factorio
Running data.lua
Running data-updates.lua
Running data-final-fixes.lua
Exception Of Lua Code Has Failed:
...Cx5w/bobenemies_0.15.2/prototypes/alien-artifact.lua:1: attempt to index global 'settings' (a nil value)

Continuing.
Exception Of Lua Code Has Failed:
[string "if not bobmods then bobmods = {} end..."]:23: attempt to index global 'settings' (a nil value)

Continuing.
Exception Of Lua Code Has Failed:
[string "if not bobmods then bobmods = {} end..."]:5: attempt to index global 'settings' (a nil value)

Continuing.
Exception Of Lua Code Has Failed:
...binserters_0.15.1/prototypes/technology-inserter.lua:32: attempt to index global 'settings' (a nil value)

Continuing.
Exception Of Lua Code Has Failed:
...bassembly_0.15.7/prototypes/assembly-electronics.lua:1: attempt to index global 'settings' (a nil value)

Continuing.
Exception Of Lua Code Has Failed:
[string "--INITIALIZE..."]:7: attempt to index global 'settings' (a nil value)

Continuing.
Exception Of Lua Code Has Failed:
...P1ZOD/boblogistics_0.15.6/prototypes/robot-parts.lua:1: attempt to index global 'settings' (a nil value)

Continuing.
Exception Of Lua Code Has Failed:
[string "--INITIALIZE..."]:9: attempt to index global 'settings' (a nil value)

Continuing.
Exception Of Lua Code Has Failed:
[string "if not bobmods then bobmods = {} end..."]:9: attempt to index global 'settings' (a nil value)

Continuing.
Exception Of Lua Code Has Failed:
[string "if not bobmods then bobmods = {} end..."]:5: attempt to index global 'settings' (a nil value)

Continuing.
Exception Of Lua Code Has Failed:
...62Cu20rpYIDGx/bobmining_0.15.2/prototypes/drills.lua:1: attempt to index global 'settings' (a nil value)

Continuing.
Exception Of Lua Code Has Failed:
[string "--INITIALIZE..."]:15: attempt to index global 'settings' (a nil value)

Continuing.
Exception Of Lua Code Has Failed:
[string "if not angelsmods then angelsmods = {} end..."]:6: attempt to index global 'settings' (a nil value)

Continuing.
Exception Of Lua Code Has Failed:
[string "if not angelsmods then angelsmods = {} end..."]:6: attempt to index global 'settings' (a nil value)

Continuing.
Exception Of Lua Code Has Failed:
[string "if settings.startup["bobmods-enemies-aliens..."]:1: attempt to index global 'settings' (a nil value)

Continuing.
Exception Of Lua Code Has Failed:
...nLfyxQuc/boblibrary_0.15.10/technology-functions.lua:44: attempt to concatenate global 'new' (a nil value)

Continuing.
Exception Of Lua Code Has Failed:
[string "for i, ore in pairs(bobmods.ores) do..."]:70: attempt to index global 'settings' (a nil value)

Continuing.
Exception Of Lua Code Has Failed:
...NgIehwQdgZ/bobplates_0.15.12/prototypes/overides.lua:1: attempt to index global 'settings' (a nil value)

Continuing.
Exception Of Lua Code Has Failed:
...y_0.15.7/prototypes/assembly-electronics-updates.lua:1: attempt to index global 'settings' (a nil value)

Continuing.
Exception Of Lua Code Has Failed:
...fining_0.8.1/prototypes/recipe-builder-fallbacks.lua:3: attempt to index field 'functions' (a nil value)

Continuing.
Exception Of Lua Code Has Failed:
...0.15.6/prototypes/recipe/roboport-recipe-updates.lua:1: attempt to index global 'settings' (a nil value)

Continuing.
Exception Of Lua Code Has Failed:
[string "require("prototypes.recipe-updates")..."]:10: attempt to index field 'carbon' (a nil value)

Continuing.
Exception Of Lua Code Has Failed:
...elspetrochem_0.6.1/prototypes/petrochem-generate.lua:3: attempt to index field 'functions' (a nil value)

Continuing.
Exception Of Lua Code Has Failed:
...NgIehwQdgZ/bobplates_0.15.12/prototypes/overides.lua:1: attempt to index global 'settings' (a nil value)

Continuing.
Exception Of Lua Code Has Failed:
[string "require("prototypes.recipe-updates")..."]:6: attempt to index global 'settings' (a nil value)

Continuing.
Exception Of Lua Code Has Failed:
...nLfyxQuc/boblibrary_0.15.10/technology-functions.lua:44: attempt to concatenate global 'new' (a nil value)

Continuing.
Exception Of Lua Code Has Failed:
...s_0.15.4/prototypes/recipe/module-merged-updates.lua:1: attempt to index global 'settings' (a nil value)

Continuing.
Exception Of Lua Code Has Failed:
...pYIDGx/bobmining_0.15.2/prototypes/drill-updates.lua:1: attempt to index global 'settings' (a nil value)

Continuing.
Exception Of Lua Code Has Failed:
...A1WTLS5f/bobgreenhouse_0.15.2/prototypes/updates.lua:9: attempt to index field 'bob-greenhouse-items' (a nil value)

Continuing.
Exception Of Lua Code Has Failed:
...cessing_0.4.1/prototypes/bio-processing-override.lua:1: attempt to index field 'functions' (a nil value)

Continuing.
Exception Of Lua Code Has Failed:
[string "if angelsmods and angelsmods.refining then..."]:5: attempt to index field 'angels-warehouses' (a nil value)

Continuing.
Exception Of Lua Code Has Failed:
[string "if angelsmods and angelsmods.refining then..."]:2: attempt to index field 'functions' (a nil value)

Continuing.
Exception Of Lua Code Has Failed:
...ochem_0.6.1/prototypes/petrochem-global-override.lua:1: attempt to index field 'functions' (a nil value)

Continuing.
Ignorning 33 Lua errors.
Extracted Factorio data.

Stop Travis from trying to unencrypt 'id_rsa' unless in `origin`

Testing PRs currently fails, as Travis tries to unencrypt id_rsa.enc on every build, even though it is only needed on master (to publish gh-pages), and other repos aren't allowed to use the Travis secret variables for security reasons.

Add an if statement to guard the openssl command.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.