qbcore-framework / qb-doorlock

Doorlock Script For QB-Core
GNU General Public License v3.0
30 stars 196 forks source link

[BUG] Gabz Cell doorlocks are not functioning properly #121

Closed DragoonSpirit1 closed 1 year ago

DragoonSpirit1 commented 1 year ago

Describe the bug A clear and concise description of what the bug is. A stranger to qbcore should be able to read your bug report and understand how to reproduce it themselves and understand how the feature should work normally.

Hey Team, I just installed the latest qb-doorlock from this github and went to test out the mrpd cells and the doors wont stay shut when says locked, and vice versa.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'MRPD Cells'
  2. Click on 'E-Lock/unlocked'
  3. Watch doors not operate property

Expected behavior A clear and concise description of what you expected to happen.

Cells are supposed to function when locking the cell door and actually locks and vice versa

Screenshots If applicable, add screenshots to help explain your [problem.] https://streamable.com/qnu6xx

Questions (please complete the following information):

I have tried to remove the mrpd file out of the configs file just to test and that doesnt work at all. At this point i cant think of anything else

w4fflz commented 1 year ago

You need to clear out the old MRPD door configs and do new door locks for custom MLOs. You can use the /newdoor command to do new door locks

DragoonSpirit1 commented 1 year ago

i've done that, still isn't working, also /new door isn't working either, i'm having same issues as others mention in other issues.

I'm currently using the gabz-doorlock mrpd script for all the doorlock locations

w4fflz commented 1 year ago

I believe that script is out of date, but you should check with the author. Also, I am not able to click on the link you posted as the screenshot. You need a weapon with no ammo to target the door. You can use https://docs.qbcore.org/qbcore-documentation/qbcore-resources/qb-doorlock for questions on how to configure a door.

Leslija commented 1 year ago

Looks like one of door distances is too big.

DragoonSpirit1 commented 1 year ago

ok so i am using gabz-doorlock that came with his maps. i threw his mrpd in to the qb-doorlock/configs folder and refreshed/restarted the doorlock script

i am still having the same issue as i just downloaded straight off this github, Code-download and replace qb-doorlock script in my qb folder and added the config from gabz doorlock folder

Leslija commented 1 year ago

I do not have the gabz-doorlock, but I sugesst you to do it manually.. As the coordinates might differ.