altmp / altv-issues

Issues and roadmap for alt:V project
93 stars 17 forks source link

setFollowPedCamViewMode native crash the client on rc #985

Closed Arochka closed 3 years ago

Arochka commented 3 years ago

Client/server version

rc/4.0-rc1

Current behavior Calling this native with these parameters crash the client: native.setFollowPedCamViewMode(4)

Expected behavior Not crashing the game, it work on release actually

Steps to reproduce Just call: native.setFollowPedCamViewMode(4)

Context (environment) I'm forcing first person when aiming with a weapon

LeonMrBonnie commented 3 years ago

Can't reproduce on dev. Can you give reproduction code?

Arochka commented 3 years ago

test.zip You can use this resource

tastydev commented 3 years ago

can´t be reproduced even if i copy paste ur clientside code @Arochka the cause has to be something different

Arochka commented 3 years ago

Maybe crashdump can help investigate ? Cause same resource on release is working perfectly

LeonMrBonnie commented 3 years ago

You can upload the crashdump here and we will take a look

Arochka commented 3 years ago

altv_4.0-rc1_EGS_0x1654401_26-06-2021_19-44-13.zip Here is it

LeonMrBonnie commented 3 years ago

The crash is in GTA and not in alt:V

Arochka commented 3 years ago

The crash is in GTA and not in alt:V

Then how did you explain the same resource is working on release and not in RC ?

Is pretty easy to try, the resource is forcing first person when you aim with a gun, and give you a gun at spawn

martonp96 commented 3 years ago

@Arochka do you have anything related to traffic lights? map mods or something

Arochka commented 3 years ago

I'm only using Reshade + NVE

martonp96 commented 3 years ago

can you please try without those mods?

tastydev commented 3 years ago

The crash is in GTA and not in alt:V

Then how did you explain the same resource is working on release and not in RC ?

Is pretty easy to try, the resource is forcing first person when you aim with a gun, and give you a gun at spawn

As i posted earlier this native works and the crash is definitely not related to this firstperson/gun script. It has to be something related to ur local environment i. e. mods or other things in ur gamemode.

Arochka commented 3 years ago

Seem to be related to NVE or reshade, no crash without them. But again, only on RC