View Single Post
Author Message
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 04-19-2012 , 16:51   [DEV] Gamerules Hax
Reply With Quote #1

This is a very basic plugin that adds a native to get the pointer address for g_pGameRules. This allows you to load/store things to an arbitrary offset from that address.

Example usage (Thanks to GoD-Tony for finding it)
Changing score in CS:S

Spoiler


Currently this only supports DOD:S, GarrysMod (whatever version runs on OB engine) CS:S, TF2, and HL2MP. Other games can be added upon request. Just let me know which game.

Install:
gameruleshax.games.txt -> addons/sourcemod/gamedata
gameruleshax.smx -> addons/sourcemod/plugins
For compiling a seperate plugin gameruleshax.inc -> addons/sourcemod/scripting/include
Attached Files
File Type: txt gameruleshax.games.txt (641 Bytes, 406 views)
File Type: inc gameruleshax.inc (218 Bytes, 458 views)
File Type: sp Get Plugin or Get Source (gameruleshax.sp - 899 views - 1.3 KB)

Last edited by Dr!fter; 04-19-2012 at 17:04.
Dr!fter is offline