RE-UE4SS icon indicating copy to clipboard operation
RE-UE4SS copied to clipboard

Version checking for crash dumper

Open Buckminsterfullerene02 opened this issue 6 months ago • 7 comments

Description

We keep getting issues posted where the user is using an old version of UE4SS that does not work for their game.

Yangff suggested adding information that checks for new versions when crash.

Currently this change is adding the information in the message box that opens when it makes a crash dump, however the code is exposed in UE4SSProgram.hpp so could be used in other places such as in the logs or somewhere more obvious to the user, and it seems useful enough to add in the mod APIs in the future.

Type of change

  • [x] New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Tested output of warning by temporarily flipping if (!is_latest_ue4ss_version(latest_version)) condition.

Checked that config works as intended.

Need to force crash dump to happen to test crash dumper part.

Checklist

  • [x] I have commented my code, particularly in hard-to-understand areas.
  • [x] I have added the necessary description of this PR to the changelog, and I have followed the same format as other entries.

Buckminsterfullerene02 avatar Aug 11 '24 20:08 Buckminsterfullerene02