qbcore-framework / qb-shops

Shops For QB-Core
GNU General Public License v3.0
27 stars 215 forks source link

[BUG?] Smoke on the water shop (counter collision issue with target?) #127

Closed nzkfc closed 1 year ago

nzkfc commented 1 year ago

Describe the bug Not 100% sure if it's me or not, but the ped behind the counter cannot be targeted anymore from the outside of the counter, if you clip behind him, you can interact. Noticed this since update 3 days ago and ran through the scripts to double check the updates.

Not 100% sure if it's just ours or it's an actual bug, but I guess it can be validated pretty quickly.

To Reproduce Steps to reproduce the behavior:

  1. Try use the ped at smoke on the water

Expected behavior Target sees the ped and opens shop

Screenshots If applicable, add screenshots to help explain your problem.

Questions (please complete the following information):

Additional context I've tried to up the radius on the shop to 6.0 and then to 10.0 just to see and it doesn't do anything. Soon as I move the ped out from behind the counter it works: https://i.imgur.com/glXp4Ts.png

ChickenDipper1 commented 1 year ago

This is a map issue, not related to the script.

nzkfc commented 1 year ago

Is that not a default location?

On Sun, 2 Oct 2022, 11:06 am ChickenDipper1, @.***> wrote:

This is a map issue, not related to the script.

— Reply to this email directly, view it on GitHub https://github.com/qbcore-framework/qb-shops/issues/127#issuecomment-1264491992, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABGHUHMZGGA7C2RX2EWBLDTWBCYVFANCNFSM6AAAAAAQYTPYAU . You are receiving this because you authored the thread.Message ID: @.***>

ChickenDipper1 commented 1 year ago

It is but there is a collision I believe, use a mlo/ymap to replace the shop or remove it using codewalker.

nzkfc commented 1 year ago

Nah as in isn't it a default location for smoke on the water Ped for qb shops? If it is, default location needs to move from behind the counter.

Odly this has worked for years but randomly stopped after the inventory has item changes...

On Sun, 2 Oct 2022, 11:10 am ChickenDipper1, @.***> wrote:

It is but there is a collision I believe, use a mlo/ymap to replace the shop or remove it using codewalker.

— Reply to this email directly, view it on GitHub https://github.com/qbcore-framework/qb-shops/issues/127#issuecomment-1264493369, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABGHUHOFAFWYH6G3UW4MZQDWBCZGLANCNFSM6AAAAAAQYTPYAU . You are receiving this because you commented.Message ID: @.***>