GithubHelp home page GithubHelp logo

Can't load saved squads about xwing HOT 6 CLOSED

oschrenk avatar oschrenk commented on August 25, 2024
Can't load saved squads

from xwing.

Comments (6)

geordanr avatar geordanr commented on August 25, 2024

Is this still occurring? There was a widespread outage earlier today that may have been related.

from xwing.

oschrenk avatar oschrenk commented on August 25, 2024

Yes. It still doesn't work. When I click "Load" on one of my squads, I just see "undefined" being printed to console but no outgoing network request.

from xwing.

oschrenk avatar oschrenk commented on August 25, 2024

I’m drilling down the app and so far I’m into a.prototype.loadFromSerialized = function(a) {...} which is called with a = "v5!s!199:123,112,26,-1:;210:-1,-1,-1,-1:;165:-1,-1,14,-1,-1,-1:;229:-1:"


* *[“v5!s!199:123,112,26,-1:;210:-1,-1,-1,-1:;165:-1,-1,14,-1,-1,-1:;229:-1:”, “5”, “s!199:123,112,26,-1:;210:-1,-1,-1,-1:;165:-1,-1,14,-1,-1,-1:;229:-1:”, index: 0, input: “v5!s!199:123,112,26,-1:;210:-1,-1,-1,-1:;165:-1,-1,14,-1,-1,-1:;229:-1:”, groups: undefined]*
	* 0:”v5!s!199:123,112,26,-1:;210:-1,-1,-1,-1:;165:-1,-1,14,-1,-1,-1:;229:-1:”
1:”5”
2:”s!199:123,112,26,-1:;210:-1,-1,-1,-1:;165:-1,-1,14,-1,-1,-1:;229:-1:”
groups:undefined
index:0
input:”v5!s!199:123,112,26,-1:;210:-1,-1,-1,-1:;165:-1,-1,14,-1,-1,-1:;229:-1:”
length:3
__proto__:Array(0)


I think it has something to do that somewhere down the line h = parseInt(c[1]) is 5 , which does not seem to be handled.

from xwing.

geordanr avatar geordanr commented on August 25, 2024

That must be a new serialization version in YASB 2.0; since the database of squads is shared between the two, I'm guessing that you have a mix of 1.0 and 2.0 squads and YASB 1.0 doesn't know how to deal with serialization versions after 4. I'll have 1.0 skip those later versions.

from xwing.

geordanr avatar geordanr commented on August 25, 2024

Or maybe not. I tried saving a later serialization in YASB 2.0, and I can see it in the list of saved squads in 1.0 (but can't load it, which is expected).

Does this happen in all browsers? Different devices?

from xwing.

oschrenk avatar oschrenk commented on August 25, 2024

Maybe I am just confused by the offering of the various websites - and it has been a while since I used them or played X-Wing.

I can create/load these squads with https://raithos.github.io/ but not with https://geordanr.github.io

I also wasn't aware from the website itself that it's not supporting 2.0.

from xwing.

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.