QBCore Player Progress Not Saving

When people join my server and disconnect or I restart the server, when they re-join they have to make their character again and no progress saves. Why is this happening?

I WILL PAY FOR HELP!

what do you mean?

Do you have any errors in your server console? It can be a database related problem but you should check if you get any errors while creating a character, saving it and disconnecting. Did you change any of QBCore’s code or did you create your database table?

Did you set everything up according to the following instructions?

Same issue:

SCRIPT ERROR in promise (unhandled rejection): Error: qb-core was unable to execute a query!
[      script:oxmysql] Incorrect string value: '\xF0\x9D\x90\x93\xF0\x9D...' for column `zap474156-2`.`players`.`name` at row 1
[      script:oxmysql] INSERT INTO players (citizenid, cid, license, name, money, charinfo, job, gang, position, metadata) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ON DUPLICATE KEY UPDATE cid = ?, name = ?, money = ?, charinfo = ?, job = ?, gang = ?, position = ?, metadata = ? ["GWB38729",1,"license:bd58bda98f5ce071dd24a37af96d34e119adcb8d","𝐓𝐑𝐨𝐭𝐑","{\"cash\":500,\"bank\":5000,\"crypto\":0}","{\"firstname\":\"ASD\",\"lastname\":\"ASD\",\"phone\":\"3128224374\",\"nationality\":\"Afghanistan\",\"birthdate\":\"1998-05-28\",\"account\":\"US08QBCore9742175536\",\"cid\":1,\"gender\":0,\"backstory\":\"placeholder backstory\"}","{\"payment\":10,\"type\":\"none\",\"name\":\"unemployed\",\"onduty\":true,\"label\":\"Civilian\",\"isboss\":false,\"grade\":{\"level\":0,\"name\":\"Freelancer\"}}","{\"grade\":{\"level\":0,\"name\":\"none\"},\"label\":\"No Gang Affiliaton\",\"isboss\":false,\"name\":\"none\"}","{\"x\":264.8703308105469,\"y\":-638.7033081054688,\"z\":42.018310546875}","{\"walletid\":\"QB-56742362\",\"hunger\":91.59999999999855,\"tracker\":false,\"callsign\":\"NO CALLSIGN\",\"dealerrep\":0,\"fingerprint\":\"pd700m07Xij3777\",\"ishandcuffed\":false,\"commandbinds\":[],\"fitbit\":[],\"phonedata\":{\"SerialNumber\":84094065,\"InstalledApps\":[]},\"jailitems\":[],\"injail\":0,\"craftingrep\":0,\"inside\":{\"apartment\":[]},\"armor\":0,\"bloodtype\":\"A-\",\"status\":[],\"licences\":{\"weapon\":false,\"business\":false,\"driver\":true},\"criminalrecord\":{\"hasRecord\":false},\"jobrep\":{\"tow\":0,\"hotdog\":0,\"taxi\":0,\"trucker\":0},\"thirst\":92.39999999999964,\"inlaststand\":false,\"stress\":0,\"phone\":[],\"attachmentcraftingrep\":0,\"isdead\":false}",1,"𝐓𝐑𝐨𝐭𝐑","{\"cash\":500,\"bank\":5000,\"crypto\":0}","{\"firstname\":\"ASD\",\"lastname\":\"ASD\",\"phone\":\"3128224374\",\"nationality\":\"Afghanistan\",\"birthdate\":\"1998-05-28\",\"account\":\"US08QBCore9742175536\",\"cid\":1,\"gender\":0,\"backstory\":\"placeholder backstory\"}","{\"payment\":10,\"type\":\"none\",\"name\":\"unemployed\",\"onduty\":true,\"label\":\"Civilian\",\"isboss\":false,\"grade\":{\"level\":0,\"name\":\"Freelancer\"}}","{\"grade\":{\"level\":0,\"name\":\"none\"},\"label\":\"No Gang Affiliaton\",\"isboss\":false,\"name\":\"none\"}","{\"x\":264.8703308105469,\"y\":-638.7033081054688,\"z\":42.018310546875}","{\"walletid\":\"QB-56742362\",\"hunger\":91.59999999999855,\"tracker\":false,\"callsign\":\"NO CALLSIGN\",\"dealerrep\":0,\"fingerprint\":\"pd700m07Xij3777\",\"ishandcuffed\":false,\"commandbinds\":[],\"fitbit\":[],\"phonedata\":{\"SerialNumber\":84094065,\"InstalledApps\":[]},\"jailitems\":[],\"injail\":0,\"craftingrep\":0,\"inside\":{\"apartment\":[]},\"armor\":0,\"bloodtype\":\"A-\",\"status\":[],\"licences\":{\"weapon\":false,\"business\":false,\"driver\":true},\"criminalrecord\":{\"hasRecord\":false},\"jobrep\":{\"tow\":0,\"hotdog\":0,\"taxi\":0,\"trucker\":0},\"thirst\":92.39999999999964,\"inlaststand\":false,\"stress\":0,\"phone\":[],\"attachmentcraftingrep\":0,\"isdead\":false}"]
1 Like

did u fix it cause its happening to me

Same its happening to me as well

did u guys get a fix or not? im having same issue and have no idea how to fix it

For me it was in my player.lua in QB core a line of code wasnt where it should be for boii-drugs

hey so its your data base for qb its something you must of done to it i did something to it but got the fix

hey so its your data base for qb its something you must of done to it i did something to it but got the fix maybe check that