You are viewing a potentially older version of this package. View all versions.
Bagr-DamageMeter-1.0.0 icon

DamageMeter

Measures the real damage each player deals to creatures and bosses. Same DLL on server and clients; the server writes a per-player log with boss kill percentages.

By Bagr
Date uploaded 4 days ago
Version 1.0.0
Download link Bagr-DamageMeter-1.0.0.zip
Downloads 31
Dependency string Bagr-DamageMeter-1.0.0

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2350 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2350

README

DamageMeter

Measures the real damage each player deals to creatures and bosses in multiplayer.

How it works

  • The same DLL goes on the server and on every client.
  • A hit is applied on the client that owns the creature, after armor and resistances. That client reports "player X removed N HP from creature Y" to the server over the game's own routed RPC.
  • The server writes BepInEx/dmgmeter.log:
    • BOSS lines after every boss fight with each player's share in percent.
    • MOB lines for bigger fights.
    • DEALT lines every 5 minutes with HP dealt per player.
  • Players without the mod are not reporting. Only hits on creatures their own game owns are missing.

Notes

  • No configuration needed. Config options: ReportSeconds (client), LogFile (server).
  • Uses Harmony to patch Character.ApplyDamage. Written for Valheim 1.0.16.

Changelog

  • 1.0.0 first release