danielga / gm_luaerror

A module for Garry's Mod that adds hooks for obtaining errors that happen on the client and server (if activated on server, it also pushes errors from clients).
https://github.com/danielga/gm_luaerror
Other
54 stars 8 forks source link

Nothing is working? #4

Closed ghost closed 7 years ago

ghost commented 7 years ago

I downloaded the cl version of the binary hoping to hide errors from the server somehow. I required it in the client state not the menu state.

luaerror.EnableCompiletimeDetour(true) makes include think the file is empty or something. I have tried having both of them false one true and both true.

Running script a.lua... Couldn't include file 'a.lua' (File not found) ()

hook.Add("LuaError","heck",function(...) print("oh no an error ",...) end) hook.Add("ClientLuaError","heck",hook.GetTable()["LuaError"]["heck"])

to trigger an error i am doing: lua_run_cl - lua_run_cl wat=" lua_run_cl local n n()

none of them print anything

SwadicalRag commented 7 years ago

:+1: nothing is working not even you @danielga

danielga commented 7 years ago

Fixed in the latest commit.

chelog commented 6 years ago

I think it's happening again. Not triggering the hook.

danielga commented 6 years ago

I couldn't confirm the error on Windows, everything is working fine. @chelog please open a new issue next time.