You are viewing a potentially older version of this package. View all versions.
ComfyMods-BetterZeeLog-1.18.0 icon

BetterZeeLog

Logging zees the better way.

Date uploaded 4 days ago
Version 1.18.0
Download link ComfyMods-BetterZeeLog-1.18.0.zip
Downloads 554
Dependency string ComfyMods-BetterZeeLog-1.18.0

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2202 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.2202

README

BetterZeeLog

Logging zees the better way.

Features

  • Modifies all ZLog.Log* methods to prefix a timestamp and remove the trailing new-line.
  • Removes stack traces for Info and Warning log types.
  • Removes Failed to send data logging to reduce log spam.
  • Removes Activating default/right-stick element logging to reduce log spam.
  • Removes Players wants to open/but im not the owner logging to reduce log spam.
  • Removes Missing prefab hash: logging to reduce log spam.
  • Removes placed at height, placed at world height and Placed ... logging to reduce log spam.
  • Removes Missing item prefab and Failed to get attach prefab for item logging to reduce log spam.

Configuration

All config-option changes require a full game restart to take effect.

[_Global]

  • isModEnabled
    • Globally enable or disable this mod (restart required).
    • Default: true

[Logging]

  • removeStackTraceForNonErrorLogType
    • Disables the stack trace for 'Info' and 'Warning' log types.
    • Default: true
  • removeFailedToSendDataLogging
    • Removes 'Failed to send data' logging in ZSteamSocket.SendQueuedPackages().
    • Default: true
  • removeContainerRequestOpenLogging
    • Removes (NOPs out) 'Players wants to open/but im not the owner' logging in Container.RPC_RequestOpen().
    • Default: true
  • removePlayerPlacePieceLogging
    • Removes 'placed at height'/'placed at world height' logging in Player.PlacePiece().
    • Default: true
  • removePlayerTryPlacePieceLogging
    • Removes 'Placed' logging in Player.TryPlacePiece().
    • Default: true
  • removeArmorStandSetVisualItemLogging
    • Removes 'Missing item prefab' logging in ArmorStand.SetVisualItem().
    • Default: true
  • removeItemStandSetVisualItemLogging
    • Removes 'Missing item prefab' and 'Failed to get attach prefab for item' logging in ItemStand.SetVisualItem().
    • Default: true
  • removePickableItemSetupItemLogging
    • Removes 'Failed to get attach prefab for item' logging in PickableItem.SetupItem().
    • Default: true

[Quaternion.LookRotation]

  • checkProjectFixedUpdatedZeroVelocity
    • Checks for zero m_vel in Projectile.FixedUpdate().
    • Default: true

Notes

CHANGELOG

Changelog

1.18.0

  • Updated for the v1.0.21 patch.
  • Added new ArmorStand, ItemStand and PickableItem transpiler patches to remove the following log spam:
    • Missing item prefab ...
    • Failed to get attach prefab for item ...
  • Replaced ZLog.Log() prefix-patch for "Console: " with new MonoMod ILHook specifically for dedicated servers.
  • Updated ZLog.Log*() timestamp-transpilers to be more efficient.

1.17.0

  • Updated for the v1.0.20 patch.
  • Added new Player transpiler patches to remove the following log spam:
    • placed at height
    • placed at world height
    • Placed ...

1.16.0

  • Updated for the v1.0.15 patch.
  • Added new ZNetScene.CreateObject() transpiler to remove Missing prefab hash: log spam.

1.15.0

  • Fixed UIGroupHandler.Update() transpiler patch that filters out "Activating ... element" log spam.
  • Migrated to SDK-style project.

1.14.0

  • Added a prefix-patch to skip FejdStartup.UpdateKeyboard() if Console.IsVisible() is true.

1.13.0

  • Fixed for the v0.220.4 patch.
  • Simplified PlatformUserID.Constructor() transpiler patch due to changes in this update.

1.12.0

  • Updated for the v0.220.3 patch.
  • Added a PlatformUserID.Constructor() transpiler patch to filter out all the failed parsing log spam.
  • Copied the Container.RPC_RequestOpen() transpiler patches for RPC_RequestStack() and RPC_RequestTakeAll().

1.11.0

  • Updated for the v0.219.10 PTB patch.
  • Minor optimization to ZLog.Log() patch.

1.10.1

  • Fixed a bug Container.RPC_RequestOpen() transpiler patch.

1.10.0

  • Updated for the v0.218.19 patch.
  • Added a Container.RPC_RequestOpen() transpiler patch to filter out "Player wants to open" log spam.

1.9.0

  • Updated for the v0.218.15 Ashlands patch.
  • Added a new UIGroupHandler.Update() transpiler patch to filter out "Activating ... element" log spam.
  • Rewrote existing ZSteamSocket.SendQueuedPackages() transpiler to use branching instead of overwrites.

1.8.0

  • Added a Projectile.FixedUpdate() transpiler patch to handle zero m_vel passed to Quaternion.LookRotation().
    • This should reduce the amount of "Look rotation viewing vector is zero" Unity log spam.
    • Can be toggled using the checkProjectFixedUpdatedZeroVelocity config option (restart required).

1.7.0

  • Updated for the v0.217.38 patch.
  • Moved changelog into CHANGELOG.md.
  • Bumped up LangVersion to C# 10.

1.6.0

  • Fixed for v0.217.28 PTB patch.
  • Updated project references from unstripped_corlib to valheim_server_Data\Managed.

1.5.0

  • Fixed for the v0.217.22 patch.
  • Changed all ZLog prefix patches to instead be transpiler patches to fix a bug when used with dedicated servers.
  • Added a dumb ZLog.Log prefix patch to catch messages starting with "Console: " to handle an edge-case with dedicated servers calling ZLog.Log() in Terminal.AddString(string).
    • Transpiler patching Terminal.AddString(string) fails for no apparent reason hence this dumb patch.

1.4.2

  • Updated mod icon to a new one created by @jenniely.

1.4.1

  • Fixed the PluginVersion not being referenced in AssemblyInfo.cs.
  • Expanded this README.md.

1.4.0

  • Updated for Valheim v0.212.6 Mistlands PTB.
  • Extracted configuration logic into PluginConfig class.
  • Extracted patch logic into separate patch classes.
  • Added configuration option RemoveFailedToSendDataLogging for the ZSteamSocket transpiler patch.

1.3.0

  • Updated for Valheim v0.209.5.
  • Fixed the ZSteamSocket.SendQueuedPackages transpiler.
  • Added manifest.json, icon.png and README.md.
  • Modified the project file to create a versioned Thunderstore package.