Your itinerary needs work.
As for mileage credit, you get no AA credit on CX or QF flight numbers for L class, and only 25% on BA.
I do not see any direct fights on the following routes: MIL-CAS, HRE-CPT (although you could do HRE-JNB-CPT), JNB or CPT-LOS.