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

Some custom clothing can crash players #619

Closed
youremeh opened this issue Nov 9, 2024 · 5 comments
Closed

Some custom clothing can crash players #619

youremeh opened this issue Nov 9, 2024 · 5 comments
Labels
bug Something isn't working need repro This bug report needs confirmation

Comments

@youremeh
Copy link

youremeh commented Nov 9, 2024

Summary

Upon adding some custom clothing, when a player loads in and before they are able to see the character selection, they will crash with an error relating to "randomPed()" in client/character.lua on line 152 "SetPlayerModel"

Reproduction

  1. Addon (no replacements) clothing used: https://xtxvxtx-mods.tebex.io/package/5616617
  2. Drag all 3 addons into a folder and start them
  3. Start server and load into it
  4. Upon loading being finished, you will crash and get the following error:

[b3258_GTAProce MainThrd/ ^1SCRIPT ERROR: Error executing native 0x00a1cadd00108836 at address FiveM_b3258_GTAProcess.exe+7C6A38.^7
MainThrd/ ^3> randomPed^7 (^5@qbx_core/client/character.lua^7:152)
MainThrd/ ^3> fn^7 (^5@qbx_core/client/character.lua^7:508)

Expected behavior

Be able to load into the server without crashing and see the character selection screen

Actual behavior

The player crashes once loading has finished, and before they are able to choose a character

Additional context

It only happens with this specific clothing pack (that I've noticed) and not the other addon clothing packs. I've disabled everything else and just ran this and got the same issue, including on a fresh install.

Current Version

1.21.0

Custom Resources

See reproduction

@youremeh youremeh added bug Something isn't working need repro This bug report needs confirmation labels Nov 9, 2024
@qbox-duck qbox-duck bot added this to Issues Nov 9, 2024
@github-project-automation github-project-automation bot moved this to Todo in Issues Nov 9, 2024
@Manason
Copy link
Contributor

Manason commented Nov 9, 2024

Did you reach out to the asset creator to ask them if they know why this might be happening?

@mafewtm
Copy link
Member

mafewtm commented Nov 11, 2024

Include your full error please. Not just "with an error relating to..."

@youremeh
Copy link
Author

I've sent the creator a friend request on Discord as there's no support Discord for their addons, just waiting for that. But here's the full error from the log file

SCRIPT ERROR: Error executing native 0x00a1cadd00108836 at address FiveM_b3258_GTAProcess.exe+7C6A38.^7
randomPed^7 (^5@qbx_core/client/character.lua^7:152)
fn^7 (^5@qbx_core/client/character.lua^7:508)

Process crash captured. Crash dialog content:
GTA5_b3258.exe!sub_14070FFC4 (0x58)
An error at GTA5_b3258.exe!sub_14070FFC4 (0x58) caused FiveM to stop working. A crash report is being uploaded to the FiveM developers.
Legacy crash hash: mango-wisconsin-arizona
Stack trace:
GTA5_b3258.exe!sub_14070FFC4 (0x58)
GTA5_b3258.exe!sub_140292BFC (0x13f)
GTA5_b3258.exe!sub_140275E94 (0x79)
GTA5_b3258.exe!sub_140288D40 (0x108)
GTA5_b3258.exe!sub_140288C18 (0xd)
GTA5_b3258.exe!sub_14027AB30 (0x89)
GTA5_b3258.exe!sub_140276E3C (0x21)

@youremeh
Copy link
Author

I've found the cause of the crash, apparently the latest game build (3258 - Bottom Dollar Bounties) does not support extra clothing options (or .ymt), but the previous build (3095 - Chop Shop) does (?)

@solareon
Copy link
Contributor

I've found the cause of the crash, apparently the latest game build (3258 - Bottom Dollar Bounties) does not support extra clothing options (or .ymt), but the previous build (3095 - Chop Shop) does (?)

@youremeh the later gamebuilds use up more ymt slots so you have to remove some to account for this or rebuild the ymts to replace stock clothing.

@youremeh youremeh closed this as completed Dec 2, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in Issues Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need repro This bug report needs confirmation
Projects
Status: Done
Development

No branches or pull requests

4 participants