Jump to content

Recommended Posts

JG1_Labroisse
Posted

Hi Pat, getting this error at mission gen point.  Everything is fine until I hit create mission.  Using new version 4.0, deleted old folder complete and reinstalled.

 

PWCG Error
Thu Jun 28 22:26:37 EDT 2018
java.lang.NullPointerException
    at pwcg.mission.flight.GroundTargetAttackFlight.createWaypointTargetAssociationsWithAttack(GroundTargetAttackFlight.java:69)
    at pwcg.mission.flight.GroundTargetAttackFlight.createFlightSpecificTargetAssociations(GroundTargetAttackFlight.java:51)
    at pwcg.mission.flight.Flight.createTargetAssociationsForFlight(Flight.java:265)
    at pwcg.mission.flight.FlightFinalizer.createWaypointTargetAssociations(FlightFinalizer.java:312)
    at pwcg.mission.flight.FlightFinalizer.finalizeFlight(FlightFinalizer.java:38)
    at pwcg.mission.flight.Flight.finalizeFlight(Flight.java:376)
    at pwcg.mission.MissionFlightFinalizer.finalizeMissionFlights(MissionFlightFinalizer.java:33)
    at pwcg.mission.MissionFlightBuilder.finalizeMissionFlights(MissionFlightBuilder.java:41)
    at pwcg.mission.Mission.finalizeMission(Mission.java:142)
    at pwcg.mission.briefing.BriefingMissionHandler.finalizeMission(BriefingMissionHandler.java:90)
    at pwcg.gui.rofmap.brief.BriefingPilotPanelSet.acceptMission(BriefingPilotPanelSet.java:533)
    at pwcg.gui.rofmap.brief.BriefingPilotPanelSet.actionPerformed(BriefingPilotPanelSet.java:342)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$500(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
 

PatrickAWlson
Posted

Squadron and date?  

 

Thanks for the report.  The changes in 4.0 were extensive so there will be some issues.  I do have tests for creating a ground attack mission, so squadron and date will help me to recreate the problem.

Posted

Hey pat, loving the campaign so far.  Having an issue of my "missions flown" stat not incrementing after debrief, but my confirmed claims do go up, but my squadron mates have thier mission counts increase.

The result is that despite being the top scorer in the squadron I have no awards or a promotion. Flying vvs yak1 October 1 on moscow.

JG1_Labroisse
Posted
4 hours ago, PatrickAWlson said:

Squadron and date?  

 

Thanks for the report.  The changes in 4.0 were extensive so there will be some issues.  I do have tests for creating a ground attack mission, so squadron and date will help me to recreate the problem.

I'm at work and can answer definitively later, but it was the Schlachtgeschwader attack squadron (Schlg. 1 I think?) flying 109 E-7 starting at the earliest date available on the all maps option.

PatrickAWlson
Posted
48 minutes ago, II./JG1_Labroisse said:

I'm at work and can answer definitively later, but it was the Schlachtgeschwader attack squadron (Schlg. 1 I think?) flying 109 E-7 starting at the earliest date available on the all maps option.

 

That works - there's only one of those.

JG1_Labroisse
Posted (edited)
7 hours ago, PatrickAWlson said:

 

That works - there's only one of those.

II./Sch.G.1 

1/10/41

 

 

Thanks Pat.  You are a real credit to this community. S!

Edited by II./JG1_Labroisse
Posted

By the looks of it I have the same issue as Labroisse. The program crashes when you hit "create mission". But..it only seems to happen for air to ground missions. Air to air missions (intercept, etc) are created. 

 

Map: Moscow

Date: 01/10/41

Unit: I./ZG 26 flying Bf-110 E-2

 

Error log attached.
 

PWCGErrorLog.txt

Posted

I have same issue as above with air to ground career... luckily I've found these posts as I already thought I've set up something wrongly (first time BoX PWCG user).

JG51 pure fighter seems to work good.

Posted (edited)

Hi Pat,

 

I have several issues with 4.0 in which I flew a mission and didn't claim a kill (didn't get one) After the mission my log says I flew the mission but the mission count stayed at zero (1st mission of a new campaign). I didn't get credit for a kill which was correct. I went back into claims and made 1 claim. Ran the AAR and it gave me a kill when I didn't have one and the mission count remained zero. The squadron log showed actions thru 8/3 even though it was the first mission on the start date of 8/1. So 3 issues here. 1) mission count didn't count 1st completed mission. 2) claimed a kill when I didn't get one and got credit for one. 3) Squadron log reported events for future dates not yet reached.

 

Stalingrad 8/1/42, JG52 II, Kumovka Airfield 

 

Question: With the new features where much more is simulated and tracked by PWCG is there a way to see all that is going on? Reserve reports, updates on pilots, availability or reports on aircraft? I didn't see anything new in that regard. The new version ran very smoothly.

 

Thanks Pat, your continued development of this great cg helps make this fine game go!

Edited by TheSNAFU
Posted

Forgot to also mention that after returning to base all 3 of my flight mates came in to land, lights on gear down but as they got close to the runway each pulled their gear up and didnt land. I exited the game before they crashed. 

Yogiflight
Posted

You can let them crash, they get counted as 'not injured'. Another version since 3.5 is the AI crashing into obstacles, that are in the final approach to the runway, because AI touchdown before reaching the  runway. In Kumovka, for example, the AI tend to crash into the village. When there is no obstacle, then they stop at the beginning of the runway, where they despawn after a few seconds, not like it was earlier, at the end of the runway.

That missions are not counted on the pilot board is a bug of 4.0.0, like that it seems, that no ground attack missions get generated, neither for bombers or ground attack aircrafts, nor for fighters. Only air to air missions seem to work currently.

Posted (edited)
23 minutes ago, Yogiflight said:

Only air to air missions seem to work currently.

I've checked series of operators, starting dates, squadrons, and roles (attack/dive)...

Nothing works for me unless I select fighter squadron.

 

I also checked another interesting thing... I remembered how official career generator used to give ground attack missions to JG51 a lot, so I figured that PWCG could also use FW-190 a lot in gattack role, so I selected JG51 first staffel with its FW-190. I got couple of air2air missions then I got gattack mission, to attack ground troops. I tried to accept/play it but same error happened as if I tried to do so with dedicated ground attack squadron/regiment.

So I figure this issue is not plane dependant but mission type dependant.

 

pwcg_err.jpg

 

Italians, Regia Aeronautica doesn't work at all, gives error when selected.

 

pwcg_err2.jpg.cf2da374cef6dad10151260c8a5128d2.jpg

Edited by dkoor
PatrickAWlson
Posted (edited)

Appreciate the testing.  I am working on 4.1 right now.  I will fix reported bugs as part of 4.1.  Probably about a week out.

 

Keep posting.

Edited by PatrickAWlson
  • Like 1
  • Thanks 1
  • Upvote 2
Posted

Always the same fun to play with PWCG, thanks Pat. Already flown 5 missions with 4.0 for 2 kills but my missions account is always set to 0? Is this a bug or do I have missed something in te settings? Thanks for answers.

Yogiflight
Posted
11 hours ago, Azdack said:

Always the same fun to play with PWCG, thanks Pat. Already flown 5 missions with 4.0 for 2 kills but my missions account is always set to 0? Is this a bug or do I have missed something in te settings? Thanks for answers.

It is a known bug, like the one, that you can't fly ground attack missions, currently. Will be fixed with the next PWCG update.

PatrickAWlson
Posted

I am not being fast about it because I am deep into 4.1 - equipment logistics (4.0 was pilot logistics).  I will get to known 4.0 bugs with 4.1.  Once 4.1 drops  I will get into a bug fix/small feature round to really solidify things.

  • Thanks 2
  • Upvote 1
PatrickAWlson
Posted

I am hoping to release 4.1 tomorrow.  I want to make sure that I have the complete bug list

1. Ground attack missions fail to create.  I have recreated this one.  Major bug that obviously must be fixed.

2. Missions flown does not increment for the player.

3. Regia Aeronautica doesn't work

 

@dkoor

Mission assignment is based on squadron more than aircraft type.  Each squadron has a probability of a certain type of mission.  JG 51 will fly fighter missions 80% of the time and ground attack 20%.  Most of the Me109 squadrons are 90/10,.  II./Sch.G.1 is a dedicated ground attack unit.  It flies Me109 E7 and then transitions to the FW190 in Kuban (March 1943).

  • Thanks 1
Posted
47 minutes ago, PatrickAWlson said:

I am hoping to release 4.1 tomorrow.  I want to make sure that I have the complete bug list

1. Ground attack missions fail to create.  I have recreated this one.  Major bug that obviously must be fixed.

2. Missions flown does not increment for the player.

3. Regia Aeronautica doesn't work

 

@dkoor

Mission assignment is based on squadron more than aircraft type.  Each squadron has a probability of a certain type of mission.  JG 51 will fly fighter missions 80% of the time and ground attack 20%.  Most of the Me109 squadrons are 90/10,.  II./Sch.G.1 is a dedicated ground attack unit.  It flies Me109 E7 and then transitions to the FW190 in Kuban (March 1943).

Thanks for your info mate, that's really helpful to know in the decision what sq to join!
Very much looking forward to the 4.1 I will start my ground pounding campaign...:good:

Posted

Sounds great to me! Gives me just enough time to finish up a scripted campaign I'd been playing before then :) 

I've only tried a couple of career starts, but I can confirm encountering all those three bugs. 
Also as a reminder - if you plan to add a LaGG-3 squad to the Moscow map, that would be great! (although I've figured out how to edit plane types myself so it's a non-issue for me, but I think it'd be good for that campaign in general). 

  • Like 1
PatrickAWlson
Posted

I have changed 11 regiment from Yak to Lagg over Moscow, so that is done.

I fixed the issue with ground attack missions not generating.

I fixed the missions flown not credited bug.

Working on Italy now

  • Like 1
Posted

Thanks for the hard work. Very much appreciated!

 

  • Upvote 1
Posted

I just noticed that mission spacing maybe doesn't work. 

I had started a carreer in december, there were 2 day intervals -> all ok.

Then (maybe I changed some other config in the meantime) after 9 of december I have only 1 day intervals although advanced config still says minimum 2 and maximum 4.

 

Posted

Installed 4.1 and set up a Luftwaffe campaign with JG52 in August 42 at Stalingrad. All seemed to work fine. The new manpower and equipment aspects are a great advancement. Its fun watching how the pool of planes and pilots are impacted by ongoing operations. As I understand it the landing issues on the Moscow map have been fixed but only Moscow so far. My idiot mates all crashed on landing into a bunker or into each other after an otherwise fun intercept mission. 

 

Very nice work Pat, thank you!  

Posted
2 hours ago, TheSNAFU said:

 My idiot mates all crashed on landing into a bunker or into each other after an otherwise fun intercept mission. 

I've noticed that PWCG has something that kinda prevents stupid Ai death (outta combat)... makes sense considering how lame mistakes Ai can make... sure humans died from mistakes in real thing, but I think Ai brings it to whole new level.

It has it set to 10, I wondered what that means exactly? Lower number decreases chance and higher increases? And what are the ranges? That's probably explained somewhere but I missed it...

 

Thanks for 4.1 Pat, I just started ground pounding career...:)

PatrickAWlson
Posted
3 hours ago, TheSNAFU said:

Installed 4.1 and set up a Luftwaffe campaign with JG52 in August 42 at Stalingrad. All seemed to work fine. The new manpower and equipment aspects are a great advancement. Its fun watching how the pool of planes and pilots are impacted by ongoing operations. As I understand it the landing issues on the Moscow map have been fixed but only Moscow so far. My idiot mates all crashed on landing into a bunker or into each other after an otherwise fun intercept mission. 

 

Very nice work Pat, thank you!  

Murleen laid down the pattern with 4.1 and is working on other maps.  If you are flying Stalingrad or Kuban, ignore the pattern. land first and quit the mission :).  P.S.  The pilot and equipment losses should not count.  PWCG detects crashes within a few km of the home airfield and forgives any injuries or equipment losses.  

 

57 minutes ago, dkoor said:

I've noticed that PWCG has something that kinda prevents stupid Ai death (outta combat)... makes sense considering how lame mistakes Ai can make... sure humans died from mistakes in real thing, but I think Ai brings it to whole new level.

It has it set to 10, I wondered what that means exactly? Lower number decreases chance and higher increases? And what are the ranges? That's probably explained somewhere but I missed it...

 

Thanks for 4.1 Pat, I just started ground pounding career...:)

Higher means increased odds of death, based on a dice roll up to 100.  The default 10 means that AI stupidity results in death 10% of the time.  Increase the config parameter and the AI is more likely to die.

 

The logs record who shot down who.  When the AI face plants there is no victor.  PWCG looks at these and forgives AI stupidity - usually.  Any destroyed record with a victor, either airplane or AAA, is not forgiven.

Posted

Until the landing issues can be resolved on all maps forgiving the man and machine losses is the best that can be done. Hopefully it can be fixed soon as it does impact immersion. Then it would be nice if someone can figure a way for landed planes NOT to vaporize after they park and shut down. That's not a PWCG issue but it is something I'd like to see changed. 

 

PatrickAWlson
Posted

The forgiveness will continue as long as in mission face planting remains a thing.  It's not just landing.  The AI has a nasty habit of lawn darting in combat.

Posted

Just a minor thing I noticed - for the Bf 109E-7, if you select all three available modifications in PCWG, only one (Removed Headrest) actually carries over to the game, with the other two (Armoured Wind Screen, Additional Armour Plates) being de-selected in IL-2 when actually loading the mission.

Yogiflight
Posted (edited)
5 hours ago, CCIP said:

Just a minor thing I noticed - for the Bf 109E-7, if you select all three available modifications in PCWG, only one (Removed Headrest) actually carries over to the game, with the other two (Armoured Wind Screen, Additional Armour Plates) being de-selected in IL-2 when actually loading the mission.

As a workaround you can select it for your aircraft in the setup before you click the 'Start' button.

 

12 hours ago, TheSNAFU said:

Installed 4.1 and set up a Luftwaffe campaign with JG52 in August 42 at Stalingrad. All seemed to work fine. The new manpower and equipment aspects are a great advancement. Its fun watching how the pool of planes and pilots are impacted by ongoing operations. As I understand it the landing issues on the Moscow map have been fixed but only Moscow so far. My idiot mates all crashed on landing into a bunker or into each other after an otherwise fun intercept mission. 

If you want to fly the 109 on the Stalingrad map, take the squad, that is based in Evamplievsky, no obstacle in the final approach, so your squadmates will land safely. In Kumovka I saw them crash into the village. The FW190s based in Tuzov land safe, too.

The issue is, that AI currently touchdown before they reach the runway, so if there is an obstacle, they crash into it.

Edited by Yogiflight
Posted

I've mapped out the Stalingrad airfields as well - if you want to try this out ahead of the next release, you can download https://raw.githubusercontent.com/Murleen/PWCGCampaign/367ba9d3aed8c53ef9de8c2db0964d14a88c3cb5/BoSData/Input/Stalingrad/AirfieldLocations.json and put it in BoSData\Input\Stalingrad.

 

There are a lot of airfields, so I haven't been able to test them all, so if you still see any issues just report them and I can take a look.

 

Not sure how long Kuban will take me - I might get bored of dragging lines around on maps, so might work on callsigns instead.

Posted (edited)

Having a problem with this particular mission - it won't go past the 'claims' page when I try to submit the report (whether I put in my claim for the IL-2 I shot down during it or not). Please see the error report zip here: https://drive.google.com/open?id=1tSOWaOZTV6gU8q0JwzWGnGgQI8dvvE4_

EDIT: Just noticed something really weird that is probably behind this - no idea what caused it though! 

The assigned personnel are both AI pilots, even though I was the one that flew that mission (my pilot, Ltn Hannes Weingart, was the flight lead, and Linse was flying wing). This is probably why it won't process the claim, because my pilot is not even on the mission roster. Any idea how this happened?

Clipboard02.jpg.8db0a3a65bac2422ae5c703a4be371aa.jpg

EDIT 2: so it seems that it really does not like me removing pilots from a mission roster (during the Pilot Selection phase of the mission briefing) - I think it might have to do with the mission originally being fragged for a Schwarm (4 ship), but I removed two of the pilots so I could fly lead. 

I was able to mostly "salvage" that mission report by generating a new mission plan with all the pilots intact, and then going ahead and filing the report from the original two-ship that I flew. However, for some reason it awarded that IL-2 I shot down as a ground kill instead of an air victory...

 

Edited by CCIP
Posted
8 hours ago, PatrickAWlson said:

The forgiveness will continue as long as in mission face planting remains a thing.  It's not just landing.  The AI has a nasty habit of lawn darting in combat.

I can post a track where I employ repeatable lawn dart tactic vs faster Ai aircraft .

All it takes is just push throttle to whatever max you can and try to climb to some reasonable altitude if you suspect you are (will be) being attacked by E/A.

Say some 2500-3000m although I suspect depending on plane types that less would work too, then just extend with maximum speed... once E/A begins to close to some 800-1000m enter shallow dive then progress and build as much speed as you can... at some 600+kph Ai E/A will just zoom past you and hit the deck.

I'm talking about pretty normal combat maneuvers, nothing fancy really, boils down to high speed dive and doesn't even have to be some steep angle.

I've noticed it by pure accident, or to put it better out of desperation because I realized that I cannot fight IL-2 let alone pursuing angry MiG-3's that were closing on my six... of course that dive should not normally help but that's one of those situations where you do something just because you can do it not because it makes sense. I bet that happened a lot IRL too:joy:... Imagine my surprise when I saw MiG passing by my armoured Emil harmlessly and crashing below. Truth to be told I almost joined his party, I barely recovered from dive...

 

It seems to work vs lower difficulty level Ai's only (at least my experience so far).

Posted

So from looking into this further, I am starting to suspect that Pilot Selection is currently not working - regardless of the number of pilots in the mission, it will keep them in the slots that they were originally assigned to by the mission generator. When going to the Combat Report, it will show those pilots flying the mission, and not the ones the player might have selected (if they were different). 

So at the moment, it looks like it's best for the player to not touch the pilot selections and let them stay as the generated.

Posted (edited)

Just to illustrate what I meant about the problems with pilot selection, here's an example:

Here's the original mission briefing - note the PWCG-generated pilot assignments at the start:
troops1.jpg.3c145580e2603473dead52f1148cf46c.jpg

Then I go and change them to this, so that I can be flight lead:
troops2.thumb.jpg.2c9ae6708f9c1d48378dce2c1a884497.jpg


However, after the flight, this is who PWCG believes flew the mission (this is the first page of the post-flight Combat Report):
troops3.jpg.e0f8cae04851d9d0fc5eef8f9110e72a.jpg

As you can see, while 3 of the pilot assignments were successfully change, my pilot (Hannes Weingart) is replaced in the post-flight report with the original, PWCG-generated flight lead (Tobias Pfister - who for some reason now becomes #2 in the flight) - while my pilot does not appear at all. As a result, attempting to click "submit report" from the claims page results in this error (because PWCG does not believe I flew this mission at all):
troops4.thumb.jpg.e544c42d3675fed515634ce089ed0efa.jpg

At the moment, the only workaround appears to be to not touch the pilot assignments as generated by PWCG's mission briefing (or to start at the rank of Major, which I think is the one way to make sure that your pilot will always be in the same slot in the flight, the lead)!
By the way, I was changing the pilot assignments not so much to "cheat" my way into always being lead - I was more interested in simulating the squadron's structure, so that I could split it up into three flights and fly mostly with my own Schwarm/Rotte and then rise through the ranks/get the squadron restructured as losses came and went. 

Edited by CCIP
PatrickAWlson
Posted (edited)

There is a bug with pilot reassignment.  Safest is leave pilot assignment alone.  I am working on a fix.  I will have something out by Saturday, hopefully earlier.

Edited by PatrickAWlson
Posted

Hi ! 

Playing german in a FW A5 campaign over Kuban in Schg 1 , I struggle to apply the U17 mod to allie planes. Anytime I tick the box U17 (+ another bomb or not) , my flight appear with no bombs. Is there a combination that works ? Or is it a Bug ? 

Thank you for your work ! 

S!

Posted
On 7/9/2018 at 10:06 AM, Murleen said:

I've mapped out the Stalingrad airfields as well - if you want to try this out ahead of the next release, you can download https://raw.githubusercontent.com/Murleen/PWCGCampaign/367ba9d3aed8c53ef9de8c2db0964d14a88c3cb5/BoSData/Input/Stalingrad/AirfieldLocations.json and put it in BoSData\Input\Stalingrad.

Tested it with my FW190 A3 career and it worked pretty good. Not quite like I had expected, As I would have thought you'd make the AI taxi to the nearest parking area of the Tuzov airfield, but they taxi to the parking area at the other side of the airfield, where the three aircraft shelters are. It is really cool watching them taxi around the airfield, while circling in the air.

PatrickAWlson
Posted (edited)
20 hours ago, LAL_Trinkof said:

Hi ! 

Playing german in a FW A5 campaign over Kuban in Schg 1 , I struggle to apply the U17 mod to allie planes. Anytime I tick the box U17 (+ another bomb or not) , my flight appear with no bombs. Is there a combination that works ? Or is it a Bug ? 

Thank you for your work ! 

S!

I'll have to look into it.  I remember somebody saying that the U17 mod was a bit quirky, but I don't remember the details.

Edited by PatrickAWlson

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...