[#bugs] The game will crash if it encounters a mod with the following XML:```xml<?xml ...

Issue #9693 resolved
Freehold Games Bot Account created an issue

Marked for crossposting by: torn sheet of graph paper

Message (jump):

<Weierstrass function enjoyer> The game will crash if it encounters a mod with the following XML:
xml <?xml version="1.0" encoding="utf-8" ?> <objects> <!-- Inheritance matters here: the game will crash when we inherit from Creature, but not when we inherit from e.g. Snapjaw. --> <object Name="TestSnapjaw" Inherits="Creature"> <!-- Should be Blueprint, not Name; this is the proximal cause of the crash --> <inventoryobject Name="Battle Axe" /> </object> </objects>

Comments (3)

  1. kernelmethod
    <?xml version="1.0" encoding="utf-8" ?>
    <objects>
      <!--
        Inheritance matters here: the game will crash when we inherit from Creature, but
        not when we inherit from e.g. Snapjaw.
      -->
      <object Name="TestSnapjaw" Inherits="Creature">
        <!-- Should be Blueprint, not Name; this is the proximal cause of the crash -->
        <inventoryobject Name="Battle Axe" />
      </object>
    </objects>
    

  2. Log in to comment