Skip to content
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

[BUG] Items.Shared additional info #256

Closed
MrNewb opened this issue Nov 16, 2023 · 3 comments
Closed

[BUG] Items.Shared additional info #256

MrNewb opened this issue Nov 16, 2023 · 3 comments
Labels
bug Something isn't working need repro This bug report needs confirmation

Comments

@MrNewb
Copy link

MrNewb commented Nov 16, 2023

Summary

Additional information used in items.shared is breaking core

Reproduction

['hiqualitysoil'] = {['name'] = 'hiqualitysoil', ['label'] = 'Soil (HQ)', ['weight'] = 0, ['type'] = 'item', ['image'] = 'hiqualitysoil.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = false, ['description'] = 'Soil for your plants', ['uses'] = { ['IsSoil'] = true, ['Soil'] = 60, }, },

Expected behavior

Core to load on login

Actual behavior

no resources are able to get the core object

Additional context

Some scripts pass additional information on the items.shared, doing this with qbox unfortunately breaks the core on load in.
I understand my situation could be from additional information I cant see because of escrow or to be blunt user error but here is an example

Last Updated

today

Custom Resources

N/A

Resource Rename

N/A

@MrNewb MrNewb added bug Something isn't working need repro This bug report needs confirmation labels Nov 16, 2023
@Manason
Copy link
Member

Manason commented Nov 16, 2023

Do you have some sort of error? I'm not sure I understand the bug here.

@MrNewb
Copy link
Author

MrNewb commented Nov 16, 2023

[ 81141] [b2944_GTAProce] MainThrd/ Creating script environments for qbx_core [ 81172] [b2944_GTAProce] MainThrd/ ^1SCRIPT ERROR: citizen:/scripting/lua/scheduler.lua:90: @qbx_core/bridge/qb/client/functions.lua:258: 'end' expected (to close 'function' at line 211) near 'TriggerServerEvent'^7 [ 81172] [b2944_GTAProce] MainThrd/ ^3> require^7 (^5@ox_lib/imports/require/client.lua^7:80) [ 81172] [b2944_GTAProce] MainThrd/ ^3> fn^7 (^5@qbx_core/bridge/qb/client/main.lua^7:10)

@MrNewb
Copy link
Author

MrNewb commented Nov 16, 2023

Disregard, 100000% user error. My bad

@MrNewb MrNewb closed this as completed Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need repro This bug report needs confirmation
Projects
Status: Done
Development

No branches or pull requests

2 participants