Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get ox_inventory updates #3

Open
wants to merge 80 commits into
base: feat/redm
Choose a base branch
from

Commits on May 9, 2024

  1. Configuration menu
    Copy the full SHA
    7e688e7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ff76405 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2c63cc0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b9ae19c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bf31632 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5e49ab3 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    84f5f13 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e4bb063 View commit details
    Browse the repository at this point in the history
  9. fix(server/inventory): clean-up random loot generation

    Remove recursion and safeguard against potential infinite recursion.
    May resolve #1645 (no full repro provided).
    thelindat committed May 9, 2024
    Configuration menu
    Copy the full SHA
    01fe7f8 View commit details
    Browse the repository at this point in the history
  10. feat(client): add convar inventory:disableweapons

    As the weapon wheel export is too complex for the minds of
    "standalone vmenu nd_core" rp servers - here's the solution.
    
    Includes some other tweaks like disabling hotkeys without
    needing to struggle with setting a statebag.
    
    Resolves #1643.
    thelindat committed May 9, 2024
    Configuration menu
    Copy the full SHA
    888f4a7 View commit details
    Browse the repository at this point in the history
  11. feat: convars inventory:dropslots and inventory:dropweight

    Defaults to the player values.
    thelindat committed May 9, 2024
    Configuration menu
    Copy the full SHA
    6d640f8 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    23c596e View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    e5082f7 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    081f88d View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    31561b3 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2024

  1. Configuration menu
    Copy the full SHA
    1436f7d View commit details
    Browse the repository at this point in the history
  2. refactor(client): client.openInventory formatting tweaks

    Additionally adds a possible third response from the callback event,
    for handling server-side notifications.
    thelindat committed May 12, 2024
    Configuration menu
    Copy the full SHA
    dbb9766 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    11a5467 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2024

  1. fix(server): type fixes

    thelindat committed May 13, 2024
    Configuration menu
    Copy the full SHA
    9dad0f5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c758ce2 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2024

  1. fix(client): check if current license point is showing textui

    If for whatever reason you decide to put your license points
    really really really close together, it can get a bit weird.
    thelindat committed May 20, 2024
    Configuration menu
    Copy the full SHA
    3f298a1 View commit details
    Browse the repository at this point in the history
  2. refactor(client): display text prompt on markers

    Text prompts for evidence, stashes, shops, crafting.
    Resolves #1700.
    thelindat committed May 20, 2024
    Configuration menu
    Copy the full SHA
    bb8f029 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    485070f View commit details
    Browse the repository at this point in the history
  4. refactor(client): don't disable firing while inv is "busy"

    This probably should have been changed eons ago.
    thelindat committed May 20, 2024
    Configuration menu
    Copy the full SHA
    836a0b2 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2024

  1. Configuration menu
    Copy the full SHA
    545723d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    54e91d1 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2024

  1. fix(client): respect weapon clip size in vehicles

    I don't know why GTA5's weapon/ammo natives are so dogshit.
    Resolves #1712.
    thelindat committed May 25, 2024
    Configuration menu
    Copy the full SHA
    cb8050a View commit details
    Browse the repository at this point in the history
  2. refactor(client): more specific info when player inventory is not loaded

    People keep attributing this to the target inventory not being
    loaded, e.g. stash is not registered.
    thelindat committed May 25, 2024
    Configuration menu
    Copy the full SHA
    82ff412 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2024

  1. Configuration menu
    Copy the full SHA
    0c8469d View commit details
    Browse the repository at this point in the history
  2. refactor(qb): export handler tweak

    It's been 2 years since I first asked people to add more of these.
    /sigh
    thelindat committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    8405db9 View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2024

  1. Configuration menu
    Copy the full SHA
    3ee2b49 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    37551a2 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2024

  1. Configuration menu
    Copy the full SHA
    9f4b1a4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    81554df View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    46fcfaf View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2024

  1. refactor(server): change item count checks to Inventory.GetItemCount

    This does technically prevent some errors where count may
    have been nil before (i.e. invalid items).
    thelindat committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    b4bad4a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ccedcf3 View commit details
    Browse the repository at this point in the history
  3. feat(server/qb): partial qb-inventory exports

    No, I didn't bother testing. No, I won't be doing any testing.
    I focused on some of the more "important" exports while
    ignoring some of the most horribly implemented ones.
    thelindat committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    9731fd5 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2024

  1. Configuration menu
    Copy the full SHA
    2596a30 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4a70b93 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2b5a827 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2024

  1. Configuration menu
    Copy the full SHA
    813d483 View commit details
    Browse the repository at this point in the history
  2. refactor(client): set weapon timer based on time between shots

    May improve ammo sync for some weapons.
    thelindat committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    43bb753 View commit details
    Browse the repository at this point in the history
  3. refactor(client): disable firing when weapon timer is nil

    The timer is removed when disarming the player.
    thelindat committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    13e9981 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0f7a476 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fcd8432 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    cceeed3 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2024

  1. Configuration menu
    Copy the full SHA
    3fa6f11 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2024

  1. Configuration menu
    Copy the full SHA
    bbd9e7f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    972e59f View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2024

  1. fix: cure cancer

    Removes the cancer that is qbcore.
    thelindat committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    34a3e9b View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2024

  1. Configuration menu
    Copy the full SHA
    937f775 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9512721 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2024

  1. Configuration menu
    Copy the full SHA
    5618523 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2024

  1. Configuration menu
    Copy the full SHA
    9f816e4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    696b38d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0317d14 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2024

  1. Configuration menu
    Copy the full SHA
    c1a5a7a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4561261 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8278a1d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3978cac View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2024

  1. Configuration menu
    Copy the full SHA
    9127e81 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2024

  1. Configuration menu
    Copy the full SHA
    d4049b0 View commit details
    Browse the repository at this point in the history
  2. refactor(client): tweak inventory access distance checking

    Lazy workaround for #1766.
    thelindat committed Sep 1, 2024
    Configuration menu
    Copy the full SHA
    e63bad5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    868eeb3 View commit details
    Browse the repository at this point in the history
  4. refactor(client): print when weapon is disarmed by game

    Since we've have a billion issues posted complaining about
    default game behaviour.
    thelindat committed Sep 1, 2024
    Configuration menu
    Copy the full SHA
    50a79b0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cf88913 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2024

  1. Configuration menu
    Copy the full SHA
    8e96447 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    35fc62b View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2024

  1. fix(server/crafting): don't start crafting when item is missing

    Generally crafting cannot be triggered by the UI if missing items,
    however this fails when trying to craft multiple times.
    
    Without this, the item count is only checked after finishing the
    progress bar. Aside from poor UX, it may also fail to remove items
    from the inventory if they are given during the crafting process.
    
    Fixes #1800.
    thelindat committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    bb654f2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8a0b920 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e29e0c1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    322a5e4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    65b38e8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d4445fa View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2024

  1. fix(client): replicate invBusy state

    Should resolve #1801.
    thelindat committed Sep 14, 2024
    Configuration menu
    Copy the full SHA
    6ce273c View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2024

  1. Configuration menu
    Copy the full SHA
    43d735f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8c8d057 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c5027d5 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2024

  1. fix(server): prevent cascading errors on resource start

    Prevent some errors caused by other errors (which people
    always ignore).
    thelindat committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    c0abafb View commit details
    Browse the repository at this point in the history