
You are viewing a potentially older version of this package. View Latest Version
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.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:BOSSlines after every boss fight with each player's share in percent.MOBlines for bigger fights.DEALTlines 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