gamemode hooks [never before seen]

Posts 1–15 of 15 · Page 1 of 1
gamemode hooks [never before seen]
ok since razor (I think) released a relatively horrible way to do gamemode hooks and I dont use gamemode hooks anymore I'll release this that I made when I used them

all u need to do is call the function, ive included a example of usage

Code:
local Hooks = {
    ["CreateMove"] = {},
    ["HUDPaint"] = {}
}
local oGamemode = table.Copy(GAMEMODE)

local function HookersAtLarge()
	for kopy, vaste in next, Hooks do
		GAMEMODE[kopy] = function(...)
			for internet, oralsex in next, Hooks[kopy] do
				Hooks[kopy][internet](...)
			end
			return oGamemode[kopy](...)
		end
	end
end

function Hooks.CreateMove.Aimbot(self, usercmd)
// aimbot codes
usercmd:SetViewAngles(Angle(-90,90,230)) // money meme
end
nice

you could pass the 'self' to the return too, then varargs after to get rid of having to put it in your hook itself.
worked fine for me and looked nicer imo

though i dislike lua
Quote Originally Posted by ehex View Post
nice

you could pass the 'self' to the return too, then varargs after to get rid of having to put it in your hook itself.
worked fine for me and looked nicer imo

though i dislike lua
I tried to keep it as short and simple as possible, adding the self arg to the function itself isn't that hard anyway but it does look cleaner without it.
There is a much more undetectable way of hooking that I have found now. I haven't made it for use like this is yet, and its a lot messier right now.
Quote Originally Posted by c0deine View Post
I tried to keep it as short and simple as possible, adding the self arg to the function itself isn't that hard anyway but it does look cleaner without it.
There is a much more undetectable way of hooking that I have found now. I haven't made it for use like this is yet, and its a lot messier right now.
or just say fuck lua and use c, or realize gmod is autistic and you should stop playing it considering its 2015 now
Quote Originally Posted by ehex View Post
or just say fuck lua and use c, or realize gmod is autistic and you should stop playing it considering its 2015 now
I've been working on CS:GO stuff now
Quote Originally Posted by c0deine View Post
I've been working on CS:GO stuff now
dont be like the rest of the people that came from gmod who get untrusted on CSGO because they dont know what theyre doing
Quote Originally Posted by ehex View Post
dont be like the rest of the people that came from gmod who get untrusted on CSGO because they dont know what theyre doing
I haven't been banned yet so I'm doing it right. I made my own injector, etc.

Quote Originally Posted by D3M0L1T10N View Post
man this is such an awful way to do it
Then propose a better way to do it, unless you mean GAMEMODE hooks in general.
GAMEMODE hooks can be detected really easily (especially with load-priority that most anticheats have and most noobs don't).
Quote Originally Posted by c0deine View Post
I haven't been banned yet so I'm doing it right. I made my own injector, etc.



Then propose a better way to do it, unless you mean GAMEMODE hooks in general.
GAMEMODE hooks can be detected really easily (especially with load-priority that most anticheats have and most noobs don't).
write your own hooks and be 100% sure you're clamping angles correctly and you should be good
Quote Originally Posted by Azrius View Post
write your own hooks and be 100% sure you're clamping angles correctly and you should be good
I made a function to set the viewangles that checks for null and clamps etc.
Quote Originally Posted by c0deine View Post
I haven't been banned yet so I'm doing it right. I made my own injector, etc.



Then propose a better way to do it, unless you mean GAMEMODE hooks in general.
GAMEMODE hooks can be detected really easily (especially with load-priority that most anticheats have and most noobs don't).
use rawset at least
Quote Originally Posted by ehex View Post
or just say fuck lua and use c, or realize gmod is autistic and you should stop playing it considering its 2015 now
gmod is fun for that reason, mindless autistic playground
insurgency is supposedly pretty funny b/c pspeed still works & its a popular game so if you want wacky source engine cheating that seems to be the way to go now days
man this is such an awful way to do it
vac and matchmaking anticheat are nothing in the same, even the fact that vac works for more than source is clear enough itself
IsUserCmdDataValid holds some info for it, movement is also a factor in the event that it is nan or beyond the server's limit (-10000,10000)
same shit goes for cac probably
could u explain what the purpose of the hack is
Posts 1–15 of 15 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us