-
Notifications
You must be signed in to change notification settings - Fork 963
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplicate license check: By MrCrowley #1035
Conversation
dont need string.find
You really should get your shit together with the typos
removing whitespace
Linter bitching at me for yalls mess
There, next time dont approve things the linter doesnt accept...her der |
we personally tested it on our server and fixed it now. thanks to MrCrowley |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tested and working the commands.lua and functions.lua part is not needed for merge
commands is needed for linter, functions there was a redundant check |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM | Tested and it works
What part of the original code stops it from working? Is it the retrieving of the licenses before waiting that's stopping it? |
This is where it is stopping it,
|
Checking that convar should be doable, this is the normal documented usage though |
For what purpose? |
Its purpose is to allow the usage of the Cfx.re Development Kit (FxDK). The edit on line 50 of the |
still works with this added in
|
It was previously checking the config through |
Line 2 in a866b1a
QBCore.Config is a variable alias defined by QBConfig
|
Well i can tell you from experience, being a developer and having to figure out what links where without any search options, is simply bad design. Makes it much harder to decode. At this point take it or leave it |
It's usually just a matter of best practice, hence why getters and setters exist to prevent access to the original data structure. People write code differently, but this is usually the practice that is followed. When most of the other code uses |
|
Yeah that's why I said different people write code differently and that most of the other code uses |
Has it been tested since the convar check was added back in? It'll be nice to see a bug like this fixed |
I m glad its fixed and servers owners as myself can be relaxed. Thank you guys and thanks to QBCore Community for this fast response and fixing it. Truly appreciated. |
yes. have not tested the convar itself tho |
Description
Duplicate license check just...doesnt work
Because of that this happens: https://www.youtube.com/watch?v=U1Pxpxuj7-o
If you bother to look into this you will realize you should merge this pretty much asap
PS I got lazy and rewrote what i did through the github editor. Its just a few minor modifications that i did. I also did these modifications on another server that was having the same issue. Person who brought it to my attention.
Please make sure i didnt miss anything. AKA make sure to test it
Checklist