GsValheimStatsClientFix

v1.0.0·Updated 2026-09-12

Unofficial fix for GsValheimStatsClient 0.2.12 on Valheim 1.0. Restores kills, deaths, creature kills, crafts, materials and per-life stats, which report zero because Valheim moved the player profile

About this mod Author’s original text

GsValheimStatsClientFix

An unofficial compatibility patch for GsValheimStatsClient 0.2.12 on Valheim 1.0.

Verified against Valheim 1.0.7 and 1.0.12, whose player-profile layouts are identical.

Not affiliated with, endorsed by, or supported by cproudlock, the author of GsValheimStatsClient. Please do not report problems with this patch to them.

This mod does nothing on its own

It has no features. It is a patch for another mod, and it requires

GsValheimStatsClient 0.2.12 to be installed. Without that client it loads,

logs one warning, and stops. Installing it by itself accomplishes nothing.

What is broken, and what this fixes

GsValheimStatsClient reads Valheim's player profile by reflection, using field

names from before Valheim 1.0. Valheim changed that layout: m_playerStats

became an array of per-difficulty records, and the enemy-kill, craft and pickup

dictionaries moved onto the record. The client's lookups now silently return

nothing, with no error, so these fields are always 0 or empty:

kills · bossKills · deaths · stats · creatureKills · crafts · materials · pickups · currentLifeKills · currentLifeSec

This patch replaces the client's two profile-reading methods with versions that

read the 1.0.7 layout. It changes nothing else.

Weapon damage, boss damage, DPS, hardest hit and skills were never affected by

this bug and are untouched.

What to expect after installing

Both of these are one-off, expected, and appear on whatever dashboard you post to.

  • Lifetime totals appear in one jump. The stats above were being reported as

zero, not withheld — so on the first snapshot after installing, your true

lifetime totals arrive all at once. On a dashboard that charts values over time

this looks like a single enormous spike. It is not a data error, and it settles

after that first snapshot.

  • The current-life baseline resets once, for some characters. While the

reads were broken, the client recorded "this life started at 0 kills and 0

seconds" for every new life. Left alone, your next death would be recorded as a

single life spanning your entire history — permanently, because the client only

ever raises your longest-life and best-kills-before-death records.

So on the first login after installing, a character whose saved baseline is zero

and that has died at least once has its current life restarted from that

moment. You will see this in your log:

life baseline reset: baseline was zero (...) on a character that has died (Deaths=N),...

A character that has never died is left alone — its zero baseline is the

genuine start of its one continuous life, and resetting it would throw away real

progress:

life baseline left alone:... this character has never died (Deaths=0)...

The cost of the reset is the untracked portion of one life in progress. Your

lifetime totals, kills, deaths and per-weapon stats are not affected.

Version guard

This patch rewrites two private methods and reads three private fields inside

GsValheimStatsClient. None of that is a stable contract, so it refuses to guess.

  • Client missing, or any version other than exactly 0.2.12 — logs a warning,

patches nothing, stands down.

  • Valheim's profile layout not as expected — checked at startup by name; on

any mismatch it names each missing member, patches nothing, and stands down.

  • Any patch fails to apply — every patch is rolled back, so the client is

never left half-patched.

  • A read fails while playing — that read falls back to the client's original

code and logs once. Failure degrades to the client's current behaviour; it

never produces partial data that looks correct.

If a newer GsValheimStatsClient fixes this upstream, this patch will stand down

by itself, because the version will no longer be 0.2.12. Uninstall it at that

point.

Verifying it worked

Look in BepInEx\LogOutput.log for:

GsValheimStatsClientFix 1.0.0 patched GsValheimStatsClient 0.2.12 for Valheim 1.0.12.

first successful profile read: N stats, N creatures, N crafts, N pickups, Deaths

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file. In multiplayer, the host and every client need the same mods installed.

Dependencies

Install these first, or the mod will not work:

denikson-BepInExPack_ValheimProudlock_Technology-GsValheimStatsClient

File & checksum

Filename
GsValheimStatsClientFix-1.0.0.zip
File size
192.4 KiB