multitheftauto / mtasa-blue

Multi Theft Auto is a game engine that incorporates an extendable network play element into a proprietary commercial single-player game.
https://multitheftauto.com
GNU General Public License v3.0
1.42k stars 438 forks source link

Crouchbug firing delay #2715

Open s0ulreaper256 opened 2 years ago

s0ulreaper256 commented 2 years ago

Describe the bug

There's an odd delay in firing a weapon (deagle was used during this test), which makes cbugging a lot more challenging. All SetGlitchEnabled are enabled. This delay is a lot more noticeable if a player cbugs the newbie way.

Steps to reproduce

Newbie Cbug:

  1. Aim (hold)
  2. Shoot
  3. Crouch (during this step, you should notice your character drops down to crouch; this is where the firing delay happens.)
  4. Repeat...

Version

Client: mtasa-1.5.9-rc-21284-20220815 Server: mtasa-1.5.9-rc-21284-20220815 (Windows)

Additional context

Although this was tested on a nightly version, the odd firing delay happens on official builds as well.

Video: https://www.youtube.com/watch?v=EgLmmW_VjL4

Relevant log output

No response

Security Policy

Lpsd commented 2 years ago

FPS related?

s0ulreaper256 commented 2 years ago

FPS related?

Definitely not, all three versions are all played/tested at 100fps.

Lpsd commented 2 years ago

That doesn't confirm anything, you would need to test it in MTA at a lower FPS to see if it's an FPS issue specific to MTA (likely not, but this is all part of the process to diagnose).

s0ulreaper256 commented 2 years ago

Tested in 60fps across three versions, MTA still has the odd firing delay. https://www.youtube.com/watch?v=sVb6zZO2Cms

Lpsd commented 2 years ago

Thank you for confirming this

Allerek commented 2 years ago

Check at 30 FPS, this is GTA:SA default FPS(really it is 25, but lets make it 30), if then everything is ok then it's FPS related issue.