Original liquid damage data and remaining timing question
The original 14.9.1 ResourceDatabase contains fourteen type1000031 resources,
identities0..13. Each payload is exactly two little-endian signed integers.
KKR's LiquidDamage reader stores them at object+0x18 and+0x1c; its database
metadata names the fields DAMAGE and SEC, in that order.
| Resource identities | DAMAGE | SEC |
|---|---|---|
| 0, 1, 4, 5, 10, 11 | 0 | 1 |
| 2, 3 | 25 | 1 |
| 6 | 3 | 3 |
| 7 | 4 | 3 |
| 8, 9 | 1 | 10 |
| 12, 13 | 20 | 2 |
The original initializer attempts all fourteen resources. Lookup100e5040 returns the first field for an admitted index, otherwise zero. Existing water geometry normalizes odd collision kinds to the preceding even kind. Keep the distinct authored entries: their existence does not establish that every raw kind reaches this collision path or that the differently valued6/7 entries are interchangeable.
Native prediction
The complete original SimpleChar update1006ea50 subtracts the looked-up damage
under GameTime flag+0x1d, the shared two-second prediction path described in
combat regeneration. It requires positive vehicle
liquid height at+0x110, vehicle liquid kind at+0x114 equal to actor stat268,
a non-null damage lookup, and positive actor health mirror+0x1b0. The shown
subtraction reads stat27 and writes stat27. A local actor then reports combat
text kind43, formatted as toxic-substance damage by1001d0b0. The inspected
prediction block does not read the resource's SEC field.
This explains a source for the known native one-point toxic-water message,
but leaves a material timing question. The resource says DAMAGE=1, SEC=10
for kind8/9 while the native prediction block uses the shared two-second path.
Recover original authoritative timing and the lifecycle of stat268 before
choosing an interval or treating client prediction as an original-server rule.
Entry/exit, overlapping volumes, regeneration, death, persistence and observer
delivery remain implementation work in TODO. The current server still does not
apply environmental damage.
Evidence and scope
The inspected original anarchy-vanilla-14.9.1/kkr.dll has SHA256
a37bc1c15053fdcc5572772309f7074c4f83baffe2faa164df40b059b7c480c0.
Static original-binary evidence, full function bodies and payload hashes are
retained under local/environmental-damage/. The resource extraction reparses
the original ResourceDatabase index and asserts every payload's eight-byte
length; it does not execute the client or establish server timing.
| Original entry | Evidence |
|---|---|
| 100ef9e0: resource identities, allocation and initialization | ev_e7aef0e46bd749e8baf507c183df6e05b4513eddc107d2b8b238bcefd625b954 |
| 100e4f70: type1000031 binary-stream lookup | ev_1275f9b9fe887b991a6a6dfb6de28d2e997bd99c8fd16ab969789ca52f344dc4 |
| 100e4fd0: payload field order | ev_51a289cc066a887f271e6e3c4727a85c55f361b4ce7836487c15fc74d14bc19f |
| 100e4d80: DAMAGE/SEC field metadata | ev_c9f8ffe252ec3fc3256e8d1f6552829fc45982dc0fba73c9324124db756a074d |
| 102e2360: exact field-name bytes | ev_e2c404da25177de9b3494bebadcbff81152347c2462f8ff550741023cb8a8dc2 |
| 100e5040: damage lookup and bounds | ev_0c16e962fb0ae37e49b8d3d75aaf567c29dd34853c2de093274df26f2f86a09b |
| 1006ea50: liquid prediction conditions/subtraction | ev_d527af19442c7ec7970d7058e7d6ef899933107f3e18bd5a18bb068767271683 |
| 1001d0b0: toxic feedback kind43 | ev_87bcc364c70cc7de2195bfa7a3eab2be0e87f0c503f4c57f8ae6d875a108e11d |