[DEV] Gamerules Hax
3 Attachment(s)
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 |
Re: [DEV] Gamerules Hax
w00t, nice :)
Thank you for this |
Re: [DEV] Gamerules Hax
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 ?
|
Re: [DEV] Gamerules Hax
Quote:
|
Re: [DEV] Gamerules Hax
Cool ! Nice job.
Also; why not post this a feature/bug request to get SetTeamScore replaced ? (it may need a bool arg. or Ex suffix for maybe backward compatibility problems.) I'm curious about what's is needed to improve a function; if your's not enough :$. |
Re: [DEV] Gamerules Hax
Quote:
|
Re: [DEV] Gamerules Hax
Quote:
|
Re: [DEV] Gamerules Hax
Moved to Snippets as it's just a thin wrapper around a gamedata file.
|
Re: [DEV] Gamerules Hax
Any idea how to get this to work on CSGO? Doesn't seem to save scores for me lol.
|
All times are GMT -4. The time now is 17:40. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.