XTrap Error Code 510

I have freaking done everything possible to this stupid xtrap error code. I have added the whole hgw and crossfire folder into my virus exceptions using AVG and I have deleted all the files and rebooted my computer and completely cleaned it all out and reinstalled the game so many times, nothing works. I can't even get into the log in screen to do anything before the xtrap error 510 hits me. I have had this problem for oh.... 4 months. It's it time I get an actual solution that will help.