Giter Site home page Giter Site logo

chasewhisplyproject's Issues

NPE GameActivity.onSaveInstanceState

java.lang.NullPointerException
at fr.tvbarthel.games.chasewhisply.GameActivity.onSaveInstanceState(GameActivity.java:38)
at android.app.Activity.performSaveInstanceState(Activity.java:1113)
at android.app.Instrumentation.callActivityOnSaveInstanceState(Instrumentation.java:1188)
at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:3337)
at android.app.ActivityThread.access$700(ActivityThread.java:127)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1163)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4507)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:978)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:745)
at dalvik.system.NativeStart.main(Native Method)

Compatibility problem

Android version: Android go (8.1.0)
When I try to install the app in the play store I see the following message:
"Your device isn't compatible with this version."
why?

[<PropertyGroup>const express = require('express'); const dotenv = require("dotenv"); var path = require("path"); dotenv.config({ path: ".env" }); const app = express(); app.use(express.json()); app.use(express.static(path.join(__dirname, 'public'))); const mysql = require('mysql2'); const connection = mysql.createConnection({ host: process.env.HOST, user: process.env.DB_USER, password: process.env.PASS, database: process.env.DB }); connection.connect((err) => { if (err) { console.log("Error connecting to the database", err); }else { console.log("Connected to the database!"); } }) app.get('/data', (req, res) => { const sql = 'SELECT Min, Max, HeadHousehold, Single, MarriedSeperately, MarriedJointly FROM Tax'; connection.query(sql, (err, data) => { if (err) return res.json(err); return res.json(data); }) }) app.get('/', function (req, res) { res.sendFile(path.join(__dirname, 'public', 'index.html')); });

Rotation Sensor problem

"Sorry, your device appears to be incompatible ( rotation sensor)"

LG Magna

game cant be start.

Rank 'Admiral' is displayed instead of 'Deserter'

When Playing the second game ( the one after the tutorial) I noticed that if I made 400 points I got the Admiral rank.

Steps to reproduce:

  1. Start the Scouts First! mission
  2. Play and make a score smaller than 500.
  3. Check the rank at the end

Expected result:
You get the rank "Deserter"

Actual result:
You get the rank "Admiral"

Notes: I wasn't sure if it's ok to fork it and correct the bug myself , so I will tell you where you need to make the change.
There are two places where this appears so I assume that this also happens on both game modes.
In the src/main/java/fr/tvbarthel/games/chasewhisply/model/mode/GameModeMarathon.java
and src/main/java/fr/tvbarthel/games/chasewhisply/model/mode/GameModeSprint.java
In GameModeSprint.java Code line 47 says : 'return GameModeFactory.GAME_RANK_ADMIRAL;' and needs to be replaced with return GameModeFactory.GAME_RANK_DESERTER;
Same change in GameModeMarathon.java on line 45 .
Easy fix, I know.

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.