• Tutorials

  • Home
  • Test All Special Abilities

    This feature runs a test on all Special Abilities in the database and puts the results in the UAFErr_Edit.txt file found in the design folder for the currently loaded design. The editor tests each script, defined by a hook, for each Special Ability, so a particular Special Ability may have more than one line of the log dedicated to it for this test.

    Example of error log:

    00958af8 1 0000000000Testing Competing[CombatMainMenu]
    00958af8 0 0000000000Testing Competing[GetNumberOfAttacks]
    00958af8 0 0000000000(MB) Error: $CombatantContext() called when no combatant context exists
    00959b3d 4165 0000000000Testing Competing[OnStartCombat]
    00959b3d 0 0000000000Unable to find party char context in RTI GetCharacterContext()
    00959b3d 0 0000000000Testing Global_Combat[PartyArrangement]
    00959b3e 1 0000000000Testing Global_Combat[PartyOriginEast]
    00959b3e 0 0000000000Testing Global_Combat[PartyOriginNorth]
    00959b3e 0 0000000000Testing Global_Combat[PartyOriginSouth]
    00959b3e 0 0000000000Testing Global_Combat[PartyOriginWest]
    00959b3e 0 0000000000Testing Global_CreateMonsterCombatant[CreateMonsterCombatant]
    00959b3f 1 0000000000(MB) Error: $CharacterContext() called when no character context exists
    00959e19 730 0000000000Attempt to GET Special Ability parameter "monsterLevel" from NULL SA List
    00959e19 0 0000000000Testing Global_Transfer[TransferModule]
    00959e19 0 0000000000Testing IsAfraid[AutoAction]
    00959e1a 1 0000000000Testing IsAfraid[CharCombatStatus]
    00959e1a 0 0000000000Testing IsBlessed[CharCombatStatus]

    The lines containing errors have been highlighted in red. In the first line, an error was captured relating to the editor being able to find a Character Context - which in this case does not reflect upon the script, but occurs because Character Context does not exist within the editor. The second line is the same issue, but this time referring Combatant Context which does not occur outside of combat.