[Bug]: Long time to join servers with 40+ MB of Gunpacks
Vetpetmon opened this issue ยท 3 comments
I have confirmed that ...
- tacz is up to date
- unable to reproduce without tacz
Minecraft and modloader version
Minecraft 1.20.1, Forge 47.3.12
tac version
1.20.1-1.0.3
Related Mods
TACZ
Description
There is no crash, but this does increase the frequency of timing out or dying while logging into dedicated servers due to being stuck in the loading screen.
The default gunpack is approximately 28 MB in size, and other gunpacks can add up to 80+ MB quickly.
Every time a user joins, new or not, they're forced to re-download the packs even if there's no mismatch, this causes logins to a server to take a minute or more, especially on poorer connections.
Proposed solution: Allow servers to disable this check or download step when players log in.
Step to reproduce
- Install any combination of gunpacks on both client and server, you can install enough to add on 80 MB for most apparent results
- Join the server
- Observe and time how long it takes to load in.
Logs & Crash reports
No response
emm, not very sure what u mean by re-download
?
The gun package itself will not be passed between the server and the client when join the server, the only things that will be synchronized are some data configs of guns.
It does have an issue with unnecessary resource reload occurring when joining worlds or multiplayer though which would cause lag, it should be optimized in the next release.