Open sunbeam906 opened 1 year ago
Looks like we'll have to wait for UE4SS 2.6, which has this issue fixed. I also tested it like this:
RegisterKeyBind(Key.DEL, function()
local Hacker = FindFirstOf("CON_Hacker_C")
if not Hacker:IsValid() then print("No Hacker found\n") return end
Hacker:RefillVitals()
end)
..and it would still error :)
BR, Sun
Yeah I need to do a lot more error checking. I've added a bunch, including fixing my bad checks for the regen stuff which was also probably throwing errors at game start as well if it was active.
Using latest version of this (7c2267a). Wanted to test it and got this:
Am using 2.5.2 of ue4ss, Standard version which gets injected after game load. The game version is the latest on Steam.
EDIT 1: If Ctrl+R is supposed to log text to console, then that doesn't happen. I figured it might've been cuz I didn't press those keys.
EDIT 2: Found an issue, you forgot a ":" here
https://github.com/Kyle873/SSR-KMod/blob/7c2267acc32a81434efcfe31ca68bef662f25eed/Scripts/commands.lua#L91
However, that still doesn't fix it.
EDIT 3: Also this happens when I start the game and while at logo screen, I inject the DLL:
Cheers, Sun