gta-chaos-mod / Trilogy-ASI-Script

The ASI script for the GTA Trilogy (SA only for now, 3 and VC may follow later on)
GNU General Public License v3.0
141 stars 21 forks source link

Fake teleport crash #223

Closed Jersukai closed 1 month ago

Jersukai commented 1 year ago

Fake teleport (or Liberty City) can crash if it happens when you're in an interior and when it's about to teleport you back. Something to do with #168? I don't remember it crashing before that fix.

I think I have got some real teleports cause crashes too. I don't remember if they were from interiors or not

CrashDumps.zip

Lordmau5 commented 1 year ago

I do have one guess that it might be related to me setting this here https://github.com/gta-chaos-mod/Trilogy-ASI-Script/blob/3.0/src/gtasa/util/Teleportation.cpp#L56

But I can also see some CLEO related calls in the logs so I'm not sure if they are doing something wrong there themselves.

I think I might have to reset that to 0, let me push a fix for that

Lordmau5 commented 1 year ago

Alright, pushed. Once https://github.com/gta-chaos-mod/Trilogy-ASI-Script/actions/runs/3987433670 is built you should be able to download the SA ASI from that and then you can try reproducing it

Jersukai commented 1 year ago

No crashes so far