Giter Club home page Giter Club logo

Comments (13)

MrNavaStar avatar MrNavaStar commented on August 23, 2024 1

This has been fixed in the latest 1.17 release

from invsync.

Howie0715 avatar Howie0715 commented on August 23, 2024

I use the latest release,but it's the same situation. I join in the B server and read the player data at [00:00],but the player data in A server save at [00:07]....so I will read the old player data in B server.

from invsync.

MrNavaStar avatar MrNavaStar commented on August 23, 2024

How are you joining server B before leaving server A? I can confirm that real time syncing works no problem, so it sounds like a setup issue.

from invsync.

MrNavaStar avatar MrNavaStar commented on August 23, 2024

If your a putting this on a server with existing data, the server you join first will be the one that gets synced across both.

from invsync.

Howie0715 avatar Howie0715 commented on August 23, 2024

How are you joining server B before leaving server A? I can confirm that real time syncing works no problem, so it sounds like a setup issue.

I use velocity as proxy,so just "/server B" to join server B

from invsync.

Howie0715 avatar Howie0715 commented on August 23, 2024

If your a putting this on a server with existing data, the server you join first will be the one that gets synced across both.

Yes ,so I set Serve A the main server

from invsync.

MrNavaStar avatar MrNavaStar commented on August 23, 2024

Okay I too test with a velocity proxy, and it works fine for me. If your main server is server A, and you also join it first, there should be no issue.

Double check that your directory and database name matches in both configs (database names should end with .db), as well as that it is a valid location. For linux it should be /my/dir, and for windows it will be C:/my/dir.

If it is a linux server, be sure the minecraft server has permission to edit the files. chmod +x will fix it in most cases. (or chmod 777 but you should know what your doing)

from invsync.

MrNavaStar avatar MrNavaStar commented on August 23, 2024

There is not much I can do for you beyond that as the latest release works perfectly on my velocity server. Transferring using /server gives me no problems

from invsync.

Howie0715 avatar Howie0715 commented on August 23, 2024

My hypothetical situation is I have {apple} in A server, and I go to the B server, the {apple} exist , but I get another item {carrot} in B server , go back to A server ,the item that I get in B server didn't appear

from invsync.

Howie0715 avatar Howie0715 commented on August 23, 2024

So I edit the code to delay 10s to read the playerdata when I corss the server in order to wait the inv sync save the data properly.
This method work ,but I need to wait for 10s

from invsync.

MrNavaStar avatar MrNavaStar commented on August 23, 2024

hmmmm, that is very odd. Is possible I uploaded a bad jar. try downloading it from a different source, its available here, on modrinth and curseforge.

from invsync.

MrNavaStar avatar MrNavaStar commented on August 23, 2024

Building from source may also fix the issue for you (so just remove your 10 second thing). If the problem persists unfortunately I wont be able to assist until next weekend. Thanks for your patience.

from invsync.

Howie0715 avatar Howie0715 commented on August 23, 2024

Thank for your assist :D

from invsync.

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.