Closed FilipeCuco closed 1 year ago
are you able to repeat this? what esx version?
make sure your multi character config in esx is true, if using legacy.
I am using the most updated one
I have to remove esx_identity and esx_multicharacter correct?
yes you should remove both.
tell if the issue is repeatable..
that issue means the character is not registered successfully
and this
make sure your multi character config in esx is true, if using legacy.
everything is correct and it is not working
try removing the print from server/framework/main.lua replace with this
LoadPlayer = function(source)
while not GetPlayerFromId(source) do Wait(0) end
local ply = Player(source).state
ply:set('identifier',GetPlayerFromId(source).identifier,true)
return true
end
and check any server error.
i use latest esx legacy too, and i just recently installed from friends a while ago, its a drag and drop. possible issue in your end. if you want this to be solved show me console server .logs
also tell me if its repeatable. if yes restart your server, we experience this in past, if we load a lot of tons vehicle assets before loading esx or oxmysql the esx throw an error while starting up. you could verify this if you cant login using esx_multicharacters
or you could try /relog (if resource is not restarted) and try to register again.
i was able to replicate your issue, exactly the same .
there should be an error from server console. i dont know if your video shows the updated console. sometimes console is not updating, you have to enter or something. just a hunch.
in my case when newly install esx, no esx identiy sql it throw an error for firstname and lastname.
if you could provide more viable info. else this is not actionable as its fully working on me and my other server using esx legacy latest.
i will investigate your issue what its causing.
100% problem in your end, make sure you install ESX properly. as in your video there is no users. its probably a newly installed
dont forget to install esx identity SQL, and ESX skin SQL
im closing as this is not actionable and not a bug
Fixed it....
Drop your users
Database and add this in your sql
##############################################################
CREATE TABLE users
(
identifier
VARCHAR(60) NOT NULL,
accounts
LONGTEXT NULL DEFAULT NULL,
group
VARCHAR(50) NULL DEFAULT 'user',
inventory
LONGTEXT NULL DEFAULT NULL,
job
VARCHAR(20) NULL DEFAULT 'unemployed',
job_grade
INT NULL DEFAULT 0,
loadout
LONGTEXT NULL DEFAULT NULL,
position
VARCHAR(255) NULL DEFAULT '{"x":-269.4,"y":-955.3,"z":31.2,"heading":205.8}',
PRIMARY KEY (`identifier`)
) ENGINE=InnoDB;
##################################################################
Then add the esx_skin .sql and the @ esx_identity sql that renzu provided
This is the fix for servers who have never ran multicharacter and already have user data and dont want to lose your current players user data
In front of the identifiers in the identifier
tab you should be able to just add "char1:" (Without quotes, this is for character slot 1) if you're converting from another multi character script then you should already have this and may be another issue.
so all of your identifiers in your data base for each player should now look like
char1:ec45676414165456456HI123154 ------This is not a real identifier number
Hope this helps
in esx when I try to create a character it spams the console with this:
and then it goes like this:![image](https://user-images.githubusercontent.com/116587926/204414286-3bfcfa6d-3184-409d-ac9e-77e1d7ff3e6b.png)