[#bugs] The game will crash on boot if it encounters a mod containing a `<stat>` XML nod...

Issue #9684 resolved
Freehold Games Bot Account created an issue

Marked for crossposting by: torn sheet of graph paper

Message (jump):

<kernelmethod> The game will crash on boot if it encounters a mod containing a <stat> XML node with a Value attribute that cannot be directly parsed as an integer. Proof-of-concept:
xml <?xml version="1.0" encoding="utf-8" ?> <objects> <object Name="TestSnapjaw" Inherits="Snapjaw Scavenger"> <stat Name="Strength" Value="a" /> </object> </objects>

Comments (3)

  1. Corey Frang

    Made error not crash (beta branch), but it’s not particularly helpful either:

    ERROR - Error parsing stat parameters for TestSnapjaw :System.FormatException: Input string was not in a correct format.
    

  2. Log in to comment