Hi FP,
The most likely reason for you to be attacked are:
1 you are profitable
2 You had a big mouth to the attacking player
3 you probed him a few times and then when you got his attantion well you know the rest.
4 the way this game is played and should be played.
5 little defences
Well for some of these reason you don't need help (which are 1,2,3,4 and 5)
Now some tips
1: Make sure you use youre fleet to save youre resources (preferebly from moon) By fliging them from planet (or moon) to DF and let them fly as long as you need to get back.
2: you asked for it maybe appologies will help but that is no quaranties
3: Not smart to probe a stronger player so again maybe appologies will help (tip 1 does it almost perfect), good building and tip 1 will get you on top off him if hes lower or equel like you)
4: tip 1 will do it to let him off (iff he brakes the rules report that) but we all need the resources so maybe he will never leave you alone, remove youre planet if possible and start over (if its HW, then start over again) but thaen again yoy can run into someone lik ehim (but like i said thats the game)
5 build as many defence if possible so that profitability goes down , so it's not worth to attack you.
So there are some tips reason and help, the board is full of this kind off help, just search the forum.
But to be honest i don't think i like it to rescue someone who I don't know, don't know the reason why someone attack you.
Maybe there are people who think different but time will tell.
We will talk about you app inside so it will take some time before you know the answer (in the mean time just use our forum to spam and waiting room for you app and maybe the tips will be worthy to try them out so that maybe the app will change or isn't needed anymore)
So good luck and wel get back to you