Giter Club home page Giter Club logo

Comments (14)

akien-mga avatar akien-mga commented on May 7, 2024

Might be relevant: I updated my git repo from 60ea22e to 8d8d499 while playing, though I did not recompile so the only the data changes should be relevant.

from endless-sky.

 avatar commented on May 7, 2024

That's really weird. The data files all get parsed right when the game starts up, so modifying them while you are playing should not make a difference.

from endless-sky.

akien-mga avatar akien-mga commented on May 7, 2024

Yes I don't know what happened, I was quite surprised. My only clue is that "Hyperdrive" is the only outfit that is not listed with double quotes in the save file, so maybe it was not parsed properly somehow? It's the very first time I run into this issue though, so it's hard to tell what would be the bug.

from endless-sky.

 avatar commented on May 7, 2024

Unfortunately, every time you quit the game it re-saves whatever player file is loaded, so that saved game file you have now may not include whatever corruption was originally introduced.

The data file writer skips using quotes if they aren't necessary (because a name has no spaces in it). But, the reading and writing of data files has been pretty thoroughly tested, so I'm not sure where a bug could crop up. I could try writing a program to repeatedly load and save player files just to see if there are intermittent bugs.

from endless-sky.

akien-mga avatar akien-mga commented on May 7, 2024

Note that I did not quit the game actually, I was unhappy with how my bounty hunting was going, so I went to the main menu, the load/save menu and reloaded the automatic snapshot, and the one I've uploaded is this same snapshot.

from endless-sky.

kilobyte avatar kilobyte commented on May 7, 2024

It happened to me, too. I lost most of the ship's outfits: Jump Drive, 2 Korath Warders, Korath Heat Shunt, ramscoop, a bunch of fuel pods, and probably more I don't remember.
Save file: https://angband.pl/tmp/corrupted_outfits.txt

from endless-sky.

kilobyte avatar kilobyte commented on May 7, 2024

I don't have a recent save, but comparing an elder one, this is what I think I am missing:

                "Laser Rifle" 100
                "Fragmentation Grenades" 100
                "Jump Drive"
                "Korath Warder" 2
                "Korath Heat Shunt"
                "Ramscoop"
                "Fuel Pod" 5

from endless-sky.

 avatar commented on May 7, 2024

Was it the same situation akien-mga saw, where this happened when you reloaded the game through the Load / Save panel?

from endless-sky.

kilobyte avatar kilobyte commented on May 7, 2024

Yeah.

from endless-sky.

 avatar commented on May 7, 2024

When you reload your game, do you click on the "Load / Save..." button, or
do you use the keyboard shortcuts (e.g. "Esc L E D" to quickly Load, Enter
Ship, and Depart)? I've found a possible explanation, but it would only be
possible if you reload your game within a fraction of a second of when you
call up the main menu, i.e. while the game engine is still doing
calculations in the background for the last frame.

On Thu, Jun 18, 2015 at 8:53 AM, kilobyte [email protected] wrote:

Yeah.


Reply to this email directly or view it on GitHub
#33 (comment)
.

from endless-sky.

kilobyte avatar kilobyte commented on May 7, 2024

I don't remember which way I used (I use the mouse sometimes, keyboard shortcuts sometimes), but I'm pretty certain I did not hurry that much. The only times this would be possible for me is when I'm retrying some hard mission -- here at the time I lazily mapped parts of the galaxy after doing some Korath farming.

from endless-sky.

 avatar commented on May 7, 2024

The only thing I can think of that might cause this is some sort of race condition between the graphics thread and the "engine" thread. So, I went through and tightened up thread safety everywhere I could (a4cdd68). But unfortunately this seems like such an intermittent error that it's hard to prove that that fixed it.

from endless-sky.

knope avatar knope commented on May 7, 2024

this happened to my ship as well. (Star barge) i was about 1 planet away from my mission goal when pirates killed me. I reloaded my snapshot, and found the hyperdrive was missing. (then i found i could manually edit my save file... so i attempted to add the Hyperdrive back in... how ever, the game loads the save file and removes it. (i'm editing the files with the game not running. any other changes seem to stick... however the game just doesn't want me to have a hyperdrive for some reason. (i'm testing this on version 0.8.4)

ship "Star Barge"
...
outfits
"D94-YV Shield Generator"
"nGVF-BB Fuel Cell"
"LP036a Battery Pack"
"Chipmunk Plasma Thruster"
"Chipmunk Plasma Steering
...
position 555.12619 -101.0842
...
system "Kaus Borealis"
...

the terribly upsetting thing is this planet doesn't even have a proper Outfiter... i suppose i could add one ... and probably will... i've already completed several missions and am thoroughly enjoying the progress. either way thanks for the game.
:)

from endless-sky.

 avatar commented on May 7, 2024

No one has reported this bug in months, so I'm relatively confident that it was just a result of the bug where the effect of being plundered did not become apparent until you reload your game.

from endless-sky.

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.