Studios
Abstractionhouse-3.jpg

Troubleshooting

FreeAbstractionQBCore · Qbox · ESX
PAGE 05 OF 09  ·  EXAMPLES → TROUBLESHOOTING → COMMANDS & EXPORTSdocs.glitchstudios.dev
Browse docs

Common problems#

The console says "No supported framework is running"

Start qbx_core, qb-core or es_extended before glitch-abstraction, then check Config.UseFramework.

A function is nil

The selected adapter does not implement it, or the library is not ready yet. Wait for GA.IsReady, then check GA.Framework.Type, GA.Inventory.Type, GA.Target.Type, GA.UI.Type and GA.DoorLock.Type. A nil type means no module loaded for that part. Set Config.Debug = true and read the Skipping and Could not load lines.

A call works on one inventory or target and not another

Some calls exist on one adapter only. Hooks, stashes and slot helpers are ox_inventory only. Inventory.UseItem exists only with qb-inventory, so use Framework.RegisterUsableItem for a call that works everywhere. ShowHelpNotification is ESX only.

Items that set consume never reach RegisterUsableItem

ox_inventory does not call the framework for them. Use an ox_inventory usingItem hook through Inventory.RegisterHook.

XP calls do nothing

Neither glitch-xpSystem nor pickle_xp is installed, or Config.xpSystem names one that is not. With no XP system AddXP returns false and GetLevel returns 0.

Targets stay after I restart my script

Call the library through exports['glitch-abstraction']:getAbstraction() so it can tell which resource added the zone. Restart glitch-abstraction itself if you changed the target system.

/cutsceneadmin does not exist

The cutscene tools are off. Set Config.Cutscenes.Enabled = true, or install glitch-mapHandler and keep the default 'auto'.

/cutsceneadmin says you have no access

Your account lacks the ACE named by Config.Cutscenes.Admin.Ace (default admin). Add add_ace group.admin admin allow or change the key.

Saved looks never appear as fillers

Start oxmysql before this resource and check that Config.Cutscenes.Database names real tables.

A resource using glitch-poolcleaning behaves oddly with events

server/guard.lua wraps event registration only when glitch-poolcleaning is installed. Set Config.EventGuard = false to turn it off.

Getting help#

Include the resource version, framework, selected providers, reproduction steps and the server console and F8 errors when you ask for support.

Known limits#

  • All text is in English, with no locale table.
  • The cutscene tools are written for Glitch Studios servers and use qbx_core data where it is available.