Giter Site home page Giter Site logo

Comments (7)

CrusherBob avatar CrusherBob commented on July 22, 2024

If talking about saves in the campaign, would guess you'd have to look at how the mechlab in the campaign actually saves modified mechs. Don't think anyone has done much work in reading the save files directly, so you'd have to dig around in the code. Or if you can put up a text file of what it does, I can take a look too.

from mechengineer.

CptMoore avatar CptMoore commented on July 22, 2024

the problem is weirder, after loading my save, when you first enter the mechlab you will have items missing. then you leave the mechlab and enter it again and all items that supposed to be there suddenly appear.

I know how stuff is saved and translated back and forth between screens, and its very ugly. but the code is not touching that at all. at best we are adding items not hiding them. I hope its a not a resource issue, meaning to do with memory usage and object pooling.

from mechengineer.

CptMoore avatar CptMoore commented on July 22, 2024

ok, seems to be an issue with modded content. when starting up, not all items are loaded into memory in time.

from mechengineer.

CptMoore avatar CptMoore commented on July 22, 2024

ok, now it seems more complicated, if there are no mechchassis which use the item, then certain items won't be preloaded. when entering a mech edit, all items are the loaded after but not added to the inventory. you then have to leave the screen and enter it again.

So basically heat banks and heat exchangers in a base game should have the same issue.

from mechengineer.

CptMoore avatar CptMoore commented on July 22, 2024

I have reproduced the issue with an unmodded game and a bulk heat bank.

there is a issue tracker where I might be able to contact the battletech devs

saltyhotdog/BattletechIssueTracker#10

from mechengineer.

CptMoore avatar CptMoore commented on July 22, 2024

I currently have a workaround for this, see https://github.com/CptMoore/MechEngineMod/blob/fc38a010a086a017ffc1fc3b9ff2323af1e67eef/source/Patches/SimGameStateRequestDataManagerResourcesPatch.cs#L10

from mechengineer.

CptMoore avatar CptMoore commented on July 22, 2024

still not fully fixed in vanilla, lets just give up

from mechengineer.

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.