I read on here somewhere that there is a way to bypass the infinite loop, but I can't remember where I saw it and couldn't find it in the search.
So can anyone tell me how it can be done?
[lua]debug.sethook()[/lua]
[editline]10:20AM[/editline]
Do that before you get you infinite loop.
I thought there was something you place after the infinite loop also
Edit* ahh I think thats the one.
[QUOTE=iRzilla;21094286]Actually.
[lua]
local OldHook = debug.gethook()
debug.sethook()
-- infinite loop
debug.sethook(OldHook)
[/lua]
Is a much safer option.[/QUOTE]
You can do that if you want to get an error.
[editline]10:37AM[/editline]
Garry has overridden debug.gethook, it now returns "external hook", debug.sethook doesn't take a string.
[QUOTE=iRzilla;21094544]Hm, what's the point in that then? :|[/QUOTE]
Probably trying to stop people from bypassing the infinite loop protection, but you can still use the method I posted.
Sorry, you need to Log In to post a reply to this thread.