ChrisNZL / Tallowmere2

Changelog, issue tracker, and development knowledge for Tallowmere 2.
https://tallowmere2.com
13 stars 0 forks source link

Online Co-op: Client-side number oddities #1133

Closed ChrisNZL closed 1 year ago

ChrisNZL commented 1 year ago

Steam thread: https://steamcommunity.com/app/655740/discussions/0/3493131640459500668/

0.3.7a

To investigate:

Probably a client-side issue with how enemy's current health is calculated (while waiting for response from server) regarding recent number refactor from 0.3.7.

image

ChrisNZL commented 1 year ago

Investigating this – Not really related to Elites; but able to see it more clearly since the healthbar goes out of whack.

With various testing of receiving damage and dying, there are some weird number-jumping / out-of-sync health transactions happening at times. Likely a regression started from 0.3.7 with the new integer-checking systems.

Likely an issue with the OnlineHealthSyncer class, and calling CreatureStruct.SyncHealth.

ChrisNZL commented 1 year ago

Issue identified in 0.3.7a:

ChrisNZL commented 1 year ago

Fixed in 0.3.8:

Additionally: