Giter VIP home page Giter VIP logo

mcassoc's People

Contributors

filoghost avatar lol768 avatar lukegb avatar sirse avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

mcassoc's Issues

Stopped users from registering

[2023-01-10, 17:07:43] /var/www/website/core/classes/Minecraft/MCAssoc.php(19): Cannot assign null to property MCAssoc::$_instanceSecret of type string

Idk php so i have no clue what this issue is. Once I disabled MCAssoc, they were able to register again

Timestamp stale issue

hey, I've got a timestamp stale error message when going through the minecraft assosiation V: 1.0.1

as far as I can tell I've configured the addon correctly but it seems not to be working, I've contacted my web host and the can't see an issue on their end I was wonding if you could help.

Error message:

There was an error while associating your account.

Additional details: timestamp stale

Download

Were can i find newest download?

Users without a set skin cannot associate, system should fallback

For some users (an example player name that reproduces is "FAQ"), after they type in their username and hit "Next", they get an Error screen:

Behind the scenes, the POST to /api/user/check is failing with a HTTP 500 status code. curl http://127.0.0.1:21333/api/user/check -d "mcusername=FAQ" -v to reproduce.

The log shows:

2016/06/06 16:45:49 error while getting skin FAQ 99ca834d59e64c3190c31351901dbe1f {99ca834d59e64c3190c31351901dbe1f FAQ [{textures eyJ0aW1lc3RhbXAiOjE0NjUyMjc5NDk2MjIsInByb2ZpbGVJZCI6Ijk5Y2E4MzRkNTllNjRjMzE5MGMzMTM1MTkwMWRiZTFmIiwicHJvZmlsZU5hbWUiOiJGQVEiLCJ0ZXh0dXJlcyI6e319 }]} user has no skin

The Mojang API being hit is https://sessionserver.mojang.com/session/minecraft/profile/99ca834d59e64c3190c31351901dbe1f and the response is as follows:

{
  "id": "99ca834d59e64c3190c31351901dbe1f",
  "name": "FAQ",
  "properties": [
    {
      "name": "textures",
      "value": "eyJ0aW1lc3RhbXAiOjE0NjUyMjg4NjIzMTAsInByb2ZpbGVJZCI6Ijk5Y2E4MzRkNTllNjRjMzE5MGMzMTM1MTkwMWRiZTFmIiwicHJvZmlsZU5hbWUiOiJGQVEiLCJ0ZXh0dXJlcyI6e319"
    }
  ]
}

If we decode the textures value, we get:

{"timestamp":1465228862310,"profileId":"99ca834d59e64c3190c31351901dbe1f","profileName":"FAQ","textures":{}}

It seems to me in these circumstances the tool should fall-back to modifying the default skin?

Error when associating your account

Dear lukegb,

If you try to associate your account it will give the following error:

There was an error while associating your account.

Additional details: timestamp stale

Credentials in use{"site_id":"jartexnetwork.com","instance_secret":"****","shared_secret":"******************"}

How can we fix this issue?

User friendly account verification

It's possible to authenticate users without changing the skin.
For example, see MC Auth Server.

Once you join the server, it kicks you and provides a secret token. The user can now use this token to verify their account on the website.

I think this is a lot better regarding user experience.

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.