#Infinity Multi and Identity compatibility

1 messages · Page 1 of 1 (latest)

green scarab
#

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.

thorny urchin
green scarab
#

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:

thorny urchin
#

if you check #🙋〡general-support there is some changes there for properties

green scarab
#

ok thanks, i'll check it out in a few hours

green scarab
#

ok so what am I looking for

thorny urchin
#

#🙋〡general-support message

#

Sorry should have linked it

green scarab
#

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

thorny urchin
#

not entirely sure why we had it set that way, might be because the other implementation was bad but not sure

green scarab
#

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

thorny urchin
#

are you trying to change it to license vice license2?

green scarab
#

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

thorny urchin
#

did the 0bug fellows not understand the ask of making it license2 with fallback to license?

green scarab
#

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

thorny urchin
#

tell them to just steal that lol

thorny urchin
#

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

green scarab
#

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.

thorny urchin
#

so you just change that line to playerData.license = playerData.license or GetPlayerIdentifierByType(source --[[@as string]], 'license')

green scarab
#

correct, will do for now, but i'll make a backup first so i can revert quickly if they update

#

thank you again

thorny urchin
#

yeah it's only one spot

green scarab
#

you can mark as solved