LeavesMC / Leaves

Fork of Paper aimed at repairing broken vanilla properties.
https://leavesmc.org
Other
401 stars 40 forks source link

PCA协议可能需要更新 #145

Closed bbz-233 closed 12 months ago

bbz-233 commented 1 year ago

服务端版本 LeavesMC Version

git-Leaves-"3f2d80d" (MC: 1.20.2)

预期的行为 Expected behavior

在客户端安装了Masa Gadget并开启了自动同步实体数据,服务端Leaves.yml启用了PCA协议(OPS_AND_SELF)且并未安装Via类插件的情况下,能同步所有实体的数据

观测到的实际行为 Observed/Actual behavior

在客户端安装了Masa Gadget 3.2.331+61c3583-stable并开启了自动同步实体数据,服务端Leaves.yml启用了PCA协议(OPS_AND_SELF)且未安装Via类插件的情况下,实体的数据并没有同步到客户端上(开启渲染村民交易补货冷却、渲染村民交易的第一本附魔书、渲染村民绑定床、渲染村民绑定工作方块、渲染僵尸村民转换时间、容器预览时同步数据后这些功能都无法正常工作) 并在客户端Masa Gadget配置界面开启debug模式并点击同步所有实体信息时,不会弹出任何带"update entity!"的调试信息

复现步骤 Steps/models to reproduce

1 从旧版本升级服务器核心)

服务端配置文件开启PCA协议支持,卸载Via类(比如ViaVerison)插件 客户端安装Masa Gadget(我使用的3.2.331+61c3583-stable)、Malilib(1.20.2-0.17.0)、魔法类库(0.7.387+c02a0de-stable) 并开启自动实体数据

image

image

2 重新下载服务器核心并搭建)

下载Leaves核心[git-Leaves-"3f2d80d" (MC: 1.20.2)] 启动服务器,然后编辑EULA文件(第一次启动) 服务端配置文件开启PCA协议支持 启动服务器

插件与数据包列表。 Plugin and Datapack List.

1) image

2) 无插件无数据包 image

这些数据包和插件在使用 git-Leaves-"3639506" (MC: 1.20.1)加载时并不会出现上述问题

更多详细信息。 The more information.

No response

s-yh-china commented 1 year ago

我并没有观察到MasaGadget那边有变动 可能你需要把MasaGadget的debug打开然后看看日志里有没有输出update entity!这样的信息 ~这几个月太累,暂时没时间测试~

bbz-233 commented 1 year ago

这些是我使用的数据包(具体的数据包文件或其来源) 八宝粥的数据包.zip 更多进度 https://wwt.lanzoub.com/ioBuy09ugyni 彩虹像素 (v3.1,材质+数据) https://wwcf.lanzout.com/iwANv0zyimwh Terralith (v2.4.0) https://www.curseforge.com/minecraft/mc-mods/terralith Structory (v1.3.2) https://www.curseforge.com/minecraft/mc-mods/structory Towns and Towers https://www.planetminecraft.com/data-pack/towns-amp-towers-structure-overhaul/ Villages Overhauled https://www.planetminecraft.com/data-pack/villages-overhauled/

s-yh-china commented 12 months ago

已修复,需要测试

bbz-233 commented 12 months ago

我这就下下来试下,不过因为下载速度不快,可能得到23点才能用到

bbz-233 commented 12 months ago

好像仍然没有效果 而且在进入Leaves核心的服务器后仍旧找不到update entity!的字样 image image

s-yh-china commented 12 months ago

啊? 我这边是完全没有问题的 给下leaves.yml?

bbz-233 commented 12 months ago
# Configuration file for Leaves.

settings:
  performance:
    remove:
      get-nearby-players-streams: true
      tick-guard-lambda: true
      inventory-contains-iterators: true
      range-check-streams-and-iterators: true
      damage-lambda: true
    skip-entity-move-if-movement-is-zero: true
    reduce-entity-fluid-lookup: true
    strip-raytracing-for-entity: true
    check-frozen-ticks-before-landing-block: true
    enable-suffocation-optimization: true
    use-fast-item-merge-raytracing: true
    cache-CubeVoxelShape-shape-array: true
    optimize-sun-burn-tick: true
    cache-ignite-odds: true
    skip-negligible-planar-movement-multiplication: true
    dont-trigger-lootable-refresh-for-non-player: true
    cache-climb-check: true
    improve-fluid-direction-caching: true
    optimized-CubePointRange: true
    inactive-goal-selector-disable: false
    fix:
      fix-paper-9372: true
      fix-paper-6045: true
    skip-unnecessary-mob-spawning-computations: true
    use-optimized-collection: true
    optimize-chunk-ticking: true
    async-mob-spawning: false
    dont-send-useless-entity-packets: true
    optimize-entity-coordinate-key: true
    check-spooky-season-once-an-hour: false
    optimize-world-generation-and-block-access: true
    reduce-entity-allocations: true
    skip-poi-find-in-vehicle: true
    entity-target-find-optimization: true
    biome-temperatures-use-aging-cache: true
    simpler-vanilla-shapeless-recipes: true
    reduce-chuck-load-and-lookup: true
    optimized-dragon-respawn: false
    faster-chunk-serialization: true
    use-more-thread-unsafe-random: true
    async-pathfinding: false
    async-entity-tracker: false
    optimize-noise-generation: false
    cache-ominous-banner-item: true
    skip-cloning-advancement-criteria: false
    cache-BlockStatePairKey-hash: true
    cache-world-generator-sea-level: true
    fix-villagers-dont-release-memory: true
    store-mob-counts-in-array: true
    skip-secondary-POI-sensor-if-absent: true
  misc:
    server-mod-name: "Paper"
    disable-method-profiler: true
    server-lang: zh_cn
    no-chat-sign: true
    extra-yggdrasil-service:
      enable: false
      login-protect: false
      urls:
      - https://url.with.authlib-injector-yggdrasil
    dont-respond-ping-before-start-fully: true
    bstats-privacy-mode: false
    auto-update:
      enable: true
      time:
      - '2:00'
      - '5:30'
  modify:
    disable-moved-wrongly-threshold: false
    minecraft-old:
      armor-stand-cant-kill-by-mob-projectile: false
      cce-update-suppression: false
      villager-infinite-discounts: false
      zero-tick-plants: true
      instant-block-updater-reintroduced: false
      redstone-wire-dont-connect-if-on-trapdoor: false
      loot-world-random: false
      mending-compatibility-infinity: false
      shears-in-dispenser-can-zero-amount: false
    force-void-trade: false
    tick-command: false
    hopper-counter: false
    spider-jockeys-drop-gapples: -1.0
    flatten-triangular-distribution: false
    mc-technical-survival-mode: true
    use-vanilla-random: false
    creative-no-clip: false
    return-nether-portal-fix: false
    container-passthrough: true
    no-feather-falling-trample: false
    fix-update-suppression-crash: true
    budding-amethyst-can-push-by-piston: false
    snowball-and-egg-can-knockback-player: true
    redstone-shears-wrench: true
    spectator-dont-get-advancement: true
    avoid-anvil-too-expensive: true
    despawn-enderman-with-block: false
    no-block-update-command: false
    disable-check-out-of-order-command: false
    player-operation-limiter: false
    stackable-shulker-boxes: 'false'
    disable-distance-check-for-use-item: false
    shared-villager-discounts: false
    ignore-lc: false
    bedrock-break-list: false
    raider-die-skip-self-raid-check: false
    lava-riptide: false
    disable-packet-limit: false
    bow-infinity-fix: true
    shave-snow-layers: true
    renewable-elytra: -1.0
    fakeplayer:
      spawn-phantom: false
      enable: true
      unable-fakeplayer-names:
      - player-name
      limit: 10
      prefix: ''
      suffix: ''
      always-send-data: true
      resident-fakeplayer: true
      open-fakeplayer-inventory: true
      skip-sleep-check: true
    elytra-aeronautics:
      no-chunk-load: true
      no-chunk-height: 64.0
      no-chunk-speed: 40.0
      message: true
      message-start: 飞行速度过快,将停止区块加载
      message-end: 飞行速度减缓,将恢复区块加载
    stick-change-armorstand-arm-status: true
  protocol:
    servux-protocol: true
    pca-sync-protocol: true
    alternative-block-placement: LITEMATICA
    leaves-carpet-support: true
    pca-sync-player-entity: OPS_AND_SELF
    jade-protocol: true
    bbor-protocol: true
    xaero-map-protocol: false
    xaero-map-server-id: -2094485729
    bladeren:
      protocol: true
      mspt-sync-tick-interval: 20
      mspt-sync-protocol: false
    appleskin-protocol: true
    syncmatica:
      enable: true
      quota: true
      quota-limit: 40000000
config-version: 5
world-settings:
  default: {}
  world: {}
  world_nether: {}
  world_the_end: {}
s-yh-china commented 12 months ago

done