This is going to sound mean, but you got hacked because you clicked and most likely downloaded something to try and cheat, or gave your account info away to a website or email. If I had to guess im going to say a gold selling/buying site or some too good to be true make 100,000g in an hour guide or a private server. You also do not understand how the basic internet security works and most likely do not have even a semi secure system or browser. A random 'hack' does not happen. You fell victim to some sort of scam.