Jump to content
The simFlight Network Forums

joaopagotto

Members
  • Posts

    21
  • Joined

  • Last visited

Everything posted by joaopagotto

  1. Friends solved this problem. The version of FSUIPC I was old and I have not figured it out: | Solution to the above problem is: Using FSUIPC version 15th January 4.758 2012 or greater. This version of FSUIPC created automatically and dll.xml Prepar3D the Modules directory. Friends here ask forgiveness for this my fault, and that Pete had warned version. And I did not see it.
  2. I'm sorry not to post the log information here so far. I'm at work and in spare time I wrote this information. Upon arriving at my house where the simulator and Prepar3D just post the log here for you. These things happened last night, and I opened this topic today. In two hours I'll be at my house and send the logs.
  3. Hello friend Pete. Would you like to remote access via RDP on my computer to see this problem? I say this because seeing the problem, which can be resolved faster. Send an email to me so we can talk about it. If you do not want to do remote access, I'll save the logs and screen prints and have them here in this topic. I want to help with anything you need. Hugs.
  4. I believe that this is not the fault of FSUIPC4 because I'm using the latest. The big problem is that Prepar3D dll.xml not created the file, and the installer of FSUIPC4 not find it and thus can not register it within the dll.xml. And not to mention that the tbm Prepar3D did not create the Modules directory. It is very strange behavior of Prepar3D during installation no error was charged.
  5. Hello friends I have a serious problem, I can not install FSUIPC in Prepar3D because it does not automatically create the file in the directory dll.xml: Ex: "C:\Users\user\AppData\Roaming\Lockheed Martin\Prepar3D" other files are created in this directory, but does not appear dll.xml. Modules The directory was not created in the installation folder of the program. No error occurred during installation of the system. Also no error occurs during execution. already reinstalled each 3 times but nothing happened. I think this is a bug and am willing to help improve Prepar3D reporting bugs. computer: i7-2600k 4GB RAM GTX460 Windows 7 x64 - with all updates installed. Is there any solution for that, so far not found. I'm under the 30-day trial Prepar3D and to be able to test the simulator must FSUIPC is running.
  6. Hmm nice tip Pete. I'll try this interpolation of latitude and longitude in the array to get the Metar each grid point around the aircraft and thus make the Storm Scope, I'll try. hugs
  7. Hello friend Pete Dowson. Thanks again for your help. I am using FSX with Acceleration Pack. I'll try a test, running FSX pure, then try SP1 SP2 then try to uninstall SP2 to install the Acceleration Pack and see what happens. Now comes the big question. As the staff develops Storm Scope WX do?? Scope of the Storm has the Reality XP and seems to work very well, which is the magic? And so many other FS addons for this functionality. I'm stuck on this problem. The software is montadinho, you just need to come in that chain of data bytes in 64x64 and nothing else! hahauhauha hugs Undo edits
  8. Hello friends. I tried everything to get the power status of the cloud around the aircraft to create a StormScope, but so far without success. Below is the code, everything works normally step around the range and altitude of the aircraft of the same, but the array of 64x64 rgbData always been zero. I do not know what else to do. Any hint or help will be very grateful. My little one StormScope project is stopped because of it. After all have any other way to get the status of the clouds by FSUIPC or other library? I need help from friends. //---------------------------------------------------------- case SIMCONNECT_RECV_ID_CLOUD_STATE: { SIMCONNECT_RECV_CLOUD_STATE* pWxData = (SIMCONNECT_RECV_CLOUD_STATE*) pData; printf("%d\n", pWxData->dwArraySize); // OK. Returns 4096 = 64x64 for (int x=0; x < pWxData->dwArraySize; x++ ) { if ( pWxData->rgbData[x] != 0 ) { printf("pos:%d, val:%d :]\n", x, pWxData->rgbData[x]); } } break; }
  9. I am developing a Scope to MSFSX Storm, but I can not get the status of the cloud. I'm using SimConnect for data and function: SimConnect_WeatherRequestCloudState Below is the code, note that the "pWxData-> rgbData" is always zero. Please friends, can someone save me ? Weather Cloud State.zip
  10. Hello Pete how are you? I wonder if the Microsoft Flight FSUIPC support in the future? They are working on something on top, along with the the team at Microsoft? Any information about it is welcome. Hugs.
  11. I was told that Microsoft ESP is the most suitable for this type of application, where can I buy it?
  12. Good morning. The multi-monitor problem is resolved, before entering the FSX I turn off the control panel monitors 5,6,7,8, get on fsx and enables monitors 5,6,7,8 and so do I UNDOCK screen monitor for any 1,2,3,4,5,6,7,8 which typically run. Now the problem is instead of running on the FSP 8 displays the FPS is in 8.0: (, I imagine that the graphics hardware is not enough. For NVidia cards running 4 9800 GT 1GB 256BIT to 8x in PCIEx. I thought about using two ATI Radeon HD 6970 each have four outputs Eyefininty or two we will be using eight outputs running at 16x PCIEx on the bus, and both connected in CrossFireX. have you ever done or know of something like this? the idea of ​​using matrox is discarded because touchscreen monitors are and will not recognize the division of matrox. Hugs.
  13. Hello friend. I tried what was said but it will not put the monitor as primary and the fourth is the same behavior. I do not know what else to do, has more than a hint of what can I do to solve this problem? Any idea, a configuration with some fsx.cfg solve command. It's a problem unexplained. Is there any error log that generates FSX? I'm waiting on a friend. Hugs.
  14. Thank you. Friend Pete will do this test to let the monitor as primary screen 4 thereby 1,2,3, [4], 5,6,7,8, that I had not tested, but it looks interesting thing works but is cumbersome and boring. First comes the video properties of the windows and turn off the monitors 5,6,7,8, initializes the FSX after booting the screen where you choose the aircraft, re-opens the display properties and enables videos 5,6,7, 8 and after that you can drag any window to any monitor fsx that the crash will not happen. I do this set the monitor as primary and 4 here in the forum will inform the outcome of this experiment.
  15. Hello friends. This is my equipment. - I7-930 Processor - 12GB Memory - Motherboard Asus Rampage Extreme III - 4x 9800 GT Video Card - Real Power 1000W. - 6 22''widescreen touchscreen monitors. I'm building a 737NG cockpit of a completely virtual, using screens to trigger commands. I have a problem that is getting my sleep. Everything works normally monitors 1,2,3,4 Moved anything or even the FSX, that the opening screen where you choose the aircraft, move the monitors 5,6,7,8 FSX Fatal Error signals and resets the software. A crash occurs on the monitor in FSX five onwards. The mission is to make the windows of UNDOCK 737/ng for its own monitor. Please help me in this problem, any help, hint will be valid. Thank you.
  16. Hello friends follows the structure of NewWeather.pas for Pascal / Delphi. { Based data structure NewWeather.h by Pete Dawson Migrated to Pascal / Delphi by: João Ricardo Pagotto Mail....: joaopagotto@gmail.com WebSite.: www.projectcockpit.com.br Date....: 11/10/2011 } unit NewWeather; interface //------------------------------------------------------------------------------ // Commands (for set weather area only) const NW_SET = 1; // Set weather via FSUIPC user filters NW_SETEXACT = 2; // Set weather bypassing user filters NW_CLEAR = 3; // Clear all weather, but leave dynamic setting alone NW_DYNAMICS = 4; // Set weather dynamics (from uDynamics value) NW_SET_PENDING = 257; // Set weather using filters, but don't activate in FS yet NW_SETEXACT_PENDING = 258; // Set weather bypassing filters, but don't activate in FS yet NW_ACTIVATE = 256; // Activate pending weather settings // The 4 distinct areas are used as follows: // C000 - read only, maintains current interpolated weather at aircraft // C400 - read only, maintains last written global weather values // C800 - write area to set weather according to Command, flags, etc etc. // CC00 - selected read (via signature + ICAO), reads weather at weather station or GLOB //------------------------------------------------------------------------------ // Wind structure (size 16 bytes) type TNewWind = record UpperAlt : Word; // Metres Speed : Word; // Knots Gust : Word; // Max gust speed difference, knots Direction : Word; // usual 65536 = 360 units Turbulence : Byte; // 0-4 Shear : Byte; // 0-3 Variance : Word; // direction variability, same units as Direction SpeedFract : Word; // 1/65536ths of Knots, for more accurate vector calcs Spare : Word; end; //------------------------------------------------------------------------------ // Visibility structure (size 8 bytes) type TNewVis = record UpperAlt : Word; // Metres LowerAlt : SmallInt; // Metres Range : Word; // in 1/100ths sm Spare : Word; end; //------------------------------------------------------------------------------ // Cloud structure (size 16 bytes) type TNewCloud = record UpperAlt : Word; // Metres LowerAlt : Word; // Metres Deviation : Word; // Metres Coverage : Byte; // Octas, 0-8 TypeCloud : Byte; // 1-10 Turbulence : Byte; // 0-4 Icing : Byte; // 0-4 PrecipBase : SmallInt; // Metres PrecipType : Byte; // 0-2 PrecipRate : Byte; // 0-5 TopShape : Byte; // ? Spare : Byte; end; //------------------------------------------------------------------------------ // Temperature structure (size 8 bytes) type TNewTemp = record Alt : Word; // Metres Day : SmallInt; // Degrees C DayNightVar : SmallInt; // Degrees C DewPoint : SmallInt; // Degrees C end; //------------------------------------------------------------------------------ // Pressure structure (size 4 bytes) type TNewPress = record Pressure : Word; // 16 x mb Drift : SmallInt; // ? Maybe end; //------------------------------------------------------------------------------ // Structure mapped to FSUIPC offsets // C000, C400, C800 and CC00 type TNewWeather = record uCommand : Word; // C000 C400 C800 CC00 uFlags : Word; // C002 C402 C802 CC02 // Not used at present -- leave alone or set to zero ulSignature : Cardinal; // C004 C404 C804 CC04 chICAO : array[0..3] of AnsiChar; // C008 C408 C808 CC08 uDynamics : Word; // C00C C40C C80C CC0C // 0=none, 4=extreme uSpare : Word; // C00E C40E C80E CC0E dLatitude : Real ; // C010 C410 C810 CC10 // LLA zero for GLOB or unknown ICAO dLongitude : Real; // C018 C418 C818 CC18 nElevation : Integer; // C020 C420 C820 CC20 // metres * 65536 ulTimeStamp : Cardinal; // C024 C424 C824 CC24 // mSecs since start of session Press : TNewPress; // C028 C428 C828 CC28 Vis : TNewVis; // C02C C42C C82C CC2C nTempCtr : Integer; // C034 C434 C834 CC34 // Number of temperature layers Temp : array[0..23] of TNewTemp; // C038 C438 C838 CC38 nWindsCtr : Integer; // C0F8 C4F8 C8F8 CCF8 // Number of wind layers Wind : array[0..23] of TNewWind; // C0FC C4FC C8FC CCFC nCloudsCtr : Integer; // C27C C67C CA7C CE7C // Number of Cloud layers Cloud : array[0..23] of TNewCloud; // C280 C680 CA80 CE80 end; //------------------------------------------------------------------------------ implementation end.
  17. Hello friend Pete. Thanks for the reply. I think that's right, the FSX should handle the altitude of the cloud top. I posted about this code is what I am using and it has worked. That is correct mode to use? Some detail I left behind? I'm doing experiments by using Microsoft Visual C + + 2010 Express. But my application will be made in Delphi XE, the example of FSUIPC_SDK 2010/XE/XE2 does not work in Delphi, I am debugging the FSUIPC_SDK for Delphi to migrate to D2010/XE/XE2 because both have a new structure. So if I can finish it and would like to send you the example of Delphi to the weather for Delphi2010 to share with the community and include in FSUIPC_SDK. Hugs friend.
  18. I think I got what I wanted now. Using the structure of NewWeather.h, really, as said in earlier texts and in the documentation accompanying the same, do not use the FSInterrogate to guess or discover the things using the structure is much more practical and easier to understanding. I read the game time in the structure, which manipulate need and write the address 0xC800 whole structure and the test worked normally, I noticed an anomaly in: //----------------------------------------------------------------------------- // Cloud structure (size 16 bytes) typedef struct _NewCloud { unsigned short UpperAlt; // Metres unsigned short LowerAlt; // Metres unsigned short Deviation; // Metres unsigned char Coverage; // Octas, 0-8 unsigned char Type; // 1-10 unsigned char Turbulence; // 0-4 unsigned char Icing; // 0-4 signed short PrecipBase; // Metres unsigned char PrecipType; // 0-2 unsigned char PrecipRate; // 0-5 unsigned char TopShape; // ? unsigned char Spare; } NewCloud; UpperAlt I put a value but the weather in FSX does not appear correct, very strange. But the rest is usually accepted. The following code below. NewWeather weather; //------------------------------------------------------------------------- // C400-C7FF (Area 1): Last set global weather - ReadOnly if ( FSUIPC_Read(0xC400, 1024, &weather, &dwResult) ) { FSUIPC_Process(&dwResult); } weather.nCloudsCtr = 2; weather.Cloud[0].UpperAlt = 5000 / 3.28084; weather.Cloud[0].LowerAlt = 1000 / 3.28084; weather.Cloud[0].Deviation = 0; weather.Cloud[0].Coverage = 3; weather.Cloud[0].Type = 2; weather.Cloud[0].Turbulence = 1; weather.Cloud[0].Icing = 1; weather.Cloud[0].PrecipBase = 0; weather.Cloud[0].PrecipType = 1; weather.Cloud[0].PrecipRate = 3; weather.Cloud[1].UpperAlt = 12000 / 3.28084; weather.Cloud[1].LowerAlt = 10000 / 3.28084; weather.Cloud[1].Deviation = 0; weather.Cloud[1].Coverage = 3; weather.Cloud[1].Type = 2; weather.Cloud[1].Turbulence = 1; weather.Cloud[1].Icing = 1; weather.Cloud[1].PrecipBase = 0; weather.Cloud[1].PrecipType = 1; weather.Cloud[1].PrecipRate = 3; weather.uCommand = NW_SET; //------------------------------------------------------------------------- // C800-CBFF (Area 2): Weather setting area - WriteOnly if ( FSUIPC_Write(0xC800, 1024, &weather, &dwResult) ) { FSUIPC_Process(&dwResult); } Any help thank you!
  19. Hello friends of the forum. I'm wanting to do a program to change the climate of FSX-AcceleraionPack. Is there any example in C / C + + so I can be analyzed. not able to figure out the sequence to create the layers of atmosphere. I have enough ability to use FSUIPC for panels, but weather this is the first time. Any example in C / C + + that helps it. The variables studied C800-CBFF Global / Write ICAO. I need the exact sequence of use of these variables. This was not explicit in the FSUIPC documentation. Hugs.
×
×
  • 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.