Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Pete...I hope you can help.

I recently purchased FliteStar 9.0 and I am using your module to convert their flight plans to Flight Sim. I am having a problem however. The problem is when I change the max # of waypoints for RC to 100, since there is no limit with RC anymore, the program crashes and it does not create a pln but it does create a apl file. But the apl file is not complete. CAN I change the waypoint max to 100? IT seems your module crashes with memory out of range. When I create a flight plan and print it using the original jepessen icon it does not crash. If you want to email me at aaa@kc.rr.com I can send you my config file and the apl file. Thanks

Posted

Ok...after testing with other flight plans. the FliteStarRC only recognizes 29 checkpoints even though "MaxCheckpoints" in the config file is set to 100. Is there anyway to correct this issue?

Posted
Pete...I hope you can help.

I recently purchased FliteStar 9.0 and I am using your module to convert their flight plans to Flight Sim. I am having a problem however. The problem is when I change the max # of waypoints for RC to 100, since there is no limit with RC anymore, the program crashes and it does not create a pln but it does create a apl file. But the apl file is not complete. CAN I change the waypoint max to 100? IT seems your module crashes with memory out of range.

Is there no limit in RC now? I didn't know that! No one tells me these things.

I haven't got time this week -- I am back to programming work next week,, and I'll look then. I really wouln't be that surprised if FStarRC didn't allocate enough memory for as many waypoints.

Regards,

Pete

Posted

Thanks!!!

RC 3.0 just pulls the pln data from flight sim. I have been doing long flights using rc with alot of checkpoints.

This is probably fixable, so is it possible to see if you can set the checkpoints to unlimited when you look into this. THanks!!!

Posted
Ok...after testing with other flight plans. the FliteStarRC only recognizes 29 checkpoints even though "MaxCheckpoints" in the config file is set to 100. Is there anyway to correct this issue?

Hmmm. I can't understand that. And doesn't it conflict with your other report about it crashing?

It sounds like your parameter may be in the wrong part of the INI file. There's actually no number "29" anywhere in the program EXCEPT to define the default for that particular parameter. Whatever number is substituted is used to allocate the memory space for the checkpoint data.

Looking through the code (which is many years old now and getting difficult for me to remember!) it looks like the only likely reason for a crash with too many waypoints would be the actual size of the output files. Currently it just pre-allocates rather more space than any (originally possibly) valid result would need. But an output requirement more than double that would possibly crash it.

Additional waypoints a few above the 29 shouldn't, though.

I'll need to do tests, next week. Whatever your problem is, it doesn't look a trivial job I'm afraid. The code isn't even completely compatible with the compiler I'm using now, so there's going to have to be a bit of a conversion job first.

Pete

Posted

This is probably fixable, so is it possible to see if you can set the checkpoints to unlimited when you look into this. THanks!!!

I've been doing lots of tests, and can get no problems with the maximum number of checkpoints set higher than 29. As I said, the 29 was an RC restriction, not one of FStarRC.

What can give a problem is if the resulting plan exceeds the memory allocated for it. The program gennerates all the files in memory before writing any of them, because things like final destination details aren't obtained until the end, yet are needed by RC at the beginning of the file.

So, in version 1.85, attached for your own testing, I have increased the space allocation. I've tested it here with the maximum set to 200 and with various plans with up to 112 waypoints. I am finding it quite difficult to make plans with FliteMap with more than that -- if you still have difficulties, you'll need to send me the plans. Bear in mind that I am using FliteStar/Map version 8.5 -- I don't know if the .fcf file format from other versions is compatible.

Please let me know how you get on. I won't make a general release of version 1.85 till I hear from you that it is okay.

Regards,

Pete

FStarRC185.zip

Posted

Pete...

This version, 1.85, works great!!! I did a few plans with more than 100 checkpoints and so far it works without any problems!!! Thanks for your quick help with this!!!

John

Posted
This version, 1.85, works great!!! I did a few plans with more than 100 checkpoints and so far it works without any problems!!! Thanks for your quick help with this!!!

Okay. Thanks for confirming. I'll release it generally in the morning.

Regards,

Pete

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.