#ps-housing

1 messages · Page 1 of 1 (latest)

obsidian torrent
#

Looking to get this working with QBOX. Anyone done this?

fossil shard
#

already done that.

obsidian torrent
#

sweet i honestly cant see the apartments, and neither can realtors in qbx like we can in qbcore

fossil shard
#

how did you proceed with the installation? can you give more details of the problem?

obsidian torrent
#

well truth be told it needs qb-spawn as a dependancy would i just chance qbspawn to qbx-spawn? o rjsut use qb-spawn

fossil shard
#

well, for me, i used qbx_spawn and use the multicharacter of QBX on qbx_core

#

i can give you my whole qbx_spawn so you can see what i change

obsidian torrent
#

thanks man ill look into it

#

and same as qbcore you removed all the houses and apartments right?

fossil shard
#

yepp

obsidian torrent
#

kk

obsidian torrent
#

the only error im getting now is about the shells in ps-housing/server/sv_property.lua (relating to shashes i belive)

obsidian torrent
#

fixed error buuuttt the ui jsut kidna stays open and there are no shells apparently lol

fossil shard
#

do you have the k4mb1 free shells?

obsidian torrent
#

I’ll download them though I though they were included in ps housings download, perhaps it’s just different it’s qbx core? I’ll get that redownloaded and I’ll update 🙂

error still persits and no shells are in /housing

#

aparently according to this line its talking about the stashes being an issue hmmmmm

#

and it seems super SUPER wierd how realtors arent seeing all the base aprtments as they can in QB-Core adn there are no errors except the one relating to stashes

#

there also no spawn at owned properties as in qb-spawn

fossil shard
#

can you give me the error?

obsidian torrent
#

I’m gonna find out where it’s clashing first and with what from qbx. In my dev server it’s allllll QBcore except qbx-core, ox everything, and ps housing. Everything working so one by one I shall find what’s wrong and report back 🙂

fossil shard
#

alright. goodluck\

obsidian torrent
#

ill letchat know and maybe we can sort it out 🙂

obsidian torrent
#

[ script:ps-housing] SCRIPT ERROR: @ps-housing/server/sv_property.lua:21: attempt to index a nil value (field '?')

#

this

fossil shard
#

do you have the shells or not?

obsidian torrent
#

they come with ps housing but i put them in as the resource

#

it was working fine without the shells files before naything qbox went in

#

it has to do with stash things according to that line 21

fossil shard
#

i see, lemme check

obsidian torrent
#

local stashConfig = Config.Shells[propertyData.shell].stash

fossil shard
#

is your config ok? like the-- If you're not utilizing ox_lib, it's time to question your approach. Config.Target = "ox" -- "ox" or "qb" Config.Notify = "ox" -- "ox" or "qb" Config.Radial = "ox" -- "ox" or "qb" Config.Inventory = "ox" -- "ox" or "qb" Config.Logs = "qb" -- "qb"

obsidian torrent
#

got that all set i THINK i MIGHT have done something

fossil shard
#

well for me, i have all the qbox like from the recipe then install the housing

obsidian torrent
#

yea Im migrating things slowly some things from qb-core work really well while alot of things dont, but im on qbx_core so

fossil shard
#

can you give me a recording on whats the problem? can you load into the game?

#

can you respawn?

#

can get to apartment?

#

black screen?

#

when is the error occur?

obsidian torrent
#

i can load in , can respawn, can start in aprtment, no blakc screen

#

cannot get back into an apartment

fossil shard
#

is your ps-housing new or old?

#

have you done some editing in beside sconfig?

obsidian torrent
#

new

fossil shard
#

have you done anything to qbx_core/client/character for ps-housing?

#

or are you using other multicharacter?

obsidian torrent
#

putting this in the sql works

COLLATE=utf8mb4_general_ci

#

i think soming back in to test

#

so correct that works

#

but it willnot load a starting apartment when on qbx_core

fossil shard
#

ok, now try this on qbx_core/client/character

#

make sure to backup yours first

#

and search this on the qbx-spawn client local insideMeta = QBX.PlayerData.metadata["inside"] and replace it with ``` local insideMeta = QBX.PlayerData.metadata.inside

obsidian torrent
#

qbx-spawn breaks the crap out of it

fossil shard
#

i see., its fine if you use yours

obsidian torrent
#

k i think i might have it again here did databse stuff again and your edits and no errors as of yet

#

testing

#

no good qbx-spawn is changing things in the database and its breaking it and i have no clue how to fix that in a databse

#

i might just be outta luck

fossil shard
#

sorry if i cant solve your problem, what i cannot see is what i cannot do hahaha! goodluck

obsidian torrent
#

i know lol thanks anyways

obsidian torrent
#

omg i got it owkring

#

its perfect!

obsidian torrent
#

well mostly its bugging to list new properties lol

#

now its jsut ps realtor and i am fooking golden

fossil shard