qbcore-framework / qb-banking

Banking System For QB-Core
GNU General Public License v3.0
47 stars 195 forks source link

ATM dose not work #126

Closed TerraEgg closed 9 months ago

TerraEgg commented 9 months ago

Describe the bug When I interact to open the atm (after getting a bank) card nothing happens, I see this in TX Admin console tho,

[   script:qb-banking] SCRIPT ERROR: @qb-banking/server.lua:192: attempt to index a nil value (field 'info')
[   script:qb-banking] > TriggerCallback (@qb-core/server/functions.lua:365)
[   script:qb-banking] > handler (@qb-core/server/events.lua:104)
[      script:qb-core] SCRIPT ERROR: error object is not a string

To Reproduce Steps to reproduce the behavior:

  1. Go to bank and get a bank card
  2. Interact with atm (Open ATM)
  3. Atm shows loading bar gets to 100% and nothing happens
  4. I get the error

Expected behavior The ATM gui is meant to open

Screenshots Here, I have a video

https://github.com/qbcore-framework/qb-banking/assets/157478449/52ffab61-9e3f-42ea-aa16-e615764a7076

Questions (please complete the following information):

Additional context Nope

TerraEgg commented 9 months ago

Found the issue, the third eye dose not work (can happen if using ox_target) and u have to put it into your 1-5 slots and use the key instead.

AngryMaximus commented 8 months ago

can you post the qb-banking server OpenATM and OrderCard snippets for us fellow ox_inventory users?

Found the issue, the third eye dose not work (can happen if using ox_target) and u have to put it into your 1-5 slots and use the key instead.