Giter Site home page Giter Site logo

trouble with snapshots about worldedit HOT 7 CLOSED

enginehub avatar enginehub commented on May 20, 2024
trouble with snapshots

from worldedit.

Comments (7)

rbos avatar rbos commented on May 20, 2024

no dice with -mx1. I should try it with regular zip I guess.

from worldedit.

rbos avatar rbos commented on May 20, 2024

When I try to //use today-01:18.zip, it says "That snapshot does not exist or is not available" in-game.

When I rename it to 'tester.zip' (this one made with the regular zip utility, not 7zip), I get "invalid CEN header" again.

I'm running on Debian, here's my worldedit.properties:

#Minecraft Properties File
#Wed Oct 20 20:40:03 PDT 2010
snapshots-dir=/attached/minecraft-backups
allowed-blocks=0,1,2,3,4,5,7,8,9,10,11,12,13,14,15,16,17,18,19,20,35,41,42,43,44,45,47,48,49,52,53,54,56,57,58,60,61,62,67,73,78,79,80,81,82,85
map-script-commands=true
max-blocks-changed=-1

I'm going to bed. If you guys have any input for tomorrow that'd be great.

from worldedit.

sk89q avatar sk89q commented on May 20, 2024

How big is the ZIP file? Regardless, I just searched around and it appears that Java's Zip implementation has some major flaws that may be contributing to your problem. I think I'll be replacing Java's Zip implementation with a 3rd-party's by the next release. Hopefully that will resolve your issue.

As for the "snapshot does not exist or is not available," it's due to the bit zealous check on the list of allowed characters in a filename. (":" isn't currently an allowed character.) I'll see if I can make it more lenient in the next version.

from worldedit.

rbos avatar rbos commented on May 20, 2024

Thanks for the response, the zip file is about 1.3 gigabytes.

Good catch on the allowed characters. I'm okay with overzealous filename rules, as long as the rules are documented. :)

Really looking forward to getting this working, selective rollbacks without a server restart will be fantastic!

from worldedit.

sk89q avatar sk89q commented on May 20, 2024

Try this:
http://sk89q.com/tempxfer/worldedit-eebe6e.zip

You need to download TrueZIP:
http://repo1.maven.org/maven2/de/schlichtherle/truezip/6.8.1/truezip-6.8.1.jar
Put it in plugins/ as "truezip.jar".

There's nothing indicating that TrueZIP is being used though (it falls back to Java's ZIP library), so the real test is whether your ZIP files open. :)

from worldedit.

rbos avatar rbos commented on May 20, 2024

Seems to work now. :D

from worldedit.

sk89q avatar sk89q commented on May 20, 2024

Good to hear!

from worldedit.

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.