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

Can't update extensions to newer versions


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kadet.89
Veteran Member
Join Date: Nov 2012
Location: Serbia
Old 04-18-2020 , 08:46   Can't update extensions to newer versions
Reply With Quote #1

On one of my linux CS:GO servers I have a strange problem.
Whenever I need to update an extension I have to rename it, otherwise an old one is loaded.
Thats my steps to update extension.ext.so from v1.0 to v1.1:
1) sm exts list -> get the extension number
2) sm exts unload 1
3) sm exts list (make sure the extension is unloaded)
4) delete the old extension.ext.so and upload v1.1
5) check the file version is correct via notepad or whatever
6) sm exts load extension.ext.so
7) sm exts list -> see that 1.0 is loaded.

If I rename extension.ext.so to extension1.ext.so and load it, v1.1 is loaded.
Does metamod somehow cache *.so files? How can I force it load the correct version?
I tried "sm exts reload" with no luck. If I restert the system, the correct version is loaded.

SourceMod Version: 1.11.0.6484
Metamod:Source version 1.10.7-dev
kadet.89 is offline
Send a message via Skype™ to kadet.89
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 04-18-2020 , 09:44   Re: Can't update extensions to newer versions
Reply With Quote #2

Shutdown the server before replacing native libraries.
__________________
asherkin is offline
kadet.89
Veteran Member
Join Date: Nov 2012
Location: Serbia
Old 04-18-2020 , 09:47   Re: Can't update extensions to newer versions
Reply With Quote #3

I need to do it on a working server
kadet.89 is offline
Send a message via Skype™ to kadet.89
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 13:30.


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