ethanmoffat / EndlessClient

An open source client for Endless Online written in C#
MIT License
34 stars 16 forks source link

BU Support: Files are downloaded every time #212

Closed ethanmoffat closed 2 years ago

ethanmoffat commented 2 years ago

BU map, item, npc, and skill files are all downloaded every time a character logs in, even if the most up-to-date version of the file is cached locally.

Copying the file cached by the official client into EndlessClient's directory still causes the redownload to happen.

For map files, both the len and the rid are reporting different values between the welcome packet and the local file.

Changing map files to save the raw byte stream directly to disk instead of passing it through the domain model first still has no impact.

ethanmoffat commented 2 years ago

This is not a bug, I had outdated files in my nuget package cache where I copied the reset of the BU binaries. They were copied to the output directory on each launch so it was always coming up with the wrong actual len/rid.