Giter VIP home page Giter VIP logo

animalcages's People

Contributors

burunduk avatar g3rste avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

burunduk

animalcages's Issues

Big cage make exception on mp server

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)

Error using animalcages_v2.0.2

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.

Broken in 1.18.8

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.

Error on join and crash when using the character inventory

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.