Guest Anonymous Posted July 20, 2005 Report Posted July 20, 2005 Hello Peter, I'm talking to a friend (coder) and we're planning to code a fuel/payload manager for fs2004 in visualC++. We're still working out what's achivable and what's not. it would be great if you could explain a couple of things in details :) 1) is it possible for an external .exe program to read the current aircraft's path (path to the file aircraft.cfg) and to send the command "reload current aircraft ? 2) is it possible for an external .exe program to send changes to the fuel quantity of every single station? thanks a lot for yur time Regards Luca
Pete Dowson Posted July 20, 2005 Report Posted July 20, 2005 1) is it possible for an external .exe program to read the current aircraft's path (path to the file aircraft.cfg) and to send the command "reload current aircraft ? Yes. Search the Programmer's Guide and you will find the pathname of the current AIR file. See offset 3C00. "Reload aircraft" is an FS control. They are listed in the FS2004 controls list, and can be sent via offset 3110. 2) is it possible for an external .exe program to send changes to the fuel quantity of every single station? Yes, if by "station" you mean the fuel tanks. Obviously changes to fuel levels in tanks not fitted to an aircraft will make no difference. The fuel levels are expressed by values representing proportion filled, so for absolute values you need also to read the capacities. All this stuff is listed in the tables in the Programmer's guide in the SDK. Regards, Pete
Guest Anonymous Posted July 20, 2005 Report Posted July 20, 2005 All this stuff is listed in the tables in the Programmer's guide in the SDK. Thank you for your prompt reply Pete. I'll pass everything to my friend (the proper coder). Does it require to have a registered version of fsuipc in order to read and write these values? Regards Luca
Pete Dowson Posted July 20, 2005 Report Posted July 20, 2005 Does it require to have a registered version of fsuipc in order to read and write these values? Yes, until you have a program ready to attach a key too, then it depends whether it is freeware or not. Regards, Pete
Guest Anonymous Posted July 20, 2005 Report Posted July 20, 2005 Does it require to have a registered version of fsuipc in order to read and write these values? Yes, until you have a program ready to attach a key too, then it depends whether it is freeware or not. Regards, Pete Me and my friend are planning to create a freeware payload/fuel manager. We're not even sure if we're are capable of doing so :wink: It will be freeware but we're considering to add a link to accept donations. I mean it's freeware, but with the option to accept donations in case somebody wanted to support it. Will such a program be entitled to a free key? best regards Good night Luca
Pete Dowson Posted July 20, 2005 Report Posted July 20, 2005 I mean it's freeware, but with the option to accept donations in case somebody wanted to support it. Will such a program be entitled to a free key? Yes, but we should discuss it when it exists I think! Hopefully you will get enough to cover your initial outlay for suvh things as a compiler and of course FSUIPC registration! ;-) Regards, Pete
Guest Anonymous Posted July 22, 2005 Report Posted July 22, 2005 I mean it's freeware, but with the option to accept donations in case somebody wanted to support it. Will such a program be entitled to a free key? Yes, but we should discuss it when it exists I think! Hopefully you will get enough to cover your initial outlay for suvh things as a compiler and of course FSUIPC registration! ;-) Regards, Pete Thank you for your prompt replies. we won't be able to dedicate time and money to it, and we won't consider to open a business. It will be something much simpler and quicker. However I'll get in touch in case something goes on Regards Luca
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now