Giter Club home page Giter Club logo

Comments (8)

HugKitten avatar HugKitten commented on July 17, 2024

Adding return on the line after growPlant in isn_unifiedgrowingtray.lua causes it to no longer crash. Seems something is causing the game to crash here?

from frackinuniverse.

HugKitten avatar HugKitten commented on July 17, 2024

After some debugging, I must have done something to fix the state, because my current save does not have this issue.

from frackinuniverse.

Kherae avatar Kherae commented on July 17, 2024

insufficient detail, need more info. what was in the trays? 'line after growplant' which one? the function declaration on line 253, or when it's called on line 87?
I'm not inclined toward downloading all of your mods to test this, nor am I going to download your 400 megabyte storage folder.

from frackinuniverse.

HugKitten avatar HugKitten commented on July 17, 2024

It was a 10x10 array of trays with seeds and the likes in them. I was referring to the function not the call. I seem to be getting the bug again after extending my storage network.
Here's the log file from the crash.

from frackinuniverse.

Kherae avatar Kherae commented on July 17, 2024

sb.logInfo("growPlant:fu_sendOrStoreItems 1: %s",{item=item, name1 = item.name, name2 = storage.currentseed.name, seedavoid = seedavoid, inputslots = inputSlots})
put this preceeding the following in the growplant function
fu_sendOrStoreItems(0, item, item.name == storage.currentseed.name and seedavoid or inputSlots)

do the same at the next sendorstore call with these:
sb.logInfo("growPlant:fu_sendOrStoreItems 2: %s",{currentseed = storage.currentseed, seedavoid = seedavoid})
placed above
fu_sendOrStoreItems(0, storage.currentseed, seedAvoid)

play with these til you get a crash, provide another log

from frackinuniverse.

HugKitten avatar HugKitten commented on July 17, 2024

It seems it crashes before hitting any of the logs. I uncommented the the other loginfo calls to show that it was still logging properly:
isn_unifiedgrowingtray.lua
starbound.log (Proton)
starbound.log (Linux Native)

from frackinuniverse.

HugKitten avatar HugKitten commented on July 17, 2024

This may be an issue with the storage network not with trays. I am not familiar enough with modding to determine if that is the case. It appears that this person is having the same issue I am.

Edit:
It seems putting return; after "function growPlant(growthmod, dt)" causes it to not crash. I was messing with the storage network (not the trays) so I am not sure if this is an issue with trays or just the storage network.

from frackinuniverse.

Kherae avatar Kherae commented on July 17, 2024

very unlikely it's item network code. if your touching the trays is causing it to not error, that means it's doing something with items that the engine doesnt like. and i'm honestly surprised you havent tried the 'brute force trace' approach...add a log printout before every damn statement in the growplant function (with different text). so...go try that for me.

from frackinuniverse.

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.