Skip to content

Troubleshooting

Common Cuxial Appearance problems, with their cause and fix.

The most frequent problems after installing Cuxial Appearance, with the cause and the fix for each one.

The resource does not start

Cause. A dependency is missing or starts later. Cuxial Appearance needs OneSync, ox_lib, oxmysql and cuxial_bridge.

Fix. Enable OneSync and start the dependencies first:

server.cfg
cfg
ensure ox_lib
ensure oxmysql
ensure cuxial_bridge
ensure cuxial_appearance
The menu never shows, or the screen stays empty with the cursor visible

Cause. The interface is not loading. The folder web/build is missing or incomplete, usually after a partial upload.

Fix. Make sure web/build/index.html exists inside the resource. If it does not, copy the resource again from the original package and restart the server.

The console shows failed queries on the appearance or outfits tables

Cause. The database already had a table named appearance or outfits from another script, with different columns. The resource does not replace an existing table.

Fix. Stop the server, back up the database, rename or remove the old tables and start again so they are created with the right columns. Then bring the old looks in with the migration command if it supports your previous script.

I changed a price in shared/config.lua and nothing changed

Cause. prices, secondHand, ui.menuAlpha and part of wardrobe and trimmer are stored in the database on first start. From then on the database wins over the file.

Fix. Change the value in the staff panel, section settings. To go back to the values of the file, edit the file, restart the resource and use the reset button of that block.

I edited data/shops.lua and the shops did not change

Cause. That file is only read when the shop table is empty, on first start.

Fix. Edit shops from the staff panel. The import button adds the shops of the file that are missing by name; it does not change the ones that exist.

The console says the garment item is not registered, and taking a garment off fails

Cause. The item of wardrobe.item does not exist in your inventory.

Fix. Add the items of the Installation page and restart the inventory and the resource. The name in the inventory must match the config. Also add cuxial_shopbag (or the name set in wardrobe.purchase.shopBag.item).

Using a garment item does nothing

Cause. The item has no use handler.

Fix. In ox_inventory, the item needs client = { export = 'cuxial_appearance.useClothing' }. The resource folder must be named cuxial_appearance.

The clothing panel, garment bags or body search are missing

Cause. Inventory mode is off, or the convar was set with set and the client cannot read it.

Fix. Use setr and restart the server:

server.cfg
cfg
setr cuxial_appearance:inventory 1

Inventory mode also needs an inventory that provides the clothing panel and the garment bag containers.

The photo studio says the server does not know the photos resource

Cause. cuxial_appearance_photos is not in the resources directory, or the server has not scanned it.

Fix. Copy the resource, then run refresh and ensure cuxial_appearance_photos in the server console. Add the ensure line to server.cfg.

The photo studio says the server cannot write into the photos resource

Cause. The filesystem permission is missing.

Fix. Add this line to server.cfg and restart the server:

server.cfg
cfg
add_filesystem_permission cuxial_appearance write cuxial_appearance_photos
The photo studio closes at once with an error about captures

Cause. No capture resource is running.

Fix. Start screencapture or screenshot-basic before Cuxial Appearance, or set the name of yours in photos.captureResource.

Photos are taken but the catalogue shows none

Cause. The photos resource is not started, or it was not restarted after the session, so clients do not have the new files.

Fix. Check that cuxial_appearance_photos is running. The studio restarts it on finish; if the console reports that the command was refused, restart it by hand with ensure cuxial_appearance_photos, or allow it:

server.cfg
cfg
add_ace resource.cuxial_appearance command.ensure allow
Photos show the previous garment or a half-loaded one

Cause. The capture happens before the garment has finished loading.

Fix. Raise photos.waitApply and photos.waitCapture, flag the wrong photos and run the session again.

Staff commands answer that I am not allowed

Cause. Your framework does not grant you the permission of admin.permission.

Fix. Give yourself that permission in your framework, or change admin.permission to one you have. On ESX, 'admin' accepts the groups admin and superadmin. If you set restricted on a command, you also need that ACE.

The trimmer says it needs the emote system

Cause. cuxial_emotes is not running, or the emote of trimmer.emote does not exist in it.

Fix. Start cuxial_emotes before Cuxial Appearance and check the emote name.

A player cannot change their hair

Cause. They were shaved with the trimmer. Hair is locked for trimmer.hairLockMinutes.

Fix. Wait, or lower the value in the staff panel. 0 removes the lock for future shaves.

Someone keeps wearing something reserved in the whitelist

Cause. The player is staff with Staff mode on, or the grant came from version 2.0 and is matched by number only, so after adding clothing packs it points at another piece.

Fix. Turn Staff mode off in the Whitelist section of the staff panel. For an old grant, put the garment on, open the grant, capture it again and save.

The tattoo tab is missing

Cause. rcore_tattoos is running. Cuxial Appearance leaves tattoos to it and hides its own tab. The tab only exists in the appearance menu.

Fix. To use the built-in tattoos, stop rcore_tattoos.

The placed outfit bag cannot be opened

Cause. No target resource is running, or cuxial_bridge picked a different one.

Fix. Start sleepless_interact, ox_target or qb-target before cuxial_bridge.

Characters from my old clothing script appear with the default look

Cause. Their skins have not been imported.

Fix. Keep compat.legacySkins = true to import each one when it is first needed, or run the migration command once. See Commands & permissions.

I changed menu.openControl but the shop still opens with the old key

Cause. menu.openControl is only the default. Once a player has joined, FiveM remembers their key binding.

Fix. Each player changes it in the GTA settings, under key bindings, FiveM.

A new character is not sent to the creator

Cause. Nothing calls the creator. Cuxial Appearance does not open it by itself.

Fix. Your multicharacter resource has to call exports.cuxial_appearance:InitialCreation() or trigger qb-clothes:client:CreateFirstCharacter for new characters. See Exports & events.

The shopping bag does not appear and the garments arrive loose

Cause. wardrobe.purchase.shopBag.enabled is false, the purchase has fewer pieces than minPieces, the item cuxial_shopbag is not registered in your inventory, or your ox_inventory does not provide the shopping bag container.

Fix. Add the item from Installation and use an ox_inventory that provides the containers of inventory mode. Restart the inventory and the resource.

© Cuxial