Closed b1naryerr0r closed 1 year ago
sometimes when do /relog ill try to reproduce this and try to hide while relogin.
is there a solution?, or something? :c It happens when the user enters to the server
I have relog in false
I tried something, i put qb-multicharacter custom and the user can create a character, when i put again your creator it loads fine the character and shows the UI correctly. It appears to be the character creation when the user doesn't have a character created
thank i will try this repro.
also i have updated the server thing ..
i have tried your repro steps..
can you retry in test server and use the latest version delete all your characters to test
I tested it but it shows like this can you send me your config file for qbcore?, just for compare with what i edit it's correct or not
is there no server error? from console
https://github.com/renzuzu/renzu_multicharacter/commit/ea525e99002c8d1286053b185cf258975b9e9a42
i have tweak the client to prevent empty datas to slots and characters.
appreciate if you test the latest version.
and also tell me your FXversion , game build version, also important to check server console if problem still exist in latest version.
Hi renzu!, i tested it and it shows like this
When i press "create" gives me this error and won't happen anything
My FX version is FXServer-master v1.0.0.5848 linux
Config = {} Config.Locale = 'en' Config.framework = 'QBCORE' -- ESX or QBCORE Config.UseDefaultRegister = false -- if false you will use other registration resource ex. esx_identite, Config.RegisterHook = { event = false, call = 'esx_identity:showRegisterIdentity' -- sample esx_identity compatibility. for more compatibilty see bottom. }
-- Choose Skin Resource -- if using qbcore use qb-clothing or fivemappearance. Config.skin = 'fivemappearance' -- skinchanger , fivemappearance, qb-clothing -- skin resource
Config.ESXStarterItem = { [1] = {item = 'bread', amount = 10}, [2] = {item = 'water', amount = 10}, }
Config.Animations = { ['choose'] = { [1] = {dict = 'anim@mp_player_intcelebrationfemale@blow_kiss', anim = 'blow_kiss'}, [2] = {dict = 'anim@arena@celeb@podium@no_prop@', anim = 'regal_c_1st'},
[3] = {dict = 'anim@mp_player_intcelebrationfemale@shadow_boxing', anim = 'shadow_boxing'},
[4] = {dict = 'mini@triathlon', anim = 'want_some_of_this'},
[5] = {dict = 'random@street_race', anim = 'grid_girl_race_start'},
[6] = {dict = 'amb@world_human_hang_out_street@male_c@idle_a', anim = 'idle_b'},
[7] = {dict = 'anim@arena@celeb@flat@solo@no_props@', anim = 'flip_a_player_a'},
[8] = {dict = 'timetable@reunited@ig_2', anim = 'jimmy_getknocked'},
[9] = {dict = 'anim@mp_player_intcelebrationmale@karate_chops', anim = 'karate_chops'},
[10] = {dict = 'anim@mp_player_intupperpeace', anim = 'idle_a_fp'},
},
['delete'] = {
[1] = {dict = 'anim@mp_player_intcelebrationmale@cut_throat', anim = 'cut_throat'},
[2] = {dict = 'gestures@m@standing@casual', anim = 'gesture_damn'},
[3] = {dict = 'anim@mp_player_intupperface_palm', anim = 'idle_a'},
[4] = {dict = 'anim@mp_player_intupperfinger', anim = 'idle_a_fp'},
}
}
-- skin menus -- set use to true if you want to use the skin menus -- do not set multiple trues on the same resource eg. skinchanger -- you can add more skin menu or creator events Config.SkinMenus = { ['skinchanger'] = { ['esx_skin'] = {event = 'esx_skin:openSaveableMenu', use = true}, ['VexCreator'] = {event = 'VexCreator:loadCreator', use = false}, ['cui_character'] = {event = 'cui_character:open', use = false}, ['example_resource'] = {exports = 'exports.example:Creator', event = nil, use = false}, -- example support exports }, ['fivemappearance'] = {}, -- is there any creator uses fivemappearance? i will leave this todo for now ['qb-clothing'] = { ['qb-clothing'] = { event = 'qb-clothing:client:openMenu', use = true}, }, } -- compatibility with IlleniumStudios version of fivemappearance for qbcore Config.fivemappearanceConfig = { ped = true, headBlend = true, faceFeatures = true, headOverlays = true, components = true, componentConfig = { masks = true, upperBody = true, lowerBody = true, bags = true, shoes = true, scarfAndChains = true, bodyArmor = true, shirts = true, decals = true, jackets = true }, props = true, propConfig = { hats = true, glasses = true, ear = true, watches = true, bracelets = true }, tattoos = true, enableExit = true, }
--- do not edit Config.SkinMenu = {} for resource,v in pairs(Config.SkinMenus) do if resource == Config.skin then for k,v in pairs(v) do if v.use then Config.SkinMenu[resource] = {event = v.event or false, exports = v.exports or false} end end end end
-- extra ui info ex. LocalPlayer.state:set('invehicle',true,true) -- take note this utilise state bag. so the state value should be sent by client or server manualy. Config.Status = { ['invehicle'] = '', ['isdead'] = '', ['premium'] = '', ['injail'] = '', ['iscuffed'] = '', ['incommunityservice'] = '', ['isbanned'] = '', ['inbed'] = '', ['inhouse'] = '', ['inapartment'] = '', ['inmlo'] = '', ['admin'] = '', }
what it shows you is correct, based on whats you set on config.
you did set Config.UseDefaultRegister, which wont use the default registerration.
and you set
Config.RegisterHook = {
event = false,
call = 'esx_identity:showRegisterIdentity' -- sample esx_identity compatibility. for more compatibilty see bottom.
}
event = false means it should use export.
call = '' -- this is the event name or exports link.
if you want to use esx_identity set the event to true.
Hi renzu!, i tried but keeps me doing the same, I came to the conclusion that the menu has this error when the player does not have any created character, it only happens in the first creation I have FX version is FXServer-master v1.0.0.5848 linux and using QBCore
which issue? you posted 2 issues in this single thread.
is this about the first issue or your 2nd issue which you upload 2 picture.
if this is about first issue, i need more reproduction steps.
if this is about 2nd issue.
make sure you are really using esx_identity because in default its esx_identity event is included in the config.
you can pass me your discord so i can help you faster
yes!, here you have my disc! Knox#3719 Do I have to use esx_indeity even though I don't use esx?
what framework do you use?
Hi renzu!, love your work :3 some players are having this problem you know why?