Jump to content
The simFlight Network Forums

Callum

Members
  • Posts

    16
  • Joined

  • Last visited

Everything posted by Callum

  1. Hey Pete So the traffic tables are limited to 96 for ground and 96 for air. When at a very busy airport or area, there will always be a huge amount of ground traffic over air traffic. Would it be possible to have either a) bigger traffic tables for each or b) have all of the traffic in one table? So 96 x 2 is 192 - so that's 192 spaces in total for all traffic. For example, 130 ground traffic might fill the table and then say 50-60 air traffic. Of course, the exact amount of AI would vary still. Cheers
  2. Does your PC struggle with AI traffic? Have you ever wanted AI Traffic not to be loaded except where you're flying to/from, to increase performance? Here is your answer! Unwanted AI Remover will remove any AI which isn't flying to/from your Departure or Arrival airports. This can increase performance significantly! For example, say you are at London Gatwick - you will notice that AI traffic has loaded at London Heathrow. AI Traffic remover will remove the Heathrow traffic (and any other traffic, except EGKK and where you specify your Arrival airport say, LEBL). I have seen an increase of 7-9 frames at Gatwick alone! Just follow the simple instructions included! 01/10/2017 - Now updated to Version 1.002 (minor bug fixes and few improvements) https://library.avsim.net/download.php?DLID=201300
  3. Sorry, I am not really sure what I am supposed to be checking for. I have used the exact same offsets which Paul posted on here before.
  4. Hey Thomas Thanks for the reply. Should I get and use the ID from which my code pulls or the one in Trafficlook? For example, one AI in traffic look has the ID of 38, but in my code it is -38. In my code I am using the -38 one (all of mine are negative, but Trafficlooks are positive). The FS Control is 65535, which in the published offsets is for deleting the AI aircraft. I am not too sure on the Parameter, but setting it to 1 for true, seems logical? I presume I am writing the controls correctly?? I also tried just using '38' and '-38' in the ID value, instead of plane.ID. This did not work either. Cheers
  5. Hi guys Trying to delete AI Traffic through FSUIPC using C#. Have successfully got it to list all of the AI. I am just having problems deleting it. Using the code Paul gave here: http://forum.simflight.com/topic/79906-send-control-to-a-simobject/ But in my case, traffic do not seem to go away. The Offsets I am declaring: private Offset<int> id = new Offset<int>(0x2904); private Offset<int> ctrl = new Offset<int>(0x2908); private Offset<int> val = new Offset<int>(0x2900); private AITrafficServices AI; The code (this should remove each AI plane - but it does not). I know it isn't the foreach which is the problem because I can get it to list all of the AI just fine (I removed that here to avoid confusion) foreach (AIPlaneInfo plane in FSUIPCConnection.AITrafficServices.AllTraffic) { id.Value = plane.ID; ctrl.Value = 65535; // delete ai traffic val.Value = 1; // Set to 1 for true FSUIPCConnection.Process(); } I think the problem might lie in either the plane.ID or sending the control - although it is the same code as what was suggested in the link above. Many thanks for your help!!
  6. Hi That's strange then - maybe TrafficLook has a seperate way / hack? Although I am sure that the 6nm is my problem - Pete himself has said that this is the limit and that it was why I couldn't fetch much ground traffic data. Maybe even just having 39nm range for my program could work? Does anyone know how far away AI are spawned? Although I would much prefer unlimited, like the airborne aircraft - So I could remove them through my program before they are even spawned (I believe this would work because I remember a while ago I set TrafficLook to KJFK and a A340 which was still near London on it's way had shown up, but obviously hasn't actually spawned). Thanks for your help :)
  7. Hey, thanks for the reply Yes I have seen that software. And no sorry, it is not how I am reading the info. The 6nm limit is hard-coded into FSUIPC and cannot be changed through any setting - which is why I am asking for it to be allowed to be changed. Try Traffic Look at EGLL and you won't get EGKK on ground traffic - it's too far away. Even Pete himself has said that 6nm is the limit. I am 100% confident that, if the 6nm limit was set to unlimited, I would be able to make my program. Ty :)
  8. No, I am sorry, this is not my intention and this doesn't work in how I would like it. I need the Maximum amount of aircraft possible for my arrival and departure airports (I can code this myself). Any other airplane traffic I need deleted. Please be assured I have extensively tried many methods to complete my task. I am able to completely code it myself - the only thing which is holding me back is I can't get all of the Ground Traffic data, only those within 6nm :(. Thanks
  9. Thak you for the reply :) FSUIPC has a built in limit of 6nm for Ground Traffic - I need this to be unlimited if possible. The Offsets don't really do what I'd like until I am able to get all of the Ground Traffic within the reality bubble. FSUIPC already allows you to have an unlimited range for Air Traffic, and I would like the same 'unlimited' feature to be encorporated to the Ground Traffic too. Oh, and just so everyone is aware, I only am interested in the Airplane traffic - boats and cars etc I am not doing anything with
  10. Hey Pete Is it possible, through the INI file, that a setting to override the default 'on-ground' traffic limit for the TCAS? I'd like to set it to unlimited for a program I am working on Ta
  11. Hi Pete. Could you take a look at your PM's please?

    Ta

  12. Many thanks - If you do reach a decision on it then if you could keep me updated that would be fab - if you forget or something I'll keep checking the FSUIPC page for updates. Cheers Callum
  13. Hi Pete Many thanks for your reply. That makes much more sense now that the Ground Traffic is limited seperatly to the Airborne traffic. I messed around with the TCAS limiter and was wondering why ground traffic didn't show up (silly me!) If you can make the Ground traffic limit changeable that would be excellent - that would help myself and I am sure many more developers in the future. I was using FSUIPC because I am much more familiar with it than SimConnect, even though I understand it isn't designed for this. I downloaded the example C# which includes the starting point of what I need and went along with it. If you are going to allow the Ground Traffic range to be adjusted (which would make me very happy!), then do let me know. Of course if it isn't possible then do not worry, but it sounds like a good addition to FSUIPC and will allow developers some more flexibility when needed (such as now). If you have any other suggestions I would certainly look forward to hearing them. Many thanks Callum
  14. Hi everyone I am new here so sorry if this is in the wrong place. I am using C# I am in the middle of creating a program which will remove 'unwanted' AI traffic ('unwanted' being traffic for example that loads at EGLL when I am flying LEBL-EGKK - the traffic loads even though I do not see it when at EGKK, slowing down my sim). I have successfully written a C# program to use FSUIPC to load all AI aircraft and remove them (I'll sort out what I do and don't need removing later on). However, my problem is that when I run my program, it works great at removing everything around me but after a certain distance around me the AI Traffic is not removed. I can slew up at EGKK a few thousand feet and see EGLL, I run my program but the EGLL traffic still stays put. My initial thought is does FSUIPC have a radius limit or something which it loads AI Traffic? The aircraft have obviously loaded in the sim as I can see them from EGKK, but FSUIPC doesn't seem to see them. Any help would be greatly appreciated. When finished I'll upload my program somewhere for those who wish to use it. Many thanks Callum
×
×
  • 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.