Skip to content

Weird bug gamemode + bounty + debris anim #1924

@MetalMonkeyHD

Description

@MetalMonkeyHD

Description

Starting a gamemode (bounty core), when a lasher tank (or any other tank with a debris anim) gets destroyed, the game crashes. Codes will be posted below.

Details will be below.

Phobos Version

Nightly build #4656

Conditions to reproduce

Starting the game with nightly build #4656, selecting game mode Bounty core, starting a skirmish game, killing a lasher tank (or any other tank with a debris anim specifically a turret debris anim), the game crashes. When I tried to start a skirmish game with game mode Battle, game doesn't crash.

When I change the code to:

[LTNKTURRET]
ShareTurretData=yes
ShareSource=LTNK2 (image does not exist)
Elasticity=0.10
MinAngularVelocity=5.0
MaxAngularVelocity=25.0
MinZVel=20.0
MaxZVel=40.0
MaxXYVel=20.0
Duration=300
ExpireAnim=xxxx
Damage=30
DamageRadius=50
Warhead=xxxx

it doesn't show any voxel anim, however game doesn't crash.

Or when I add the code to rulesmd.ini instead mpbounty.ini and play battle instead of bounty core,

[LTNK]
Bounty=yes
Bounty.Value=50

game doesn't crash as well

INI code

mpbounty.ini

[General]

[MultiplayerDialogSettings]
AlliesAllowed=yes

[Riparius]
GrowthPercentage=.01
SpreadPercentage=.01

[Cruentus]
GrowthPercentage=0
SpreadPercentage=0

[Vinifera]
GrowthPercentage=.01
SpreadPercentage=.01

[Aboreus]
GrowthPercentage=.05
SpreadPercentage=.01

[LTNK]
Bounty=yes
Bounty.Value=50

Rulesmd.ini
[LTNK]
DebrisTypes=LTNKTURRET,AXLE,PIECE
DebrisMaximums=4
MaxDebris=1
MinDebris=1

[VoxelAnims]
xx=LTNKTURRET

[LTNKTURRET]
ShareTurretData=yes
ShareSource=LTNK
Elasticity=0.10
MinAngularVelocity=5.0
MaxAngularVelocity=25.0
MinZVel=20.0
MaxZVel=40.0
MaxXYVel=20.0
Duration=300
ExpireAnim=xxxx
Damage=30
DamageRadius=50
Warhead=xxxx

Steps to reproduce

  1. Download nightly build #4656
  2. copy above codes
  3. start the game
  4. start skirmish game mode bounty core
  5. kill a lasher tank
    ...

Expected behaviour

Game doesn't crash and you'll get a bounty (if you kill enemy lasher tank).

Actual behaviour

Crashes the game once you kill as lasher tank

Additional context

No response

Checklist

  • 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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions