Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Garry's Mod] scripthook module (Tutorial)
1
scripthook module

Game: Garry's Mod

Details

So I threw this together today. A module that saves all clientside/shared scripts and adds a hook that lets you prevent scripts from loading.



It isn't a traditional GMod hook. It loads a file and raw sets some global variables. _SCRIPT is the script itself. _SOURCE is the source of it (a file, RunString, SendLua, etc). This is what my 'hook' file looks like.

Code:Copy

Code:
if (_SOURCE == "lua/autorun/client/msg.lua" or _SOURCE == "LuaCmd") then return false end

The global variables are destroyed after they're used. In the right hands, you could theoretically bypass any and every anti-cheat. Probably the most trouble you'll run into are anti-cheats that use net messages or concommands to communicate, in which case, you'll have to fool the server into thinking everything is A-ok by using the same concommands and net messages. If you don't communicate with the server as if the anti-cheat would, the server will know somethings fucky.

Pictures!







Every thing that is attempted to be ran is saved to a folder that is named after the server you are connected to!

Thoughts? Suggestions? Insults from @D3M0L1T10N? They're all welcome! This is going to be released soon

Preserved from the original MPGH tutorial for archival purposes.
Reply

Users browsing this thread:
1 Guest(s)


Forum Jump: