The
docs for creating a lua mod with UE4SS mention that we have the ability to inspect the return value of a function we hook into, does anyone know how to do that?
Cedric do you have any idea? >_>
Enable the debug console. It will help narrow down the problem. Should.. Seems, atleast on dedicated side, when I run my bat file to start my dedicated, it has a check for updates. So if there is an update, I have to go into about almost every lua mod and do minor tweaks.
The author of that mod is normally good about updating if need be, sometimes not so much.
With that said, depending on that which you're trying to hook into, I tried to do a very crude server notification that would output who connected, by steam id, Character name and the player save file name to a .txt doc. But 1.4.0 game update broke that.
Depending what you're trying to hook into, my brain mentally type but never physically typed, if the error kicks back to a var, which most seem to be, you'll need to dabble into if I recall either the worldoption.sav or there's another file I can't recall the name atm.
Idk what they changed on the back end, but my project is put on hold while I rewrite it.
This might not be a direct answer, I'm not home with access to my notes, spending weekend away with family.
If you haven't had any luck, ping me Monday and I'll look into it.