Unhandled exception at addr. 00559ce4
Hi,
I'm running on Linux Mint 24, using proton (launching from steam). I installed the linux patch for ruby, without which it would complain that I'm not running the patched version of the executable. I get the error just after logging in, and my player character is visible in the setup menu. I get this error:
Unhandled exception: C0000005
At address: 00559ce4
Comments
559CE4 occurs on a WinSock DNS lookup failure, generally a script trying to connect to a domain that no longer exists.
If you use the more recent patch, the engine internals that perform lookups (in addition to how connections are ultimately made), have been completely replaced and cannot crash in this way. There are a few things that are unfinished, but will be updated soon, though it's already generally stable and is designed to work with (modern) Wine without any extra hoops: https://www.tribesnext.com/forum/discussion/4430/preview-qol-fixes-update/p1
If for some reason you can't use the linked patch, you can add the following to an autoexec script to fix this crash:
// Gracefully fail failed WinSock DNS lookups memPatch("A3DC30", "565383EC148B5424248B5C24208B4424288B4C242C81FA01040000742389442428B8839A5500895C2420894C242C8954242483C4145B5EFFE08DB42600000000"); memPatch("A3DC70", "89CEC1EE1081EEF92A000083FE0377CD8B1DC0A7830085DB7510EB5E8D7426008B9B0C04000085DB745039830004000075EE8B8304040000C705D0A783000100"); memPatch("A3DCB0", "0000A3D4A783008B8304040000890424FF15BCC87D00B8303E4000C78304040000FFFFFFFF8B0D94829E0083EC04C70424CCA78300FFD083EC0483C41431C05B"); memPatch("A3DCF0", "5EC2100090909090"); memPatch("559A83", "5589E5535657EB0B"); memPatch("559A90", "E99B414E00");(Don't try to use both)