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

Update 0.9, multifaction #399

Merged
merged 5 commits into from
Oct 18, 2023
Merged

Update 0.9, multifaction #399

merged 5 commits into from
Oct 18, 2023

Conversation

Zetrith
Copy link
Member

@Zetrith Zetrith commented Oct 15, 2023

Includes implementation of multifaction beta. The commit message has more details

Some small things are still missing, I'll add them soon:

  • Multifaction hosting option is unused
  • You can't choose a new faction's ideology

Copy link
Member

@notfood notfood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've gone through the changes, a lot of the Faction part is flying over my head. I'll need to experiment with it to see how it impacts mod compatibility.

Source/Client/Debug/DebugPatches.cs Show resolved Hide resolved
Source/Client/EarlyInit.cs Show resolved Hide resolved
Source/Client/Factions/MultifactionPatches.cs Outdated Show resolved Hide resolved
@SokyranTheDragon
Copy link
Member

I've looked through most the changes. There were many additions/changes that were rather small and simple to understand, or removal of stuff I assumed are no longer needed - I mostly skimmed through those. As for the bigger changes, I'll have to look deeper into them.

- Protocol 34
- Multifaction: new hosting option, faction creation screen, set faction context in more places, refactor code related to factions
- Remove id blocks
- Track getting unique ids in desync traces
- Log stack traces in Sync command write log
- Use my UI layout helper (Layouter.cs) from Prepatcher
- Only set faction context when necessary (should slightly improve performance)
- Move Native and DeferredStackTracingImpl to Common
- Reorganize project dependencies (they previously doubled as artifact output control)
- Move conversion to singleplayer into its own file
- Split player cursor and location ping code
- Remove HotSwappableAttribute

- Fix applying the mod list with "Fix and restart"
- Fix issues with desync tracing and latest Harmony
- Fix desyncs related to autosaving and battle log
- Fix exception when not including all arguments in SyncMethod exposeParameters
- Fix clicking on files in save list sometimes not working
Use the multifaction hosting option
Fix hosting from singleplayer saves
Fix saving of policies (outfits etc)
Remove spectator faction when converting to sp
@Zetrith Zetrith merged commit 768cfcd into rwmt:master Oct 18, 2023
1 check passed
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.

3 participants