Giter Site home page Giter Site logo

Comments (16)

caoli5288 avatar caoli5288 commented on August 11, 2024

Server and plugin version?

from playersql.

helptiger avatar helptiger commented on August 11, 2024

server: 1.8.3 and 1.8.7; plugin: 1.1.2 from Spigot and 1.1.3 from here

from playersql.

caoli5288 avatar caoli5288 commented on August 11, 2024

Any server lag or crash before lock data?

from playersql.

helptiger avatar helptiger commented on August 11, 2024

no, absolutely not
tested with 3 different MySQL Servers

from playersql.

caoli5288 avatar caoli5288 commented on August 11, 2024

Any error output?

from playersql.

helptiger avatar helptiger commented on August 11, 2024

no

from playersql.

helptiger avatar helptiger commented on August 11, 2024

for me it seems that the unlock process is not fired correctly

from playersql.

caoli5288 avatar caoli5288 commented on August 11, 2024

I have no idea yet, I will test it this weekend.

from playersql.

Dummyc0m avatar Dummyc0m commented on August 11, 2024

You could test it, if you set your player (must be offline) manually to online in the MySQL table (column Online = 1) and then try to join the server.
What?

from playersql.

caoli5288 avatar caoli5288 commented on August 11, 2024

I really found no problems in testing.
I switched the server more than 100 times and not one failure.

from playersql.

helptiger avatar helptiger commented on August 11, 2024

Hmm, but have you also tested what happens if a player is locked? For me the bug hides in the unlock process. That could be the UnlockTask.java or related. The simplest way to test is to manually set the player online to 0 in the db and than try to join. So again, what happens after a player is locked.

from playersql.

caoli5288 avatar caoli5288 commented on August 11, 2024

I know it will locked 5 mins.

from playersql.

helptiger avatar helptiger commented on August 11, 2024

So, is it possible to reduce this time or make it configurable?

from playersql.

Dummyc0m avatar Dummyc0m commented on August 11, 2024

The plugin saves a player every 3 minutes i suppose, so 5 min lock is alright.

from playersql.

Cnly avatar Cnly commented on August 11, 2024

Hmm, but have you also tested what happens if a player is locked? For me the bug hides in the unlock process. That could be the UnlockTask.java or related. The simplest way to test is to manually set the player online to 0 in the db and than try to join. So again, what happens after a player is locked.

UnlockTask.java is only used in an infrequent case where a player quits the server fast enough after joining to unlock the locked data, which was locked during its data's being loaded.

So, is it possible to reduce this time or make it configurable?

Which time do you mean?

from playersql.

caoli5288 avatar caoli5288 commented on August 11, 2024

Close. You can test the new /psql send <who> <target_server> command. If any problem please open a new issue.

from playersql.

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.