The last couple weeks have been pretty important. We discovered and have fixed a very significant scoring error. One the issue of kill credit with ditched aircraft, I had said that while it didn't give ID credit to the pilots involved, it was at least counting the points for the aircraft, which was critical to the campaign running. It turns out, that was actually not happening either.
We had seen kill points awarded for friendly fire and for accidents, and it was my mistake in thinking that this meant the cause of the loss did not matter. In fact, as the code stood, it does need an identified killer. In the case of an accidental crash which was scoring, that wasn't a lack of a killer, it was tagging the killer as the terrain. But it still needed that killer ID to pick it up for scoring. In the case of a ditch, there was no killer being IDed by the game, and therefore no points being awarded to the other team, even while the aircraft was noted as lost and subtracted from the team's inventory. Since this absence of a kill message has been seen frequently on the ATAG server as well, I think it's an issue with the game.
Fortunately, Moxy (Schulte) and I were able to work out a solution for this, after much searching, translating, and trail and error. We've piecing together some code that uses a copy of the pilot capture scoring trigger, and substitutes the capture event for a look up of the plane type involved and its corresponding point value, then pasting that in the section for the ditch event. So now it actually works the way I thought it had been. Ditches will not have kill IDs, but they will trigger the proper scoring to the opposing team for the plane that's being lost. This is likely to be the most frequent way people are shot down, so not having them scored was going to cause a very sizeable gap in points that should have been earned. And these points are how each team runs their entire war effort by turning it into production of everything.
Beyond that we've got a much better handle on controlling the server information messages, and we'll be adjusting those.
On the bad news front, something odd happened in last night's test with the point tally. It appears to have scored the separate but similar PKs of Moxy and myself by flak as captures instead of deaths. We've seen deaths score properly numerous times before, so it may be related to the exact circumstances in which this occurred to us. There's no mention of a capture event or tally, but the points awarded match that amount. In the stats, it gave my squad and his squad 1 pilot death each, and the debrief events clearly record our deaths, blaming the Bofors gun as the killer. But the killed pilots tally for the team says 0. I'm betting that error is caused by the same problem.
Also, bombs on the Ju 88 and He 111 are not being counted properly. When spawning with most loads, it thinks there are a different amount of bombs, and in most cases even thinks none have been taken. As a result, it does not remove the correct bomb count from the airfield stores. Physically, they are loaded and work just fine. The error this causes in bomb supply for the Germans is much larger than I'd like to let go, but I'm not sure at this point what we can do with it. Looking at this process in the code, I don't see anything wrong or missing. It appears to be the game reporting a bad count.
Hptm. Stecher, Staffelkapitän