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

In-Game URL Map Downloader


Post New Thread Reply   
 
Thread Tools Display Modes
Author
erroler
Member
Join Date: Mar 2013
Plugin ID:
5332
Plugin Version:
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Transfer maps directly from the internet just by their URL to your gameserver.
    Old 08-28-2016 , 18:57   In-Game URL Map Downloader
    Reply With Quote #1

    This plugin allows you to download maps directly from the internet to your gameserver. Made for lazy server owners and people with slow internet or bandwith caps.
    Supports most commom archive file formats such as zip, rar, 7z and bz2. Also supports direct download of .bsp or .nav files.
    If the map is compressed and a .nav file is found on the extract directory it will also be moved to the maps directory along with the .bsp map file.
    After the map is installed don't forget to add it to the maplist and sync it with your fast download server.

    Supports linux only at the moment.

    Usage:
    • sm_downloadmap "map_url" [Requires root flag]

    Gamebanana download example


    Requirements:
    • System2 (Don't forget to upload the 7z binaries as binary files! If you use Filezilla edit these settings before uploading.)
    • SMLIB (Just to compile)

    Sorry for any spelling mistakes, English is not my native language.
    Attached Files
    File Type: sp Get Plugin or Get Source (map_downloader.sp - 385 views - 12.3 KB)
    File Type: smx map_downloader.smx (16.9 KB, 340 views)

    Last edited by erroler; 08-28-2016 at 21:46. Reason: fixed typos
    erroler is offline
    Aymeric VII
    BANNED
    Join Date: Jun 2016
    Location: Hiding under my sheets
    Old 08-28-2016 , 23:29   Re: In-Game URL Map Downloader
    Reply With Quote #2

    Would you mind adding a feature to modify the maplist.txt and mapcycle.txt ingame as well?
    Aymeric VII is offline
    shavit
    AlliedModders Donor
    Join Date: Dec 2011
    Location: Israel
    Old 08-29-2016 , 03:00   Re: In-Game URL Map Downloader
    Reply With Quote #3

    Quote:
    Originally Posted by Aymeric VII View Post
    Would you mind adding a feature to modify the maplist.txt and mapcycle.txt ingame as well?
    if that happens, keep in mind mapcycle/maplist may be in different directories per game
    for example, in csgo its inside csgo/ but in css its inside cstrike/cfg/
    __________________
    retired
    shavit is offline
    Aymeric VII
    BANNED
    Join Date: Jun 2016
    Location: Hiding under my sheets
    Old 08-29-2016 , 03:17   Re: In-Game URL Map Downloader
    Reply With Quote #4

    Quote:
    Originally Posted by shavit View Post
    if that happens, keep in mind mapcycle/maplist may be in different directories per game
    for example, in csgo its inside csgo/ but in css its inside cstrike/cfg/
    Ah yes totally forgot about that, hopefully its possible for both.
    Aymeric VII is offline
    erroler
    Member
    Join Date: Mar 2013
    Old 08-29-2016 , 10:05   Re: In-Game URL Map Downloader
    Reply With Quote #5

    Quote:
    Originally Posted by Aymeric VII View Post
    Would you mind adding a feature to modify the maplist.txt and mapcycle.txt ingame as well?
    I'll look into that when I have time

    Quote:
    Originally Posted by shavit View Post
    if that happens, keep in mind mapcycle/maplist may be in different directories per game
    for example, in csgo its inside csgo/ but in css its inside cstrike/cfg/
    Thanks! Will keep that in mind.
    erroler is offline
    Aymeric VII
    BANNED
    Join Date: Jun 2016
    Location: Hiding under my sheets
    Old 04-28-2017 , 01:32   Re: In-Game URL Map Downloader
    Reply With Quote #6

    Doesn't work anymore even with uploading all through binary ftp mode (worked fine months back)
    Also using the latest System2 from a few days ago.

    04/28/2017 - 010:01: [SM] Exception reported: [MapDownloader] ERROR - 7z wasn't uploaded trough binary ftp mode.
    L 04/28/2017 - 010:01: [SM] Blaming: map_downloader.smx
    L 04/28/2017 - 010:01: [SM] Call stack trace:
    L 04/28/2017 - 010:01: [SM] [0] SetFailState
    L 04/28/2017 - 010:01: [SM] [1] Line 302, E:\ssd\Users\Erroler\Desktop\nothing helpful around here\sm store double\map_downloader_final.sp::Check7z
    L 04/28/2017 - 010:01: [SM] [2] Line 21, E:\ssd\Users\Erroler\Desktop\nothing helpful around here\sm store double\map_downloader_final.sp::OnPluginStart

    Last edited by Aymeric VII; 04-28-2017 at 01:32.
    Aymeric VII is offline
    paradoxwss
    Junior Member
    Join Date: Dec 2015
    Old 05-09-2017 , 08:26   Re: In-Game URL Map Downloader
    Reply With Quote #7

    Hello, i'm getting the same error as @Aymeric VII mentioned, wish you can fix that soon. Thanks.
    __________________
    Very big thanks for every single Moderator/Member on AlliedModders for their great job and the help given to every one when needed. Hope this big forum will remain for ever with it's amazing members.
    paradoxwss is offline
    ThatKidWhoGames
    Veteran Member
    Join Date: Jun 2013
    Location: IsValidClient()
    Old 08-17-2017 , 07:18   Re: In-Game URL Map Downloader
    Reply With Quote #8

    What is the advantage of using this over this?
    ThatKidWhoGames 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 06:42.


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