AtomicP Posted May 17, 2019 Posted May 17, 2019 Thanks for an amazing tool Pat. I'm using PWCG 5.1.3 and have used it successfully for single player but I'm having problems getting into the mission report phase when playing cooperative. I'm host for the mission and don't use dserver, just the main game. I've checked that the mission logs are generated in the /data folder and in the [0] file the mission name matches the one in the PWCG folder. Nothing fancy with the pilot names or mission names. I'd be grateful for any help!
PatrickAWlson Posted May 17, 2019 Posted May 17, 2019 Can you zip up your campaign and the mission logs?
AtomicP Posted May 18, 2019 Author Posted May 18, 2019 Sure thing. What I can't figure out is that the logs were generated and appear to be the same sort of thing as I got for SP campaigns. Am I correct in thinking I as host run the PWCG missions and do the post-match analysis before running the next mission? As in, the client (my wingman) just joins my game and then finishes? One other thing. In the mission I bailed out alive and my wingman made it back to base. He clicked the Finish mission button but it wasn't available for me at the end, just the leave server button. Thanks for your help! data.zip
AtomicP Posted May 18, 2019 Author Posted May 18, 2019 I tried a new cooperative campaign with the same details as before, but this time with an AI flying in the place of a human opponent. So I hosted a private server, ran the mission and landed, then clicked Finish mission. The AAR worked as expected. Maybe not clicking Finish broke it before? I'm not sure how to proceed in cases where I as the host are downed but my human wingman is still flying. Previously I let the mission run but I wasn't able to click the Finish mission. Does that affect how the logs are generated?
Utopioneer Posted May 18, 2019 Posted May 18, 2019 2 hours ago, AtomicP said: I tried a new cooperative campaign with the same details as before, but this time with an AI flying in the place of a human opponent. So I hosted a private server, ran the mission and landed, then clicked Finish mission. The AAR worked as expected. Maybe not clicking Finish broke it before? I'm not sure how to proceed in cases where I as the host are downed but my human wingman is still flying. Previously I let the mission run but I wasn't able to click the Finish mission. Does that affect how the logs are generated? When I fly cooperative missions in PWCG, I won't leave server and run the AAR until after I've gotten to the mission results screen. I believe the way the game works, anybody that is shot down or bails out will automatically have finished mission. Anybody still flying or landed and healthy must click finish mission. When all active players are in a finish mission state, the game will count down to mission closure, and display the mission results. At this point I will leave server and run the PWCG AAR. I've never left server before receiving the mission results to test this, but maybe this is why it failed to parse your logs?
AtomicP Posted May 18, 2019 Author Posted May 18, 2019 @UtopioneerI think the mission results came up and I believe my friend click on finish mission. I'm wondering if there was a problem with a pilot or campaign name that tripped it up. Like I said, I tried a new coop campaign albeit with just me flying, but hosted on a private multiplayer session and the AAR worked no problem. I'll give it another shot with my friend, although I'm slightly hesitant of falling into the same trap! I'll report back here if it works. Cheers.
TP_Jacko Posted July 20, 2019 Posted July 20, 2019 I have a similar problem. Flew a Coop with 3 others and could not select the mission in the AAR screen to register the air kills. I have the log record activated. What is the title of the log report. I could try to debug
TP_Jacko Posted July 20, 2019 Posted July 20, 2019 When I tried a campaign as a single player all the info was available and you could select the aircraft you destroyed from a drop down list. Then after accepting the full list of mission events appeared. But for the coop version the list of potential aircraft claims is empty although you can go to the next step and see the mission events
Utopioneer Posted July 20, 2019 Posted July 20, 2019 1 hour ago, TP_Jacko said: But for the coop version the list of potential aircraft claims is empty although you can go to the next step and see the mission events I've been having the same issue, can't find a solution for it.
TP_Jacko Posted July 20, 2019 Posted July 20, 2019 Now I get an error in the Single player when trying to register a kill in the AAR. Maybe I will just reinstall
PatrickAWlson Posted July 21, 2019 Posted July 21, 2019 1 hour ago, Utopioneer said: I've been having the same issue, can't find a solution for it. Originally coop was going to use a simplified victory process that was going to work off of the logs alone, so no need for declarations. To accommodate coop play that is truly coop (everybody on the same side) i tried to make that the correct mix of coop only and single player. In the process I undoubtedly broke the 1
TP_Jacko Posted July 21, 2019 Posted July 21, 2019 19 hours ago, PatrickAWlson said: Originally coop was going to use a simplified victory process that was going to work off of the logs alone, so no need for declarations. To accommodate coop play that is truly coop (everybody on the same side) i tried to make that the correct mix of coop only and single player. In the process I undoubtedly broke the Easily done. Hope you can find a way forward. Cheers
PatrickAWlson Posted July 21, 2019 Posted July 21, 2019 41 minutes ago, TP_Jacko said: Easily done. Hope you can find a way forward. Cheers It's not necessarily entirely simple but it is by no means as difficult as most of the other stuff that I have done. I'm busy elsewhere but I do acknowledge that this has to be dealt with sooner rather than later, so it will be sooner. I am thinking by next weekend. If anybody can package their campaign and all of the log files that would help in resolving this.
Utopioneer Posted July 21, 2019 Posted July 21, 2019 TestCampaignAndLogs.zip Zipped up campaign and associated logs.
Jonttu1 Posted July 26, 2019 Posted July 26, 2019 Anybody found a fix for this? Does removing the PWCG folder and replacing it help? I'd really like to play co-op with a friend but I can't host and he gets this error.
Utopioneer Posted July 26, 2019 Posted July 26, 2019 4 hours ago, Jonttu1 said: Anybody found a fix for this? Does removing the PWCG folder and replacing it help? I'd really like to play co-op with a friend but I can't host and he gets this error. I was never able to find a fix, but Pat is aware of the issue and is working on it. In the meantime, you should still be able to run v5 of the software.
Jonttu1 Posted July 26, 2019 Posted July 26, 2019 1 hour ago, Utopioneer said: I was never able to find a fix, but Pat is aware of the issue and is working on it. In the meantime, you should still be able to run v5 of the software. I mean the original issue of this thread though, log files not being found at all.
PatrickAWlson Posted July 26, 2019 Posted July 26, 2019 @Utopioneer posted an example. To reliably recreate the issue I need the campaign and the log files zipped up, which were provided. Real life has prevented me from getting to this over the past week, but resolving coop issues is my highest priority. Bugs are notoriously difficult to estimate. The answer to "when will it be fixed?" is usually about an hour after I figure it out. The answer to "when will you figure it out?" is more difficult to answer
Utopioneer Posted July 26, 2019 Posted July 26, 2019 1 hour ago, Jonttu1 said: I mean the original issue of this thread though, log files not being found at all. Oh sorry I misunderstood. If you're flying v5 I've never had this issue, are you generating a specific error message? Is it just "PWCG was unable to find a log set for your last mission..."? Is so, some things to check: 1. Make sure the software is installed in the correct location, it relies on relative paths. 2. Make sure that logging is enabled in the startup.cfg file 3. Generate just a single co-op mission, and fly just that mission. You don't even need to do anything in the mission to test it, but at a minimum load it up, take off, and then hit esc and click finish mission. 4. On mission completion, go back to PWCG and attempt the AAR, before generating another mission. Even if you're unable to host to fly with your friend, you should be able to work through those steps on your own machine to ensure that you both understand the needs and limitations of the software. Once you do have it running it's a blast. Hope that helps, happy flying
Jonttu1 Posted July 26, 2019 Posted July 26, 2019 7 minutes ago, Utopioneer said: Oh sorry I misunderstood. If you're flying v5 I've never had this issue, are you generating a specific error message? Is it just "PWCG was unable to find a log set for your last mission..."? Is so, some things to check: 1. Make sure the software is installed in the correct location, it relies on relative paths. 2. Make sure that logging is enabled in the startup.cfg file 3. Generate just a single co-op mission, and fly just that mission. You don't even need to do anything in the mission to test it, but at a minimum load it up, take off, and then hit esc and click finish mission. 4. On mission completion, go back to PWCG and attempt the AAR, before generating another mission. Even if you're unable to host to fly with your friend, you should be able to work through those steps on your own machine to ensure that you both understand the needs and limitations of the software. Once you do have it running it's a blast. Hope that helps, happy flying No, we're using the newest version. Everything should be right and it works fine for me in singleplayer, but when we fly the co-op mission he gets an error message about not finding logs for that mission.
Utopioneer Posted July 26, 2019 Posted July 26, 2019 2 minutes ago, Jonttu1 said: No, we're using the newest version. Everything should be right and it works fine for me in singleplayer, but when we fly the co-op mission he gets an error message about not finding logs for that mission. In that case, I would wait for the aforementioned bug fixes from Pat before trying v6 co-op again.
PatrickAWlson Posted July 27, 2019 Posted July 27, 2019 On 7/21/2019 at 5:47 PM, Utopioneer said: TestCampaignAndLogs.zip 73.2 kB · 0 downloads Zipped up campaign and associated logs. Good news: I recreated the problem and I am working on a permanent solution. The problem can arise when a new mission is created before the previous mission's AAR is performed. That reliably recreated the issue. In the meantime - don't create a new mission until doing the AAR for the previous one. If you are currently stuck with this problem you will probably have to wait for the patch. Something I don't understand: I pulled the zip and everything worked. The AAR was performed and it all went normally. I would have expected it to fail with the same "can't find logs" error.
Utopioneer Posted July 27, 2019 Posted July 27, 2019 16 minutes ago, PatrickAWlson said: Good news: I recreated the problem and I am working on a permanent solution. The problem can arise when a new mission is created before the previous mission's AAR is performed. That reliably recreated the issue. In the meantime - don't create a new mission until doing the AAR for the previous one. If you are currently stuck with this problem you will probably have to wait for the patch. Something I don't understand: I pulled the zip and everything worked. The AAR was performed and it all went normally. I would have expected it to fail with the same "can't find logs" error. Actually the "can't find logs" error is not what I got with the zipped set. I created the mission, flew it, and immediately attempted the AAR. I get the same issue that @TP_Jacko was getting in co-op, where the dropdown to select aircraft type on the claims page is empty, there are no aircraft types to select. I was expecting you would get the same issue with the zipped set, as I created that from a fresh install. Now I'm more confused...
PatrickAWlson Posted July 27, 2019 Posted July 27, 2019 @Utopioneer Checked that one out too. That is working as expected, but maybe could be made to work differently. PWCG shows a list of all enemy plane types that spawned during the mission. In your log file example no enemy planes spawned so no planes in the drop down. Here are the log entries for all spawns: missionReport(2019-07-21_17-37-52)[0].txt:T:15 AType:12 ID:17408 TYPE:P-47D-28 COUNTRY:101 NAME:Lt William Wilkinson PID:-1 POS(119869.7109,56.9380,157065.4063) missionReport(2019-07-21_17-37-52)[0].txt:T:15 AType:12 ID:18432 TYPE:BotPilot_P47 COUNTRY:101 NAME:BotPilot_P47 PID:17408 POS(119869.7266,57.4209,157066.2813) missionReport(2019-07-21_17-37-52)[0].txt:T:15 AType:12 ID:27648 TYPE:P-47D-28 COUNTRY:101 NAME:Lt Zachary Collins PID:-1 POS(119840.7109,56.9307,157037.8750) missionReport(2019-07-21_17-37-52)[0].txt:T:15 AType:12 ID:28672 TYPE:BotPilot_P47 COUNTRY:101 NAME:BotPilot_P47 PID:27648 POS(119840.7344,57.4172,157038.7344) missionReport(2019-07-21_17-37-52)[1].txt:T:1310 AType:12 ID:352256 TYPE:P-47D-28 COUNTRY:101 NAME:2nd Lt Test IV PID:-1 POS(119868.2500,56.9318,157008.8594) missionReport(2019-07-21_17-37-52)[1].txt:T:1310 AType:12 ID:353280 TYPE:BotPilot_P47 COUNTRY:101 NAME:BotPilot_P47 PID:352256 POS(119868.2734,57.4154,157009.7188) missionReport(2019-07-21_17-37-52)[1].txt:T:1563 AType:12 ID:454656 TYPE:A-20B COUNTRY:101 NAME:Fg Off Brock Lowth PID:-1 POS(124196.0859,3132.7998,166469.0938) missionReport(2019-07-21_17-37-52)[1].txt:T:1563 AType:12 ID:455680 TYPE:BotPilot_A20B COUNTRY:101 NAME:BotPilot_A20B PID:454656 POS(124194.3984,3133.0601,166470.7656) missionReport(2019-07-21_17-37-52)[1].txt:T:1613 AType:12 ID:493568 TYPE:A-20B COUNTRY:101 NAME:Plt Off Esmond Chamberlain PID:-1 POS(124162.8984,3162.7922,166584.4531) missionReport(2019-07-21_17-37-52)[1].txt:T:1613 AType:12 ID:486400 TYPE:BotPilot_A20B COUNTRY:101 NAME:BotPilot_A20B PID:493568 POS(124161.2031,3163.0068,166586.1250) There are P-47s and A-20s but no Germans. I continued through the AAR process and it completed successfully with your pilot wounded. Again this is shown in the logs: missionReport(2019-07-21_17-37-52)[9].txt:T:15369 AType:3 AID:-1 TID:352256 POS(117167.9063,145.3004,171396.3125) -- you crashed based on this log. No victory awarded. missionReport(2019-07-21_17-37-52)[9].txt:T:15375 AType:3 AID:-1 TID:353280 POS(117165.7734,143.2701,171402.7500) - this is your bot pilot. It indicates that you were killed but PWCG converted that to seriously wounded due to max injury settings The AAR completed successfully. Since no enemy planes spawned there is no ability to claim an air to air victory. Just press start debrief and continue. I could replace the drop down with a simple text message "No enemy planes in Mission" or something like that. But it works properly as is.
Utopioneer Posted July 27, 2019 Posted July 27, 2019 (edited) @PatrickAWlson I think I'll have to do some more testing and send files your way, the mission I sent I just hopped in and pressed go to generate some logs. That makes sense that it will only show spawned planes, as I've noticed the list will change from mission to mission. I posted in another thread about this happening to us when we had planes that we shot down. Unfortunately I wiped everything afterward in my effort to solve the problem myself. Edited July 27, 2019 by Utopioneer
Utopioneer Posted July 27, 2019 Posted July 27, 2019 @PatrickAWlsonGenerated a new mission, shot down two planes, same result. Campaign and logs for that mission attached, screenshot of AAR below. CampaignAndLogs.zip
Jonttu1 Posted July 27, 2019 Posted July 27, 2019 4 hours ago, PatrickAWlson said: Good news: I recreated the problem and I am working on a permanent solution. The problem can arise when a new mission is created before the previous mission's AAR is performed. That reliably recreated the issue. In the meantime - don't create a new mission until doing the AAR for the previous one. If you are currently stuck with this problem you will probably have to wait for the patch. Something I don't understand: I pulled the zip and everything worked. The AAR was performed and it all went normally. I would have expected it to fail with the same "can't find logs" error. Well for us when that error occured, it was the first mission we flew for the campaign and we certainly didn't start creating a new one before doing the report, unless scrubbed missions before the mission we flew affect it too?
PatrickAWlson Posted July 28, 2019 Posted July 28, 2019 5 hours ago, Jonttu1 said: Well for us when that error occured, it was the first mission we flew for the campaign and we certainly didn't start creating a new one before doing the report, unless scrubbed missions before the mission we flew affect it too? I would have to look into it but I imagine it would. Anyhow, I have a more accurate matching mechanism in place that works based on campaign date. That should be bullet proof. It will be in the next release ... maybe tomorrow.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now