GithubHelp home page GithubHelp logo

Comments (6)

Tukamok avatar Tukamok commented on August 27, 2024

I get the same thing.

Link to save and loaded mods: Factorio-ErrorReport-20200419.zip

If you need any more details, let me know.

from ltnmanager.

raiguard avatar raiguard commented on August 27, 2024

I'm looking into this right now, and I can reproduce it. Now I just need to figure out why the flying frick it's happening...

from ltnmanager.

Tukamok avatar Tukamok commented on August 27, 2024

Just for grins, I pulled the latest from the repo and get the same.

My guess is it's in cahoots with the girlfriend who thinks I play too much Factorio. :)

from ltnmanager.

raiguard avatar raiguard commented on August 27, 2024

I figured it out... here's the long explanation:

I wrote a script that will gather and translate all of the materials in the game (items and fluids) into whatever language you have set, to allow you to search the inventory screen in your native language. This works by compiling the strings to be translated into a long array, and iterating it. To save on performance, it spreads this iteration out over multiple ticks (which is why the LTN Manager button doesn't become available right away).

The module will delete the player's data table once all translations are finished. Turns out, that if the iteration function happens to stop on the exact last entry in the array, the module will finish receiving all of the translations, and delete the player table, without deregistering the iteration function. Then it tries to look at data that no longer exists, and crashes.

TL;DR: Black magic shenanigans, fixed for the next version.

The update will actually be for RaiLuaLib, not LTN Manager.

from ltnmanager.

raiguard avatar raiguard commented on August 27, 2024

The RaiLuaLib update has been released, please try it now!

from ltnmanager.

Tukamok avatar Tukamok commented on August 27, 2024

Looks good. Thanks!

from ltnmanager.

Related Issues (20)

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.