It has to be multi-threaded so that one thread gets the memory snapshot while the other does the mouse work, otherwise fighters die while waiting for the snapshot process to complete. I still lose 1 fighter per hour.
I am a programmer and I have to tell you that the logic is super complex, and took several iterations and once starting from scratch (after the post above). The combat logic to manage fighters and targets like a person does is 2k LOC (which doesn’t touch the Eve GUI), and all of that code is lean code broken out into functions so there’s no duplicate code in different functions. The rest is probably 5k-7k LOC (lean).
Does it work now, yes.
Was the time worth it? NO… (But it does make 2-3 times more than a subcap bot. Once every few days Sanderling can’t find a memory element and my bot might die.) My time could have been better spent on making a subcap bot farm.
That being said, if anyone has also gotten a carrier bot working and making at least 100m/hr… Message me and we can swap notes or something.