citizenfx / fivem

The source code for the Cfx.re modification frameworks, such as FiveM, RedM and LibertyM, as well as FXServer.
https://cfx.re/
3.57k stars 2.11k forks source link

YMT Limits (Request) #2938

Open LivedBackwardss opened 2 hours ago

LivedBackwardss commented 2 hours ago

What happened?

With each new version, the .ymt limit is reduced, which forces us to adjust the clothing and make it compatible with the updated limits. Similar to how we can adjust the pool size, would it be possible to add a feature that allows us to increase the limit to a maximum of 14 or something similar?

In game version b1604 (mpchristmas2018) we had 14 additional free .ymt slots to be used
In game version b1737 (mpvinewood) we had 12 additional free .ymt slots to be used
In game version b1868 (mpheist3) we had 10 additional free .ymt slots to be used
In game version b2060 (mpsum) we had 8 additional free .ymt slots to be used
In game version b2189 (mpheist4) we had 6 additional free .ymt slots to be used
In game version b2372 (mptuner) we had 4 additional free .ymt slots to be used
In game version b2545 (mpsecurity) we have 2 additional free .ymt slots to be used
In game version b2612 (mpg9ec), R* seems to have increased the YMT limit, we have about 20 additional free .ymt slots to be used
In game version b2699 (mpsum2), we have about 16 additional free .ymt slots to be used
In game version b2802/b2824/b2845 (mpchristmas3), we have about 14 additional free .ymt slots to be used
In game version b2944 (mp2023_01), we have about 12 additional free .ymt slots to be used
In game version b3095 (mp2023_02), we have about 10 additional free .ymt slots to be used
In latest game version b3258 (mp2024_01), we have about 8 additional free .ymt slots to be used

For example, increase_pool_size "YmtLimit" 14. This limit could be achievable because the Emergency Uniform Pack (9.8) itself takes up 2 .ymt slots. Then, you could use the ONX faces, which take up another 2 .ymt slots, bringing you to 4/8 for the build, leaving only four .ymt slots remaining. It doesn’t make sense that the .ymt limit gets reduced with every patch, forcing servers to adjust their content each time the game updates. This creates unnecessary work for server owners and developers.

Expected result

The clothing should load regardless of how many slots available. It doesn't make sense that from 1604 to 3258 that we go from 14 to 8.

Reproduction steps

  1. Get a clothing pack that breaks the limit.
  2. Some other clothing won't load or faces.

Importancy

Slight inconvenience

Area(s)

FiveM, FXServer

Specific version(s)

FiveM 3258 / Server 11012 Windows

Additional information

FiveM Game Build: 3258 Artifact: 11012 (Windows)

Keep874 commented 2 hours ago

Agree, this is an inconvenience to server owners having to adjust their limits per game update.

vipexv commented 1 hour ago

Would be cool if possible :o