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

Error encoding templates in multiplayer. #653

Open
1 task done
Pilad opened this issue Jan 14, 2025 · 7 comments
Open
1 task done

Error encoding templates in multiplayer. #653

Pilad opened this issue Jan 14, 2025 · 7 comments

Comments

@Pilad
Copy link

Pilad commented Jan 14, 2025

Your GTNH Discord Username

Pilad

Mod Version

appliedenergistics2-rv3-beta-521-GTNH

Bug Report

I have collected a minimum set of mods to run the modpack with the AE2 mod.
If you encode the template in a single game, then the encoding is correct. The numbers are displayed correctly. The template is also encoded correctly.
If you run a local server, place mods from the client there, then when encoding the template, the numbers become negative, or show strange values. But if you encode the template and move the cursor, then the numbers in the description will be correct. Is it possible to fix this bug so that the AE2 mod works, for example, in other modpacks? The AE2FS mod (ae2fc-1.4.21-gtnh.jar) behaves in the same way, in a single game the numbers are displayed correctly, and in the multiplayer they are negative or some other.

Link for DL client/server import to Prisma :
https://drive.google.com/file/d/1LyLKbpaEgaDOYNlNnRmvbV9wNRrEUROa
Demo mkv:
https://drive.google.com/file/d/1-j938sF1X25mAx_DjIJKonZcJHQ1F6ny

Java Version

Java 8

Mod List or GTNH Pack Version

+unimixins-all-1.7.10-0.1.19.jar BAB6DC03
appliedenergistics2-rv3-beta-521-GTNH.jar 123A9DC3
CodeChickenCore-1.4.1.jar 2EFD8AA9
endercore-0.4.6.jar FA793CC9
gtnhlib-0.6.1.jar 77CC6A74
industrialcraft-2-2.2.828a-experimental.jar 6FAA8462
NEIAddons-1.16.0.jar 0F719577
NEIIntegration-1.4.0.jar 501D6A14
NotEnoughEnergistics-1.6.4.jar 626D75B0
NotEnoughItems-2.7.19-GTNH-pre.jar 77DE191D
Waila-1.8.2.jar E671CB1D
WailaHarvestability-1.2.1-GTNH.jar C1298492
WAILAPlugins-0.6.0.jar D8CF42BC
Wawla-1.3.0-GTNH.jar DDBD24D0
Client:
изображение

LocalServer:
изображение

Final Checklist

  • I have searched the issues and haven't found a similar issue.
@lordIcocain
Copy link

Is this happens only when you using x2 button functional?

@Pilad
Copy link
Author

Pilad commented Jan 14, 2025

Is this happens only when you using x2 button functional?

No. Also if you drag a recipe from the NEI to the left or right side. Also if you call multiplication or division by pressing the mouse wheel.

@Pilad
Copy link
Author

Pilad commented Jan 14, 2025

@Pilad
Copy link
Author

Pilad commented Jan 14, 2025

@Pilad
Copy link
Author

Pilad commented Jan 14, 2025

If you repeat this in a single game, it will be the same as in multiplayer. 127 items encode the template, not 1024.

@Pilad
Copy link
Author

Pilad commented Jan 19, 2025

Is this happens only when you using x2 button functional?

A mod is required to fix this error : modularui-1.2.17.jar

@miozune
Copy link
Member

miozune commented Jan 22, 2025

This is because vanilla PacketBuffer uses byte (-128 to 127) to encode itemstack size rather than integer. I encountered the same issue with MUI and added patch, that's why adding MUI makes the issue go away.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants