What Programming Language Helps When Hacking Online Games?

I want to know what programming language or technique is used when hacking a online game. And if possible what book is good to read that answers this question or teaches how (not Hacking for Dummies).