Skip to content

Persistent Jobs mod compatibility - #149

Open
T3M8029 wants to merge 8 commits into
AMacro:betafrom
T3M8029:PersistentJobsCompat
Open

Persistent Jobs mod compatibility#149
T3M8029 wants to merge 8 commits into
AMacro:betafrom
T3M8029:PersistentJobsCompat

Conversation

@T3M8029

@T3M8029 T3M8029 commented Jul 13, 2026

Copy link
Copy Markdown

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).

@T3M8029

T3M8029 commented Jul 26, 2026

Copy link
Copy Markdown
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.

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

Successfully merging this pull request may close these issues.

1 participant