Jump to content
The simFlight Network Forums

umituzun84

Members
  • Posts

    10
  • Joined

  • Last visited

umituzun84's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi Pete; Yes, exactly that. I configured as you suggested and now it's all what I wanted style. Thank you very much. Best Regards, Umit Uzun
  2. Hi Pete; After post this message I had recognized the BYTE problem and fixed. After your message I grasp the Logging tab on FSUIPC AddOn menu and try to figure out because until now I haven't use this feature. Now I say myself how I was stupid because of not using this tool:D Thanks so much. Now I can start flight from my application but fistly I have to start new flight by hand. I mean when I am flying I can start new flight. But while there is main MSF X splash start screen I can't start new flight. I have tried loading flight while there is splash start screen but can't achieve. And I am attaching a logging file as you suggested :) Thanks for your awesome helps Pete. Umit Uzun FSUIPC4_LOG.rar
  3. Hi Pete; Thanks for reply. As you said I have looked at the 3F00 and follows, and try to open up the previous flight from my application by firstly set the filename to 3F04 and then load defined flight from 3F00 by setting 0 as you can see from the code; DWORD dwResult; char chOurKey[] = "Previous Flight.FLT\0"; if (FSUIPC_Write(0x3F04, 252, chOurKey, &dwResult)) { if (FSUIPC_Process(&dwResult)) { cout << "Successfully wrote!" << endl; } Sleep(5000); } BYTE operation = 0; // 0 to simply load the specified flight/situation. if (FSUIPC_Write(0x3F00, 2, &operation, &dwResult)) { if (FSUIPC_Process(&dwResult)) { cout << "Successfully wrote!" << endl; } Sleep(5000); } All are successfully wrote bu it doesn't load the flight. What do you think? Where did I make mistake? Best Regards. Umit Uzun
  4. Hi All; I want to start MSF X and create new flight from my application by using FSUIPC. And when I fly, I want to stop that flight and change the flight parameters and create new flight. How can I achieve kind of this operation? I have read something about that and I think I will need to know about Lua. Is it right? And I have tried FSUIPC on MSF X Standart edition, and I want to use on MSF X Deluxe Edition. Does FSSUIPC works properly on Deluxe too? Thanks in advance. Umit Uzun
  5. Hi Pete, Sorry for latency :) I have much work and I have created FSUIPC_User.dll to easy control in exe project. I am attaching it, if you have time please look at and if I have done wrong, you can warn me and I can fix immediately. Thanks, I will try both of them. I actually need relative to world coordinate front-back measurement changing in related flight time. So I can calculate the distance difference between these flight time so I can manipulate how much G(Gravity) effect the Pilot. I need this information to give the right effect to the Pilot in my Graphical Simulation. Sled doesn't come from anywhere, I only call front-back distance difference in each update time. I can represent by givin an example, when you push the gas pedal immediatly in the car, you are effected by the your car's direction's opposite direction force. I mean if your car is looking to X direction you are effected by -x direction force. So I need to calculate this force by using coordinate changing on each related time interval. Thanks so much. Best regards. Umit Uzun FSUIPC_User_DLL.rar
  6. I mean: Pitch : Pitch, Bank : Roll, Yaw : Heading, Heave : Y (vertical, or up/down) GS-velocity Sled : Z (longitudinal, or forward/backward) GS-velocity or X (lateral, or left/right) GS-velocity Planetary : Accumulated data which related of X (lateral, or left/right) GS-velocity, Y (vertical, or up/down) GS-velocity and Z (longitudinal, or forward/backward) GS-velocity Yes maybe my planetary is relative to the world axes but I am not sure what is the difference between world axes and body axes in MSFS. I had defined the result in float so the result have always gotten odd. I changed it with double and it's now so meaningful. Thanks so much. Best Regards. Umit Uzun
  7. Hi Pete, I will write Win32 dll and after finish send you, may be you add the current package. And I have another question with your courtesy. I want to get pitch, roll,yaw, planetary, heave and sled axes positions and velocity. I have glanced to the FSUIPC4 Offsets Status.pdf and find lots of offset related about them but I actually can't find which one of them are true. For example there is nothing about planetary axes. Microsoft calls different name for it I think. And what about the heave and sled positions and velocities. How can you call these axes? And I have tried to get and write data and find something odd. For example I read offset 3098 and get different result and one of them is this 18767422452136845000000000000000.000000 What do you think about this result, Do you think it would be accurate or not? I can't call this value. it is ft/sec and do you think I got the true result. FSUIPC_Read(0x3098, 8, &result, &dwResult) Thank you. Best regards. Umit Uzun
  8. I only want to create my own exe project and I only use simple dll instead of lib and header in it. So I can only Load this dll in my project and use exported fuctions. I have seen all related function declarations in c file but I asked this question because of there is #include "FSUIPC_User.h" definition, so it makes me think it can be wrong definition. But I have grasped, it is true. Thanks. Regards
  9. Hi Pete, Thanks for reply. I have looked at FSUIPC_SDK\UIPC_SDK_C directory and found FSUIPC_User.lib and FSUIPC_User.h file to support FSUIPC4 connectivity in our program. So I only want a create dll instead of FSUIPC_User.lib and FSUIPC_User.h files. Then I Load this dll in my application and use exported functions as SUIPC_Open or FSUIPC_Close by only using dll. Where can I get the source codes which belongs FSUIPC_User lib and header files. I look at same directory but there is only Lib_source.zip file in it but it isn't seem FSUIPC_User sources. Best Regards. Umit Uzun
  10. Hi Pete, I am naive on Microsoft Flight Sim and your FSUIPC4 tool to reach and control some parameters. I have downloaded FSUIPC_SDK.zip and FSUIPC4.zip new versions and I have MFS X on my system. My target is using C++ language get the only flight dynamics (i.e Pitch, Roll, Yaw, Planetary parameters) and send these information through network package to different machine which use this information to simulate the axis positions and orientations on 3D model. But in this situation I want to only Load dll from my application and import the needed functions and use this function on my system. Is it possible, if possible what should I start? I have confused so much in codes and your documents. Which document in Modules folder could help me so much? Please lead me a way. Best Regards. Umit Uzun
×
×
  • 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.