AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Coding MM:S Plugins & SM Extensions (https://forums.alliedmods.net/forumdisplay.php?f=75)
-   -   How to access Sourcemod Extension List? (https://forums.alliedmods.net/showthread.php?t=151973)

DieTeetasse 03-02-2011 13:02

How to access Sourcemod Extension List?
 
Is there a way to acces the sourcemod extension list to actually see, what extensions are loaded by another sourcemod extension?

The IExtensionManager class just provides functions to load and unload extensions but not to get the list.

BAILOPAN 03-02-2011 16:52

Re: How to access Sourcemod Extension List?
 
There's an internal dependency graph (sort of) but no list of who loads what. Same with plugins. Why?

DieTeetasse 03-02-2011 18:37

Re: How to access Sourcemod Extension List?
 
My extension is checking the servers config and all loaded plugins and extension to see if they are the original ones. It's a competitive thing to check if a server or the plugins/extensions are not modified.

There is the possibility to just "sm exts list", but the extension should do all of this to make it simple.

Edit: Sorry, maybe i make it a little unclear. I just want a list with all (loaded) extensions and their file names to check these. I don't want to know who loads which one.
[My english is epic today -.-]

ProdigySim 03-02-2011 22:21

Re: How to access Sourcemod Extension List?
 
Basically, you want to prevent admins from configuring a piece of software that is designed to increase configurability.

Good luck.

DieTeetasse 03-03-2011 06:24

Re: How to access Sourcemod Extension List?
 
Quote:

Originally Posted by ProdigySim (Post 1426913)
Basically, you want to prevent admins from configuring a piece of software that is designed to increase configurability.

Good luck.

???

The extension is just checking the server to run the configured plugins and extensions during a tournament (confogl) match.
Don't know how this could prevent admins from configuration.
This should just minimize the risk of server side manipulation and wrong or old configurations of confogl.

BAILOPAN 03-03-2011 14:42

Re: How to access Sourcemod Extension List?
 
I don't know exactly what you're trying to do, but looking at the raw extension list is probably good enough. If there's no API to get the list of extensions, just request one on the bug tracker. If you're trying to checksum, use the filesystem instead, it's less easy to evade.


All times are GMT -4. The time now is 11:54.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.