fgsfdsfgs / perfect_dark

work in progress port of n64decomp/perfect_dark to modern platforms
MIT License
1.2k stars 74 forks source link

[Bug] Laptop Sentry Gun unable to clear firing range #466

Open Velkanis opened 3 months ago

Velkanis commented 3 months ago

Issue: Laptop Gun alternate fire mode Sentry Gun is unable to complete the firing range Silver challenge as it stops firing the last target

Builds tested: automatic build de38b8ff, automatic build b523b1e (ROM pd.ntsc-final.z64 USA v1.1)

notes: behavior is replicable in any mode with a Laptop Gun available with a stock pd.ini file (my pd ini file only modifies certain inputs, enables high framerate and locks it to 144)

Explanation: Silver challenge for the Laptop Gun in the firing range requires to deploy the Sentry Gun past the targets in order to clear, once deployed it successfully will aim and destroy up to 2 targets before stopping and leaving the timer to fail the challenge. Upon further investigation in combat simulator deploying the Sentry Gun takes 200 from the ammo pool as intended but either its consumption rate seems to be excessive leading to a much shorter run time for the Sentry Gun or its AI is unable to aim properly wasting much more ammo than it was originally intended to, leading to issues like the firing range unable to be completed. Further testing with no ammo within inventory picking the Sentry Gun again confirms its ammo reserve to be depleted and testing in an emulator proves that its run time is longer and successfully clears the silver challenge

fgsfdsfgs commented 3 months ago

Known bug, limit framerate to 60. See also #214.