Skip to content

Conversation

@xesdoog
Copy link
Collaborator

@xesdoog xesdoog commented Dec 29, 2025

Fixes:

  • Features/PlayerVehicle

    • Refactored Launch Control: The feature now has two modes (realistic / ridiculous) and performs a lot better than before.
    • Refactored Fast Jets: No more air drag loss when speed is increased. Jets now handle the same as default, only faster.
    • Fixed Brake Force Display toggling ABS when the vehicle is moving in reverse.
    • Fixed optional tyre smoke color in the Drift Mode feature always set to black.
  • Script Globals/Locals:

    • Fixed some locals that were swapped with their offsets due to bad regex patterns.
    • Added Enhanced globals and locals.
  • Pointers:

    • Added Enhanced patterns.
  • Scripts/CI:

    • Fixed offset updater and refactored it to update both legacy and enhanced.

xesdoog and others added 7 commits December 26, 2025 17:00
- Don't create release if no changes.
- editorconfig: Limit to Lua and Python source files only. Stop reformatting YAML with tabs.
- Exit early if the vehicle isn't a car.
Prepare for cross-compatibility with GTA V Enhanced using tupoy-ya's YimLuaAPI.
- Features/PlayerVehicle
  - Refactored Launch Control: Feture now has two modes (realistic/ridiculous) and performs a lot better than before.
  - Refactored Fast Jets: No more air drag loss when speed is increased. Jets now handle the same as default, only faster.
  - Fixed Brake Force Display toggling ABS when the vehicle is moving in reverse.
  - Fixed tyre smoke color in the Drift Mode feature.
  - Fixed script entry point.
- Check both repositories instead of legacy only.
@xesdoog xesdoog marked this pull request as draft December 29, 2025 19:23
if (script and (type(script) == "table")) then
if (menu_event and menu_event.Wndproc) then
if (type(_G["get_game_branch"]) == "function") then
self.api_version = _G["get_game_branch"]() + 1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wouldn't rely on your API version table matching the return value of get_game_branch()+1.
I'm thinking doing something like this:

get_game_branch() == game_branch.Enhanced

Copy link
Collaborator Author

@xesdoog xesdoog Dec 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes that's a placeholder for now (the function would return a userdata enum not a number) but I put it there to map out what the next step is once we start testing on your new API.

EDIT: wrong wording

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The function doesn't exist yet, and it will return an integer, I just think we shouldn't rely on it always being Enums.eAPIVersion-1

- Fix return inside ImGui.Begin without calling ImGui.End
@xesdoog xesdoog self-assigned this Dec 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants