Jump to content

Hamony Issues

Pending 1.5.5

MichuX
MichuX

Posted

Hello!

Please don't use Harmony patches and harmony patch all because they are affecting other plugins and they start to get bugs behind bugs. Even disconnect players.

I reverted to version 1.5.4 because the harmony patch were causing a lot of bugs in the server. 
After reverting the version everything went good again. 

I use Custom item Definitions plugin with Customizable Weapons and they use all patches, If other plugins uses patches as well, It starts infinite bugs.

So please remove the patches that you introduced in the recent version.

Fruster

Posted

Hey! The previous version used the patchAll method for Harmony. I changed it in this version, which should actually eliminate some errors. I'll check it and try to fix it. Thanks for the information.

  • Love 1
MichuX

Posted

18 minutes ago, Fruster said:

Hey! The previous version used the patchAll method for Harmony. I changed it in this version, which should actually eliminate some errors. I'll check it and try to fix it. Thanks for the information.

Hello! The patchAll is not good for plugins that are dependency with patchall. Any mistake around it, It will cause the plugin that is dependency working bad and creating bugs.
I will tag you in the Custom Item Definitions plugin Issues or you can download it to check.

Thank you for your patience.

Fruster

Posted

On 10/27/2025 at 12:51 AM, MichuX said:

Hello! The patchAll is not good for plugins that are dependency with patchall. Any mistake around it, It will cause the plugin that is dependency working bad and creating bugs.
I will tag you in the Custom Item Definitions plugin Issues or you can download it to check.

Thank you for your patience.

AirfieldEvent doesn't currently use patchAll. I checked with the Custom Item Definitions plugin and found no issues. Are there any specific situations that could cause errors?

MichuX

Posted

7 hours ago, Fruster said:

AirfieldEvent doesn't currently use patchAll. I checked with the Custom Item Definitions plugin and found no issues. Are there any specific situations that could cause errors?

strange, the moment I update to 1.5.5 the Customizable Weapons from Custom Item Definitions stop working.
I revert to 1.5.4 nothing happens.

I did all the tests and it is always with version 1.5.5 

 

image.png.b02db7121d9527ecb90e3d1c993b34cf.png

MichuX

Posted

maybe this harmony patches are messing with it

image.png.e3c913698c1536d62ecdd3a120c5b95e.png

Fruster

Posted

What actions or settings are you performing that cause this error? Perhaps this will help me

MichuX

Posted

6 hours ago, Fruster said:

What actions or settings are you performing that cause this error? Perhaps this will help me

It is 100% to do with Harmony patched,
@0xF knows the issue and I am waiting that helps a bit here, 

I use default settings, I just installed / update and it causes immediately that error in game and all Items from Custom Item Definitions disappears. 
unloading your plugin version 1.5.5 and reload again Custom Item Definitions (with CustomizableWeapons plugin on it) works again.

on CustomizableWeapon you create an weapon coming from Custom Item Definitions, when Airfield 1.5.5 starts and updates the harmonies in console, the weapons disappears creating the red error in game.

MichuX

Posted

Did some tests on your .cs -- Sorry for that

removed the autopatch and it did not work, It is something you did from 1.5.4 to 1.5.5. I did not figure what was it

MichuX

Posted

ok I FOUND IT!

It is the "[autopatch]" harmony you did.

I implemented the old harmony from 1.5.4 to 1.5.5 and works perfectly.

The new Harmony that you implemented is something wrong

MichuX

Posted

I think I solved it.

you forgot to add this on your .cs after the harmony:

        private const string PluginID = "AirfieldEvent";
        private Harmony harmonyInstance;

 

Fruster

Posted

You added these 2 lines but still use autopatch?

MichuX

Posted

1 hour ago, Fruster said:

You added these 2 lines but still use autopatch?

Yes, what I did was just adding those 2 lines at the end of all autopatch

Fruster

Posted

Ok, if it worked, I'll add it in the next update

MichuX

Posted

yeah I used those lines on 1.5.5 and still working good until now. It privates the harmonies to AirfieldEvent, I don't think you should remove them.

2m

Downloads

Total number of downloads.

9.6k

Customers

Total customers served.

139.8k

Files Sold

Total number of files sold.

3m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.