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

Add MapX support #45

Open
kamronbatman opened this issue Dec 19, 2024 · 2 comments
Open

Add MapX support #45

kamronbatman opened this issue Dec 19, 2024 · 2 comments

Comments

@kamronbatman
Copy link
Contributor

kamronbatman commented Dec 19, 2024

Add MapX support against CharacterListFlags.CLF_UNLOCK_FELUCCA_AREAS flag received from server.
cc @MaxKellermann on the best way to do this.

Mul files:
$"map{i}x.mul"
$"statics{i}x.mul"
$"staidx{i}x.mul"

UOP:
File: $"map{i}xLegacyMUL.uop"
Entry: $"build/map{i}legacymul/{{0:D8}}.dat"

Note: ClassicUO has since removed multi-threaded loading of client files. Was this even a good move or necessary?

Also Note, ClassicUO has an issue where two sources access the map at the same time:
ClassicUO/ClassicUO@a01096b

@MaxKellermann
Copy link
Contributor

What is MapX?

@kamronbatman
Copy link
Contributor Author

Apparently an alternate set of maps that has extra areas which are unlocked when the client flags are sent. Probably related to subscriptions/expansions.

On the EA client, the map/statics are not streamed in until you actually enter Britannia. This means which set of files are used can be determined once at the appropriate time. I believe by default ClassicUO loads everything at bootstrap.

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

2 participants