Raised This Month: $32 Target: $400
 8% 

How to access Sourcemod Extension List?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DieTeetasse
Senior Member
Join Date: Jul 2009
Old 03-02-2011 , 13:02   How to access Sourcemod Extension List?
Reply With Quote #1

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.
__________________
DieTeetasse is offline
BAILOPAN
Join Date: Jan 2004
Old 03-02-2011 , 16:52   Re: How to access Sourcemod Extension List?
Reply With Quote #2

There's an internal dependency graph (sort of) but no list of who loads what. Same with plugins. Why?
__________________
egg
BAILOPAN is offline
DieTeetasse
Senior Member
Join Date: Jul 2009
Old 03-02-2011 , 18:37   Re: How to access Sourcemod Extension List?
Reply With Quote #3

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 -.-]
__________________

Last edited by DieTeetasse; 03-02-2011 at 19:26.
DieTeetasse is offline
ProdigySim
SourceMod Plugin Approver
Join Date: Feb 2010
Old 03-02-2011 , 22:21   Re: How to access Sourcemod Extension List?
Reply With Quote #4

Basically, you want to prevent admins from configuring a piece of software that is designed to increase configurability.

Good luck.
ProdigySim is offline
DieTeetasse
Senior Member
Join Date: Jul 2009
Old 03-03-2011 , 06:24   Re: How to access Sourcemod Extension List?
Reply With Quote #5

Quote:
Originally Posted by ProdigySim View Post
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.
__________________

Last edited by DieTeetasse; 03-03-2011 at 06:31.
DieTeetasse is offline
BAILOPAN
Join Date: Jan 2004
Old 03-03-2011 , 14:42   Re: How to access Sourcemod Extension List?
Reply With Quote #6

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.
__________________
egg
BAILOPAN is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:01.


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