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

[MUICHAOS] Swords of Chaos - GameOp player editor crashes system #547

Open
Ohmz1290 opened this issue Feb 6, 2022 · 1 comment
Open
Assignees
Labels
bug Something isn't working module Defect/Issue related to a specific Module

Comments

@Ohmz1290
Copy link

Ohmz1290 commented Feb 6, 2022

Module Information
[MUICHAOS]
[Swords of Chaos]
[4.17]

Describe the bug
Inside the gameop menu, when editing a player, if you try to use the arrow keys to move to another field, or if you hit enter in the field you're on, it will crash the system.

To Reproduce
Steps to reproduce the behavior:

  1. Open Swords of Chaos module and login as a gameop user. (must add key "GAMEOP" to the user account, /sys addkey GAMEOP)
  2. Enter the game, then type "gameop". Must have special permission "player editor" set to on, type "s0" to toggle it on/off. "x" to exit permissions sub-menu.
  3. "d" for player editor. Type in a valid user name and hit enter, your own is fine, then "a" to edit stats.
  4. Hit enter or arrow up or down, and the system will crash.
  5. See crash error

Expected behavior
Normal behavior is for the editor to go to the next field when you hit enter. Up or down arrows will also normally take you to other fields (arrow down for next field, arrow up for previous field).

Crash Error:
MBBSEmu will crash with error from the gameop player stats editor with the following:
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
at MBBSEmu.HostProcess.Fsd.FsdUtility.<>c.b__7_0(FsdFieldSpec field)
at System.Linq.Enumerable.Sum[TSource](IEnumerable1 , Func2 )
at MBBSEmu.HostProcess.Fsd.FsdUtility.BuildAnswerString(FsdStatus fsdStatus)
at MBBSEmu.HostProcess.HostRoutines.FsdRoutines.FieldVerificationRoutine(SessionBase session, FsdStatus fieldStatus)
at MBBSEmu.HostProcess.HostRoutines.FsdRoutines.ValidateField(SessionBase session, FsdStatus fsdStatus)
at MBBSEmu.HostProcess.HostRoutines.FsdRoutines.InFullScreenDisplay(SessionBase session)
at MBBSEmu.HostProcess.HostRoutines.FsdRoutines.ProcessSessionState(SessionBase session, Dictionary`2 modules)
at MBBSEmu.HostProcess.MbbsHost.WorkerThread()
at System.Threading.Thread.StartCallback()

Software Information:

  • OS: [Windows 10 64-bit]
  • Telnet Client [Windows CLI telnet, or SecureCRT]
@enusbaum enusbaum self-assigned this Feb 6, 2022
@enusbaum enusbaum added bug Something isn't working module Defect/Issue related to a specific Module labels Feb 6, 2022
@enusbaum
Copy link
Member

enusbaum commented Feb 6, 2022

This could be an error with the FSD as I think the only real template we've ever tested with was MajorMUD's character creation screen. I'll have to take a look at the template used by SOC and see that's up! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working module Defect/Issue related to a specific Module
Projects
None yet
Development

No branches or pull requests

2 participants