Persistent Jobs mod compatibility - #149
Open
T3M8029 wants to merge 8 commits into
Open
Conversation
Author
|
Don´t want to bother you with this too much since I know there´s limited time, but I think that there won´t be any more changes to this needed from me, as it´s only the PJ side that´s giving problems. So whenever/if you end up having the time for it, you can merge it. |
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Introduced task destination track and car updates which the server gets by listening to events from PJ and the sends out to all clients.
Reworked the way clients get jobs, they can now ask for generation or for a specific jobs data.
Made car plate updates use a coroutine to resolve stuttering on entering a station (beware, the updates will wait for all cars there to be loaded).
Added an "absolute" ClientboudCouplingStatePacket that is sent on RestoreCarConections() (needed for PJ´s car resuming).
Made the clients use JobsManager for (un)registering jobs so other mods (eg. RD) can read job data.
Everything seems fine from my testing using this modset (both client and server).