#Does stash data(items) get saved in the properties sql?

1 messages · Page 1 of 1 (latest)

sterile grove
#

stach are saved in db table ox_inventory

#

for the normal appartments of qbx just add a prefix of qbx_ on the properties and properties_decoration

hybrid burrow
sterile grove
hybrid burrow
# sterile grove wait you mean you want to send the appartments `stash` > to the nolag

No sir so we have a consistent high pop so we have lots of items in these stashes, these people store their stuff in qbx_prperties apartment right. I ran the sql for nolag not paying attention that it was identical table names. Well no lag works fine but these people cannot enter their apartment due to the sql coords error clashing with no lag. My goal is for everyone not to lose their apartment items

#

I dont want to have to return all of these items to the players is the issue

hybrid burrow
#

I removed everything from script to db tables for nolag, still get this error when restarting qbx_properties [script:qbx_propertie] SCRIPT ERROR: @qbx_properties/server/property.lua:128: attempt to index a nil value (local 'coords') [script:qbx_propertie] > callbackResponse (@ox_lib/imports/callback/server.lua:101) [script:qbx_propertie] > handler (@ox_lib/imports/callback/server.lua:122) [script:qbx_propertie] > new StackDumpError (@oxmysql/citizen:/scripting/v8/main.js:416) [script:qbx_propertie] > <unknown> (@oxmysql/citizen:/scripting/v8/main.js:436) [script:qbx_propertie] > <unknown> (@oxmysql/citizen:/scripting/v8/main.js:97) [script:qbx_propertie] > Number.__cfx_wrap_1350291 (@oxmysql/citizen:/scripting/v8/main.js:24) [script:qbx_propertie] > <unknown> (@oxmysql/citizen:/scripting/v8/main.js:30) [script:qbx_propertie] > <unknown> (@oxmysql/citizen:/scripting/v8/main.js:94) [script:qbx_propertie] > rawQuery (@oxmysql/dist/build.js:26132) [script:qbx_propertie] > process.processTicksAndRejections (node:internal/process/task_queues:105) Any idea why? Something going on in the db but not sure what

sterile grove
#

oh i get it

#

i will try to think somthing

hybrid burrow
#

Sounds good thanks man

stable lynx
hybrid burrow
#

Getting coord errors im not sure why

#

[script:qbx_propertie] SCRIPT ERROR: @oxmysql/lib/MySQL.lua:43: First argument expected string, received 'nil'

river geode
#

@stable lynx always coming in clutch I swear