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

In-Game Map Downloader and FastDL Uploader (GameBanana, Custom List, URL)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
dordnung
Veteran Member
Join Date: Apr 2010
Plugin ID:
3093
Plugin Version:
2.4.0
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    2 
    Plugin Description:
    With this plugin you can download maps directly ingame from the huge database of gamebanana, from your own URL with maps or just from an URL
    Old 07-16-2012 , 16:52   In-Game Map Downloader and FastDL Uploader (GameBanana, Custom List, URL)
    Reply With Quote #1




    Bored of going always out of game to download and upload a new map to your server?
    With this plugin you can download maps directly ingame from the huge database of gamebanana, from your own URL with maps or just from any URL.
    The plugin can even upload it afterwards bz2 compressed to your fastdownload server




    Features:
    • Access to all maps of the huge database of gamebanana while being ingame
    • Sorted after the most viewed, the most downloaded, the best rated or just the newest maps
    • Show information about a map after choosing it: See views, downloads, votes, rating, creation date, the last modification date, pictures and information in the MOTD window
    • Search for a specific map by just enter a search mask
    • The downloaded map can be automatically uploaded to your fastdownload server, even bz2 compressed!
    • You can also create a list with your own custom URL's with maps and download from there.
    • Or just download a map directly from an given URL
    • Black and Whitelist a bunch of map categories or maps
    • Queue up to 20 downloads
    • Intern downloadlist for custom map files which players will download
    • Automatic plugin updater
    • Automatic installing, downloading and updating of the gamebanana database
      • Will be updated every day and downloaded at server start



    Supported Games with Pictures:

    Installation:
    • You need the System2 Extension (> v3.0)
      • Be sure to give sourcemod/data/system2/linux/i386/7z (32-Bit linux server) or sourcemod/data/system2/linux/amd64/7z (64-Bit linux server)
        or sourcemod/data/system2/win/7z.exe execution rights (Linux: 744), so file compression will work
    • If you like to use a black, white or customlist, open sourcemod/configs/mapdownload_lists.cfg and configurate the lists.
      • How to set up the lists you can take out of the file.
    • Now upload everything to your server.
    • Restart your server, change the map or load mapdownload via console.
    • Open the created cfg/sourcemod/plugin.mapdownload.cfg file and configurate your settings.


    Known Issues:
    • After downloading the file, it will not be extracted
      1. This error can appear because the system2 7z isn't uploaded as a binary file.
      2. Change the FTP transfer type from automatic to binary.
    • Couldn't find a valid Map file
      1. Forgot to give 7z or 7z.exe execution rights.
      2. The downloaded file is corrupt or invalid (retry).
      3. The mapper forgot to upload a .bsp file (really? ).
      4. The archive is compressed more than once.
      5. Take a look at the sourcemod/data/mapdownload/temp folder and search for the error.
      6. Take a look at Issue 1.
    • Database disk image is malformed
      1. This error can appear after server start when the database got updated.
      2. Increase the number of retries in the config,
      3. Or just restart your server again and it should work again.



    Additional notes:
    • You can also make your own database. Just download the Maplister Binarys and create a maplist.
      • You also can run the programm with the game number as parameter, to start collecting instantly.
      • When finished (All Maps: ~ 1 day), copy the created gamebanana.sq3 to the sourcemod/data/sqlite/ folder
      • If you enable mapdownload_update_database (default: enabled), you don't have to care about creating the database by yourself.


    Changelog:

    Quote:
    • 2.4.0 (2018/06/25)
      • Removed the limit of 64 maps at a max in custom urls
      • Ignoring MAXOSX folders, as this plugin does not support OSX servers, anyway
    • 2.3.0 (2018/02/03)
      • Using the new System2 API (update to the newest System2 extension needed!)
      • Adding maps now alphabetically to the mapcycle file
      • Using VGUI URL Cache Buster for correct MOTD in CSGO
      • Using correct line endings on Windows for mapcycle
      • Also adding map preview image to the maps folder
      • Reformatted hud text for CSGO
      • Testing if 7-ZIP is executable
      • Using new Sourcemod API
    • 2.2.2 (2017/10/29)
      • Allowing to download just .bsp files
      • Downloading gamebanana database again on error -> No server reboot necessary on error
    • 2.2.1 (2014/10/11 )
      • Fixed that only one whitelist option could be set
    • 2.2.0 (2014/10/03)
      • Added more information about maps: Votes, Downloads, Views, Rating, Creation Date, Modification Date
      • Added options to sort the maps by the new information
      • Added command to download a map directly from a given URL
      • Added menu items to show the best voted-, downloaded-, ... maps
      • Added convar to set color of hudtext
      • Removed unnecessary files of the download (Readme and so on)
      • Added logging
      • Added convar to set number of retries to connect to the database
      • Fixed bugs
    • 2.1.1 (2013/05/0
      • Fixed missing file extension
    • 2.1.0 (2013/05/08 )
      • Fixed bug that admins with only z flag didn't see downloadtext
      • Added support for custom url list
      • Added FTP ingame login
    • 2.0.0 (2013/05/05)
      • Plugin completely rewritten
    • Up to 2.0.0
      • Forgot the old one, the new one is much better!
    Attached Files
    File Type: zip mapdownload.zip (95.5 KB, 1580 views)
    File Type: zip maplister_binary.zip (730.6 KB, 921 views)
    __________________

    Last edited by dordnung; 06-25-2018 at 11:00.
    dordnung is offline
    Maxunit
    SourceMod Donor
    Join Date: Jul 2005
    Old 07-16-2012 , 18:08   Re: [Any] Ingame Map Downloader
    Reply With Quote #2

    Woot, this is awesome! Then I can pre-view Left 4 Dead 2 Maps and Campaigns inside the game and download them directly to the Server.

    This really helps a lot, if someone suggests a custom map for L4D2, which is not on the Server.

    EDIT: I dunno if I did something wrong, re-following the instructions, but the plugin FAILED to load on my L4D2 server so far.

    EDIT 2: Left 4 Dead 2 sadly is not supported, because system2 is not working with it

    Last edited by Maxunit; 07-16-2012 at 18:43.
    Maxunit is offline
    Send a message via ICQ to Maxunit Send a message via AIM to Maxunit Send a message via MSN to Maxunit
    dordnung
    Veteran Member
    Join Date: Apr 2010
    Old 07-16-2012 , 18:37   Re: [Any] Ingame Map Downloader
    Reply With Quote #3

    Errormessage?
    __________________
    dordnung is offline
    Maxunit
    SourceMod Donor
    Join Date: Jul 2005
    Old 07-16-2012 , 18:46   Re: [Any] Ingame Map Downloader
    Reply With Quote #4

    Error Message was posted in the System2 Topic as well, which is:

    Code:
    [SM] Unable to load extension "system2.ext": /home/l4d2/left4dead2/left4dead2/addons/sourcemod/extensions/system2.ext.so: undefined symbol: _SpewInfo
    Maxunit is offline
    Send a message via ICQ to Maxunit Send a message via AIM to Maxunit Send a message via MSN to Maxunit
    dordnung
    Veteran Member
    Join Date: Apr 2010
    Old 07-16-2012 , 18:51   Re: [Any] Ingame Map Downloader
    Reply With Quote #5

    ah ok, but system2 should be independent too.

    Rootserver or simple server?
    __________________

    Last edited by dordnung; 07-16-2012 at 18:52.
    dordnung is offline
    Maxunit
    SourceMod Donor
    Join Date: Jul 2005
    Old 07-16-2012 , 19:01   Re: [Any] Ingame Map Downloader
    Reply With Quote #6

    I have a Linux Root Server with Debian x64 running.

    If I want to load the MapDL Plugin, it tells me, that System2.ext is not loaded and if I want to load System2.ext, it throws the error i posted.

    Last edited by Maxunit; 07-16-2012 at 19:02.
    Maxunit is offline
    Send a message via ICQ to Maxunit Send a message via AIM to Maxunit Send a message via MSN to Maxunit
    minimoney1
    SourceMod Donor
    Join Date: Dec 2010
    Old 07-16-2012 , 22:43   Re: [Any] Ingame Map Downloader
    Reply With Quote #7

    Hooly...
    Great job man, this type of plugin (AddMap) was the only reason I would ever run Eventscripts, and I would've never thought it'd be up for SM.
    For FTP support and bz2 you could look into tEasyFTP and the bzip compression extension.

    Last edited by minimoney1; 07-16-2012 at 22:46.
    minimoney1 is offline
    mica2611
    SourceMod Donor
    Join Date: Apr 2010
    Location: Front of my macbook Pro
    Old 07-18-2012 , 08:27   Re: [Any] Ingame Map Downloader
    Reply With Quote #8

    +1 mini !

    waiting the rar support !!!!! THANKS for the great work
    mica2611 is offline
    C0nw0nk
    Senior Member
    Join Date: May 2011
    Location: United Kingdom
    Old 07-18-2012 , 12:44   Re: [Any] Ingame Map Downloader
    Reply With Quote #9

    What would be good and a idea is that the server tells the client to automaticly download the nextmap in advance so upon a map change it has a quicker connect for clients.
    __________________
    C0nw0nk is offline
    Send a message via MSN to C0nw0nk
    Powerlord
    AlliedModders Donor
    Join Date: Jun 2008
    Location: Seduce Me!
    Old 07-18-2012 , 12:56   Re: [Any] Ingame Map Downloader
    Reply With Quote #10

    Quote:
    Originally Posted by C0nw0nk View Post
    What would be good and a idea is that the server tells the client to automaticly download the nextmap in advance so upon a map change it has a quicker connect for clients.
    Plugins can change the nextmap at any time.

    Heck, on TF2, the default configuration (without SourceMod or other addons present) will bring up a vote menu consisting of the 5 least played maps since the last server restart.
    __________________
    Not currently working on SourceMod plugin development.

    Last edited by Powerlord; 07-18-2012 at 12:57.
    Powerlord 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 01:49.


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