Giter VIP home page Giter VIP logo

Comments (7)

Phoenix616 avatar Phoenix616 commented on June 23, 2024

Well generally speaking snapshots aren't supported, especially as there are no official proxies available for it anyways and I'm not going to waste tons of time on something that will potentially break again next week.

Anyways: Without the error/log there is nothing that can be done about this, please provide that.

from resourcepacksplugins.

Xuwznln avatar Xuwznln commented on June 23, 2024

There is no exact log that brp provides(already enabled debug), only these disconnect logs when the potion effect is expired:

[10:36:34 WARN]: [/127.0.0.1:3314|Xu_wznln] <-> DownstreamBridge <-> [AuthT] - bad packet ID, are mods in use!? No more bytes reading varint.
[10:41:14 INFO]: [/127.0.0.1:3655|Xu_wznln] <-> DownstreamBridge <-> [AuthT] has disconnected.

from resourcepacksplugins.

Xuwznln avatar Xuwznln commented on June 23, 2024

I tried using old version one by one, and the last version that wont cause this problem is build328, hope this could help you fix this problem.

from resourcepacksplugins.

Phoenix616 avatar Phoenix616 commented on June 23, 2024

I don't think such an old build can fix anything, it would be lacking support for tons of versions.

It looks like the resource pack send packet was changed which is most likely the cause of this. You can test manually adding the correct ID mapping to the config (which should stop the disconnects) but it might require a code modification to get pack sending to work seeing as they added a new parameter. This will be looked into once the release protocol specification is available.

from resourcepacksplugins.

Xuwznln avatar Xuwznln commented on June 23, 2024

I tried this way and fixed this problem:
step1. add a constant SNAPSHOT_PROTOCOL in MinecraftVersion.java
step2. change method like this:

    public String toConfigString() {
        return this == UNKNOWN||this == SNAPSHOT_PROTOCOL ? name() : name().toLowerCase().substring("MINECRAFT_".length()).replace('_', '.');
    }

step3. add " 'SNAPSHOT_PROTOCOL': 0x39" in the packetmap.yml

from resourcepacksplugins.

Phoenix616 avatar Phoenix616 commented on June 23, 2024

It should not be necessary to edit the source it all, you can just add the protocol version directly to the packetmap.yml.

from resourcepacksplugins.

Xuwznln avatar Xuwznln commented on June 23, 2024

It seems the version only contains in the waterfall that I use.
I wont let snapshot players use any resourcepack, I simply dont want them always disconnected from the server.

from resourcepacksplugins.

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.