Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WDGBSTAL] The Bathroom Stall - Unknown Exported Function Ordinal in MAJORBBS: 69:ALLDGS #511

Open
ftoledo opened this issue Oct 31, 2021 · 1 comment
Labels
bug Something isn't working missing ordinal Missing Ordinal from an Exported Function Library module Defect/Issue related to a specific Module

Comments

@ftoledo
Copy link

ftoledo commented Oct 31, 2021

Module Information

  • Identifier [WDGBSTAL]
  • Module Name [The Bathroom Stall]
  • Version [2.1i]

Describe the bug
Sorry i will mix two bugs here i think that these are related:

First, enter the "Male" or Female room, the module hang,
Maybe the module is not receiving the sex value of the user

2021-10-31 17:45:37.5067 Info MBBSEmu.HostProcess.MbbsHost.CallModuleRoutine Calling lonrou on module WDGBSTAL for channel 0
2021-10-31 17:45:37.5067 Warn MBBSEmu.HostProcess.ExportedModules.Majorbbs.strcpy Source (0004:020F) is NULL

To Reproduce
Steps to reproduce the behavior:

  1. Enter the game
  2. Hit 'M' or 'F'
  3. The input hang

Then if you hit 'U' for Unisex room, the game continue:

  1. hit C (Change stalls) at Unisex menu
  2. put any value bettwen 1-5 and then enter
  3. mbbemu will crash
2021-10-31 17:32:49.7394 Error MBBSEmu.HostProcess.ExportedModules.Majorbbs.Invoke Unknown Exported Function Ordinal in MAJORBBS: 69:ALLDGS
Unhandled exception. System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. (Parameter 'Unknown Exported Function Ordinal in MAJORBBS: 69:ALLDGS')
   at MBBSEmu.HostProcess.ExportedModules.Majorbbs.Invoke(UInt16 ordinal, Boolean offsetsOnly)
   at MBBSEmu.HostProcess.ExecutionUnits.ExecutionUnit.ExternalFunctionDelegate(UInt16 ordinal, UInt16 functionOrdinal)
   at MBBSEmu.CPU.CpuCore.Op_Call()
   at MBBSEmu.CPU.CpuCore.Tick()
   at MBBSEmu.HostProcess.ExecutionUnits.ExecutionUnit.Execute(FarPtr entryPoint, UInt16 channelNumber, Boolean simulateCallFar, Boolean bypassState, Queue`1 initialStackValues, UInt16 initialStackPointer)
   at MBBSEmu.Module.MbbsModule.Execute(FarPtr entryPoint, UInt16 channelNumber, Boolean simulateCallFar, Boolean bypassSetState, Queue`1 initialStackValues, UInt16 initialStackPointer)
   at MBBSEmu.HostProcess.MbbsHost.Run(String moduleName, FarPtr routine, UInt16 channelNumber, Boolean simulateCallFar, Queue`1 initialStackValues)
   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 ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()
Abortado

Screenshots:
imagen

imagen

@ftoledo
Copy link
Author

ftoledo commented Oct 31, 2021

wdgbs21i.zip

@tuday2 tuday2 added bug Something isn't working module Defect/Issue related to a specific Module labels Oct 31, 2021
@enusbaum enusbaum added the missing ordinal Missing Ordinal from an Exported Function Library label Jan 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working missing ordinal Missing Ordinal from an Exported Function Library module Defect/Issue related to a specific Module
Projects
None yet
Development

No branches or pull requests

3 participants