How have you solved the problem the coin had?
Simply by upgrading the protocol number, changing the P2P communication port and using fresh checkpoints. The attackers stayed on their old network.
Meh... Until they migrate that is

The source code it was originally based off is so old it has more creaks than an old person

The coin was gamed like FedoraCoin (TIPS) by the Chinese Markets & Miners

I also looked at the recent commits this thread OP has posted of the source that have occurred for forks/branches of EarthCoin, etc and noticed some very peculiar things, somewhat of the fact that the original dev of EarthCoin has recently been online (On the Bitcointalk Forums) and there is a bunch of recent commits from him (If you look back in github it shows the same Github user which is in fact the dev (linki) pushing commits to Earthcoin back in 2014...... Very fucking peculiar don't you say ?
Original EarthCoin Dev:
https://bitcointalk.org/index.php?action=profile;u=196729+ What the OP of this thread has claimed to have done is nothing more than what (linki) has done
https://github.com/Sandokaaan/earthcoin/commits/masterif you do not want to know about this currency, I do not see the need for derogatory comments, because what is being done is to return the control of earthcoin to the mining community, it has never been said that it will be a new currency.