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

GTA5_b3258.exe!sub_141066CFC(0x5c5) Crash #3185

Closed
what11-ctrl opened this issue Feb 22, 2025 · 14 comments · May be fixed by #3186
Closed

GTA5_b3258.exe!sub_141066CFC(0x5c5) Crash #3185

what11-ctrl opened this issue Feb 22, 2025 · 14 comments · May be fixed by #3186

Comments

@what11-ctrl
Copy link

What happened?

when i was using the ‘CS_TaosTranslator’ model, i pulled out my weapon and got hit by a car, then i crashed, and I've seen some cheaters crash logs with this as well, i think this is their crash

Expected result

fix that

Reproduction steps

when i was using the ‘CS_TaosTranslator’ model, i pulled out my weapon and got hit by a car, then i crashed, and I've seen some cheaters crash logs with this as well, i think this is their crash

Importancy

Crash

Area(s)

FiveM

Specific version(s)

Fivem b3258

Additional information

CfxCrashDump_2025_02_22_11_01_31.zip

@what11-ctrl what11-ctrl added bug triage Needs a preliminary assessment to determine the urgency and required action labels Feb 22, 2025
@github-actions github-actions bot added the crash label Feb 22, 2025
@what11-ctrl
Copy link
Author

this crash happened to me a long time ago, about six months

@DaniGP17
Copy link
Contributor

I was able to reproduce the crash, the only strange thing I saw was that the weapon was not in the hand and I assume it is due to something related to the character's skeleton. Still, I don't know how a cheater could make people crash because of this, I'll try to check it out in a while.

Image

@what11-ctrl
Copy link
Author

when fix that?

@DaniGP17
Copy link
Contributor

I don't know, I'm just a contributor, I'll try to fix it when I have time but I don't know if I'll be able to fix it on my own.

@DaniGP17
Copy link
Contributor

From what I've tested with my changes it prevents the crash, but I still think it would be a better idea not to use these types of peds to equip weapons.

@what11-ctrl
Copy link
Author

but some cheater will use this so its fixed now? just wait for update?

@DaniGP17
Copy link
Contributor

but some cheater will use this so its fixed now? just wait for update?

Does the near people crash with this?

@what11-ctrl
Copy link
Author

YES

@what11-ctrl
Copy link
Author

so i report that because i just is crashed

@DaniGP17
Copy link
Contributor

YES

Oh, didn't know, but make sense 😅

@what11-ctrl
Copy link
Author

so its fixed right

@DaniGP17
Copy link
Contributor

so its fixed right

When they merge it, yeah, it should be fixed

@Gogsi
Copy link

Gogsi commented Feb 22, 2025

Until this is merged you can kick anyone with that model with this script

-- Blacklisted Models
local blacklistedModels = {
    [`CS_TaosTranslator`] = true,
    -- add other models here if you want to kick here
}

-- Function to check players
local function checkPlayers()
    for _, playerId in ipairs(GetPlayers()) do
        local ped = GetPlayerPed(playerId)
        if DoesEntityExist(ped) then
            local model = GetEntityModel(ped)
            if blacklistedModels[model] then
                print(("Kicking Player %s for using forbidden model: %s")
                    :format(GetPlayerName(playerId), model))
                DropPlayer(playerId, "You have been kicked for using a blacklisted model.")
            end
        end
    end
end

CreateThread(function()
    while true do
        Wait(500) -- check every 500ms
        checkPlayers()
    end
end)

in general cs_ (cutscene) models shouldn't be used during gameplay

@what11-ctrl
Copy link
Author

oh thx bro

@github-actions github-actions bot removed the triage Needs a preliminary assessment to determine the urgency and required action label Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants