Git Product home page Git Product logo

Comments (10)

womzil avatar womzil commented on August 16, 2024 4

Downgrading to build 1297 fixed this issue for me.

from fastlogin.

Gobix0101 avatar Gobix0101 commented on August 16, 2024 3

Hey guys. I'm having the same problem!

from fastlogin.

bobhenl avatar bobhenl commented on August 16, 2024 2

Me too on velocity

from fastlogin.

PaoloWeekly avatar PaoloWeekly commented on August 16, 2024 1

Has this issue been fixed? I'll remain in build #1297 until this issue has been resolved!

from fastlogin.

wtlgo avatar wtlgo commented on August 16, 2024

It means that something in this diff has caused the bedrock login to stop working
https://github.com/games647/FastLogin/compare/4cf65cf..a65a5f3

The only difference that changes the behavior of the plugin in a somewhat impactful way I see is this one

// Was
        plugin.getProxy().getScheduler()
                .buildTask(plugin, () -> plugin.getScheduler().runAsync(loginTask))
                .delay(1L, TimeUnit.SECONDS) // Delay at least one second, otherwise the login command can be missed
                .schedule();

// Became
        plugin.getProxy().getScheduler()
                .buildTask(plugin, loginTask)
                .delay(1L, TimeUnit.SECONDS) // Delay at least one second, otherwise the login command can be missed
                .schedule();

So, theoretically, reverting it might help to solve the issue. Sadly, I can't test this assumption, because my machine refuses to build the plugin.

UPD. Though on second thought, how this change can do something on Bukkit if this part of the code is related to Velocity? It means the cause of the issue must be somewhere else. Perhaps, re-implementation of TimeRecord? I'm not sure.

from fastlogin.

games647 avatar games647 commented on August 16, 2024

@wtlgo Maybe it could be also the configuration parsing change. I reverted the commit. Let's see if that works for you.

FastLogin-issue-1173.zip

Code-Branch: https://github.com/games647/FastLogin/tree/floodgate-1173

from fastlogin.

wtlgo avatar wtlgo commented on August 16, 2024

@wtlgo Maybe it could be also the configuration parsing change. I reverted the commit. Let's see if that works for you.

FastLogin-issue-1173.zip

Code-Branch: https://github.com/games647/FastLogin/tree/floodgate-1173

Yeah, I also suspected that. I even tried to test it by changing true with 'true' in the config. But right when I tried to restart the server, my hosting collapsed, so we need to wait a little (~24 hours) before I can test that. Meanwhile, someone in the conversation might try it too.

from fastlogin.

wtlgo avatar wtlgo commented on August 16, 2024

@games647 I finally had an opportunity to test it. Yes, your version or switching autoLoginFloodgate: true to autoLoginFloodgate: 'true' in the latest version does help. I suspect it's because the yml parser checks the type, and since the value is Boolean, and not String, getString just returns an empty value. I think reverting the line to .get("autoLoginFloodgate").toString() will resolve the issue. Other parts of that commit look good, the new implementation of Comparable is how it is supposed to be.

from fastlogin.

GabrielMoreiradeSouza avatar GabrielMoreiradeSouza commented on August 16, 2024

I will not update the plugin until everything is properly resolved. In the past, I lost many Bedrock players when I had to reset everyone's passwords, and even then, some chose to leave the server. I don't want to take that risk again, especially now that nearly half of my player base is composed of Bedrock players. Please keep me informed of any updates.

from fastlogin.

wtlgo avatar wtlgo commented on August 16, 2024

@GabrielMoreiradeSouza don't you test your setup separately before putting it into production? If you don't, you probably should start doing that, it will save you from such incidents in the future.

from fastlogin.

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.