[3.4.1?] CanCollideWith() + destruction/damage desync+crash

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
User avatar
Apeirogon
Posts: 1605
Joined: Mon Jun 12, 2017 12:57 am

Re: [3.4.1?] CanCollideWith() + destruction/damage desync+cr

Post by Apeirogon »

Rachael wrote:There's no way to guarantee it will still work in future versions.
Nothing eternal under the moon...
SanyaWaffles
Posts: 805
Joined: Thu Apr 25, 2013 12:21 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Windows 11 for the Motorola Powerstack II
Graphics Processor: nVidia with Vulkan support
Location: The Corn Fields
Contact:

Re: [3.4.1?] CanCollideWith() + destruction/damage desync+cr

Post by SanyaWaffles »

I feel like this is one of those things that perhaps we should change to be const because if it breaks the engine that much, it probably shouldn't be allowed.

I know a lot of ZScript mods and TCs exist but if it's that easy to break the engine, it should be considered faulty by design... maybe we should have a discussion here about that, see what other mod authors say and suggest fixes to said code with this flaw.

This is one of those instances where I'm afraid no matter what direction we're gonna take, some major rewriting to ZScript code will need to be done, probably at a performance hit, but it beats using unsafe code. Either that or keep using unsafe code and hope it doesn't cause major errors if used carefully.
Post Reply

Return to “Closed Bugs [GZDoom]”