Raised This Month: $51 Target: $400
 12% 

Managing your Sourcemod installation


Post New Thread Reply   
 
Thread Tools Display Modes
Thrawn2
Veteran Member
Join Date: Apr 2009
Old 05-02-2011 , 13:34   Extensions
Reply With Quote #11

3.2 Installing an extension
This is pretty much the same as installing plugins, so it does not seem necessary to list the required steps, but i will do it anyway.
To install an extension you just copy it to the /extensions directory.
Extensions can require gamedata and translations like plugins, so don't forget to install them too.

To actually load the extension just change the map or type sm exts load <name of your extension> in the server console. Remember that extensions wont load automatically if they are not required in the first place.

To force an extension to always load, just create an empty file with the name of the extension itself and the file-extension .autoload.
Example:
  • extension file name is extensions/sdkhooks.ext.ep2v.dll
  • to autoload this extension create an empty file extensions/sdkhooks.autoload

Note: You can't update a running extension, you need to disable it first via sm unload <extensionname> or stop your server. Otherwise your server will most likely crash (at least on linux).
__________________
einmal mit profis arbeiten. einmal.
Thrawn2 is offline
Thrawn2
Veteran Member
Join Date: Apr 2009
Old 05-02-2011 , 13:36   Re: Managing your Sourcemod installation
Reply With Quote #12

3.3 Troubleshooting extension issues
Again, this is pretty much the same procedure that you've learned already.

How to test if it is loaded or failed while loading? sm exts list
How to load an extension at runtime? sm exts load <extension name>

Both should give you an output why it failed. Those can be the same reasons as in chapter 2.3, so make sure to read that if you haven't done already.
At the very least they should give you an indication on how to proceed.
__________________
einmal mit profis arbeiten. einmal.
Thrawn2 is offline
berni
SourceMod Plugin Approver
Join Date: May 2007
Location: Austria
Old 05-09-2011 , 07:29   Re: Managing your Sourcemod installation
Reply With Quote #13

This should go into the Sourcemod wiki, not here.

--> http://wiki.alliedmods.net/index.php..._Documentation
__________________
Why reinvent the wheel ? Download smlib with over 350 useful functions.

When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter than "Yes"
powered by Core i7 3770k | 32GB DDR3 1886Mhz | 2x Vertex4 SSD Raid0
berni is offline
Thrawn2
Veteran Member
Join Date: Apr 2009
Old 05-09-2011 , 11:43   Re: Managing your Sourcemod installation
Reply With Quote #14

agreed. would need an account though. who do i need to contact for that? bail?
__________________
einmal mit profis arbeiten. einmal.
Thrawn2 is offline
berni
SourceMod Plugin Approver
Join Date: May 2007
Location: Austria
Old 05-09-2011 , 11:48   Re: Managing your Sourcemod installation
Reply With Quote #15

I think you can login with your Forum login, not sure.
Someone in IRC said everyone can edit and create new wiki pages.
__________________
Why reinvent the wheel ? Download smlib with over 350 useful functions.

When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter than "Yes"
powered by Core i7 3770k | 32GB DDR3 1886Mhz | 2x Vertex4 SSD Raid0
berni is offline
psychonic

BAFFLED
Join Date: May 2008
Old 05-09-2011 , 12:01   Re: Managing your Sourcemod installation
Reply With Quote #16

Quote:
Originally Posted by berni View Post
I think you can login with your Forum login, not sure.
Someone in IRC said everyone can edit and create new wiki pages.
This is correct. With a few exceptions (namely usernames that contain spaces), you should be able to just login with the same username and password as the forums. Any authenticated user should have permission for page creation and editing (unless the page is locked, of course).
psychonic is offline
Thrawn2
Veteran Member
Join Date: Apr 2009
Old 05-09-2011 , 12:14   Re: Managing your Sourcemod installation
Reply With Quote #17

Quote:
Originally Posted by psychonic View Post
This is correct.
i've tried that, but didnt know about this:
Quote:
Originally Posted by psychonic View Post
With a few exceptions (namely usernames that contain spaces), you should be able to just login with the same username and password as the forums.
i've got a whitespace in my username :[
i don't know what i was thinking tbh

how do i proceed?
__________________
einmal mit profis arbeiten. einmal.
Thrawn2 is offline
psychonic

BAFFLED
Join Date: May 2008
Old 05-09-2011 , 12:17   Re: Managing your Sourcemod installation
Reply With Quote #18

Quote:
Originally Posted by [AAA] Thrawn View Post
i've tried that, but didnt know about this:
i've got a whitespace in my username :[
i don't know what i was thinking tbh

how do i proceed?
File a bug, https://bugs.alliedmods.net/enter_bu...=AlliedModders
psychonic is offline
Thrawn2
Veteran Member
Join Date: Apr 2009
Old 05-13-2011 , 06:04   Re: Managing your Sourcemod installation
Reply With Quote #19

I've moved the thread to the wiki now.
http://wiki.alliedmods.net/Managing_...d_installation

thanks to everyone involved.
please close and unsticky this thread. thanks again!
__________________
einmal mit profis arbeiten. einmal.
Thrawn2 is offline
berni
SourceMod Plugin Approver
Join Date: May 2007
Location: Austria
Old 05-13-2011 , 08:38   Re: Managing your Sourcemod installation
Reply With Quote #20

Good job Thrawn2
__________________
Why reinvent the wheel ? Download smlib with over 350 useful functions.

When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter than "Yes"
powered by Core i7 3770k | 32GB DDR3 1886Mhz | 2x Vertex4 SSD Raid0
berni is offline
Reply



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 04:52.


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