Giter Club home page Giter Club logo

Comments (8)

leelawd avatar leelawd commented on June 15, 2024

Thanks for the report, I will see what I can do to remedy the shutdown code after I get back from work

from mmcreboot.

leelawd avatar leelawd commented on June 15, 2024

https://ore.spongepowered.org/leelawd93/MMCReboot/versions/2.3.3
I hope this works better for you

from mmcreboot.

skyline918 avatar skyline918 commented on June 15, 2024

Hello again, I have tested latest build and there is a problem that whitelist always keeps to be enabled after restart. Also I have checked logs, it seems that kicks before restarts are working but "left the game" messages are printed in log after save-all command. I think it is ok, maybe player disconnect is not an instant action and it is async/other thread blocking operation, I am telling it just in case. Main problem is persistent whitelist.

Here is the log screenshot just in case
image

from mmcreboot.

leelawd avatar leelawd commented on June 15, 2024

MMCReboot-2.3.3-API-7.jar.zip

I removed the whitelist for now and added a 1 second delay between the kicks and save just in-case. I'm not sure why its forcing the whitelist on constantly as it wasn't doing it on my test setup but cannot force it off after the save and before shutdown in-case a server is actually using a whitelist feature

from mmcreboot.

skyline918 avatar skyline918 commented on June 15, 2024

Hello again, tested it now. Now during restart there is IllegalMonitorStateException (I think it is related to delay between kicks and saving). If you need full latest.log feel free to ask me, I will post in pastebin. If it is not simple to implement delay, I think it is okay not to implement it at all, assuming that server rejects any client packets after kick method was executed, and it just has delay to close socket. If you want I can clarify it on sponge discord server to help as I can.
image

from mmcreboot.

leelawd avatar leelawd commented on June 15, 2024

Yea, I will revert it as soon as I get home in around 6 hours. It shouldn’t cause any issues but I’ll test a few things out on my end and see if I can get anything to work smoothly enough

from mmcreboot.

leelawd avatar leelawd commented on June 15, 2024

Ok, my apologies for the wierdness happening, This should have the fixed delay
https://ore.spongepowered.org/leelawd93/MMCReboot/versions/2.3.4

from mmcreboot.

skyline918 avatar skyline918 commented on June 15, 2024

Sorry for the delay, I have tested latest build with 20 players online. The delay between kick and saving is working (according to the logs). Thank you very much for help.

from mmcreboot.

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.