Combat starting stats in 14.9.1
These values come from the selected original 14.9.1 client and its resource database. They establish client calculations and defaults, not historical server NPC stats or a complete character creation implementation.
Original addresses below use kkr.dll's image base 0x10000000; generated
symbols use the relocated base 0x36000000.
| Finding | First-party evidence |
|---|---|
| Martial Arts (100) defaults to base 5 | kkr.dll!FUN_10072760, store at 0x1007276d; generated sub_36072760 in client/game/kkr.dll/lifted-0034.c writes 5 to default-stat array offset 100 * 4. |
| Physical Initiative (120) defaults to base 5 | Same function, store at 0x1007283c, array offset 120 * 4. |
| Body Development (152) defaults to base 5 | Same function, store at 0x1007295c, array offset 152 * 4. |
| Agg/Def (51) defaults to 0 | Same function, store at 0x1007308d, array offset 51 * 4. This is the center of the signed -100 to 100 range. |
| Effective skill includes ability trickle | FUN_10075c60 adds the base skill to the integer conversion of FUN_10073fa0(skill, 1). Generated symbols are in lifted-0034.c. |
| Trickle is weighted abilities divided by 4 | FUN_10073fa0 multiplies the sum of ability values times integer percentages by 0.01 and 0.25. FUN_100ec8e0 supplies the weights. |
The six ability weights are ordered Strength, Agility, Stamina, Intelligence, Sense, Psychic. Resource type 1000204 contains six little-endian signed 32-bit integers per skill:
| Resource identity | Weights |
|---|---|
| 100, Martial Arts | 20, 50, 0, 0, 0, 30 |
| 120, Physical Initiative | 0, 10, 0, 10, 60, 20 |
| 152, Body Development | 0, 0, 100, 0, 0, 0 |
FUN_100ecfd0 requests resource type 0x000f430c (1000204), and
FUN_100ed060 reads the six integers. These generated functions are in
client/game/kkr.dll/lifted-0068.c. The records can be read with
tools/data/ao_database.py from
anarchy-vanilla-14.9.1/cd_image/data/db/ResourceDatabase.dat and its index.
For the local character fixture's six abilities of 10, each of these skills receives 2 points of trickle after integer conversion: base 5 plus trickle 2 gives 7 Martial Arts, 7 Physical Initiative, and 7 Body Development. Abilities of 10 are a local fixture choice; this does not establish the historical starting abilities of a newly created character.
New characters use the breed ability baselines from resource 1000027, rather than the controlled all-10 fixture used in the calculations below. A fresh Solitus has six abilities of 6, effective Body Development 6 and maximum health 34. See character creation for the other breeds, starting-skill assumptions and verification.
The percentage multiplication uses float constant 0x10170894, value
0.009999999776482582, followed by exactly 0.25 at 0x10170e78. Thus the exact
expression is trunc(weighted_sum * float32(.01) * .25), not integer division
by 400 at boundary values. An edited-stat browser probe with Stamina 60 and
base Body Development 200 gives effective Body Development 214, not 215;
the level 1 Solitus maximum is 658 HP. Constant bytes are retained in
local/reports/combat-trickle-float-constants.json. The
editable stats implementation preserves that arithmetic.
Health foundation
kkr.dll!FUN_10075910 calculates health from breed data, profession/title data,
level, and effective Body Development. For a level 1 Solitus Soldier at title
level 1:
maximum health = 10 + level * (6 + 0) + Body Development * 3
= 10 + 1 * 6 + 7 * 3
= 37
Resource type 1000203, identity 1 (Solitus), contains the six
little-endian integers 10, 6, 3, 10, 4, 3. FUN_100e4840 maps these to stats
600 through 605, respectively. The first three are base health, health per
level, and health per Body Development. Generated source is
client/game/kkr.dll/lifted-0065.c.
Resource type 1000200, identity 1 (Soldier), begins with the first title
row 1, 0, 0, 4000. The additional health contribution for this row is 0.
FUN_100e60f0 reads these rows and FUN_100e6050 selects the title row;
generated source is client/game/kkr.dll/lifted-0066.c.
The value 37 is conditional on the local fixture above. Runtime browser inspection confirmed attack rating 7 and maximum health 37. The server now uses this formula for players and sends matching profession (60), title (37), side (33), and fatness (47) stats. This fixes the observed 100/37 HP display. Current health is clamped when profile edits lower the maximum.
The first three coefficients for breed resources 1 through 5 are:
| Breed | Base | Per level | Per Body Development |
|---|---|---|---|
| Solitus (1) | 10 | 6 | 3 |
| Opifex (2) | 15 | 5 | 3 |
| Nanomage (3) | 10 | 5 | 2 |
| Atrox (4) | 25 | 6 | 4 |
| Resource 5 | 15 | 8 | 6 |
Missing breed records use 2 for each coefficient in FUN_100e4780; this is
a client fallback, not a creature combat profile. Soldier resource 1000200/1
has six title rows: starting levels 1, 15, 50, 100, 150 and 190, with health
bonuses per level 0, 1, 2, 3, 4 and 5 respectively. The client reads stored
TitleLevel 37. The server supplies the title corresponding to level, so the
same health formula applies on both ends. Levels above 200 remain a local
extension. This calculation does not establish historical starting abilities,
creature health, regeneration, death recovery, or progression.
Profession resource coefficients
The server loads the original twelve professions' health/nano coefficients
from profession_resources.yaml.
python3 tools/data/extract_profession_resources.py regenerates this file from
resource type 1000200 and retains exact payloads and hashes in
local/reports/profession-resources-14.9.1.json.
10075910 selects the row with real Profession 60 and stored TitleLevel 37,
through 100e6050. VisualProfession 368 does not select it. Each resource row
contains four signed DWORDs: starting level, nano coefficient, health
coefficient and a fourth field unused by this resource calculation. The
coefficient multiplies the full current level, without accumulation across
earlier titles:
maximum health = breed600 + level * (breed601 + title.health) + effectiveBD * breed602
maximum nano = breed603 + level * (breed604 + title.nano) + effectiveNP * breed605
Doctor 10 and Meta-Physicist 12 have these identical coefficients:
| Title starting level | Health per level | Nano per level |
|---|---|---|
| 1 | 0 | 0 |
| 15 | 0 | 1 |
| 50 | 0 | 2 |
| 100 | 0 | 3 |
| 150 | 0 | 4 |
| 190 | 0 | 6 |
For Solitus with effective Body Development and Nano Pool fixed at 7, level 15 Doctor/MP maxima are 121 health and 106 nano; level 190 gives 1171/1931. Soldier gives 136/91 and 2121/791 respectively. These are coefficient examples, without automatic leveling or historical ability progression. The native selector accepts title levels 1 through 6; the server's existing above-200 extension does not establish Shadowlevel rules.
local/profession-resource-research/native-source-audit.json retains the
original DLL reader, selector and arithmetic, exact profession/breed resources
and original bytes. Resource 1000201 is absent from the selected index.
NPC health, breed coefficients and ability-trickle arithmetic are unchanged.
Profile edits clamp current resources to the newly selected maxima; increases
in the maxima do not refill current resources. Tests check all twelve
professions, every Doctor title boundary, packet values and profile reloads.
Two WASM clients checked level 190 Doctor and Soldier maxima, then used the existing profile editor to change Doctor to Soldier, Soldier to Doctor and Doctor to MP. Native current nano clamped from 1931 to 791 and current health from 2121 to 1171 as the applicable maxima fell. MP level 14/15 showed maxima 115/87 and 121/106; returning to 15 retained current values 115/87. The Skills window displayed the six abilities at 10 and effective resource skills at 7. Both clients reloaded after a full server restart and recovered their selected professions, titles and maxima. Remote HP was also verified; this does not claim observer profession or nano-stat publication through SCFU.
The run passed 101 checks in
local/profession-resource-smoke/verification.json, with UI screenshots,
server profiles and read-only native probes. The fixture fills nano on cold
start to isolate maxima/clamps; restart does not prove current-resource
persistence or a canonical starting-nano rule. No client changes were needed.
Both clients and the temporary server were closed before the full test runs.
The focused resource tests passed in 9.642 seconds, and the full
go test ./server/... run passed (server 92.478 seconds). A separate temporary
extraction reproduced both coefficients and source report byte-for-byte.
Five repeated race runs covering profession resources, profile-edit clamps
and breed nano maxima passed in 94.395 seconds.
Logs and reproduction hashes are in local/profession-resource-research/.
Agg/Def slider request
n3EngineClientAnarchy_t::N3Msg_SetAggDef, original 0x1002b5b0, creates
SetAggDefIIR_t through FUN_10080f10. Its class-name XOR key is
0x76793f0d. The same four-byte string-XOR calculation reproduces the known
AttackIIR_t and StopFightIIR_t keys.
The subclass payload is one signed 32-bit integer, in the protocol's big-endian
order, following the common N3 prefix. FUN_10081050 reads that integer
and validates -100 through 100. FUN_10080ff0 applies it to stat 51.
These functions are in client/game/kkr.dll/lifted-0038.c; the setter is in
lifted-0016.c.
This slider request is distinct from the generic SetStat message
0x6e5f566e. The opcode and layout above are established by static client
evidence. Chromium/WASM additionally emitted this exact opcode with value 0
on login; the isolated browser packet log provides the separate runtime check.