why is my gun jamming on the first mag?

i don’t understand this mechanic because i can go 100 hours with never once having my gun jam and then for some reason, maybe it’s corruption RP or maybe the QM really fucking hates me OOC but he hands me some horseshit cardboard cutout that jams every 1/3rd of a mag FROM THE FIRST MAG why why why why. i clear the jam and get back into playing the game and it jams again and metagaming Xenos drag away their wounded comrade?? Game about shooting and my gun doesn’t shoot… :thinking:

3 Likes

Okay but actually though. Why the fuck did my first 5 bullets fucking jam.

3 Likes

skill issue

3 Likes

Its been said its a bug thats just not been fixed.

1 Like

I think I figured this out.

The jamming function (where it not only decides whether the weapon will jam or not, but also reduces the weapon durability) is called before checking whether the weapon is able to fire or not.

So every time you click the jamming roll happens and the gun’s durability is reduced. So if you have high clicks per second, you are going to have more jamming rolls for no reason, and also you lose durability with every click. I’m too lazy to test my theory, but it seems to be true.

(Don’t look at update_gun_durability() function it does not matter)

4 Likes

ermmmmm maybe try getting better???
all these so called marine “pros” yet they’ve never unga’d a day in their life, sighhhhhhhhh

2 Likes

its a bug that i havent bothered to fix since the durability removal pr followed immediately after

although, most other players seem to claim that its a mechanic and not a bug otherwise

2 Likes

no, the issue is specifically from the handle_jam_fire calculations, not the check for jamming itself which in my shitcodery doesn’t prevent jamming above the weapons jam threshold, which is typically <79 for most and <50 for others

2 Likes

mods for his insolence make him play marine all day during the 2 larva per cap changes

10 Likes

id still win bro

The fuck you mean “no”?

You lower the gun’s durability BEFORE checking if the gun is able to shoot in the first place. Re-read my message. Multiple times if possible. You annoyed me so much with your “no” I had to test this, look at the result:


(even funnier actually)

Here is me losing durability without firing a single shot. I set the fire_delay to 999999. This means all the rolls are happening without a SINGLE shot. So the gun can lose durability and jam without even being able to shoot. BECAUSE YOU DON’T CHECK IF THE GUN IS ABLE TO SHOOT BEFORE LOWERING DURABILITY AND ROLLING FOR JAM. So even if you have only 1% chance to jam, since it rolls with every click not with every shot the probability increases by a lot. Just like I said. Honestly, I am disappointed man. I gave you answers on a silver plate and you were so dismissive you just said “no” without even thinking for a moment.

9 Likes

i didnt mean to disregard your findings with literally just no, i mean that specifically what the OPs issue pertains to is from the calculation itself, not by whatever digression you decided with at the time and rail me with it

1 Like

Jesus fucking christ… THEY DIDN’T THINK OF THIS?!

3 Likes

I mean, no one’s omniscient. Bugs are bugs, perfectly understandable :woozy_face:

1 Like