This repository was archived by the owner on Jul 16, 2025. It is now read-only.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds support for the Mud indexer. It only supports the latest version of the indexer (version
2.0.0-next.14).What does this mean?
Instead of requesting tens of thousands of logs from the rpc and then converting them into Mud events, we simply make one call to the indexer and then load the most recent state (that's already in a Mud event format we can use) into the client in one big batch. This makes loading times faster in production, where one might have lots of players making lots of transactions.
Local setup
http://localhost:3001.User-facing changes
You can now get the status of the initial snapshot fetch and display it to the user, via
SyncStep.Snapshot:https://github.com/emergenceland/UniMUD/blob/2da0fe7668de60507e4b7a25e8ca087b0227e7e3/unimud/Packages/UniMUD/Runtime/mud/NetworkManager.cs#L250C1-L259C24