Skip to content

A random jumpjet crush on phobos #690

@ststl-s

Description

@ststl-s

First check

  • The issue happens on the latest official version of Phobos and wasn't fixed yet.
  • I agree to elaborate the details if requested and provide thorough testing if the bugfix is implemented.
  • I added a very descriptive title to this issue.
  • I used the GitHub search and read the issue list to find a similar issue and didn't find it.
  • I have attached as much information as possible (screenshots, gifs, videos, debug and exception logs, etc).

Description

At the beginning of this mission, there is a kirov airship that would be crush onto the golden gate bridge, unfortunately, there is a player who used a modified rules found out the kirov would always crush——the mission itself——rather than onto the bridge. Yes, he set the kirov to explode on the air (Crushable=no), the game would not be into fatal error at that stage, so it is for sure a jumpjet crush.
So we made some measures to find out the problem, the original rules is ok, so the problem is related to his modify (that would be listed below), and the original ares is ok, so the problem is taken by phobos. Then we found the problem is between b23 to b24, there is something changed here and around the "image altswap" and "anim layer", however, the problem is still unknown. The fatal error can only be repeated on his computer, but there was nothing happened on the others. From the dmp, we found the problem is about shadow drawing.
The player who found the problem changed his rules and found out the problem is from the Hunter-Seeker which he changed its three explosion anim into one who has a customed palette, without this there would not be the problem. So in general, Hunter-Seeker's explosion anim changing would be related with jumpjet crush, maybe there would be something unknown between them, perhaps, anim layer problem?

Phobos Version

b24, b25, b26, b27, b28

Conditions to reproduce

Win10
Mental Omega 3.3.6 Soviet 02
Ares
Phobos-b24/25/26/27/28
cncddraw

INI code

[SUNB]
Explosion=SUNBURN2

2443=SUNBURN2

[SunburstBombWH]
AnimList=SUNBURN2

In art:
[SUNBURN2]
Translucent=no
UseNormalLight=yes
Report=Explosion15
Crater=yes
Scorch=yes
CustomPalette=tianim.pal

Steps to reproduce

  1. Add a explosion anim to [SUNB]
  2. Fatal error

Expected behaviour

When kirov dead (Projectile explode moment) cause Fatal Error EIP 0x7BAEA1 (XSurface::GetPixel)
QQ图片20220704183947

Actual behaviour

Mental Omega Soviet 02

Additional context

snapshot-20220703-231333.zip
extcrashdump.dmp exceed upload file size limit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ❓Phobos bugSomething isn't working properly

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions