OpenXRay / xray-16

Improved version of the X-Ray Engine, the game engine used in the world-famous S.T.A.L.K.E.R. game series by GSC Game World. Join OpenXRay! ;)

Home Page:https://discord.gg/sjRMQwv

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Snag's box dupe

Xottab-DUTY opened this issue · comments

Describe the bug
It's possible to dupe the contents of Snag's box, asking Kardan to crack it and dropping the box mid-process.

To Reproduce
Steps to reproduce the behavior: in the video.

Expected behavior
To be determined.

Screenshots, videos
https://youtube.com/shorts/g-cAD2RAR_I

@Decane, @SurDno, did you know about this? Do you have any ideas on fix, maybe?

Easiest way is checking whether the player currently has a container in the functions for giving the items, but you’d have to separate Cardan related functions from Snag’s. This way even if somebody tries to abuse this, no items will be given if they don’t have a container.