Closed TMschar closed 7 years ago
On occasion it does happen where the weapon doesn't get deleted. It also doesn't get deleted fast enough and can be picked up within a few seconds.
Exactly. @DarkSilencerZA
Can potentially make it so take item and inventory open dont work on ground holders near dead bodies. Idk. I'll look at it some more. It's currently set to be basically as quick as possible.
I tried doing this but it didn't work.
On death
dead_weapon = weapon player;
on Revive
player addWeapon = dead_weapon;
That didn't work tho.
I mean it's already being stored in life_save_gear. Its the deleting of the groundweaponholder that is the issue.
Why not just not put it in a groupWeaponHolder or whatever then? And just store it in a variable and then retrieve it?
At TOD your gear is saved to an array and the weaponholder is deleted. Then when revived your gear is taken from that array. Not sure how what you're saying is really any different?
I think what I'm saying is the same as you. nvm.
One thing though, maybe we can call the stripdown function and then add all the gear back?
Ok, so that is done already :D
Then something is slowing the script down so it doesn't do it quickly enough and sometimes just doesn't call the script at all...
Maybe we can use the damageHandler and when the player took enougth damage to die delete the weapons and return the damage.
It still needs to load loadDeadGear and store The weapon in a variable
You can still save the gear before deleting the weapon
Anyone have any clues on this? I think this is quite a serious bug.
It has always been there. So Idk
I think this is a major bug, people can abuse this and dupe weapons.
I think we understood the impact of the problem. We still need to wait for admins to tag it as a bug and wait for more feedback
Fixed in #140
Better leave proper documentation on why it was changed.
Because weapons were not disappearing or not disappearing fast enough... @tkcjesse
................................................................. Wow. Just wow. It was sarcasm.
@tkcjesse lol
Expected behaviour
When you die, weapon disappears instantly and no one can pick it up.
Actual behaviour
When you die, sometimes the weapon disappears after 5 seconds, and sometimes it doesn't disappear at all.
Steps to reproduce the behaviour
[RPT]
No errors shown
Mission version: 4.4r3 with recent updates
Launcher version: Game version: Both on Arma 1.62 and 1.64 Branch: master