Skip to content

ACTION_TABLE_DEFINITIONS data file causes melee attacks to stop working #3737

@woozievert

Description

@woozievert

What happened?

When loading interrelations.meta file using the ACTION_TABLE_DEFINITIONS data file key in FiveM, melee attacks (hand-to-hand combat) completely stop working. Players cannot perform any melee attacks on NPCs or other players, NPCs too.

This issue occurs even when using the original, unmodified interrelations.meta file from the base game. The same file works correctly in RAGEMP without any issues.

The file is loaded correctly (no errors in console), but the game's interrelation test system appears to malfunction, preventing melee combat interactions from being detected or triggered.

Expected result

Melee attacks should work normally when using interrelations.meta via ACTION_TABLE_DEFINITIONS data file, just like they do in the base game or RAGEMP.

Reproduction steps

  1. Create a FiveM resource with a fxmanifest.lua file
  2. Add the following to the manifest:
    files { 'data/interrelations.meta' } data_file 'ACTION_TABLE_DEFINITIONS' 'data/interrelations.meta'
  3. Place the original interrelations.meta file from GTA V base game in the data/ folder
  4. Start the FiveM server and connect as a client
  5. Attempt to perform melee attacks (punch/kick) on NPCs or other players
  6. Observe that melee attacks do not register or work at all

Importancy

Crash

Area(s)

FiveM

Specific version(s)

FiveM 3258, Server 23368(Windows)

Additional information

Related Context:

  • The same interrelations.meta file works perfectly in RAGEMP
  • This suggests the issue is specific to FiveM's data file mounting system
  • The file loads without errors, indicating the issue is in how FiveM processes/interprets the interrelation test data

Technical Details:

  • File type: XML metadata file
  • Root element: CInterrelationTestContainer
  • Mounter: CActionInfoDataFileMounter (as per FiveM documentation)
  • File location: common:/data/ai/interrelations.meta (in base game)

Impact:
This prevents server owners from customizing player interactions (like disabling stealth kills) while maintaining normal melee combat functionality.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugcrashtriageNeeds a preliminary assessment to determine the urgency and required action

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions