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

Crash when trying to "add" collision for ID from engineRequestModel #3342

Open
1 task done
FileEX opened this issue Mar 15, 2024 · 2 comments
Open
1 task done

Crash when trying to "add" collision for ID from engineRequestModel #3342

FileEX opened this issue Mar 15, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@FileEX
Copy link
Contributor

FileEX commented Mar 15, 2024

Describe the bug

When adding a collision for ID with engineRequestModel, a crash occurs for the timed-object type. I know that this type has no collisions, but it shouldn't result in a crash.

image

Crash offset: `0x1E26EE`` (ProcessEntityCollision).

Steps to reproduce

local id = engineRequestModel("timed-object")

local col = engineLoadCOL("test.col")
engineReplaceCOL(col, id)

local txd = engineLoadTXD("test.txd")
engineImportTXD(txd, id)

local dff = engineLoadDFF("test.dff")
engineReplaceModel(dff, id, true)

Version

Multi Theft Auto v1.6-release-22396

Additional context

No response

Relevant log output

No response

Security Policy

  • I have read and understood the Security Policy and this issue is not security related.
@FileEX FileEX added the bug Something isn't working label Mar 15, 2024
@ffsPLASMA
Copy link

I confirm crashing for me as well with same offset when starting to use timed-objects on new IDs.

@TheNormalnij TheNormalnij self-assigned this May 9, 2024
@TheNormalnij
Copy link
Contributor

Do you have a test resource? I tested on latest commit and there is no crash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants