PDA

View Full Version : Help with AICarrier setup



delta_lima
June 12th, 2019, 15:38
Hello,

Am trying to get AICarriers working in V4, and am stumped.

I've installed the .net version, in an off-root folder (C:\P3DV4-Addons\ZZZ.AICarriers), created an entry in my exe.xml (below) and keep getting an error, and though the AICarriers menu works, selecting any of the boats does not put them into the sim.

My exe.xml:

<?xml version="1.0" encoding="UTF-8"?>
-<SimBase.Document id="exe" version="3,0" Type="AceXML">
<Descr>AceXML Document</Descr>
<Filename>exe.xml</Filename>
-<Launch.Addon>
<Name>AICarriers</Name>
<Disabled>False</Disabled>
<ManualLoad>False</ManualLoad>
<Path>C:\P3DV4-Addons\ZZZ.AICarriers\AICarriers.exe</Path>
</Launch.Addon>
</SimBase.Document>

The error (in the green dialogue ribbon) - "OnRecvException: UNRECOGNIZED_ID". OS is W7 (64). Have latest (v4.5) of P3DV4.

I've doublechecked all the install steps - am tearing my hair out trying to troubleshoot this.

Any help would be much appreciated.

cheers,

dl

Butcherbird17
June 12th, 2019, 17:26
DL,

I have the same problem but in windows 10, so it's not an OS problem. I've tried everything to get it to work.
It works on my FSX install with no problem. I've tried it in the root folder and outside of it with the same
thing happening. This has been happening ever since I installed 4.0, I'm now on 4.5 and still the same.

Joe

fsafranek
June 12th, 2019, 19:26
This might not be a factor at all but how about relocating the files to different folders (or just rename them) without the dash and dot in the names.

Like change to "C:\P3DV4Addons\ZZZAICarriers\". Maybe try it with the change to the "ZZZ.AICarriers" folder first.

Grasping at straws here.
:ernaehrung004:

delta_lima
June 12th, 2019, 22:03
Thanks Joe and Frank,

Tried renaming the folder without periods, moved it (and aliased in the exe.xml) to various places - nothing works. Frustrating in the extreme. Will keep trying.

dl

edit:

Installed FSUIPC, in the off chance there was some connectivity that it would contribute that I didn't know about. Still have the same symptoms, but the event log from the FSUIPC folder didn't reveal anything untoward:

********* FSUIPC5, Version 5.151 (21st February 2019) by Pete Dowson *********
Running inside Prepar3D v4
Module base=7FED2DD0000
Windows 7 Home Premium 64 Bit with SP 1.0 reported as Build 7601 (OS 6.1)
Prepar3D.exe version = 4.5.12.30293
Reading options from "C:\P3DV4\Modules\FSUIPC5.ini"
Checking the Registrations now ...
User Name=""
User Addr=""
FSUIPC5 not user registered
WIDEFS7 not user registered, or expired
15 System time = 12/06/2019 23:04:52
15 FLT path = "C:\Users\Daniel Lopez\Documents\Prepar3D v4 Files\"
15 Using DialogMode
31 FS path = "C:\P3DV4\"
202 LogOptions=00000000 00000001
202 -------------------------------------------------------------------
202 SimConnect_Open succeeded: waiting to check version okay
202 Opened separate AI Traffic client okay
202 ### PDKmodeHelper callback registered
670 Running in "Lockheed MartinŽ Prepar3DŽ v4", Version: 4.5.12.30293 (SimConnect: 4.5.0.0)
686 Initialising SimConnect data requests now
686 FSUIPC Menu entry added
686 ... Using Prepar3D with Academic License
702 C:\Users\Daniel Lopez\AppData\Local\Lockheed Martin\Prepar3D v4\Prepar3D_Default.fxml
6817 C:\P3DV4\.air
23961 C:\P3DV4-Addons\Simobjects\Airplanes\Boeing_T45C\T45.air
23961 ### The user object is 'McDonnell Douglas T-45C VT-7'
23961 ### Mode is NORMAL
25287 ### Mode: PAUSE on
52650 Loading Complete ...
52681 ### Mode is NORMAL
53570 Aircraft loaded: running normally now ...
53601 User Aircraft ID 2 supplied, now being used
53726 System time = 12/06/2019 23:05:45, Simulator time = 14:00:01 (19:00Z)
60715 -------------------- Starting everything now ----------------------
66144 ### Mode: PAUSE on
94848 ### Mode is NORMAL
95363 Advanced Weather Interface Enabled
163130 ### Mode: SLEW on
163988 ### Mode is NORMAL
217683 ### Mode: PAUSE on
241068 ### Mode is NORMAL
303499 ### Mode: PAUSE on
314420 ### Mode is NORMAL
318912 Sim stopped: average frame rate for last 224 secs = 45.9 fps
318912 Max AI traffic was 21 aircraft (Deleted 0)
318912 -------------------------------------------------------------------
327149 ### Mode: PAUSE on
329536 ### Mode is NORMAL
364418 Sim stopped: average frame rate for last 37 secs = 40.6 fps
364418 Max AI traffic was 21 aircraft (Deleted 0)
364418 -------------------------------------------------------------------
365432 === Closing session: waiting for DLLStop to be called ...
371360 === DLLStop called ...
371360 === Closing external processes we started ...
372358 === About to kill any Lua plug-ins still running ...
373513 === About to kill my timers ...
373513 === Restoring window procs ...
373513 === Unloading libraries ...
373513 === stopping other threads ...
373513 === ... Button scanning ...
373606 === ... Axis scanning ...
373716 === Releasing joystick devices ...
373716 === Freeing macro memory
373716 === Removing any offset overrides
373716 === Clearing any displays left
373716 === NOTE: not calling SimConnect_Close ...
373716 === AI slots deleted!
373716 === Freeing button memory ...
373716 === Deleting wxstationlist.bin file ...
373716 === Closing my Windows ...
373716 === Freeing FS libraries ...
374714 === Closing devices ...
374714 === Closing the Log ... Bye Bye! ...
374714 System time = 12/06/2019 23:11:06, Simulator time = 14:03:53 (19:03Z)
374714 *** FSUIPC log file being closed
Minimum frame rate was 30.7 fps, Maximum was 85.6 fps
Average frame rate for running time of 268 secs = 45.1 fps
Maximum AI traffic for session was 21 aircraft
Memory managed: 126 Allocs, 126 Freed
********* FSUIPC Log file closed ***********

Spook48
June 13th, 2019, 11:04
I had problems with aicarriers aswell .
Mine were all solved by updating java.

fsafranek
June 13th, 2019, 14:25
I had problems with aicarriers aswell .
Mine were all solved by updating java.
Good point.
:ernaehrung004:

PhantomTweak
June 13th, 2019, 14:34
As far I've seen, P3Dv4+ doesn't get along well with the Java version of AICarriers.

It seems to work well, normally, with the .NET version of AIC. I've seen some posts in the AIC forum threads on the FSDT Forums that some folks can't get either version to work with P3Dv4+ unless it's installed to the P3D main folder. So you wind up with a path like ...P3D\AICarriers.
Also, when you put the path into EXE.xml, make sure you include the executable. Something like ...P3D\AICarriers\AICarriers.exe
Also-Also, make certain that if you decide to use the NET version, you download and install the correct .NET Framework 4.0 Client Profile from the link provided by Orion. If the link is broken, just Google it. It's still quite easy to find.

Take note: sometimes the autoinstaller for the .NET Framework 4.0 Client Profile (somethingorother.MSI) is 1) Run as Administrator, and 2) that you let it run COMPLETELY. It can APPEAR to freeze up, or stop working. If it does, just walk away and let it run. It can take upwards of 15-20 min to finish. It will place the package in the correct location automatically, no need to tell it where to. Just make sure it's run as Admin, and that it has access to the folders it needs to install it to. I think it needs to go to C:\Windows, but I may be wrong. :dizzy:

I hope something in all my rambling helps a little...
Pat☺

Butcherbird17
June 13th, 2019, 15:43
I got mine working to some extent. It was a name change in my add-on xml file for my boats that needed amended.
I did check as Pat has posted to make sure my EXE.xml had the correct path and to make sure .Net 4.0 was installed,
which it was as I'm on windows 10 (1903) build. That's when I went in and checked the add-on xml file that I noticed
my mistake and fixed it. Sad part is this only took me since Nov.1 of last year when I installed 4.0 to figure that out.:dizzy:

Joe

delta_lima
June 13th, 2019, 22:24
Well, mostly sorted out. I had been using the .net version, in admin mode, so I had already covered the basics.

I found a different exe.xml template in another thread, and that seemed to work. Plus I moved everything to the standard sim-created User/My Documents/P3DV4 Add-ons folder. The only thing that doesn't work right is AiCarriers doesn't start with the sim-I have to start it separately. A bit annoying, but on whole, with the crazy fast and smooth performance, no OOMs, and a more stable sim platform, I can't complain.

For reference, here's the entry in my exe.xml:


<?xml version="1.0" encoding="UTF8-BOM"?>
<SimBase.Document Type="Launch" version="1,0">
<Descr>Launch</Descr>
<Filename>exe.xml</Filename>
<Disabled>False</Disabled>
<Launch.ManualLoad>False</Launch.ManualLoad>
<Launch.Addon>
<Name>AICarriers</Name>
<Disabled>False</Disabled>
<ManualLoad>False</ManualLoad>
<Path>C:\Users\My Name\Documents\Prepar3D v4 Add-ons\AICarriers\AICarriers.exe</Path>
</Launch.Addon>
</SimBase.Document>

Slowly rebuilding my FSX fleets into P3D - fun times, now that stuff works. Last remaining carrier-related hurdle, for now, is getting the SWS package in. Ran out of time to try that. Something for the weekend ... :)

cheers, and thanks all who chimed in.

dl