AI Flag Tool 0.3.2
Download (https://github.com/isturdy/ai-flag-tool/releases/download/0.3.2/ai-flag-tool-0.3.2.zip)
Required mods:
LazyLib (http://fractalsoftworks.com/forum/index.php?topic=5444.0)
MagicLib (http://fractalsoftworks.com/forum/index.php?topic=13718.0)
This is a utility directed at modders who want visibility into AI flags, primarily for writing ship system AIs. It shows the following information for a focused ship (defaults to the player ship, only useful when it is on autopilot):
- Displays a red diamond on the maneuver target.
- Displays a blue diamond on the ship target.
- Displays a green diamond on the mouse position.
- Displays all active AI flags and their custom data (if any) on the right side of the screen.
- When flags are set/unset, displays them as floating text above the ship (in green/red text, respectively).
The display can be toggled with alt-f; ctrl-f shifts focus to the player ship's current target, and displays its last 8 target/flag changes. These shortcuts are customizable in ai_flag_tool_settings.json (which is mergable; you can put a copy in a personal mod to protect it from updates).
This also includes a console command OverrideFlag, which allows forcing an AI flag to see how it affects ship behavior--see the help in console for details. (I will caution not to count on this behavior being the same as when the AI turns on the flag itself, since many flags seem to be partly or entirely descriptive.)
so, i started all of sudden getting this error
Spoiler
226425 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain - java.lang.NoClassDefFoundError: Could not initialize class com.github.isturdy.aiflagtool.AiFlagTool
java.lang.NoClassDefFoundError: Could not initialize class com.github.isturdy.aiflagtool.AiFlagTool
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.fs.starfarer.loading.scripts.ScriptStore.Ó00000(Unknown Source)
at com.fs.starfarer.launcher.ModManager.getEnabledModPlugins(Unknown Source)
at com.fs.starfarer.loading.ResourceLoaderState.init(Unknown Source)
at com.fs.state.AppDriver.begin(Unknown Source)
at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Spoiler
it's interesting as there is no 'hint' why as the mod was working fine until recently
note: narrowed the problem to recently updated mod : [0.9.1a] Kiith Nabaal Shipyard 1.2 - Vaygr Destroyer
here is the post with different crash https://fractalsoftworks.com/forum/index.php?topic=16360.msg271226#msg271226
and disabling it allows game load fine with AI Flag Tool
fixed