FSDreamTeam forum
June 22, 2018, 04:15:33 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Login Register  
Pages: [1] 2 3 ... 6
  Print  
Author Topic: AI Carriers .NET  (Read 45804 times)
Orion
Beta tester
Hero Member
*****
Posts: 755


« on: December 26, 2014, 01:22:27 AM »

AI Carriers .NET

I made a .NET port of Lamont Clark's AI Carriers utility, eliminating the need for Java.  I've also added support for Flight Simulator X: Steam Edition, which didn't seem to be compatible with the original.

Original description:

Quote
AICarriers: This is a small software that allows you to place and control single ships or complete naval fleets in Flight Simulator X. Doesn't need complex edit of traffic files or mission files. Just add carriers when you are in free flight, anywhere you want.

This version targets the .NET Framework 4.0 Client Profile and supports Microsoft Flight Simulator X: Acceleration and SP2, Microsoft ESP, Lockheed Martin Prepar3D and Prepar3D v2, and Dovetail Games Microsoft Flight Simulator X: Steam Edition.

Usage

This version of AI Carriers has re-implemented all functionality of Lamont Clark's original Java release. All cfg files and entries from the original should work with this version.

Simply launch the executable while Flight Simulator is running in order to connect to the simulator. Access the in-sim menu by either using the keyboard shortcut (Shift+J) or the add-ons menu inside of Flight Simulator.

Here's a sample exe.xml file to launch AI Carriers with Flight Simulator:

Code:
<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>REPLACE WITH PATH TO AICarriers.exe</Path>
  </Launch.Addon>
</SimBase.Document>

Acknowledgements

  • Lamont Clark - Creating the original AI Carriers utility and being a proponent of open source software. Smiley
  • Steven Frost - Creating the ini parsing class used in the program.
  • Tim Gregson - Creating the BeatlesBlog Managed SimConnect library.

Note

To avoid confusion, please refer to this release as AI Carriers .NET. This is not an update to Lamont Clark's AI Carriers utility; this is an alternative. I am not affiliated with Lamont Clark, whose only participation was placing his original program in the public domain.

Download
« Last Edit: January 02, 2015, 10:33:52 PM by Orion » Logged
hd764jvgd843
Full Member
***
Posts: 198


« Reply #1 on: December 30, 2014, 02:58:27 AM »

Thanks, this is really great!

As I have sometimes stability issues with AI Carriers and Java, I hope the .NET port will work well.
I will give it a try later on.

Peter
Logged
hd764jvgd843
Full Member
***
Posts: 198


« Reply #2 on: December 30, 2014, 01:37:33 PM »

I took AI Carriers .NET for a quick spin this morning. Works great!

Feedback:
- I really like the taskbar icon, so you can easily see if AICarrier opens/closes properly, instead of searching for hung up java processes.
- Some font is missing, displaying the (c) character in the taskbar rollover info not showing properly. See screenshot below...

Peter

Thanks again for this .NET port, much appreciated!


* Untitled.jpg (17.88 KB, 305x82 - viewed 1090 times.)
« Last Edit: December 30, 2014, 01:39:32 PM by hd764jvgd843 » Logged
Orion
Beta tester
Hero Member
*****
Posts: 755


« Reply #3 on: December 31, 2014, 02:31:57 AM »

Glad you like it and good to hear that it's working. Smiley

I did a quick test and there's no missing font; the BeatlesBlog Managed SimConnect library actually returns � (character 65533).  It's likely an encoding problem in the information it receives from Prepar3D.  I made a C++ test program which gives what I'd expect to be an invalid character value of -82, which somehow resolves to ®, the registered trademark symbol.
Logged
Striker
Newbie
*
Posts: 26


Sierra Hotel


« Reply #4 on: December 31, 2014, 04:29:54 PM »

Thanks, Orion, for another great program. So glad to see Java removed.
Logged

Respectfully,
Striker



Charlie Time
SandPro
Newbie
*
Posts: 8



WWW
« Reply #5 on: January 01, 2015, 06:53:29 AM »

Great Job and THANKS !!!
Logged
Orion
Beta tester
Hero Member
*****
Posts: 755


« Reply #6 on: January 01, 2015, 10:05:42 AM »

You're welcome!  Glad to see it being used. Smiley
Logged
ega
Newbie
*
Posts: 11


« Reply #7 on: January 02, 2015, 05:39:16 PM »

I apologise for the (certainly obvious) question: how to install?

I see  files AIcarriers.zip and AIcarriers-1.0.zip. Are both required? 

Is it required to uninstall the original AIcarriers program? 

Thanks
Edmundo
Logged
ega
Newbie
*
Posts: 11


« Reply #8 on: January 02, 2015, 06:38:41 PM »

Well, the installation is indeed obvious...I just donīt see what to do with files inside the zip AICarriers-1.0.
thanks
Edmundo
Logged
Orion
Beta tester
Hero Member
*****
Posts: 755


« Reply #9 on: January 02, 2015, 09:55:41 PM »

Click the green AICarriers.zip button to download.  Follow the instructions in the included Readme.txt to install and use.

The source code is available in zip and tar.gz files through the corresponding buttons to the right of the green download button.  The source code has no purpose to end users; it is not required to use AI Carriers .NET.  Developers who would like to make changes or improvements are encouraged to fork the repository and send pull requests should they feel inclined.

You may want to disable Lamont Clark's original Java version of AI Carriers before using AI Carriers .NET, as running both simultaneously may result in undefined behavior.
Logged
sieggie
Newbie
*
Posts: 1


« Reply #10 on: January 03, 2015, 01:53:45 AM »

Great improvement over the Java version. Now I don't have to fear updating Java that AICarrier will stop working. As a request, since this code is still fresh in your mind, could you add a couple of improvements? An additional distance selection of say 20 mile and a selection to turn into the wind would make this a truly perfect enhancement.

Thanks,

Dave
Logged
ega
Newbie
*
Posts: 11


« Reply #11 on: January 03, 2015, 12:53:24 PM »

Thanks Orion!

It works as advertised! Many thanks!

Edmundo
Logged
Jymp
Jr. Member
**
Posts: 55


« Reply #12 on: January 03, 2015, 03:17:22 PM »

Thanks Orion, but I'm with the other fella, I read the read me, not sure how to install.
Logged
Orion
Beta tester
Hero Member
*****
Posts: 755


« Reply #13 on: January 03, 2015, 10:07:46 PM »

Dave: Might be able to add some features, but I'm a bit tied up with other things at the moment.

Edmundo: You're welcome!

Jymp: There is no need to install.  All you need to do is launch the exe file while Flight Simulator is running.  You need to edit the exe.xml file if and only if you want Flight Simulator to automatically start AI Carriers .NET at sim startup.
Logged
einherz
Newbie
*
Posts: 36


« Reply #14 on: January 23, 2015, 11:19:26 PM »

hi, it's not work for me:( i have installed and full updated framework, and i think it include client, or i'm worng there? thank you
actually java work ok for me, but i realy interested use this too, it's realy fun have  two similar things for found some different
when i start simulator net version is start but not connect, just stay in try and popup messages wrote "not connected"
have a nice day, happy ney year, and good luck
Logged
Pages: [1] 2 3 ... 6
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!