bolivazio Posted August 5, 2015 Report Share Posted August 5, 2015 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 More sharing options...
Pete Dowson Posted August 5, 2015 Report Share Posted August 5, 2015 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. 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