Jump to content
The simFlight Network Forums

amif2000

Members
  • Posts

    22
  • Joined

  • Last visited

Everything posted by amif2000

  1. @bingus I love your idea of adding some graphic information. I modified my code slightly to do just that (in ASCII😄) replace the bottom part of the code with the following snippet. for hour in 0..24 { let total = arrivals[hour] + departures[hour]; print!(" {:02} | {:03} | {:03} | {:03} |", hour, departures[hour], arrivals[hour], total); println!("{}", "#".repeat((total as usize + 4) / 5)); } The results look like this: Hour | Dep | Arr |Total| ------------------------- 00 | 005 | 005 | 010 |## 01 | 003 | 001 | 004 |# 02 | 001 | 000 | 001 |# 03 | 002 | 001 | 003 |# 04 | 000 | 007 | 007 |## 05 | 003 | 014 | 017 |#### 06 | 018 | 030 | 048 |########## 07 | 037 | 071 | 108 |###################### 08 | 081 | 096 | 177 |#################################### 09 | 083 | 084 | 167 |################################## 10 | 100 | 049 | 149 |##############################
  2. Python: https://www.python.org/downloads/ Rust: https://www.rust-lang.org/tools/install
  3. This is a short rust program to count the number of departing and arriving flights per hour in a specific airport. Use it by entering the airport code (KATL, LEBL etc.) as a parameter to the exe you created with cargo build Note that you may need to change the path variable to match your Tower3D install folder Also, some airports use a different name for the schedule file and the actual airport name inside that file. The code handles EDDM and LEBL (which I own). You may need to add others. use std::{env, process, fs}; fn main() { let args: Vec<String> = env::args().collect(); if args.len() < 2 { eprintln!("error: missing airport name"); process::exit(1); } let airport_name = &args[1].to_uppercase(); let path = "D:\\Program Files (x86)\\FeelThere\\Tower!3D Pro\\Extensions\\Airfields"; let filename = format!("{}\\{}\\{}_schedule.txt", path, airport_name, airport_name.to_lowercase()); let airport = if airport_name == "EDDM" { "MUC" } else if airport_name == "LEBL" { "BCN" } else { &airport_name[1..] }; let contents = fs::read_to_string(filename) .expect("error: failed to open file"); let mut departures: [u32; 24] = [0; 24]; let mut arrivals: [u32; 24] = [0; 24]; for line in contents.lines() { if line.len() == 0 { continue; } if line.len() >= 2 && &line[0..2] == "//" { continue; } let tokens: Vec<&str> = line.split(",").collect(); let origin_ap = tokens[0].trim(); if origin_ap == airport { let token6 = tokens[6].trim(); let hour: usize = token6[0..2].parse() .expect("illegal number in dep.hour"); departures[hour] += 1; } else { let token5 = tokens[5].trim(); let hour: usize = token5[0..2].parse() .expect("illegal number in arr.hour"); arrivals[hour] += 1; } } println!(" Hour | Dep | Arr |Total|"); println!("-------------------------"); for hour in 0..24 { println!(" {:02} | {:03} | {:03} | {:03} |", hour, departures[hour], arrivals[hour], arrivals[hour] + departures[hour]); } }
  4. @EliGrim just checked it. It was already on
  5. So I tried all of the above and still get poor SR performance (I have a mile middle-eastern/Israeli accent). I managed to get a much better recognition by changing the airline name in the airlines.txt file to VOOLING instead of VIEWLING.
  6. I'm playing LEBL (Barcelona). Every other airplane is Vueling and for some reason I get ~50% speech recognition for this airline (I normally have >95% SR). What phonemes do you use to get good SR? Thanks, Amit
  7. I find this airport too buggy for my liking so I'll lay off it until it is more stable. Some A/C either do not push back or go crazy after they do. Yesterday I had a plane pushing back, back, back, until it reached the southern runway :( On average I have to delete one departing A/C in ten as they are stuck doing something strange. Such a shame as I really like the airlines and it's nice playing an airfield closer to home.
  8. I'm no 3D graphics expert, but my understanding is that zooming in would cull most of the polygons out of view and would actually result in improved performance, Perhaps the problem is that the level of details on the models is too low and would result in poor image if zoomed in further. Anyway, for those of us with a powerful gaming rig, a higher zoom setting or some form of slewing the camera would be nice. I'm a simpleton - I want eye candy in my games :) Amit
  9. Hi Kev, I probably wasn't clear enough. I've got 26 turned on but also have 17 and 27R on. Still traffic that should go to the other RWYs ends up going to 26. It's not really a minus - it makes the sim more interesting but I doubt that in real life ARRIVAL will assign the wrong RWY to an aircraft. Amit
  10. Could we get higher magnification ratio when zooming in? Or some other mechanism to closely focus on an airplane? The auto-camera is too distracting to use. Amit
  11. When I enable runway 26 at KPHL, I often get traffic that cannot actually land on that short runway and I need to vector it to another RWY. Is this a bug? The AC are turbo props that are "just" too big for the RWY. Amit
  12. Strange, I don't have that Font size selector in the STRIP panel (I do have it in other panels). Are you sure this is Tower 2011 and not Tracon 2012? Is it the standard version or the multiplayer one?
  13. I have a lot of features I'd love to see in Tower, but one that is really easy to implement and could really help me is the ability to re-size the flight strip fonts. This feature is available in Tracon 2012, so please migrate it to Tower 2011 as well. Amit
  14. I ran the tool again with 1200 flights. I believe it actually works well. Here are my observations: 1. The attached log shows some flights with "Out from app:". Are these dropped flights? 2. The TT: section for UTC 15:00 shows almost all the expected traffic. It does seem to start slow and then pick up the pace. So I simply wasn't patient enough. All in all, a very enjoyable experience. Thanks a lot! schedule.txt tower.zip
  15. I am attaching all the files except the afx one where I added the Cargo terminal Los_Angeles_Airport_terminal.txt airlines.txt airports.txt schedule.txt Amit
  16. Hi Dick, I just installed your excellent tool. It really adds to Tower's immersion. One small problem though - I created a schedule for KLAX with 2880 flights and then followed your file modding instructions to the latter (or so I believe). I expect that at 15:00 UTC I would get about one departure per minute (my departures are set all the way to the right), however I only get one departure every three minutes or so. Could you take a look at my modified file for a quick sanity check? I don't know how to upload them here but I would gladly send you a link to them. Thanks, Amit
  17. Bug Report --------------- OS: Windoes 7 Home Premium SP1 64bit Memory: 8GB Video: nVIDIA GTX460 1GB OpenAL: installed Speech: pre-installed (win7). trained Problem: Tower 2011!. After a period of gameplay time (from just a few minutes to about 20 minutes), the voice recognition system will beep twice in quick succession (as if the PTT was pressed and immediately depressed). On the next attempt to access voice, both the voice recognition system and the game will hang, requiring a forced exit to both. This happens when I use a USB headphone (more than one type/item used). Does not happen with a cheap Audio jack type mike. Tower.zip attached. tower.zip
  18. System updates on W7 are frequent and unavoidable if you wish to keep your computer secure. If we wish to crack this problem we need to get more productive - are there logs collected by the software that I can send you? Are there specific modes / system configs that you wish me to test? Any suggestions other than the cookie cutter ones are welcome. I apologize if I come out strong. I know from my 20+ years of software and hardware development how difficult it can be to solve such bugs, but this is a serious problem that requires some serious attention.
  19. Since it seems like our salvation won't come from Feelthere, has any of the users experiencing this crash been able to find a fix or at least better characterize the problem?
  20. I'm playing LAS sector in Tracon! 2012. The manual says that a handoff is possible only when the aircraft is 3000 feet or less from the controller's altitude. Now as the the boundary is at 13,000 feet, I would expect to fail a handoff when the aircraft is below 10,000 feet. But the sim will let me handoff even at 4000 feet. What am I missing?
  21. Simple feature request: when clicking the ADIRS window (perhaps right-click), move the top-down window to center around the clicked point. I hate dragging the top-down window all around the airfield. Amit
  22. I starting getting the same problem in the last few days (it did not happen before, not sure what changed except that I installed the KSEA add-on) * Tower2011 * After a few minutes of play, the speech recognition window hangs in 'Listening'. Tower hangs immediately afterwards. Only a kill of Tower and Speech will revive the system * I believe it happens after a command is rejected by the pilot. I'm not 100% sure about that How do I re-install SAPI on Win7 64bit? Any other idea to try?
×
×
  • 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.