6 files liked
1 comment
0 videos
0 uploads
0 followers
Hi,
I am encountering a consistent crash with the Arrest Warrants module in your rewrite of Better Chases+. I am running Mod Version 1.1.2 and playing on a GTA V Legacy Build. The mod works flawlessly during the chase, but the exact millisecond I successfully lose the cops ("Escaped"), the script crashes with a red error log on screen and completely aborts.
The exact error from the ScriptHookVDotNet console:
[ERROR] Exception at BetterChasesPlus.ArrestWarrants.SaveWarrants() in ArrestWarrants.cs:line 1106
System.InvalidOperationException: There was an error generating the XML document.
Cause:
I suspect this crash might be related to a formatting conflict with Windows Region Settings on non-US/European systems (like German Windows). When escaping the cops, the script likely calculates float/decimal numbers for the warrant data (e.g., Warrant Length). Since European Windows separates decimals with a comma (,) instead of a dot (.), I assume the XmlSerializer in line 1106 might fail because of this format.
I noticed that if I force clear the wanted level via a trainer like Menyoo (which likely skips the calculation and just writes clean integers), the crash does not occur. However, using normal game mechanics and escaping honestly, it breaks the mod on my European PC.
Could you perhaps check if updating the saving/serialization logic to use CultureInfo.InvariantCulture would help fix this formatting issue for international players?
I really, truly hope that you are still active and can push out a quick fix for this issue. Your mod is absolutely phenomenal and hands down one of the greatest script modifications ever made for GTA V. It completely changes the immersion of the game for me, and playing without the warrant system just feels like it's missing its heart. An update for this would mean the world to me and many other international players!
Thank you so much for your incredible dedication and amazing work!