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

Metamod Updater


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
dgibbs
Junior Member
Join Date: Feb 2014
Old 04-30-2017 , 17:27   Metamod Updater
Reply With Quote #1

Hello All,

Since Metamod has moved to a similar update method to sourcemod I am going to update LinuxGSM to use the same update method as sourcemod. However currently I can not seem to find the scrape version url equivalent for metamod see https://sm.alliedmods.net/smdrop/1.8...d-latest-linux for what I mean.

Does anyone know the url for this or has it just not been implemented yet?

If you are interested here is the code I need to change mods_list.sh.

Thanks
dgibbs is offline
psychonic

BAFFLED
Join Date: May 2008
Old 04-30-2017 , 18:39   Re: Metamod Updater
Reply With Quote #2

Not implemented yet.
psychonic is offline
dgibbs
Junior Member
Join Date: Feb 2014
Old 04-30-2017 , 19:34   Re: Metamod Updater
Reply With Quote #3

Thanks for letting me know

I have been pointed in this direction https://enjen.net/valve/mm.php

Which I might use until a more official method is ready
__________________
dgibbs is offline
psychonic

BAFFLED
Join Date: May 2008
Old 04-30-2017 , 19:41   Re: Metamod Updater
Reply With Quote #4

This has been added for MM:S now.

For both MM:S and SM, please don't rely on the directory listing being available, let alone scraping it. This is the preferred method, using the "latest.php". It exists on both metamodsource.net and sourcemod.net, and takes two GET params, os and version.

os can be windows, linux, or mac
version is the branch base version, such as 1.8, 1.9, 1.10, etc.

https://www.metamodsource.net/latest...x&version=1.10
psychonic is offline
dgibbs
Junior Member
Join Date: Feb 2014
Old 05-01-2017 , 09:29   Re: Metamod Updater
Reply With Quote #5

Thanks for this!!
__________________
dgibbs 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 14:44.


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