LUA debug_print hook - see LUA debug messages

M

Minimaul

Guest
This handy DLL will allow you to see your LUA debug messages.

Debug messages should be written out like so:
Code:
debug_print("test message\n")
debug_print("test var: " .. var_to_string(test_var) .. "\n")

Source code is available at https://github.com/saintsrowmods/SaintsRowIVDebugPrintHook

This code is heavily based on Rick's SR:TT debug hook - thanks go to Rick for writing that in the first place ;)

Changelog
  • 2013-12-01: updated for the latest version of SRIV.
  • 2013-08-31: initial release.

Installation
Copy to your Saints Row IV folder.
 

Attachments

  • sriv_hook_tested_2013-12-01.7z
    37.8 KB · Views: 625
Last edited by a moderator:
I've updated the original post with a new version of the DLL that should work with the current version of SRIV.
 
Does it works with workshop patch? I put debug_print("test message") in function and nothing happend. Console shows nothing after hooked. Tried that few times even with actual lua mods but still nothing.
 
Back
Top