I have a few players who joined my server that only have a license but cant see already made characters due to the need for license2. I have worked with them for the last few hours trying to get their license2 identifier they have opened and linked both steam, rockstar social/launcher and cfx forums. Neither allows their license2 identifier to populate when TxAdmin is checked for it. its like it doesnt exist for them.
#db error for license identifier
1 messages · Page 1 of 1 (latest)
maybe that'll help. im unsure tho
we tried everything in this and none of it worked
his license 2 popped up one time but then dropped shortly after
I've never had any issues with license2 so im not sure
@haughty condor You ever had any issues?
Why do you need the license2?
because the database runs only license2. all of my players only have license2 except one player. everyone else can see their chars, this license player has to keep remaking his character over and over
What leads you to believe the database only runs license2?
because from everyone i spoke to qbox is only license2
Do you have any errors on the server console?
or we might just have it default to license2 with license as a backup. so idk
This doesn't prove that it doesn't handle license.
no errors in console regarding qbx_core as that is where the multicharacter is handled
wait
Which version of core are you on?
hes the only one who cant see other players?
or is it everybody
if youre using core v1.13.0, downgrade to v1.12.0
no its not about seeing players he cant see his own character when he logs in. the multicharacter makes him create himself over and over again
goes straight to identity
so its an issue of his character / playerskin not saving?
it saves in the database i can see it, but it doesnt push to him when he opens the server and tries to select his character
does he see it in his selection?
nope it automatically makes him select an empty slot and create a character again.
then it duplicates said character in the db
and what populates in the license field
yea so its just a normal license then
and you havent edited your core at all?
nope
otherwise i feel like i would have more players that are messed. Hes the first one
yes it is i believe
you are correct. i, for whatever reason, thought we only populated with license2. i didnt realize we did one or the other
@empty anchor if you look at the player in the txadmin console do you see a license2 being populated? I've had users in the past the reinstalled but forgot their CFX account or something else and then got a new license/license2. If it's only affecting one user this might be the case.
we have tried relinking cfx account, redownloading fivem, gta, and rockstar launcher/social his license2 only populated once and then immediately dissapeared.
so in the txadmin console they have no license2 present?
no they dont
thats a big headscratcher there then. Which multicharacter are you using, the qbx_core internal or an external multicharacter?
i tried the qbx base MC and then switched to VMS-Multichars tried both on my dev server so not to mess up the main server while live
is the VMS one an escrowed resource? I can't find their docs page for it
it is not i bought the OS version i can link their docs
yeah if you can link the docs that would be helpful. I got a few minutes before I have to head out
hmm. if you search through the code for Config.Identifier do they all reference license or license2?
its the qbox oriented one so it references license2
they have 3 downloads ESX, QB, and QBOX in the original download folder
gotcha. yeah i saw there is notes for a qbox version. looking at his docs though it seems to reference resource names as qbx- vice qbx_. Was more curious what SQL statement is being run to lookup the characters to give you in the character select.
local slots = MySQL.scalar.await('SELECT slots FROM multichars_slots WHERE identifier = ?', {identifier}) or SLOTS
MySQL.query('SELECT * FROM players WHERE license = ?', {identifier}, function(result)```
aight hold. i think i can fix ya
ive tried similar to how the qbx multichar ran like matthew posted above #1245955895763140618 message
Try this
local license, license2 = GetPlayerIdentifierByType(source --[[@as string]], 'license'), GetPlayerIdentifierByType(source --[[@as string]], 'license2')
local identifier = license2 or license
local slots = MySQL.scalar.await('SELECT slots FROM multichars_slots WHERE identifier = ?', {identifier}) or SLOTS
MySQL.query('SELECT * FROM players WHERE license = ?', {identifier}, function(result)```
aight
gotta run for a bit though. I'll check in here later today
ok im going to bed myself i will test in the morning and report back any finds
this has fixed the issue for me at least on the VMS-Multicharacter thank you very much
Well that’s a solid. Still super bizarre that individual doesn’t have a license2
i actually have like 5 people in my server who dont have them.