Prior to support I have set external characters to true, multi-char does not see previous characters, goes to identity to create char.. after creating char it spawns char at airport with no menu for clothing or char customization. I do get a warning in f8 for apartments:client:SetupSpawnUI was not safe for net.
inventory works with default ped and starter items are given, but if i /logout or headpop, it goes back to char creation. I adjusted birthdate format to match, confirmed char was going to players table and uses license2 identifier. other than that I dont see any difference between existing qbx char and new char created with 0bugscripts infinity multi-char and identity and spawn.
#Infinity Multi and Identity compatibility
1 messages · Page 1 of 1 (latest)
Here is link to documentation, we are using infinity version:
Full Configs are in the Gitbook
https://0bugscripts.gitbook.io/0bugscripts
https://github.com/Qbox-project/qbx_properties/blob/6c5f4e4cacbba5e52fbd0ba95582e4c26aaceb9e/client/apartmentselect.lua#L206, change that to RegisterNetEvent and try it
restarted ox_inventory cause it was stopped for some reason, and did a f8 logout to go back to char creation, now it doesnt show that error, i do see the uitext for the controls to select apartment
just hit enter and it selected the apartment and now i'm in the apartment, so if we could just get that board to show up we should be good...
and no idea whats going on with npwd:
if you check #🙋〡general-support there is some changes there for properties
ok thanks, i'll check it out in a few hours
ok so what am I looking for
I found the issue it was having with always going to char creation, it looks for license and not license2 so it wasn't seeing any characters, made suggestion to dev to check both so they can be compatible with qbx
When you had me change the spawnui to registernetevent, is that something that will bu pushed globally?
In a release
not entirely sure why we had it set that way, might be because the other implementation was bad but not sure
man I really appreciate all the support.
where is the section for inserting db info for new player, i'm looking through qbx_core/server/character.lua but dont see anything
are you trying to change it to license vice license2?
yes or at least look at the code to come up with a quick function for a possible bridge for the multi developer
i see qbx checks for both license and license2 but when created from their character creation its storing license2
did the 0bug fellows not understand the ask of making it license2 with fallback to license?
I would hope they did. That seems like the fastest way for a production level edit
but for the current time i'll just adjust my files to create using license
if i can find it
this is see, but not it grabbing identifier
server>storage>players.lua:82 has upsertplayerrequest but it uses license
tell them to just steal that lol
in theory you could modify playerData.license = playerData.license or GetPlayerIdentifierByType(source --[[@as string]], 'license2') or GetPlayerIdentifierByType(source --[[@as string]], 'license') and remove the first or condition but uhhh that ain't supported ha
yea I was just looking at that, so if there was no playerdata.license, then it goes to second getplayeridentifierbytype which license2 is first so grabs it first, I think thats where its getting it
but yes, updating the 0bug multi to check both would be the best way.
so you just change that line to playerData.license = playerData.license or GetPlayerIdentifierByType(source --[[@as string]], 'license')
correct, will do for now, but i'll make a backup first so i can revert quickly if they update
thank you again
this is on like 426 right to remove first condition,( its the only one my search came up with):
https://github.com/Qbox-project/qbx_core/blob/500115c1813cd4795853c2374250ee2395a32cb7/server/player.lua#L426
yeah it's only one spot
you can mark as solved