Jump to content

Inheriting from EAIBase causes build crash


Thirlan

Recommended Posts

My build crashes when I try and load this PatchScripts. The issue is specifically EAIBase.

 

public class EAITest : EAIBase

{

public EAITest()

{

}

 

public override bool CanExecute()

{

return false

}

}

 

System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

at System.Reflection.Module._GetTypesInternal(StackCrawlMark& stackMark)

at System.Reflection.Assembly.GetTypes()

at SevenDaysToDiePlugin.BuildAndRunPatchModsTask.GetTypesWithInterface(Assembly asm, Type interfaceType)

at SevenDaysToDiePlugin.BuildAndRunPatchModsTask.Execute()

at SevenDaysToDiePlugin.Plugin.RunTasks(List`1 tasks, CompilerConfig config)

at SevenDaysToDiePlugin.Plugin.RunAction(String action, CompilerConfig config)

at SDX7DTD.frmMain.btnBuild_Click(Object sender, EventArgs e)

at System.Windows.Forms.Control.OnClick(EventArgs e)

at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)

at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.ButtonBase.WndProc(Message& m)

at System.Windows.Forms.Button.WndProc(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

 

What would be needed to resolve the problem? I want to be able to add my own EAIBase actions pretty badly. I'm willing to work on source code changes for SDX if that is necessary.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...