Closed dlightman311 closed 4 years ago
It appears that the issue is cause by MBBSEmu not properly parsing numopt
fields in an MCV file.
The current logic assumes that the number will be by itself the MCV field, but it appears you can have leading text before the number and the leading text is not parsed. An example here is the MCV value { ... 1 }
should be parsed as 1
by numopt()
.
I've added a new GetNumericMessageValue()
to McvFile.cs
which implements this logic for the numeric retrieval options. Testing this now but I believe it'll work.
Module Information
Describe the bug During the game Infinity Complex alerts players to parts shipments and provides information as to where they can be collected. These messages are displayed but some of the relative locations show negative numbers and MBBSEmu crashes with a System.FormatException: Input string was not in a correct format message.
To Reproduce Steps to reproduce the behavior:
Expected behavior Location of the parts shipment displayed relative to the players location.
Screenshots
Software Information: