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
126 stars 14 forks source link

[CHRGAME] The Lost Caverns of Miczyk - Crashes when creating room #166

Open tuday2 opened 3 years ago

tuday2 commented 3 years ago

Module Information

Describe the bug Crash when creating room (entering name of room)

To Reproduce Steps to reproduce the behavior:

  1. Enter module
  2. Create Character
  3. Create room exits, enter room name
  4. See error

Expected behavior Room creates normally

Screenshots

2020-10-05 21:57:45.3567 Error MBBSEmu.HostProcess.ExportedModules.Majorbbs.Invoke Unknown Exported Function Ordinal in MAJORBBS: 88:OLDBGNEDT
Unhandled exception. System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. (Parameter 'Unknown Exported Function Ordinal in MAJORBBS: 88:OLDBGNEDT')
   at MBBSEmu.HostProcess.ExportedModules.Majorbbs.Invoke(UInt16 ordinal, Boolean offsetsOnly)
   at MBBSEmu.HostProcess.ExecutionUnits.ExecutionUnit.ExternalFunctionDelegate(UInt16 ordinal, UInt16 functionOrdinal)
   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-05 220022-333

Software Information:

enusbaum commented 3 years ago

Ordinal MAJORBBS.88 is OLDBGNEDT, which looks like a proxy API which looks like it calls the Full-Screen Editor (BGNEDT)?

We'll need to figure out how the values passed into OLDBGNEDT map to BGNEDT

tuday2 commented 3 years ago

Excalibur! and Dialchat both have crashes related to Ordinal 88 #278