Jump to content
PatrickAWlson

PWCG 10.0.1 New UI (and some fixes)!

Recommended Posts

1 minute ago, dburne said:

Have not been able to download PWCG for couple of days.

Getting the below:

 

Not Found

The requested URL was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

 

Offline until I can get 8.7.3 out.  End of day today?  Hopefully.

Share this post


Link to post
Share on other sites
Just now, PatrickAWlson said:

 

Offline until I can get 8.7.3 out.  End of day today?  Hopefully.

 

Ok thanks.

Share this post


Link to post
Share on other sites

PWCG 8.7.3
Added overlay indicators for battles in a PWCG mission.  These are combats that will take place in the mission and not historical.  The arrows will also show on the in game map.  If you want to find something to shoot on the ground, now you know where to look.


Historical flow of battle decides who will attack and who will defend in PWCG battles .  Previously attacker and defender were a 50/50 toss up.  Now it's 80/20 based on who, historically, was on the offensive at that time.  

 

Improve map load strategy for performance.  Not a feature but it should speed up loading of a campaign.

 

Bugs:
Fixed code to reduce occurrences of unknown object (Have not seen one in several missions).
Fixed Bristol and Halberstadt bomb loads
Fixed issue that could cause campaign data entry screen to cut off
Fixed confusing error if resaver is not available durng binary mission creation.
Reviewed complaint about 94th Aero campaign.  Could not reproduce.  94th Aero is producing correct missions.  If seen again, please press "Report Error" and upload the zip file.

 

 

  • Thanks 8

Share this post


Link to post
Share on other sites
Posted (edited)

Sweet. Can't wait to try it out tonight.

 

Thank you Patt.

 

Edit: The bugs about duplicated mission count and ghost pilots are still there?

Edited by [808_BOB]Dafak-man

Share this post


Link to post
Share on other sites
1 hour ago, [808_BOB]Dafak-man said:

Sweet. Can't wait to try it out tonight.

 

Thank you Patt.

 

Edit: The bugs about duplicated mission count and ghost pilots are still there?

 

Working on it.  Something going wrong with transfers, probably during the replacement phase in the AAR.  The same pilot is being transferred to multiple units.  Since PWCG does not expect the same pilot to be flying for several units at the same time, it gets confused.  Need to get to the root cause (difficult) and then write some cleanup code to remove duplicates (easy).

Share this post


Link to post
Share on other sites
Posted (edited)

@PatrickAWlson is it possibly related to duplicate names being generated?  If so, you would expect it more with the Americans because there are a lot fewer names in those file.  (I have actually been adding a few for some more variety).  Anyway, just a thought...

Edited by Varibraun

Share this post


Link to post
Share on other sites
15 minutes ago, Varibraun said:

@PatrickAWlson is it possibly related to duplicate names being generated?  If so, you would expect it more with the Americans because there are a lot fewer names in those file.  (I have actually been adding a few for some more variety).  Anyway, just a thought...

 

Nope.  Same serial number.  Most of PWCG cares about serial number and not name at this point,  

 

Share this post


Link to post
Share on other sites

I know we all really appreciate you working through these minor issues.  It seems like every time you say it will be a tough one to track down, you are back with the solution in just a few days. That seems like a rare talent in your business.  Thanks again!

Share this post


Link to post
Share on other sites

Thanks for the update! I can now get back to some much needed PWCG flying.

Share this post


Link to post
Share on other sites

Today I generated a mission with version 8.7.2 and flew it with my squadron buddies.

The mission was to destroy some trucks, we went there and couldn't find them so we attacked other targets.

 

Watching the mission generated and the track I can see that the trucks were generated near a bridge but they had a strange route waypoint and fell into teh river.

 

@PatrickAWlson I attach the mission if you want to review it.

Cooperative.rar

Share this post


Link to post
Share on other sites
4 hours ago, CC_rush77 said:

Today I generated a mission with version 8.7.2 and flew it with my squadron buddies.

The mission was to destroy some trucks, we went there and couldn't find them so we attacked other targets.

 

Watching the mission generated and the track I can see that the trucks were generated near a bridge but they had a strange route waypoint and fell into teh river.

 

@PatrickAWlson I attach the mission if you want to review it.

Cooperative.rar 623.71 kB · 0 downloads

 

Fixed in 8.7.3 which is available for download.

  • Like 1

Share this post


Link to post
Share on other sites

Gonna say Patt, I am extremely impressed with PWCG as it is now, regardless of bugs.

I decided to fly a P-38 mission with a friend last night. Mission briefing was fairly simple, attack enemy troops. But looking at the map, I saw 3 red arrows and 3 blue arrows going towards each other. I was like "Huh, gonna see the whole attack/defend mechanic in action". We got to the mission AO and WHAT A SIGHT. You had tanks moving towards each other. Bullets from MGs and AAA guns in all directions. It truly felt like the front was alive. It was a blast to fly.

 

Thank you for making something like this possible. Hopefully all bugs are gone soon and we get to enjoy even more new features :)

Share this post


Link to post
Share on other sites

Lots of good stuff for coop in this one.  

 

PWCG 8.8.0
Consolidated coop mode
- No more split modes with different capabilities
- Can now do anything in one mode
- Improved briefing to allow complete switching between player flights
- Updated AAR to allow either with or without claims for coop
Added out of mission victory tab to AAR
Now allowed to reduce fuel to 40%
Set fuel in air starts by aircraft type
Spread time between missions for historical activity/inactivity
Reduced weight in bombers/ground attack to use lighter loads
Bugs
- Fixed pilots in mission missing from AAR
- Fixed duplicate planes lost report in AAR
- Fixed no artillery when simple ground config is high
- Fixed missions flown doubling
- Fixed issue that could cause flight not to generate if no opposition found for Ai slight
- Changed P40 skin config to not use other than winter

  • Like 1
  • Thanks 11
  • Upvote 1

Share this post


Link to post
Share on other sites

Thats quick I did not even use the 8.7.3 after installing it. 

Share this post


Link to post
Share on other sites
Posted (edited)
3 hours ago, PatrickAWlson said:

Now allowed to reduce fuel to 40%
Set fuel in air starts by aircraft type

Reduced weight in bombers/ground attack to use lighter loads

 

Thank you for these, been looking forward to seeing an option for less fuel since the first time I laid hands on PWCG!

Edited by Nadelbaum

Share this post


Link to post
Share on other sites

:good:

 

Thanks for the new update!

After a bit of a break I plan to start flying IL-2 again with PWCG.

Looking forward to it!

Share this post


Link to post
Share on other sites

Wow that was fast, nice work and great title for 8.8.0.  Thank you Pat!

 

Welcome back @dburne, I hope to see some of your flights show up in the interesting missions thread.  I have always enjoyed your writing.

  • Like 1

Share this post


Link to post
Share on other sites

Flew 2 missions in a new sp p51 campaign, a patrol and ground attack. Both missions were very good with plenty of action, AAA and ground targets. The target area was in the area of German attacks and there was a bunch of German half tracks AA vehicles, trucks moving toward allied lines, more than I’ve seen at one time. Very cool! 
 

No real issues noted. GUI graphic issues I was having were not there in the new version. Did see the version says 8.9 but the update is 8.8. 
 

Thanks Pat for your tireless work. Just keeps getting better!! 

Share this post


Link to post
Share on other sites

Just tried my first mission this morning in the Spit, it was a patrol mission. Cold start.

As soon as we started our taxi to runway flight of four 109's nailed us before we even got to the runway.

I suffered heavy damage and seriously wounded...

Will try another one.

Share this post


Link to post
Share on other sites

Second mission was much better. Another patrol and thankfully this time we did not encounter the enemy until within the patrol area.

I managed to get 5 kills in this one, one 109 and four 190's.

Great fun!

Flying a Spit Mk IX Campaign in Bodenplatte.

Share this post


Link to post
Share on other sites

@PatrickAWlson you’re spoiling us with all these updates, thanks!

 

BTW, is the latest version compatible with campaigns started in 8.7.2 and 8.7.3?

Share this post


Link to post
Share on other sites
9 minutes ago, [Pb]Cybermat47 said:

@PatrickAWlson you’re spoiling us with all these updates, thanks!

 

BTW, is the latest version compatible with campaigns started in 8.7.2 and 8.7.3?

 

Yes, but a note that I should have put in the release notes: don't make a mission with one version and then try to do the AAR with the next.  Generally a bad idea although it will usually work.  With 8.8.0 it will not work.  Other than that, yes, it is compatible.  I confirmed that with my own campaign.

 

Details for those who are interested: The  bug described as "Fixed pilots in mission missing from AAR" went much deeper than that.  The real problem was that I was not removing pilots from the replacement pool as they were assigned, resulting in the same pilot sometimes being replicated across several squadrons.  I fixed the bug but now the campaigns (including my own) are still damaged. 

 

I wrote some more code to correct existing campaigns.  This was done by finding duplicate pilots and changing the name and serial number.  That fixes things moving forward.  The problem is that any missions created under the old system will have pilots registered for the mission under the old name/serial number.  The new campaign will have them under the new one.  Running an AAR under the new will error out because PWCG will not be able to find the pilots under the old name/serial number.

 

If anybody does find themselves in this situation the best thing to do is generate a new mission with the new version and proceed from there.  Other than that I ran at least three missions with my campaign and no problems.

  • Thanks 1

Share this post


Link to post
Share on other sites
5 hours ago, dburne said:

four 109's nailed us before we even got to the runway.

 

Sounds like they were just welcoming you back!  Much like the old BBC Wings episode, Dawn Attack, they needed to hit you before you got back into the air.  As clearly evidenced by your next mission. :salute:

Share this post


Link to post
Share on other sites
5 minutes ago, Varibraun said:

 

Sounds like they were just welcoming you back!  Much like the old BBC Wings episode, Dawn Attack, they needed to hit you before you got back into the air.  As clearly evidenced by your next mission. :salute:

 

LOL, well nice to think of it that way I guess.

Needless to say after 4 missions in now, I have my revenge.

;)

Share this post


Link to post
Share on other sites

Flew another mission today and again very much enjoyed it. The mission was a penetration in medium clouds with 6 in the flight . When we reached the front AAA opened up, the bursts just above the cloud cover. Very immersive. We encountered unescorted JU88’s and overall shot down 4 and damaged a couple more. One of our six was wounded but made it back. All

others returned. Wonderful experience, much fun. 

  • Like 1

Share this post


Link to post
Share on other sites

@PatrickAWlson

 

Odd question, would it be possible to add command line parameters to PWCG, an API of sorts, to allow other applications to call campaign generation, mission generation, report progression, debrief, and so on from scripts or the like? Outputs from PWCG could simply go to a file where they can be parsed by said applications.

 

I ask because what you've built here is truly magnificent, and short of recreating the wheel, I'd love to be able to use it in a web GUI or Discord bot to let people interact with PWCG on a centralized server.

  • Upvote 1

Share this post


Link to post
Share on other sites
12 minutes ago, [MMG]Korvyr said:

@PatrickAWlson

 

Odd question, would it be possible to add command line parameters to PWCG, an API of sorts, to allow other applications to call campaign generation, mission generation, report progression, debrief, and so on from scripts or the like? Outputs from PWCG could simply go to a file where they can be parsed by said applications.

 

I ask because what you've built here is truly magnificent, and short of recreating the wheel, I'd love to be able to use it in a web GUI or Discord bot to let people interact with PWCG on a centralized server.

 

APIs are specific so it would be case by case.  However, everything that PWCG generates is already in JSON format in the campaign files.  Human readable ... sort of if you know how to read JSON :) .  

  • Like 1

Share this post


Link to post
Share on other sites

Ok so now I have 10 mission under my belt in 8.8.0.

Flying a Spit MK IX Fighter campaign on the Bodenplatte map.

All missions cold start and taxi to runway.

 

Have had a blast so far with this. It has been a while since I have used PWCG, and the improvements are certainly showing.

Out of the 10 missions, only had 1 where we did not run across any enemy air activity.

Cold start is working beautifully. It seems the "box" I need to have my airplane in on the runway to trigger takeoff order  is larger , which is nice. Don't

have to keep making minor adjustments in position to get it to trigger. Absolutely love this feature, than you @Murleen for all the work you put into this feature. I always use it

when flying with PWCG. 

 

Every mission has been exciting. I have downed 109's, 190's, JU 52's, and a couple of Me 262's. Nice variety.

Last mission, my 10th one, it gave me a ground attack mission for the first time. It was great, we were to attack a transport hub at the designated target area.

About halfway there we rendezvoused with another flight of Spits flying higher, they were to fly cover for us. As we got close to the target, a couple of 109's came over to harass us.

The Spit's flying cover quickly took off after them and got them away from us. We proceeded and did a good job on the target area. Great fun!

 

Really enjoying this @PatrickAWlson, thank you so much for your continuing hard work and dedication to this awesome program!

 

 

 

  • Like 1
  • Upvote 1

Share this post


Link to post
Share on other sites
Posted (edited)
4 hours ago, PatrickAWlson said:

 

APIs are specific so it would be case by case.  However, everything that PWCG generates is already in JSON format in the campaign files.  Human readable ... sort of if you know how to read JSON :) .  

 

Fantastic, thanks! (regarding JSON format for output)

 

In this case, it would be command line inputs more than API, I suppose. GUI-less. Say you wanted to generate a new campaign, one could do something like this:

.\PWCG.exe /nogui /campaign /create /name:"Operation Crash and Burn" /service:french /player:"Korvyr" /player:"Reedrick" /player:"Mazz" /map:bodenplatte /date:"01/09/1944" /role:fighter /rank:"Squadron Leader" /squadron:"326 Squadron"

or to delete:

.\PWCG.exe /nogui /campaign /delete /name:"Operation Crash and Burn"

and other such inputs, all without a GUI. Since the output is already JSON, that's easy to chomp up with just about any programming language.

 

As to why, I would be running it on a linux server using Wine to handle the Windows binary, and the server has no desktop, nor would any of our users have access to it if it did. The lines above would be generated by a script executed by another service, in this case the web GUI or bot.

Edited by [MMG]Korvyr

Share this post


Link to post
Share on other sites

Will PWCG ever be available in Dogfight mode? I ask because we had to stop using it because getting 18 players in Coop to spawn at the same time is always a challenge. If one player has VR trouble or another with an internet connection then they are left out of the mission.

 

The new version is superb btw. 

Share this post


Link to post
Share on other sites
1 hour ago, 361st_Ripper* said:

Will PWCG ever be available in Dogfight mode? I ask because we had to stop using it because getting 18 players in Coop to spawn at the same time is always a challenge. If one player has VR trouble or another with an internet connection then they are left out of the mission.

 

The new version is superb btw. 

 

TBH I don't even know what dogfight mode is and how it is different from other modes.  My guess is "No" because PWCG is entirely centered around mission creation, but since I know so little about dogfight mode that is only a guess.

Share this post


Link to post
Share on other sites
2 hours ago, PatrickAWlson said:

 

TBH I don't even know what dogfight mode is and how it is different from other modes.  My guess is "No" because PWCG is entirely centered around mission creation, but since I know so little about dogfight mode that is only a guess.

Dogfight mode is your standard PVP servers. We were using the COOP, but when you have multiple guys connecting at the same time to the COOP we always had a least one problem. By one issue with any COOP server is that if people get discoed they can’t come back unless the entire server is restarted. 

Share this post


Link to post
Share on other sites
46 minutes ago, 361st_Wood said:

Dogfight mode is your standard PVP servers. We were using the COOP, but when you have multiple guys connecting at the same time to the COOP we always had a least one problem. By one issue with any COOP server is that if people get discoed they can’t come back unless the entire server is restarted. 

 

Probably not a good fit.  PWCG depends on the cycle of run a mission then do the AAR then create the next mission rinse/repeat.  

 

Share this post


Link to post
Share on other sites

Hello Pat, that is a shame, it would have been nice if players could join while the mission while it was in progress like we can with Easy Mission Generator. Lacking your knowledge and expertise I could just imagine how complex your mission builder has already become. We still greatly appreciate your efforts and will use it when we are fewer players,  as it is easy to get 6 players to launch without issues, but a whole other ball game to get 18 players to launch successfully. 

 

Just so you know, we have successfully launched about 17 players, but only after 45 minutes of restarts due to member computer issues, disconnects etc. 

 

Cheers!  

Share this post


Link to post
Share on other sites
50 minutes ago, 361st_Ripper* said:

Hello Pat, that is a shame, it would have been nice if players could join while the mission while it was in progress like we can with Easy Mission Generator. Lacking your knowledge and expertise I could just imagine how complex your mission builder has already become. We still greatly appreciate your efforts and will use it when we are fewer players,  as it is easy to get 6 players to launch without issues, but a whole other ball game to get 18 players to launch successfully. 

 

Just so you know, we have successfully launched about 17 players, but only after 45 minutes of restarts due to member computer issues, disconnects etc. 

 

Cheers!  

 

Can you register something in the complaints section detailing your experiences?  I have not had great luck with that forum but it's there.

Share this post


Link to post
Share on other sites

Yeah I’d like to second the request for a second look at the dogfight mode. I think it’s more or less the same as coop mode, except you can respawn, which is really useful for us. To be honest.... it happens every now and then that someone just spins out before take-off, especially when flying with the 109s haha. So the ability to respawn during a mission would be welcome :)

 

But on the other hand, you’re doing an amazing job and I really don’t want you to think we’re ungrateful! 

 

Cheers,

Benjamin

Share this post


Link to post
Share on other sites
4 hours ago, blue_max said:

Yeah I’d like to second the request for a second look at the dogfight mode. I think it’s more or less the same as coop mode, except you can respawn, which is really useful for us. To be honest.... it happens every now and then that someone just spins out before take-off, especially when flying with the 109s haha. So the ability to respawn during a mission would be welcome :)

 

But on the other hand, you’re doing an amazing job and I really don’t want you to think we’re ungrateful! 

 

Cheers,

Benjamin

 

Unfortunately, PWCG is not built for that.  Respawn is a killer right away.  The whole purpose of PWCG is to put you in the shoes of a pilot.  The missions have to be flown one at a time with an AAR in between to tabulate events and move the clock forward.  Then the next mission has to be created based on what happened in the previous.  This concept is central to 150K lines of code.  Changing it would require a top to bottom redesign.

 

 

Share this post


Link to post
Share on other sites
8 hours ago, PatrickAWlson said:

 

Can you register something in the complaints section detailing your experiences?  I have not had great luck with that forum but it's there.

 

Not sure if you were being sarcastic or serious, but there is no need, it has nothing to do with IL2 nor PWCG. Like I stated we appreciate PWCG as it is, I was just inquiring not complaining.  

 

Cheers! 

Share this post


Link to post
Share on other sites
4 hours ago, PatrickAWlson said:

 

Unfortunately, PWCG is not built for that.  Respawn is a killer right away.  The whole purpose of PWCG is to put you in the shoes of a pilot.  The missions have to be flown one at a time with an AAR in between to tabulate events and move the clock forward.  Then the next mission has to be created based on what happened in the previous.  This concept is central to 150K lines of code.  Changing it would require a top to bottom redesign.

 

 

 

alright, we’ll just have to get our shit together and learn to be a bit more careful :) thanks for the answer, and for developing PWCG

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...