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

Clarify verifying steps for guides with extensions #7

Closed
Sikarii opened this issue Sep 9, 2022 · 2 comments
Closed

Clarify verifying steps for guides with extensions #7

Sikarii opened this issue Sep 9, 2022 · 2 comments

Comments

@Sikarii
Copy link
Contributor

Sikarii commented Sep 9, 2022

When installing an extension prior to anything that relies on the extension, the extension will not automatically load.
This should be clarified in the "Confirm this step" when following a step that involves installing an extension.


Extensions in SourceMod will not automatically load unless either:

  1. An already existing, working plugin needs the extension
  2. The extension has an (empty) .autoload file in the extensions directory, i.e. smjansson.autoload
@walliski
Copy link
Contributor

In the case of SteamWorks in the Whitelist guide, we could probably change the instructions to tell them to do sm exts load SteamWorks instead. It should output the following message:

[SM] Loaded extension SteamWorks.ext.so successfully.

There should be an error if it fails to load, for example if the file is in the wrong location, and loading an extension multiple times should not cause issues either.

I could maybe get something together for a PR in the coming days for this.

@Sikarii
Copy link
Contributor Author

Sikarii commented Dec 17, 2022

Resolved with #10.

@Sikarii Sikarii closed this as completed Dec 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants