Jump to content

Recommended Posts

Posted
On 9/1/2024 at 6:03 PM, ocarinas said:

How to fix 502 Bad Gateway when clicking a protocol link from akumu.ru

 

could be blocken by your country, provider or your connection on hosts side. use vpn or proxy to try different regions. should work

  • 3 weeks later...
Posted
On 9/20/2024 at 5:20 PM, Finn said:

 

could be blocken by your country, provider or your connection on hosts side. use vpn or proxy to try different regions. should work

 

Client NA protocol 152  OFFLINE.

Do you have it there?

  • 2 months later...
Posted
On 10/11/2024 at 11:30 AM, L2Lion said:

 

Client NA protocol 152  OFFLINE.

Do you have it there?

 

check big fat Client Library Link to get to Akumus Client Collection Site

  • 2 months later...
Posted
On 2/12/2025 at 11:19 PM, uater said:

And this is not possible?

image.png?ex=67ae6f34&is=67ad1db4&hm=479a0bab7753c22e5a72e7d935f7f4d4b264484811db8b27067e7a0075dbdd37&=

 

image link broken. can't see what u mean

Still looking for this client:

 

cgod2.png

  • 2 months later...
  • 1 month later...
Posted (edited)

Чтобы скачать файлы с сайта Akumu, вы можете использовать этот код на Node.js. Понадобятся два пакета: axios и cheerio.

 

это медленно, но делает свою работу

 

P.S. пропускает файл, если он присутствует и не изменен

 

const axios = require("axios");
const cheerio = require("cheerio");
const fs = require("fs/promises");
const path = require("path");

const BASE_URL = "http://akumu.ru/lineage2/L2NA/P746/";
const OUTPUT_DIR = "./downloaded";

async function delay(ms) {
  return new Promise((res) => setTimeout(res, ms));
}

async function downloadFile(url, filepath) {
  // Skip download if file already exists and was not modified today
  try {
    const stat = await fs.stat(filepath);
    const mtime = stat.mtime;
    const today = new Date();
    if (
      mtime.getFullYear() === today.getFullYear() &&
      mtime.getMonth() === today.getMonth() &&
      mtime.getDate() === today.getDate()
    ) {
      // File was modified today, do not skip
    } else {
      console.log(`File exists, skipping: ${filepath}`);
      return false; // Indicate skipped
    }
  } catch (e) {
    // File does not exist, proceed to download
  }

  const writer = await fs.open(filepath, "w");
  const response = await axios({ url, method: "GET", responseType: "stream" });

  const totalLength = parseInt(response.headers['content-length'], 10);
  let downloadedLength = 0;
  let lastLogged = Date.now();
  let lastDownloaded = 0;

  const lastModified = response.headers["last-modified"];
  const mtime = lastModified ? new Date(lastModified) : new Date();

  return new Promise((resolve, reject) => {
    const stream = writer.createWriteStream();
    response.data.on('data', (chunk) => {
      downloadedLength += chunk.length;
      const now = Date.now();
      if (now - lastLogged > 1000 || downloadedLength === totalLength) {
        const percent = totalLength ? ((downloadedLength / totalLength) * 100).toFixed(2) : 'N/A';
        const speed = ((downloadedLength - lastDownloaded) / ((now - lastLogged) / 1000)) / 1024; // KB/s
        process.stdout.write(`\rDownloading ${path.basename(filepath)}: ${percent}% (${(downloadedLength/1024).toFixed(1)} KB/${totalLength ? (totalLength/1024).toFixed(1) : '?'} KB) ${(speed).toFixed(1)} KB/s   `);
        lastLogged = now;
        lastDownloaded = downloadedLength;
      }
    });
    response.data.pipe(stream);
    response.data.on("end", async () => {
      await writer.close();
      process.stdout.write("\n");
      // Set mtime and atime
      try {
        await fs.utimes(filepath, mtime, mtime);
      } catch (e) {
        console.warn(
          `Failed to set file timestamp for ${filepath}:`,
          e.message
        );
      }
      resolve(true); // Indicate downloaded
    });
    response.data.on("error", async (err) => {
      await writer.close();
      reject(err);
    });
  });
}

async function crawlAndDownload(url, localPath) {
  console.log("Visiting:", url);

  // Ensure local path exists
  await fs.mkdir(localPath, { recursive: true });

  const { data } = await axios.get(url);
  const $ = cheerio.load(data);

  const links = $("tbody a")
    .toArray()
    .map((el) => $(el).attr("href"))
    .filter((href) => href && href !== "../");

  for (const href of links) {
    const fullUrl = new URL(href, url).href;
    const decodedHref = decodeURIComponent(href);
    const targetPath = path.join(localPath, decodedHref);

    if (href.endsWith("/")) {
      // It's a folder, recurse normally
      await crawlAndDownload(fullUrl, targetPath);
    } else {
      // It's a file, retry download indefinitely on failure
      while (true) {
        try {
          console.log("Downloading file:", fullUrl);
          const downloaded = await downloadFile(fullUrl, targetPath);
          if (downloaded) {
            await delay(1000); // Delay only if file was downloaded
          }
          break; // Success or skipped, exit retry loop
        } catch (err) {
          console.error(
            `Failed to download ${fullUrl}, retrying... Error: ${err.message}`
          );
          // Optionally wait before retrying to be gentle on server
          await delay(3000);
        }
      }
    }
  }
}

crawlAndDownload(BASE_URL, OUTPUT_DIR)
  .then(() => console.log("Done!"))
  .catch((err) => console.error("Error:", err));
Edited by AslanG
  • 1 month later...
Posted

Sadly nobody shares any of the missing clients mentioned in the very first post of this topic. There are people in this community who actually have at least some of them, but... 🫠

  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Posts

    • You should buy it then I’ll make a discount  
    • Hi everyone,   In 2014, I completely stepped away from developing L2 servers and doing L2J-related work. Since then, I’ve only opened this server about once a year and helped a few servers and individuals for free. I haven’t taken on any paid L2J work since then.   LINEAGE2.GOLD is a project that has reached about Season 6. The first season launched at the end of 2020 and was a fully rebuilt Gold-style server on the Classic client (protocol 110). It featured many custom systems and enhancements. After several seasons, I decided to abandon the Mobius-based project and move to Lucera, as my goal was to get as close as possible to Interlude PTS behavior while still staying on the L2J platform.   The current project was once again completely rebuilt, this time on the Essence client (protocol 306), and is based on Lucera. Because of that, acquiring a license from Deazer is required.   My Lucera extender includes, but is not limited to: Formulas.java Basic anti-bot detection, which proved quite effective, we caught most Adrenaline users using relatively simple server-side logic, logged them, and took staff action. Simple admin account lookup commands based on IP, HWID, and similar identifiers. In-game Captcha via https://lineage2.gold/code, protected by Cloudflare, including admin commands for blacklisting based on aggression levels and whitelisting. Additional admin tools such as Auto-Play status checks, Enchanted Hero Weapon live sync, force add/remove clans from castle sieges, item listeners for live item monitoring, and more. A fully rewritten Auto-Play system with support for ExAutoPlaySetting, while still using the Auto-Play UI wheel, featuring: Debuff Efficiency Party Leader Assist Respectful Hunting Healer AI Target Mode Range Mode Summoner buff support Dwarf mechanics Reworked EffectDispelEffects to restore buffs after Cancellation. Raid Bomb item support. Reworked CronZoneSwitcher. Prime Time Raid Respawn Service. Community Board features such as Top rankings and RB/Epic status. Custom systems for Noblesse, Subclasses, support-class rewards, and much more.   Depending on the deal, the project can include: The lineage2.gold domain The website built on the Laravel PHP framework The server’s Discord Client Interface source Server files and extender source The server database (excluding private data such as emails and passwords)   I’m primarily looking for a serious team to continue the project, as it would be a shame to see this work abandoned. This is not cheap. You can DM me with offers. If you’re wondering why I’m doing this: I’ve felt a clear lack of appreciation from the L2 community, and I’m not interested in doing charity work for people who don’t deserve it. I’m simply not someone who tolerates BS. Server Info: https://lineage2.gold/info Server for test: https://lineage2.gold/download Over 110 videos YouTube playlist: https://www.youtube.com/watch?v=HO7BZaxUv2U&list=PLD9WZ0Nj-zstZaYeWxAxTKbX7ia2M_DUu&index=113
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock