Search found 103 matches

by zamirk
Tue Dec 06, 2016 4:40 am
Forum: Simulation Object Development Questions
Topic: SimObject Api, GetProperty and Sim Variables?
Replies: 11
Views: 3892

Re: SimObject Api, GetProperty and Sim Variables?

hi everyone, i found the solution for above if condition that was missing SUCCEEDED() function in this P3D sample code for Missile SimObject error code CComPtr<IBaseObject> spOwner; CComPtr<IBaseObject> spOwnerV01; if( SUCCEEDED( GETSimOBjectManager()->GetObject(m_uOwnerId, &spOwner) ) &&...
by zamirk
Mon Dec 05, 2016 7:40 am
Forum: Simulation Object Development Questions
Topic: SimObject Api, GetProperty and Sim Variables?
Replies: 11
Views: 3892

SimObject Api, GetProperty and Sim Variables?

hi, i am using SimObject Api to create Custom Missile Object in P3D, i want to get Parent Aircraft Properties like "Total Velocity" and other simulation variables, so i found this sample code : CComPtr<IBaseObject> spOwner; CComPtr<IBaseObject> spOwnerV01; if( SUCCEEDED( GETSimOBjectManage...
by zamirk
Mon Sep 12, 2016 5:52 am
Forum: Software Development Kit (SDK) Questions
Topic: Prepar3d.exe crashes on load Missile.dll SimObject?
Replies: 2
Views: 2153

Re: Prepar3d.exe crashes on load Missile.dll SimObject?

Hi Clifton,

Sorry, I was away for a while. Yes, I was missing this tag. Now its working.

Thanks for your precious time.

Regards,
Zamirk
by zamirk
Mon Sep 05, 2016 10:41 am
Forum: Software Development Kit (SDK) Questions
Topic: Prepar3d.exe crashes on load Missile.dll SimObject?
Replies: 2
Views: 2153

Prepar3d.exe crashes on load Missile.dll SimObject?

Hi, i am trying to use SimObject API, i compiled Missile SimObject Sample in Visual Studio 2013 and place Missile.dll in gauges/Missile.dll and also update dll.xml with new load Missile.dll addone, when i run prepar3d.exe its crashes on load Missile.dll, i don't know why because when i compile Missi...
by zamirk
Mon Sep 05, 2016 10:38 am
Forum: SimConnect Interface Questions
Topic: SimConnect_SetDataOnSimObject
Replies: 7
Views: 3089

Re: SimConnect_SetDataOnSimObject

Thanks Adam, i am trying to use SimObject API, i compiled Missile SimObject Sample in Visual Studio 2013 and place Missile.dll in gauges/Missile.dll and also update dll.xml with new load Missile.dll addone, when i run prepar3d.exe its crashes on load Missile.dll, i don't know why because when i comp...
by zamirk
Thu Aug 25, 2016 2:02 pm
Forum: SimConnect Interface Questions
Topic: Traffic automatically remove on weapon fire in P3D PP
Replies: 9
Views: 3067

Re: Traffic automatically remove on weapon fire in P3D PP

Hi Clifton,

Thanks for your guidance. I was wrong and you were right as SimConnect handle was losing. That is why traffic is being removed. I couldn't find the exact reason at this time. Will let you know with further progress.

Best Regards,
Zamirk
by zamirk
Tue Aug 23, 2016 3:24 pm
Forum: SimConnect Interface Questions
Topic: Traffic automatically remove on weapon fire in P3D PP
Replies: 9
Views: 3067

Re: Traffic automatically remove on weapon fire in P3D PP

No, Simconnect handle is not closing on weapon fire. Let me check it with AITraffic sample.

Thanks.
by zamirk
Tue Aug 23, 2016 9:10 am
Forum: SimConnect Interface Questions
Topic: Traffic automatically remove on weapon fire in P3D PP
Replies: 9
Views: 3067

Re: Traffic automatically remove on weapon fire in P3D PP

Hi Clifton,

I had resolved some issues by the help of these exception codes, but still the main problem exists. And there is nothing in the console for this problem. Kindly, guide me to solve this. It is messing our training scenario.

Best Regards,
Zamirk
by zamirk
Wed Aug 10, 2016 4:31 am
Forum: SimConnect Interface Questions
Topic: Traffic automatically remove on weapon fire in P3D PP
Replies: 9
Views: 3067

Re: Traffic automatically remove on weapon fire in P3D PP

Thanks for your guidance. I have found three exception codes, 1, 3 & 9.
by zamirk
Tue Aug 09, 2016 4:02 am
Forum: Prepar3D Professional Plus Client Application Questions
Topic: weapon sdk
Replies: 0
Views: 1393

weapon sdk

Hi,
I want to build a new weapon from falcon 4 data but the parameters given in the sdk are not explained in detail. Can anyone from LM guide me to do so.

Best Regards,
Zamirk
by zamirk
Sun Aug 07, 2016 6:32 pm
Forum: SimConnect Interface Questions
Topic: Traffic automatically remove on weapon fire in P3D PP
Replies: 9
Views: 3067

Re: Traffic automatically remove on weapon fire in P3D PP

We are calling dispatchProc in separate thread and when one fires missile from aircraft, SIMCONNECT HANDLE lost its value and becomes garbage. Can you help to eradicate this problem.
by zamirk
Fri Aug 05, 2016 2:51 pm
Forum: SimConnect Interface Questions
Topic: Traffic automatically remove on weapon fire in P3D PP
Replies: 9
Views: 3067

Re: Traffic automatically remove on weapon fire in P3D PP

Hi Clifton, No, students are not in multiplayer session, we just created some AINonATCSimObjects through Simconnect. When we increase number of aircrafts upto 50, sometimes on weapon launch P3D deletes all aircrafts in client application and suddenly target selection goes to zero. By right clicking,...
by zamirk
Fri Aug 05, 2016 10:37 am
Forum: SimConnect Interface Questions
Topic: Traffic automatically remove on weapon fire in P3D PP
Replies: 9
Views: 3067

Traffic automatically remove on weapon fire in P3D PP

when I fire weapon in P3D Professional Plus, Client app automatically removes all the traffic generated by Simconnect. This is badly affecting my students' training scenario. Is there any limit for traffic, if so, then will it be resolved by increasing traffic in settings. Kindly, guide me anybody f...
by zamirk
Wed Jul 20, 2016 3:24 pm
Forum: SimConnect Interface Questions
Topic: SimConnect_SetDataOnSimObject
Replies: 7
Views: 3089

Re: SimConnect_SetDataOnSimObject

Thanks for your guidelines. I Will give it a try IA!
by zamirk
Tue Jul 19, 2016 6:39 am
Forum: SimConnect Interface Questions
Topic: SimConnect_SetDataOnSimObject
Replies: 7
Views: 3089

Re: SimConnect_SetDataOnSimObject

Same is the case for munitions and when I set Weapon position through this approach, weapon disappears but aircraft doesn't disappear through this approach. Please, guide me about this.

Go to advanced search