Skip to content

[Bug]: Metamod lists an empty error when failing to load due to the ISmmPlugin::Load() not returning anything. #231

@lightofthestars

Description

@lightofthestars

Prerequisites

  • I have checked that my issue doesn't exist yet in the issue tracker
  • I am running Metamod:Source with a dedicated server rather than a listen server

Operating System and Version

WIndows 11 Home Version 10.0.26100 Build 26100

Game / AppID and Version

CS2 (730) - latest

Metamod:Source Version

buld 1353 on the website

Version Verification

  • I have updated Metamod:Source to the latest snapshot and the issue persists

Updated Metamod:Source Version

N/A

Description

When the ISmmPlugin::Load() function doesn't return anything, metamod fails to give an error message. This happens on initial load, manual loading, and retrying.

Image

Steps to Reproduce

  1. recreate or obtain the s2_sample_mm from this repository's sample folder.
  2. remove return true; from the end of the MMSPlugin::Load() implementation in plugin.cpp
  3. launch dedicated server with compiled plugin, watch for load state.

Relevant Log Output

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions