valheimPlus / ValheimPlus

A HarmonyX Mod aimed at improving the gameplay and quality of life of the game Valheim.
http://valheim.plus
GNU Affero General Public License v3.0
967 stars 237 forks source link

Fixing compile and patch errors introduced via v0.214.2 #793

Closed Grantapher closed 4 months ago

Grantapher commented 1 year ago

Possibly fixes #789, #790, #791, #792. Unclear if there are any incompatibilities in Valheim v0.214.2 that didn't cause obvious errors.

Upgrading BepInExPack_Valheim to 5.4.2100 was required. Without it, there were additional errors when using the console or chat, seemingly because of missing unstripped_corlib dependencies that were added in the new Valheim version.

I tested the use cases mentioned not working in the linked issues with some exceptions:

Given that most of the problems were fixed from changes in mostly unrelated code, I think it is not terribly risky to say it was the root cause.


Edit: Since this seems like it may be sitting a while, I uploaded this change to thunderstore for folks who install from there and added a release on my fork for folks who install manually. The regular installation instructions will apply to that release.

They both contain one additional change that bumps up the version number, points some version/config checks to my fork, and adds the fact that it is not the main mod to the title screen text. The branch used is the one attached to that commit: grantapher-development.

mrspartak commented 1 year ago

@Grantapher with your patch on the newest update Valhein crush image

PuszkaPotato commented 1 year ago

@Grantapher with your patch on the newest update Valhein crush image

It works just fine, you have to update BepInEx

mrspartak commented 1 year ago

@CanExiOne how do I do that? I have only ValheimPlus installed (@Grantapher patch). As far as I see BepInEx was not updated since last year

PuszkaPotato commented 1 year ago

@CanExiOne how do I do that? I have only ValheimPlus installed (@Grantapher patch). As far as I see BepInEx was not updated since last year

It did, check on thunderstore https://valheim.thunderstore.io/package/denikson/BepInExPack_Valheim/

mrspartak commented 1 year ago

@CanExiOne thanks! Works now. I checked their repo

Grantapher commented 1 year ago

I'll update my release and thunderstore listing later today.

SSimp258 commented 1 year ago

I'll update my release and thunderstore listing later today.

I think repackaging with newest bepinex is all that's needed. I think your fix is still good with this latest valheim update.

Grantapher commented 1 year ago

I have grantapher/valheimPlus#2 queued up to be added anyways, so maybe I'll edit .13 with new bepinex and then add .14. I'll figure it out later today.

JackTheFragger commented 1 year ago

VPlus works without further work with 0.214.300. BepInEx has to be updated only.

For llloesche/valheim-server you have to update the bepinex.cfg manually. Issue opened: https://github.com/lloesche/valheim-server-docker/issues/608

Grantapher commented 1 year ago

New release for the new valheim version