quisquous / cactbot

FFXIV TypeScript Raiding Overlay
Apache License 2.0
796 stars 383 forks source link

make/test timeline has weird offset with log file #6048

Open quisquous opened 7 months ago

quisquous commented 7 months ago
$ node --loader=ts-node/esm util/logtools/make_timeline.ts -f docs/logs/TheAbyssalFractureExtreme.log -lf 1
(node:24172) ExperimentalWarning: Custom ESM Loaders is an experimental feature. This
 feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
### THE ABYSSAL FRACTURE (EXTREME)
# ZoneId: 491

hideall "--Reset--"
hideall "--sync--"

0.0 "--sync--" InCombat { inGameCombat: "1" } window 0,1
72.8 "--sync--" Ability { id: "8C49", source: "Zeromus" }
75.8 "--sync--" Ability { id: "8C49", source: "Zeromus" }
83.9 "Abyssal Nox" Ability { id: "8B3F", source: "Zeromus" }
92.9 "--sync--" Ability { id: "8B41", source: "Zeromus" }
92.9 "--sync--" #Ability { id: "8B40", source: "Zeromus" }
92.9 "--sync--" #Ability { id: "8B40", source: "Zeromus" }
92.9 "--sync--" Ability { id: "8D2B", source: "Zeromus" }
97.9 "--sync--" Ability { id: "8B41", source: "Zeromus" }
97.9 "--sync--" Ability { id: "8B40", source: "Zeromus" }
99.9 "Abyssal Echoes" Ability { id: "8B42", source: "Zeromus" }
# etc etc etc

TODO: for some reason, make_timeline.ts is confused here and thinks the first real ability (Abyssal Nox 8B3F) occurs at time=83.9. It's clear from the log that it should be t=11.1.

Similarly test timeline doesn't work without a large sync on in combat.

This could be identical to #5716

quisquous commented 7 months ago

See log added in #6051

xiashtra commented 7 months ago

This looks similar to #5635