No crash logs produced - Using two weapons with time-dependent ammo

Discussion in 'Support!' started by manlebtnureinmal, September 5, 2018.

  1. manlebtnureinmal

    manlebtnureinmal Active Member

    Messages:
    138
    Likes Received:
    131
    Here is a version of the relevant mod that can be used to reproduce a "crash":
    https://github.com/Thalassocracy/Planetary-Annihilation-Subfactions-Mod/tree/Broken_Mithras_Crash

    I was working on my subfaction mod when I stumbled upon a problem that would consistently "crash" the server I was on, causing it to freeze, disconnect me, but not leave a .dmp file. No multiplayer testing was performed, but I did try it on both a local dedicated server, the normal localserver, and with localserver turned off.

    The Mithras, a modified Atlas (it is purple) causes this server "crash" to occur if it is killed or deleted. The cause seems to be that it has two weapons that are both dependent on the time resource. Removing the dependency on time for a single weapon causes it not to crash the game when it dies.

    Using two weapons dependent on the energy resource does not appear to cause this issue.

    I have not done extensive testing on the specifics, but I do know for sure that I can consistently crash my server every single time I delete a Mithras, whether or not it has attacked either recently or ever in its lifespan. I think I recall 1-2 exceptions to this over maybe 50 or so attempts at not getting it to crash (before I realized it was because of the two time-dependent ammo weapons).

    Once again, no dmp files were left by any of these crashes.
  2. stuart98

    stuart98 Post Master General

    Messages:
    6,009
    Likes Received:
    3,888
    Having multiple weapons that use the ammo reload system has always produced a crash as soon as both weapons are active. First encountered that over four years ago, likely won't ever be fixed.
  3. xankar

    xankar Post Master General

    Messages:
    752
    Likes Received:
    1,004
    : (

Share This Page