mbbsemu / MBBSEmu

The MajorBBS Emulation Project is an Open Source, Cross-Platform emulator for easily running The MajorBBS & Worldgroup Modules
https://www.mbbsemu.com
MIT License
129 stars 14 forks source link

[EWEPNT] Phantasia - Crashes entering world - after character creation #176

Closed tuday2 closed 3 years ago

tuday2 commented 3 years ago

Module Information

Describe the bug Crashes entering world - after character creation

To Reproduce Steps to reproduce the behavior:

  1. Load Module
  2. Enter Module
  3. Create Character
  4. See error

Expected behavior Ability to create character and enter world

Screenshots

2020-10-07 22:33:56.9405 Warn MBBSEmu.HostProcess.ExportedModules.Majorbbs.prfmsg prfmsg() unable to locate message number 1965 in current MCV file EWEPNT.MCV
Unhandled exception. System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. (Parameter 'Unsupported OpCode: Fdivrp')
   at MBBSEmu.HostProcess.ExecutionUnits.ExecutionUnit.Execute(IntPtr16 entryPoint, UInt16 channelNumber, Boolean simulateCallFar, Boolean bypassState, Queue`1 initialStackValues, UInt16 initialStackPointer)
   at MBBSEmu.Module.MbbsModule.Execute(IntPtr16 entryPoint, UInt16 channelNumber, Boolean simulateCallFar, Boolean bypassSetState, Queue`1 initialStackValues, UInt16 initialStackPointer)
   at MBBSEmu.HostProcess.MbbsHost.WorkerThread()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.ThreadHelper.ThreadStart()

Screenshot 2020-10-07 223736-111

Software Information:

enusbaum commented 3 years ago

This MIIIIGHT be caused by something weird going on in the MSG parser. We'll need to verify the resulting MCV file to see if an escape sequence isn't being handled properly.

paladine commented 3 years ago

The missing Fdivrp ordinal seems more pertinent here

enusbaum commented 3 years ago

🤦 missed that! hahaha