Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ResourcePacks client side merging bug #3071

Closed
gioiann opened this issue Aug 1, 2019 · 3 comments
Closed

ResourcePacks client side merging bug #3071

gioiann opened this issue Aug 1, 2019 · 3 comments
Labels
Category: Client Related to Mojang client (usually client-caused bugs) Resolution: Invalid

Comments

@gioiann
Copy link

gioiann commented Aug 1, 2019

Issue description

A client downloading 2 completely different resource packs (different uuid, name, version, etc) at the same time from the server will eventually result in the resourcepacks being merged into 1 on the client side.

  • Expected result: The client downloading 2 different resource packs
  • Actual result: The client sometimes downloads the resourcepacks in the same folder resulting in the packs being "merged" and files with the same name overwritten so in case you delete one of the resource packs on the server side, client side both packs will still be applied

Steps to reproduce the issue

  1. Create 2 small resource packs with only a manifest, icon and a custom block texture so you can tell if it's applied. For example in the first resouce pack changing the dirt texture and in the 2nd the grass texture.
  2. Join a localhost (must be localhost if you need more chances to reproduce) server and download the packs.
  3. Check the client resource packs cache at /packcache/resource/ (root needed on android), if there are 2 different folders for each of the rpacks then delete the packs from the in game storage settings and retry to download again, eventually both the packs will be downloaded in the same folder. If you can't check /packcache/resource/ then simply restart the game and open Settings->Storage, you will only find one of the downloaded packs here if they merged, otherwise retry downloading

The resource packs cache folder name client side seems like to be a base64 encoded hash which strictly depends on the time the resource pack is downloaded.

I will soon provide resource packs and probably a video

OS and versions

  • PocketMine-MP: 3.9.3
  • PHP: 7.3.7
  • Server OS: Ubuntu 18.04
  • Game version: Android/Win10

Plugins

No plugins loaded

@dktapps
Copy link
Member

dktapps commented Aug 1, 2019

This seems more like it belongs on https://bugs.mojang.com, no?

@dktapps dktapps added Category: Client Related to Mojang client (usually client-caused bugs) Status: Unconfirmed Bug has not yet been reproduced by a maintainer labels Aug 1, 2019
@gioiann
Copy link
Author

gioiann commented Aug 1, 2019

Yes, definitely since I also tried using the official mojang server and it still happens. But I don't have time to open an issue there. It can be temporarily be "fixed" by delaying the ResourcePackDataInfoPacket sending

@dktapps
Copy link
Member

dktapps commented Aug 1, 2019

well you're opening in the wrong place, this isn't the mojang issue tracker ...

@dktapps dktapps closed this as completed Aug 1, 2019
@dktapps dktapps added Resolution: Invalid and removed Status: Unconfirmed Bug has not yet been reproduced by a maintainer labels Aug 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Client Related to Mojang client (usually client-caused bugs) Resolution: Invalid
Projects
None yet
Development

No branches or pull requests

2 participants