-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new Host_Error hook #224
Comments
Well, if this is only for logging, ReHLDS already has a CVar "syserror_logfile" to log such errors (in game directory), besides, you can also trying using DLL API's "pfnSys_Error" function for such logging. |
The idea is hook errors to create a log with them.
https://github.com/dreamstalker/rehlds/blob/1196646dcfc5e62e4801a08860596476d0e3d77f/rehlds/engine/host.cpp#L108#L139
Well, I don't know if it will work because maybe it's too late and HLDS process is closed.
Anyways, can someone test it?
The purpose is something like this: https://amxmodx-es.com/showthread.php?tid=8113
The text was updated successfully, but these errors were encountered: