tcagri Posted February 11, 2004 Report Share Posted February 11, 2004 Hi everyone, I have an external panel program which reads and writes data from FS2002. I deal with every variable and have no problem but i really have big trouble with variables starting from 0x0F1C. When i write to these adresses, sometimes it writes something wrong and sometimes nothing. for ex. WORD y = 8; FSUIPC_Write(0x0F80, 2, &y, &dw_Result); what could be the problem?Is it something related to local/global weather setting or clearing weather thing? thanks Link to comment Share on other sites More sharing options...
Pete Dowson Posted February 11, 2004 Report Share Posted February 11, 2004 ... i really have big trouble with variables starting from 0x0F1C. When i write to these adresses, sometimes it writes something wrong and sometimes nothing. for ex. WORD y = 8; FSUIPC_Write(0x0F80, 2, &y, &dw_Result); what could be the problem?Is it something related to local/global weather setting or clearing weather thing? Can you use FSUIPC IPC logging to check what you are doing? Also you can experiment with FSInterrogate -- that is why it is provided. Since you are trying to write weather data you may also find it useful to enable the FSUIPC weather logging. I can help work out what it is you are doing wrong much more easily from log extracts showing these things. I think it would help you too. In the case of FS2000 and FS2002 weather, you must clear it all first -- use the Clear Weather facilities in the FS weather dialogue, or the Hot Key provided by FSUIPC. In the example you quote above, setting the lower cloud type without also setting the cover, altitude and ceiling in offsets 0F24 - 0F2A won't accomplish a lot. You need to set clouds as entities. Of course you should be able to change an existing layer with individual writes. Regards, Pete Link to comment Share on other sites More sharing options...
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