Giter Site home page Giter Site logo

qb-bankrobbery's Introduction

qb-bankrobbery

Bank Robbery For QB-Core

License

QBCore Framework
Copyright (C) 2021 Joshua Eger

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>

qb-bankrobbery's People

Contributors

berkiebb avatar darknight2590 avatar emresudo avatar erikmeyer08 avatar evanillaa avatar fjamzoo avatar gawls avatar ggfto avatar ghzgarage avatar ialen17 avatar idrisdose avatar impulsefps avatar izmystic avatar jeann2013 avatar liamdormon avatar mataskc avatar n3meee avatar newtonzz avatar notaestheticallyducko avatar oskarssonn avatar pride1922 avatar pushkart2 avatar roobr avatar s33g avatar singh-manavv avatar theilleniumstudios avatar tom-osborne avatar tonybynmp4 avatar ushifty avatar z3rio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

qb-bankrobbery's Issues

The security and thermite door won't open

After I insert the security card, it says please validate but the door doesn't open. After the thermite game, it also says the door is open but it's still locked.
unknown

Can't find anything

I have been searching for hours in all of my qb files and can't figure out where the trojan usbs and where the thermites are.

[BUG] Make the hack compatible with AZERTY keyboards

Describe the bug
When you start a hack you can be quite surprised by the fact that the hack is made for QWERTY keyboards, so this one is very complicated to realize...

To Reproduce
Steps to reproduce the behavior:

  1. Go to the bank
  2. Try to open the door to get the door hack
  3. Try it with a keyboard in AZERTY

Expected behavior
That it is adapted according to the keyboard

Questions (please complete the following information):

  • When you last updated: 2 days ago
  • Are you using custom resource? which ones? No
  • Have you renamed qb- to something custom? No

Vault door won't open

After the minigame, the vault door won't open. and i did a fresh install of qb-doorlock and qb-bankrobber
unknown
y

Security card and Eletronic kit

The first door on pacific bank i can open with the advanced lockpick, but the door that needs security card and the door that needs the eletronic kit, isn't working. it's getting an error on client\pacific.lua:222 attempt to compare number with nil.

Police Alerts

When I rob a bank there are no visual alerts on the screen, only the MDT noise chimes which I then look on the phone and can see the alert, but it doesn't pop up on screen.

I have used a fresh qb-bankrobbery and the issue persists. Anyone got ideas as to why there's only a chime and no visual notification?

Blackout not working

Hello maybe you could help, when hit 3,5 or whatever numbers I set needed to be hit, blackout doesn't work

2nd door not opening at pacific after successful hack[BUG]

Describe the bug
2nd door at pacific bank not opening after successful hack.

To Reproduce
Steps to reproduce the behavior:

  1. use electronic kit and trojan usb
  2. hacking mini game appears
  3. complete mini game, door is still locked
  4. See error

Expected behavior
door should open after successful hacking game to go down stairs

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

Questions (please complete the following information):

  • When you last updated: [e.g. last week]
  • Are you using custom resource? which ones? [e.g. zdiscord, qb-target]
  • Have you renamed qb- to something custom? [e.g. yes/no]

Additional context
Add any other context about the problem here.

[BUG]

great ocean hwy. vault door not opening. i am currently running the lasted qb-core frame work. I've gone over the fix for this vault already did not work. Not sure what else to do to fix. and its not throwing any errors as well.

Expected behavior
when hack is successful and the vault door won't open

Screenshots
.
image

Fleeca Bank Small Robbery - First Door Opens - Then Disables Second door to be crack

Hello,

I have been looking through the Fleeca.lua file for the answer but cannot seem to find it. When you hack the main vault door in Legion Square and get into the first section of the vault you then are prohibited from breaking into the second vault using a hacking device as I know the robbery state is now set to true. Is the only way around this to disable the powergrid for a blackout? I was trying to find if that was where the secret lies in the programming but wanted to confirm with Devs. Sorry for making this an issue as I was unaware how to contact you directly. Thanks!

[BUG] Trojan USBs & Electronic Kits

Iโ€™m unable to find how to get the Electronic Kits or Trojan USBs for the robberies, as well as the security cards, is there a default way to obtain these or do I gotta script them in as like a reward for something aka house robbery loot

error

[ script:qb-doorlock] SCRIPT ERROR: @qb-doorlock/server/main.lua:6: attempt to index a nil value (field '?')

when going near the Paleto bank

new install

Vault door Desync

when Robbing the banks the door will open for people in the area but cops who come in who were a couple or more blocks away will see the vault doors closed

ive tried with all types of one sync settings

[BUG (i Guess lmao)] Fleeca bank robbery door issue

So when you finish robbing the bank and after the time passes for reset the bank doors stay open both the first door and second door stay open after the reset time.
in fleece bank currently, I'm recording the bank robbery so I only testing the fleece idk for pacific or paleto bank.

Since I don't have any of my files on git I cant make a PR so here are the fixes I have applied

in qb-bankrobbery/server/main.lua

qb-bankrobbery:server:SetSmallbankTimeout

replacing SetTimeOut function with loop fixes for the rest of the code to run for resetting bank state and resetting locker/deposit boxes

to reset the door
RegisterNetEvent('qb-bankrobbery:client:ResetDoors')
AddEventHandler('qb-bankrobbery:client:ResetDoors', function()
ResetBankDoors()
--TriggerServerEvent('ps-doorlock:server:updateState', 232, true)
end)

Create this event in qb-bankrobbery/client/fleeca.lua

and trigger that event on the server-side (qb-bankrobbery:server:SetSmallbankTimeout)

trigger it like this

TriggerClientEvent('qb-bankrobbery:client:ResetDoors', -1) // -1 will reset the door for everyone on the server

for the second door (you need to trigger event for the server-side in door lock so that it changes stater from false 2 true)

[SUGGESTION] Add config options for Fleeca second door hack / thermite

Currently I believe the second door in Fleecas is left unlocked and is unused in heists.

Adding a config option for this second door (or multiple extra doors in order? for other MLOs and Pacific / Paleto) would allow server owners to quickly add more complexity to their heists if wanted.

This could be an configurable step prior to being able to break open lockers, or there could just be a list of doors that are able to be thermited / hacked to set their lock state to unlocked.
Obv the second option would be less work :P

[BUG] alerts

Police alerts are not working fine, they are being shown in different locations or on locations of officers. Sometimes also there are x10 alerts on the same bank robbery and they are all in different places. It's the same issue as qb-storerobbery
image

[BUG]

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.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Pacific Bank Second Door ...'
  2. Click on 'open door with security card and it doesn't unlock....'
  3. Use this item '....' (item's name from shared.lua if applicable)
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.
can't get door to open at pacific bank with security key ... if i turn qb-doorlocks off i can walk through the door fine
Screenshots
If applicable, add screenshots to help explain your problem.

Questions (please complete the following information):

  • When you last updated: [e.g. last week]
  • Are you using custom resource? which ones? [e.g. zdiscord, qb-target]
  • Have you renamed qb- to something custom? [e.g. yes/no] NO

Additional context
Add any other context about the problem here.

The Required items are getting deleted irrespective of their count

When we initiate a robbery, the whole amount of the required items (like electronic kit , trojan usb,etc) will get deleted irrespective of their amount. For example , If you have 10 electronic kit and after initiating the robbery,the whole 10 electronic kit will get deleted.

Not starting MHacking for Fleeca Robberies when using electronic kit

So I have not had this problem before but now when I got to the Fleeca Banks and try to use the Electronic kit to rob it nothing happens all other robberies work fine. When I use the electronic kit nothing happens no errors in the server or client. It seems to be only Fleeca all others are working and have tested them this was working for me but I was checking it yesterday it did nothing updated the script again to see if same problem which it was. I am using the latest version of QBCore. If you can help me would be deeply appreciated thanks for the amazing work and updates.

Pacific Standard Bank Robbery

The last 2 gates in the big bank robbery that require thermite do not open upon successful deploying thermite. You receive the notifications the thermite has been planted and the count down but the gate does not unlock. The locks work as PD can lock and unlock these gates the thermite just does not unlock them.

Electronickit

Can't use Electronickit on each Bank.

When i try to use it, I didn't get the minigame.

Issue with thermite

doing the paleto and pacific bank robbery using the thermite when fail the thermite it stun locks the character in animation forcing player to relog

Hacky no Worky

Describe the bug
Using the Electronic Kit on the bank doors doesn't prompt the minigame to open it. Server restart, no errors, police needed set to 0, on duty officer just in case.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Bank
  2. Use Electronic Kit
  3. That's it

Expected behavior
Minigame to hack into door

Screenshots
Not Applicable

Questions (please complete the following information):

  • When you last updated: [e.g. last week] - A week ago, this script today
  • Are you using custom resource? which ones? [e.g. zdiscord, qb-target] - both listed and many more, nothing that interferes with this one
  • Have you renamed qb- to something custom? [e.g. yes/no] - no

current cops

Screenshot_57

powerstation.lua line 3 .

local CurrentCops = 0 change to [ CurrentCops = 0 ] then it works again .

[BUG] Possible problem witth thermite door on Pacific Bank and lockpick.

Describe the bug 1
When you use the thermite on the power station the door inside Pacific Bank bug thinking I'm using the power station.

Describe the bug 2
When you use the lockpick in Pacific Bank it is sometimes not removed from the inventory and the player uses as many times he wants.

To Reproduce
Steps to reproduce the behavior:

  1. Go to power station then use the thermite.
  2. Indifferent if the power are off or on, go to Pacific Bank and make the puzzles.
  3. When you reach the thermite door the script send the notify: "The fuses are broken" and not open the door.

To Reproduce 2

  1. Try to use the lockpick and fail on the door.
  2. The lockpick sometimes got not removed from inventory and the player uses as many times he want.

Expected behavior
Problem 1: Open the thermite door.
Problem 2: Remove one lockpick everytime the player fail or win the puzzle.

Screenshots
https://imgur.com/a/BHZa0kp

Questions (please complete the following information):

  • When you last updated: Today I have downloaded again the bank robbery and all qbcore script I use is from the last recommended build 5562.
  • Are you using custom resource? which ones? Only one script to change the density of Npcs, discordlogs and the rest is fully qbcore with txAdmin.
  • Have you renamed qb- to something custom? No.

Additional context
The only error is of the inventory but if I remember it's not related with the bank robbery. This problems happens so much times.
The lockpick problem I don't know if it was really supposed to be like this or should always consume one.
I don't have much time to look at the code and confirm this but I will help with whatever is needed and if it's not a bug I'm sorry for asking for help.
For now, thanks.

Bank Says Erro

hello my name is cody and i have been trying to use this every time i try put it in what happens i cart even hack or drill the door open its broken

[script:qb-bankrobber] Error loading script server/main.lua in resource qb-bankrobbery: @qb-bankrobbery/server/main.lua:190: attempt to index a nil value (global 'QBCore')

i have not touch this file

Player Report

  • Door doesn't unlock after using the security card and the doorlock script just spams the door number

  • After thermiting the door in the vault it doesnt unlock the door (pacific bank)

  • Boxes don't give items (pacific bank)

Cannot open the second door in Fleeca

When getting to the second door in Fleeca it does not give me the option to open it I see the error saying I do not have the ignition source so I give myself a "ligher" yet nothing. I have also found when other players come into the bank for them the second door is open I am not sure if this is due to the qb-bankrobbery script or my door locking.

[BUG] 2nd door in paleto not opening with thermite

Describe the bug
The 2nd door in paleto will not open when using thermite.

To Reproduce
Steps to reproduce the behavior:

  1. Go past vault
  2. use thermite when you get the pop up
  3. door doesnt unlock

Expected behavior
Expected door to unlock after using thermite

Screenshots

Questions (please complete the following information):

  • When you last updated: [e.g. last week] this week
  • Are you using custom resource? which ones? [e.g. zdiscord, qb-target] no
  • Have you renamed qb- to something custom? [e.g. yes/no] no

bug , players can abuse the reward checkpoints

2 players or more can take same chekpoint inside the bank vault if they press E at the same time . With discord coordonation you can take 1 checkpoint 3 players . Same at the jewerly robbery

[BUG] - Attempt to index a nil value (Field 'Items')

Describe the bug
getting the dreaded error as stated in title

Expected behaviour
for it to obvs work & no F8 error codes in console

Screenshots
Screenshot 2023-12-29 133447
Screenshot 2023-12-29 134715
Screenshot 2023-12-29 135241

Questions (please complete the following information):

  • When you last updated: - Last night
  • Are you using custom resource? - Negative
  • Have you renamed qb- to something custom? - Negative

Additional context
As you can see i have the item and i have tried all sorts with the code on line 5 in the Powerstation.Lua section

Powerstations thermite minigame (openThermite)

When my server is started with a clear cache the thermite at powerstations just won't work, no error, just won't open mini game.

If I restart qb-bankrobbery while server is running and try again it works.

due to my lack of experience I'm not sure what it could be. when looking at the event and the .js

if anyone has fixed this on there server or would like to assist please reach out

Animation Bug

There is a animation bug If you walk into the Paleto Bank, the character is constant doing a "open door" animation which makes it unuseable!

LOGS

Logs are removed from bankrobbery :(

non stop loot from fleeca

if you rob a fleeca bank , if you stand infront of a safe, you can continuously rob it without even moving and getting items all the time....if anyone knows how to fix, please let me know. this

Exploits

RegisterNetEvent('qb-bankrobbery:server:recieveItem', function(type)

Anyone with lua executor can just do TriggerServerEvent('qb-bankrobbery:server:recieveItem', 'pacific') to gain loot from pacific

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.