Giter VIP home page Giter VIP logo

Comments (2)

ensingm2 avatar ensingm2 commented on August 17, 2024

When zones fail out, and auto_switch_planet.active=true, checkSwitchBetterPlanet() is called with no param, so difficulty_call defaults to false, and the best zone is not started if it is the same as previous. Thinking it's an issue @ line 647, in CheckSwitchBetterPlanet, but unsure.

@Harest, could you take a look at this sometime in the next day or so? You're more familiar with this function than I am.

EDIT: I'm thinking it might be possible to pass in auto_switch_planet.active as the difficulty param in the checkSwitchBetterPlanet() calls as a fix. Unsure though.

from saliengame_idler.

Harest avatar Harest commented on August 17, 2024

It should put another message than just "Getting best zone". I also had this issue, that's when you moved the start_round call outside of this because you didn't want to flood the server too much and get in a potential infinite loop as this case shouldn't happen. But with network errors, everything can happen atm :x (though i didn't get any CORS error lastly 🤞 ; they may have fixed it).
I've personnaly commented the if (planet_call === true) line in the SwitchNextZone(...) function. We could remove this entirely if you want and put this back to where it was at first.

from saliengame_idler.

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.