g3rste / animalcages Goto Github PK
View Code? Open in Web Editor NEWA mod for the game Vintage Story which adds cages to capture and transport animals.
License: MIT License
A mod for the game Vintage Story which adds cages to capture and transport animals.
License: MIT License
21.11.2021 22:03:59 [Error] System.IO.FileNotFoundException: Не удалось загрузить файл или сборку "VSEssentials, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" либо одну из их зависимостей. Не удается найти указанный файл.
Имя файла: 'VSEssentials, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
в Animalcages.BlockMediumCage.isCatchable(Entity attackedEntity)
в Animalcages.BlockCage.OnAttackingWith(IWorldAccessor world, Entity byEntity, Entity attackedEntity, ItemSlot itemslot) в c:\GSM\servers\8\serverfiles\data\Cache\unpack\animalcages_v2.0.2 (1).zip_ff3664438b4f\src\blockcage.cs:строка 38
в Vintagestory.API.Common.EntityAgent.OnInteract(EntityAgent byEntity, ItemSlot slot, Vec3d hitPosition, EnumInteractMode mode)
в Vintagestory.Server.ServerSystemEntitySimulation.HandleEntityInteraction(_vkCtd3V2CRuLlQ7XyXjgNwLPQVG packet, ConnectedClient client)
в Vintagestory.Server.ServerMain.ProcessNetMessage(NetIncomingMessage msg, NetServer mainSocket)
Hi when i try to catch a animal with a cage medium cage i think it is. i get thrown out of the server.
My mod list
https://cdn.discordapp.com/attachments/886608127926104106/886608138604781628/unknown.png
The error message i get when I'm thrown out
https://cdn.discordapp.com/attachments/886608127926104106/886609312959565854/unknown.png
Here is the server errors.
https://cdn.discordapp.com/attachments/886608127926104106/886609816045383740/unknown.png
I tried the medium cage on a ram.
and i tried to just left click it on the ram. and that error. and the same if i hurt it first with a sword.
Got another person to recreate it and he are having the same issues.
Animal cages placed in world now show up as unknown item blocks with missing/? texture.
Looks enabled in the mod list, logs shown unknown item ids for animal cage items.
Recipes no longer appear in handbook.
The mod causes this error when a player joins:
21.1.2024 22:40:03 [Server Error] Mod exception: OnPlayerJoin 21.1.2024 22:40:03 [Server Error] Exception: Type is not expected, and no contract can be inferred: Animalcages.CageConfig at ProtoBuf.Meta.TypeModel.ThrowUnexpectedType(Type type) in C:\Code\pb-net_24\src\protobuf-net\Meta\TypeModel.cs:line 1472 at ProtoBuf.Meta.TypeModel.SerializeCore(ProtoWriter writer, Object value) in C:\Code\pb-net_24\src\protobuf-net\Meta\TypeModel.cs:line 196 at ProtoBuf.Meta.TypeModel.Serialize(Stream dest, Object value, SerializationContext context) in C:\Code\pb-net_24\src\protobuf-net\Meta\TypeModel.cs:line 224 at Vintagestory.API.Util.SerializerUtil.Serialize[T](T data) in VintagestoryApi\Util\SerializerUtil.cs:line 21 at Vintagestory.Server.NetworkChannel.GenPacket[T](T message) in VintagestoryLib\Server\API\NetworkChannel.cs:line 89 at Vintagestory.Server.NetworkChannel.BroadcastPacket[T](T message, IServerPlayer[] exceptPlayers) in VintagestoryLib\Server\API\NetworkChannel.cs:line 83 at Animalcages.Animalcages.<>c__DisplayClass2_0.<StartServerSide>b__0(IServerPlayer byPlayer) in E:\Workspace\vintage_story_mods\animalcages\src\AnimalCages.cs:line 66 at Vintagestory.Server.ServerEventManager.TriggerPlayerJoin(IServerPlayer player) in VintagestoryLib\Server\ServerEventManager.cs:line 659
Also when pressing 'C' to access the player inventory it causes a crash with the following log:
Running on 64 bit Windows 10.0.22631.0 with 16191 MB RAM Game Version: v1.19.1 (Stable) 21.01.2024 22:43:40: Critical error occurred Loaded Mods: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected] System.NullReferenceException: Object reference not set to an instance of an object. at Vintagestory.GameContent.ModSystemRiftWeather.ModSystemDrifterWeather_OnEnvText(StringBuilder sb) in VSSurvivalMod\Systems\Rifts\RiftWeather.cs:line 85 at Vintagestory.GameContent.CharacterExtraDialogs.getEnvText() in VSEssentials\Systems\CharacterExtraDialogs.cs:line 161 at Vintagestory.GameContent.CharacterExtraDialogs.ComposeEnvGui() in VSEssentials\Systems\CharacterExtraDialogs.cs:line 86 at Vintagestory.GameContent.CharacterExtraDialogs.Dlg_ComposeExtraGuis() in VSEssentials\Systems\CharacterExtraDialogs.cs:line 56 at Vintagestory.Client.NoObf.GuiDialogCharacter.ComposeGuis() in VintagestoryLib\Client\Systems\Gui\Dialogs\GuiDialogCharacter.cs:line 137 at Vintagestory.Client.NoObf.GuiDialogCharacter.OnGuiOpened() in VintagestoryLib\Client\Systems\Gui\Dialogs\GuiDialogCharacter.cs:line 226 at Vintagestory.API.Client.GuiDialog.TryOpen(Boolean withFocus) in VintagestoryApi\Client\UI\Dialog\GuiDialog.cs:line 288 at Vintagestory.API.Client.GuiDialog.TryOpen() in VintagestoryApi\Client\UI\Dialog\GuiDialog.cs:line 268 at Vintagestory.API.Client.GuiDialog.Toggle() in VintagestoryApi\Client\UI\Dialog\GuiDialog.cs:line 338 at Vintagestory.API.Client.GuiDialog.OnKeyCombinationToggle(KeyCombination viaKeyComb) in VintagestoryApi\Client\UI\Dialog\GuiDialog.cs:line 405 at Vintagestory.Client.HotkeyManager.TriggerHotKey(KeyEvent keyEventargs, IWorldAccessor world, IPlayer player, Boolean allowCharacterControls, Boolean isGlobal, Boolean fallBack) in VintagestoryLib\Client\HotkeyManager.cs:line 365 at Vintagestory.Client.HotkeyManager.TriggerHotKey(KeyEvent keyEventargs, IWorldAccessor world, IPlayer player, Boolean allowCharacterControls) in VintagestoryLib\Client\HotkeyManager.cs:line 338 at Vintagestory.Client.NoObf.ClientMain.OnKeyDown(KeyEvent args) in VintagestoryLib\Client\ClientMain.cs:line 1747 at Vintagestory.Client.GuiScreenRunningGame.OnKeyDown(KeyEvent args) in VintagestoryLib\Client\MainMenu\Screens\GuiScreenRunningGame.cs:line 310 at Vintagestory.Client.ScreenManager.OnKeyDown(KeyEvent e) in VintagestoryLib\Client\ScreenManager.cs:line 848 at Vintagestory.Client.NoObf.ClientPlatformWindows.game_KeyDown(KeyboardKeyEventArgs e) in VintagestoryLib\Client\ClientPlatform\Input.cs:line 247 at OpenTK.Windowing.Desktop.NativeWindow.OnKeyDown(KeyboardKeyEventArgs e) at OpenTK.Windowing.Desktop.NativeWindow.KeyCallback(Window* window, Keys key, Int32 scancode, InputAction action, KeyModifiers mods) --- End of stack trace from previous location --- at OpenTK.Windowing.Desktop.NativeWindow.RethrowCallbackExceptionsIfNeeded() at OpenTK.Windowing.Desktop.NativeWindow.ProcessWindowEvents(Boolean waitForEvents) at OpenTK.Windowing.Desktop.GameWindow.Run() at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs) in VintagestoryLib\Client\ClientProgram.cs:line 318 at Vintagestory.Client.ClientProgram.<>c__DisplayClass9_0.<.ctor>b__1() in VintagestoryLib\Client\ClientProgram.cs:line 128 at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 93
When removing animalcages none of the above issues occur.
Translated for myself, shared with everyone
animalcages_ru_lang.zip
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.