artemis-nerds / protocol-docs

Unofficial documentation for the Artemis network and file protocols, written by the Artemis community
https://artemis-nerds.github.io/protocol-docs/
MIT License
8 stars 5 forks source link

0xf754c8fe:0x05 PlayerShipDamagePacket refinements #104

Closed NoseyNick closed 6 years ago

NoseyNick commented 6 years ago

Moving from #79 :

0xf754c8fe:0x05 PlayerShipDamagePacket Payload: Subtype (int) Always 0x05. Ship index (int) The index of the damaged ship; valid values are 0 through 7 inclusive. Unknown (float) - This is the DURATION of the shake, in seconds, isn't it? Similar to #103 , values of 3.0 are really common, with other values in the order of 1.5, 2.0, 1.85 also seen in the wild.

Unknown (int) - Described in the docs and even "Values of 0, 103, 108, and 114 observed" but NEVER seen in my archive of >750 games, with >72,000 packets of type 0xf754c8fe:0x05, various versions (2.2.0 through 2.6.204). Can someone confirm that this exists? In what version(s) of Artemis? Are you sure it's not a misreading of the above float?

NoseyNick commented 6 years ago

To clarify, this packet ONLY makes the client screen shake (or show other damage depending on "Option Screen" "Damage Vis: Type 1/2/3") for the duration specified. I call it DamageShake as a result

Now seen 80114 times, still never seen the "Unknown (int) Described in the docs", versions 2.2.0, 2.3.0, 2.5.1, 2.6.0, 2.6.204, 2.6.3, all have Ship index (int) and Duration (float).