Fixed

this has been fixed please ignore

Can you please provide more information? What is your server’s gamebuild?

GameBuild 2802

Do you get any errors or crashes?

In current game version b2802 (mpchristmas3), we have about 14 additional free .ymt slots to be used.

Using up more than the additional free .ymt slots for one gender in the given versions, will end up with your game crashing or other weird issues.

For example in FiveM you will end up with crashes like:

b1604: oven-happy-sad || GTA5.exe!sub_1406B14FC (0xf)
b2189: earth-august-saturn || FiveM_b2189_GTAProcess.exe!sub_1406D21B0 (0xf)
b2372: yellow-stairway-december || FiveM_b2372_GTAProcess.exe!sub_14070E7A8 (0xf)

While you will be receiving errors in the console similar to:

InvokeNative: execution failed: Error executing native 0x00a1cadd00108836 at address 0x1407a0b54.
SCRIPT ERROR: Execution of native 00a1cadd00108836 in script host failed: Error executing native 0x00a1cadd00108836 at address 0x1407a0b54.

pool full size == 85500 error

Adding more YTD files than a certain limit by either putting new vehicles, new clothes, new MLOs or similar on your server, will possibly cause a full game pool error, which essentially means that you have hit the total amounts of YTD files supported by the game.

For example in FiveM you will end up with crashes like:

68747470733a2f2f692e696d6775722e636f6d2f57574d49776a552e706e67

The only way to currently fix this is by trying to shrink down the amounts of YTDs you are adding to your game/server.

Why not put all clothes in one big .ymt file

Each .ymt file can define up to a total of 128 (0-127) cloth items per drawable type, per gender.

Drawable types being jbib, feet, teef etc. - Each type representing model parts like pants, shirts, hats…

When this limit is reached, we have to create a new .ymt file in order to add more clothes.

How to prevent YMT amount related issues

The most simple way to not have any issues at all, is to just keep your addon cloth packs to a minimum. For example don’t try to have more than 1 addon cloth pack containing clothes for female & male ped or alternatively 2 addon cloth packs with each containing just male or female clothes.

You will always need to keep in mind that every cloth collection created for one gender, will end up creating 1 .ymt file. Additionally if you have special flags enabled for any of your clothes (Like Is High Heels, Cut Hairs etc), one extra creaturemetadata.ymt file will be created. This one also counts up to the general .ymt limit per gender.

Examples

Lets say we run the server with the GTA: Online Update mpsecurity. We created one basic addon cloth pack with female and ped clothes, without any special flags (Is High Heels, Cut Hairs etc). This should work fine as we are now using up 2 of the 4 additional .ymt slots we have available. This would be enough to create one additional basic addon cloth pack.

Another example would be creating 2 basic addon cloth packs, each having male & female clothes without any special flags set. This should be fine as we are now using up 4 of the 4 additional .ymt slots. We will not be able to use any additional addon cloth pack.

Lets do another one with 1 advanced addon cloth pack. We have 1 addon cloth pack that contains female & male clothes + special flags set (high heels flag and cut hairs for example). This will end up using up 4 of the 4 additional .ymt slots available. We will not be able to use any additional addon cloth pack.

Alternatively, you may need to replace default clothing

do not get any crashes i load in and go to the clothes shop and none of the customs clothes are spawning.

1 Like

It should also be noted that clothing such as hats, glasses, and things of that nature, has a different overall game limit, which is completely different to the 128 limit I mentioned earlier. So, you’re better off to have less addon hats but, on the bright side, each model can have 26 textures, so you could have, red hat, black hat, blue hat, etc etc etc etc etc, but as the same model.

To sum it up:

game limits are basically:

  • 128 of each drawable type X (jbib, lowr etc) per gender (per DLC). Rockstar starts at 000 and goes to 127.

=> Multiple cloth resources can be created to avoid hitting this limit

  • 255 per prop type (hats etc) per gender in total (across all DLC)

=> No way to avoid this currently, you can replace R* DLC content to add more

  • Total YMT limit per game build (latest gamebuild mpchristmas3 is about 14 YMT spaces to use)

=> YMT limit is per gender and is basically amount of creaturemetadata and pedmodel YMT files

=> No way to avoid this currently besides using latest game build

Can you try testing with vMenu? vMenu shouldn’t have any problems; if I am correct, then the clothing script you are using is missing something to read your new files :thinking:

idk we have the default qbcore clothing got the latest fx server artifacts

Try using vMenu, if it works, then it’s something with your clothing script. Also, you need to check your console or F8 for any errors.

@Kakarot oi, dude’s using qbcore. Help him.

got it fixed

Can you please explain how you fixed it and then mark it as a solution?

@ShadowField you need to explain how you fixed it and then mark that as the solution.

changed game build.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.