atmos
atmossig.bsky.social
atmos
@atmossig.bsky.social
Now testing again once we recompile it...

Yep, it's fixed! We can pour the gas can at 60FPS perfectly fine, and when we go-to 240FPS (way higher than 60FPS) we pour the same amount of fuel as before!
July 5, 2025 at 5:13 AM
== CORRECTED CODE ==

To solve this, the logic had to be replaced entirely lmao, it has to handle fractional depletion values that occur at high frame rates. The final solution was to use a probably-based approach to ensure the avg. depletion rate is always consistent.
July 5, 2025 at 5:13 AM
So for example, draining the can in 10 seconds regardless of FPS.

== ORIGINAL FLAWED CODE ==

Formatted to fit, not what it looks like in og.

Whoever was developing this correctly identified the need for the baseline fBaseTimeStepSeconds and to use the actual time per frame fwTimer::GetTimeStep()
July 5, 2025 at 5:13 AM
The code for the weapons is stored in "game\Weapons\Weapon.cpp" along with tons of other code for things like debugging, accuracy, bullet, explosion, etc.

== ABOUT THE CODE ==
July 5, 2025 at 5:13 AM
In Grand Theft Auto V, when your fps is anywhere above 60FPS the gas can will pour faster than if you were on 60FPS

Video of issue attached, 1st is at 60, 2nd is at 240 fps (my monitor refresh rate)
July 5, 2025 at 5:13 AM
Pictures as of recent.
November 18, 2024 at 10:23 PM
random
November 11, 2024 at 11:40 PM
Photos from 2022 at the beach I edited in photoshop today

Camera | Canon EOS 30D
November 10, 2024 at 5:53 PM
more :)
October 31, 2024 at 3:11 PM
4 of my favorite photos I’ve taken these past couple months.
October 31, 2024 at 2:24 PM