Mafi.Core.Mods.DataRegistrationException: MissingMethodException thrown on registration of data 'CattleByproductsData'. ---> System.MissingMethodException: Method not found: void .Gfx..ctor(string,Mafi.Option1<string>,Mafi.Core.Products.CountableProductStackingMode,bool,bool) at Mafi.Core.Mods.ProtoRegistrator.RegisterData (Mafi.Core.Mods.IModData dataClass) [0x00046] in <d3d1130bbdd841a8824adc4442a66a18>:0 --- End of inner exception stack trace --- at Mafi.Core.Mods.ProtoRegistrator.RegisterData (Mafi.Core.Mods.IModData dataClass) [0x00079] in <d3d1130bbdd841a8824adc4442a66a18>:0 at Mafi.Core.Mods.ProtoRegistrator.RegisterData[TData] (System.Action1[T] config) [0x0002e] in <d3d1130bbdd841a8824adc4442a66a18>:0
at LivestockAndAgricultureMOD.LivestockAndAgricultureMOD.RegisterPrototypes (Mafi.Core.Mods.ProtoRegistrator registrator) [0x00026] in <d60de61bb1a747dcb57c90cbb186e880>:0
at Mafi.Core.Game.GameBuilder.RegisterModsPrototypes (Mafi.Collections.ImmutableCollections.ImmutableArray1[T] mods, Mafi.Collections.ImmutableCollections.ImmutableArray1[T] modsData, Mafi.Core.Mods.ProtoRegistrator protoRegistrator, System.Boolean throwOnError) [0x00037] in <d3d1130bbdd841a8824adc4442a66a18>:0
failed to load after 0.8.6 update
Quite a few will not load now with the new update of COI. Hoping it is an easy fix.
Oh no! In version 0.8.6, the constructor signature of CountableProductProto.Gfx has changed:
Old signature: Gfx(string, Option<string>, CountableProductStackingMode, bool, bool) — 5 parameters
New signature: Gfx(string prefabPath, Option<string> customIconPath, CountableProductStackingMode packingMode, bool allowPackingNoise, ProductMeshFamilyProto.ID? meshFamily, Vector3Float? size, float shadowMinPpm) — the 5th parameter has been changed from bool to ProductMeshFamilyProto.ID?
In addition, the parameter order of the main constructor of CountableProductProto has been adjusted (graphics has moved from the 5th position to the 3rd position).
我需要重构整个项目做适配,太过分了,官方从来没给我们api和完整开发手册,实在被动啊.不过这一次大家可以用游戏更新mod是好消息.I need to refactor the entire project for adaptation, which is really unreasonable. The official side has never provided us with APIs and complete development manuals, putting us in a completely passive position. However, it's great news that everyone can use mods after the game update this time.
我认为游戏中应该能够直接沟通论坛,直接用户在游戏中就发帖子会更容易实时互动,截图直接发论坛,你们认为是不是好主意.
I believe players should be able to access the forum directly within the game. Allowing users to create forum posts straight from the game would make real-time interaction much simpler, and screenshots could be posted to the forum directly. Do you think this is a good idea?
所有朋友请少安毋躁,经历up2,up3,up4时代后,我们都知道官方每次都会篡改参数和函数,他们随意的添加一点点变化,比如加个参数,调换参数位置,所有mod都会重构.
这已经习以为常!我懒得吐槽了哈哈.
所有mod都会有这个问题,大部分都要重构来适应新版本,嗯,我已经开始重新编译了.针对现在的接口和gfx来调整.
Everyone, please stay calm. After going through the eras of up2, up3 and up4, we all know the officials alter parameters and functions every single time. They make random minor tweaks, such as adding a new parameter or rearranging parameter positions, which forces all mods to be rebuilt.
This has become commonplace! I don't even feel like complaining, haha.
Every mod will face this issue, and most of them need to be reconstructed to fit the new version. Alright, I've already started recompiling and making adjustments based on the current interfaces and graphics.😂
请下载V7.0版本,已经做了兼容处理.
Please download Version V7.0, compatibility adjustments have been completed.