https://www.17buddies.rocks/index.html

17's Buddies Maps HL1 Maps HL2 Wads Plan des Maps
17 Buddies
Only for stats

Welcome Guest ( Log In | Register )

 
New
I Can't Download Any Maps
cs3248
post 15/07/2024 - 23:20:08 |   Post #1
+Reply

Group: Member
Posts: 2
Joined: 15/07/2024

cn 
Team:
NO


ITS SHOW ME MYSQL ERROR, wth
any fix??
Post PM
Go to the top of the page
finez
post 27/07/2024 - 09:09:27 |   Post #2
+Reply

Group: Member
Posts: 1
Joined: 26/07/2024

se 


Yep, same here, can't download any map , no matter if i'm logged in or not + even captcha test does not work, it says i put wrong characters but i did not.
Post PM
Website
Go to the top of the page
cs3248
post 08/08/2024 - 10:11:15 |   Post #3
+Reply

Group: Member
Posts: 2
Joined: 15/07/2024

cn 
Team:
NO


引用 (finez @ 27/07/2024 - 16:09:27) *
Yep, same here, can't download any map , no matter if i'm logged in or not + even captcha test does not work, it says i put wrong characters but i did not.

Did you find how to fix it?
Post PM
Go to the top of the page
El Abuelo
post 16/08/2024 - 06:21:40 |   Post #4
+Reply

Group: Member
Posts: 1
Joined: 16/08/2024

ar 


Hello guys, I can't download maps either, without registering it indicates that the captcha is incorrect, and registering it gives me an error from mySQL

We need support from a moderator
Post PM
Website
Go to the top of the page
qwertsdf
post 17/08/2024 - 10:23:52 |   Post #5
+Reply

Group: Member
Posts: 1
Joined: 07/08/2024

cn 


I'm the same, it's been a long time, so I suggest you go " https://gamebanana.com/games/4254 " Download the map (IMG:style_emoticons/default/smile.gif)
Post PM
Website
Go to the top of the page
Dr. Y. J. Shazbo...
post 11/09/2024 - 08:06:27 |   Post #6
+Reply

Group: Member
Posts: 7
Joined: 07/07/2013

us 

Team:
GameBanana


A temporary fix is available. Go to any map you wish to download, right click the page, go to inspect, then go to console, and paste this script there. All you need is the Map ID Number from the URL to make it work. Once you've copied the Map ID Number over the text that needs to be replaced, just press enter and the download should trigger.

CODE
//Created bypolat
//Altered and butchered by YellowJello

GlblUrl = "https://www.17buddies.rocks/17b2/"

sTyp = "Map";

//The Map URL ID is the number that appears in the url just before the name of the map.
//Example: For cs_haste (17buddies.rocks/17b2/View/Map/1530/cs_haste.html), the Map ID is 1530.
nId = window.location.href.match(/(PASTE THE MAP URL ID NUMBER HERE)/)[1];

bHlbox = 1;

sCph = "x";

szUrl = GlblUrl + "Push/PreDown/" + sTyp + "/" + nId + "/" + sCph + "/" + bHlbox + "/index.html";

zipName = window.location.href.split('/').pop().split('.')[0];

async function download() {

try {

let response = await fetch(szUrl);

if (!response.ok) throw new Error('Network response was not ok.');

let sResult = await response.text();

let FileDatas = sResult.split('|');

let FileName = FileDatas[2];

while(true)

if(await zipDownload(FileName))

return

} catch (error) {

console.error('Dosya indirilirken hata oluştu:', error);

}

}

async function zipDownload(FileName) {

try {

let response = await fetch( GlblUrl + "Get/" + FileName + ".zip");

if (!response.ok) throw new Error('File download failed.');

let arrayBuffer = await response.arrayBuffer();

let blob = new Blob([arrayBuffer], { type: response.headers.get('content-type') || 'application/octet-stream' });

let text = await new Response(blob).text();

if(!text.includes(FileName))

saveAsFile(new Blob([arrayBuffer], { type: 'application/zip' }), zipName + ".zip")

return !text.includes(FileName)

} catch (error) {

throw new Error('Dosya indirme işlemi sırasında hata oluştu:', error);

}

}

function saveAsFile(blob, fileName) {

var link = document.createElement('a');

link.href = window.URL.createObjectURL(blob);

link.download = fileName;

document.body.appendChild(link);

link.click();

document.body.removeChild(link);

}

download();


This post has been edited by Dr. Y. J. Shazbot: 11/09/2024 - 08:07:38
Post PM
Website
Go to the top of the page
byplt
post 11/09/2024 - 15:56:54 |   Post #7
+Reply

Group: Member
Posts: 1
Joined: 28/11/2023

tr 


I updated the script;

CODE
// Created bypolat, thanks to YellowJello

// How to use;
// Firstly, login your account (17buddies.rocks)
// Goto the map
// Right click to the page and click inspect button
// Click console tab, and paste this code to console and enter
// And the map will be downloaded automatically.

GlblUrl = "https://www.17buddies.rocks/17b2/"
sTyp = "Map";
nId = window.location.href.match(/\/Map\/(\d+)\//)[1];
bHlbox = 1;
sCph = "x";
szUrl = GlblUrl + "Push/PreDown/" + sTyp + "/" + nId + "/" + sCph + "/" + bHlbox + "/index.html";
zipName = window.location.href.match(/\/([^\/]+)\.html$/)[1];

async function startDownload() {
    try {

        console.log("Downloading: " + zipName + ".zip, please wait.." )

        let response = await fetch(szUrl);
        if (!response.ok)
            {
                throw new Error('Network response was not ok.');
            }
        
        let sResult = await response.text();
        let FileDatas = sResult.split('|');
        let FileName = FileDatas[2];

        while(true)
        {
            if(await requestZipData(FileName))
            {
                return
            }
        }

    } catch (error) {
        throw new Error(error)
    }
}

async function requestZipData(FileName) {
    try {
        let response = await fetch( GlblUrl + "Get/" + FileName + ".zip");
        if (!response.ok){
            throw new Error('File download failed.');
        }

        let arrayBuffer = await response.arrayBuffer();
        let blob = new Blob([arrayBuffer], { type: response.headers.get('content-type') || 'application/octet-stream' });
        let text = await new Response(blob).text();

        if(!text.includes(FileName))
        {
            saveZipFile(new Blob([arrayBuffer], { type: 'application/zip' }), zipName + ".zip")
        }

        return !text.includes(FileName)
    } catch (error) {
        throw new Error(error);
    }
}

function saveZipFile(blob, fileName) {

    var link = document.createElement('a');
    link.href = window.URL.createObjectURL(blob);
    link.download = fileName;

    document.body.appendChild(link);
    link.click();

    document.body.removeChild(link);
}

startDownload().then(() => {
    console.log("Download completed: " + zipName + ".zip!")
}).catch(error => {
    throw new Error('An error occurred while downloading the file:', error);
});
Post PM
Website
Go to the top of the page
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

New
 


RSS Lo-Fi Version
 
Skin © Chapo