Quentin 21277e4039 Fix(lua / script manager): Potential fix for stack overflow when yielding from lua scripts. Fix io / os lua libs being accessible. (#1681)
* fix(script-mgr / lua): first kill all scripts, then unload lua modules: because the lua scripts depend on lua state (which is stored inside lua module instance), killing the lua module first would not allow proper cleaning because of the lua state getting destroyed while the lua script might still be running.

* fix(unloading): Why even reset the fiber pool here?

* fix(lua): don't allow for io / os lua lib to be accessed for security reasons.

* fix(lua): Potential fix for C stack overflow error by using lua coroutine yielding instead of calling fiber yield directly from lua functions.

* feat(unloading): allow to unload in the main title screen. Also revert 309c374602 due to fiber pool being potentially exhausted, we want commands to have their cleanup code ran in priority.
2023-07-11 09:24:44 +02:00
2023-07-08 17:54:59 +02:00
2023-07-05 23:29:07 +02:00
2023-07-08 17:54:59 +02:00
2021-11-09 14:45:40 +01:00
2023-06-14 23:29:25 +02:00
2023-06-28 11:20:48 +02:00
2023-07-02 00:52:36 +02:00

YimMenu

A mod menu base for Grand Theft Auto V. Strictly for educational purposes.

YimMenu is originally based of off BigBaseV2 which was an amazing base at the time but nowadays is a bit dated. So here I am with an up-to-date menu focusing on protecting the user from toxic modders.

Table of contents

How to compile YimMenu

Read the SETUP guide.

Make your own flavour of YimMenu

Fork YimMenu and git clone that repository instead of https://github.com/YimMenu/YimMenu.git

Click the below link to make your own fork of YimMenu: https://github.com/YimMenu/YimMenu/fork

Staying Up To Date

Pull the latest changes from this repository.

With a command line it is as easy as:

git pull

CMake should be handling removed / added files automatically without any user input.

If this is not the case for some reason you'll have to redo the steps in the Making changes to the source code section of the SETUP.

If you are doing custom modifications to the codebase and have a fork you are on your own for staying up to date with upstream (this repository), google stuff like "merge from upstream" and learn how to use Git.

Project Structure

  • backend/ all features that should be ran in a loop are in here sorted by category
  • gui/ includes everything related to UI elements
  • hooks/ function hooks
  • native_hooks/ hooks to natives
  • services/ service files to interact and maintain stuff
  • util/ general utility functions to keep code as compact and as much in one place as possible

Contributing

You're free to contribute to YimMenu as long as the features are useful, not overly toxic and do not contain anything money related that might get the menu targeted by Take2.

Make sure to read the CONTRIBUTING.md file.

Description
YimMenu, a GTA V menu protecting against a wide ranges of the public crashes and improving the overall experience.
Readme GPL-2.0
Languages
C++ 99.4%
Python 0.5%