Studios
Uniformshouse-3.jpg

Troubleshooting

SoonUniformsQbox
PAGE 05 OF 06  ·  EXAMPLES → TROUBLESHOOTING → COMMANDS & EXPORTSdocs.glitchstudios.dev
Browse docs

The locker option does not show#

The player's job must be in the department's jobs, and the target zone must be where they stand. Move the entry in Config.Lockers. If a preset is active, check that it lists a locker for that department.

"Only department staff can use this locker"#

The player has no job in Config.Depts and no edit or menu permission.

"The locker is shut"#

The server refused the request. Either the player is outside Config.OpenRange of every Config.Lockers and Config.OpenPoints spot, or a Wear came in for a locker they do not have open or an outfit they may not wear. If another resource calls the Open export, add its coordinates to Config.OpenPoints, or set Config.OpenRange = false.

Staff cannot set outfits up#

Check the permissions in Configuration. Without glitch-admin, the ACE names are the only way in.

The uniform is gone after a relog#

No supported appearance resource is running, or Config.Appearance is 'none'. The console prints nothing for this on purpose, since it is a valid setup. Start glitch-appearance or illenium-appearance.

"Uniform on, but it could not be saved to your character"#

The appearance resource did not return a look for the ped. Check that it is started and that the player is on a freemode character.

An outfit stopped showing after a clothing pack changed#

Install glitch-appearance so clothing idents can follow the item, or save the outfit again.

Edits do not persist#

Check that the glitch_uniforms table exists and that oxmysql is running. Edits are written within a second of the change and again when the resource stops. Turn on Config.Debug to see failed edits in the console.

The example preset loaded and I did not want it#

Set Config.Preset = false, or delete config/presets/nsw.lua, then restart the resource.

Known limits#

  • Outfits only fit the freemode characters.
  • The outfit is checked on the server when Wear is pressed, but the look itself is saved through the appearance resource's own event, which this resource cannot intercept. A modified client can still save any look outside the locker, the same as in any clothing store.
  • All text is in English until you add another file to locales/.