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

Crash with latest Garrysmod version #36

Closed TeddiO closed 3 years ago

TeddiO commented 3 years ago

With the most recent release (2021.01.22), an error followed by a crash is recorded when using the latest luaerror.


[ERROR] unable to obtain AdvancedLuaErrorReporter
  1. unknown - [C]:-1
   2. require - [C]:-1
danielga commented 3 years ago

Something is overriding the value at debug.getregistry()[1] with something other than a Lua C function. Honestly, this is very naughty. Can't wait for the moment they remove debug.getregistry 😄