1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

Warning: UpdateFrontlineData is trying to murder an unit

Discussion in 'Bug Reports' started by Knasp, Nov 13, 2017.

  1. Knasp

    Knasp Chieftain

    Joined:
    Sep 10, 2011
    Messages:
    196
    Haven't noticed anything wrong but I got this "Warning" message when playing. Attached lua.log and the save file (turn before error message) just in case.

    Apart from the mod I only have DLC Civilizations active.
     

    Attached Files:

    Gedemon likes this.
  2. Gedemon

    Gedemon Modder Moderator

    Joined:
    Oct 4, 2004
    Messages:
    7,990
    Location:
    France
    Thanks!

    This one happens when the game is changing the type of an unit (from it's equipment) with not enough health left, I'll try to add a check before calling the function updating the unit.

    In that specific case I think a barbarian unit (player #63) was killed when attacking another unit and then the mod tried to update its type.

    For now you can safely ignore that one unless it's followed by an "Error" message about the same unit ID the next turn(s)
     
    Last edited: Nov 14, 2017
    Knasp likes this.

Share This Page