PhilippvK / playforia-minigolf

Client & Server for Minigolf Game known from Playforia/Playray/Appeli. Written in Java.
84 stars 31 forks source link

Enable Highscore/Rating functionality #5

Open PhilippvK opened 4 years ago

PhilippvK commented 4 years ago

This would require a database connection and a working login mechanism. See #1

eYeWoRRy commented 4 years ago

Isn't there a database connection to heroku? Or did I read the code wrong 🤭

PhilippvK commented 4 years ago

I will give reverse engineering the original database structure a try but I can not guarantee anything.

eYeWoRRy commented 4 years ago

No big need for this I guess.... Very low prio

PhilippvK commented 4 years ago

Isn't there a database connection to heroku? Or did I read the code wrong 🤭

Oh... I actually realized that the heroku DB is actually still alive and the credentials do work. GG.

eYeWoRRy commented 4 years ago

I guess the voting is still collected in the heroku db.

PhilippvK commented 4 years ago

No it isn’t.

  1. everything db related is commented out by me
  2. it did not work anymore as the versions of the package used for the MongoDB communication and the Datastore are too old to work with modern MongoDB servers.
  3. If fixed this locally, which means that I could pull the tracks and ratings from the database, but I am unsure how I will implement it in the end.
  4. Also the credentials in the code definitely have to be removed. Fortunately the user database only contains ~10 entries (mostly test accounts)