View Single Post
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 04-20-2012 , 00:29   Re: [DEV] Gamerules Hax
Reply With Quote #4

Quote:
Originally Posted by RedSword View Post
Wait; does this change the REAL score ? is it a realy single-use-needed-SetTeamScore ? i.e. its 1-0 and you use that function to say it is 1337-0. On next point; will it be 1338-0 or 2-0 ?
Yes the hack (sample plugin) changes the real value. Set it and forget it. I should also mention the sample plugin requires sm 1.4.2 or it will crash :p. As a short explanation of what it does, the game rules class has 2 private member vars that keep track of the score. The offsets are to the addresses of the vars. Also the offset might be wrong for Linux since I only tested in windows.
Dr!fter is offline