Jump to content
The simFlight Network Forums

FSUIPC 3.999z4 and weather issue

Recommended Posts

Hi to all,

probably I'm going to submit a stupid query but I didn't find an answere reading on the internet.

I'm using FS2004 within FSUIPC 3.999z4 unregistered. No problem until now.

I would like to change weather conditions such as rain or snow accessing offset 0x04D2 (Precipitation control)... but it seems not working.

Is it due to my unregistered copy of FSUIPC or I'm doing some mistake?


A c# sample code as follow:


result = fsuipc.FSUIPC_Write(0x04D2, ((Uint16)(261)), ref token, ref dwResult);
result = fsuipc.FSUIPC_Process(ref dwResult);

Link to comment
Share on other sites

Version 3.999z4 is not the currently supported version of FSUIPC3. You should install 3.999z8 or 9.


I don't recognise the code. What language is that? What is "token"? Why aren't you checking the assorted results? Maybe those would tell you something?


In the C/C++ version of the Interface, which is what I understand, the data is provided in a variable and the FSUIPC_Write call provides a pointer to that data and a length (i.e. number of bytes to write). I don't see that in your code.


Is that the whole program? Haven't you opened a connection to FSUIPC?


Try using FSInterrogate to read and write offsets first. It's a good way of learning what you can do, and it will also test that you are doing it correctly. You should also be using the Logging facilities in FSUIPC, which are available to you even in an unregistered install.



Link to comment
Share on other sites

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.