Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: NeonShivan on October 31, 2014, 02:42:57 pm

Title: AI Path Issues - GVC Mekhet
Post by: NeonShivan on October 31, 2014, 02:42:57 pm
So I was play testing one of my missions that involve the capture of a [Zod] cruiser, the Mekhet, all was going well when the transport arrive and FSOpen collectively shat itself and gave me this error:

Code: [Select]
ai_find_path tring to find a path (1) that doesn't exist, on ship ANC Horus
KERNELBASE.dll! IsNLSDefinedString + 3228 bytes
KERNELBASE.dll! WaitForSingleObjectEx + 139 bytes
kernel32.dll! WaitForSingleObjectEx + 67 bytes
kernel32.dll! WaitForSingleObject + 18 bytes
fs2_open_3_7_2_RC3.exe! <no symbol>
fs2_open_3_7_2_RC3.exe! <no symbol>
fs2_open_3_7_2_RC3.exe! <no symbol>
fs2_open_3_7_2_RC3.exe! <no symbol>
fs2_open_3_7_2_RC3.exe! <no symbol>
fs2_open_3_7_2_RC3.exe! <no symbol>
fs2_open_3_7_2_RC3.exe! <no symbol>
fs2_open_3_7_2_RC3.exe! <no symbol>
fs2_open_3_7_2_RC3.exe! <no symbol>
fs2_open_3_7_2_RC3.exe! <no symbol>
fs2_open_3_7_2_RC3.exe! <no symbol>
fs2_open_3_7_2_RC3.exe! <no symbol>
fs2_open_3_7_2_RC3.exe! <no symbol>
fs2_open_3_7_2_RC3.exe! <no symbol>
fs2_open_3_7_2_RC3.exe! <no symbol>
kernel32.dll! BaseThreadInitThunk + 18 bytes
ntdll.dll! RtlInitializeExceptionChain + 99 bytes
ntdll.dll! RtlInitializeExceptionChain + 54 bytes


I've never seen such an error before and I have no real knowledge, as a result, to fix it. If anyone could help that would be greatly appreciated.
Title: Re: AI Path Issues - GVC Mekhet
Post by: zookeeper on October 31, 2014, 02:50:55 pm
Well, probably the transport is arriving from a fighterbay, with the name of the path being one that doesn't actually exist in the anchor ship's model. Or, possibly, the paths might be named wrong somehow in said model. Pasting the relevant arrival anchor code from the mission file and a PCS2 screenshot of the paths list should reveal if anything's amiss.
Title: Re: AI Path Issues - GVC Mekhet
Post by: NeonShivan on October 31, 2014, 05:38:21 pm
The transport is arrive via warp, not from a fighterbay.

Here's the POF screenshot

(http://i.imgur.com/6MO4bJu.png)
Title: Re: AI Path Issues - GVC Mekhet
Post by: zookeeper on October 31, 2014, 05:52:29 pm
The transport is arrive via warp, not from a fighterbay.

Oh, right, well in that case it's something else. Maybe a ship trying to dock or undock with another when the latter doesn't have a proper path for it, or something. I'd guess the problem to be with the model of whatever class ANC Horus is.

A debug build ought to give a better stacktrace and/or something interesting in the log.