#Does stash data(items) get saved in the properties sql?
1 messages · Page 1 of 1 (latest)
for the normal appartments of qbx just add a prefix of qbx_ on the properties and properties_decoration
As well as the callbacks right? My whole goal here is for everyone to not lose all of their items in the apartment stash
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
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
Sounds good thanks man
What you can do os make a simple script using ox lib and inv where you add a temporary command like '/openstashes'
And when triggred it gives the player all his old housing stashes (you can use context menu to allow the player to select houses in case he got multiple stashes and properties) and he can take the items from the old sashes and save them to new ones
Thank you!
Would you mind shooting me a ss of your qbx_properties table columns?
Getting coord errors im not sure why
[script:qbx_propertie] SCRIPT ERROR: @oxmysql/lib/MySQL.lua:43: First argument expected string, received 'nil'
@stable lynx always coming in clutch I swear