Jump to content

Recommended Posts

Posted

Hello, i tried to use the code of Zoey76 on c++ which application for purpose is to open l2.bin.using that IP parameter in the shellexecute won't work at all, at least not when I'm using L2.exe in the command. using L2.bin I'm always prompted to choose an application to open it with

 

#define _WIN32_WINNT _WIN32_WINNT_WINXP
#define NOMINMAX
#include <iostream>
#include <windows.h>
#include <cstdlib>

using namespace std;

// Start L2 as .bin with IP as parameter.
// You can use IP or DNS as IP parameter.
// You could include other parameters.
// You can change the path to the .bin file to avoid including the L2.exe inside the System folder.
// Author: Zoey76
int _stdcall wWinMain(HINSTANCE hInst, HINSTANCE prevInst, LPWSTR szCmdLine, int nCmdShow)
{
    ShellExecute(0, L"open", L"cmd.exe", L"/C C:\Program Files (x86)\Lineage II\system start l2.bin IP=127.0.0.1", 0, SW_HIDE);
    system("PAUSE");
}

 

 

Posted (edited)

@eressea Because my goals are differents.

 When i'm trying to open l2.bin with command prompt i get message with i need to choose application which i open the l2.bin it's not normal. Do you know another way to started l2.bin file?

Edited by vladislavl2a
Posted

Is there way to start .bin file ? Why i get everytime message with choosing application? I can only start l2_start.exe that calls l2.exe to start the game(l2.bin).Is there a way to run l2.bin file by command prompt or another program?

Posted

its your windows specific problem, most prolly .bin file isn't defaulted as executable - you can run assoc command in cmd and check if says .bin=exefile

more on that: https://www.maketecheasier.com/change-file-associations-windows10/

 

but in your case, you can run l2.bin via cmd file to avoid that problem at all (my previous post), just keep in mind use of IP= argument can be disabled in l2.ini, also not sure if its even available in older chronicles, used it on GOD+ clients only.

Posted (edited)

Doesn't work. Everytime when i send message by cmd "start l2.bin IP=127.0.0.1" or "start l2.bin" i get message "Access denied" even with an administrator in cmd and futhermore i get message by windows 10 "The application is not compatible with your computer". Perhaps the problem is windows 10, can anyone tell me if this is the problem? In my case .bin format can't be executable.

And one more when i check .bin=exefile with command "assoc", i just don't see anywhere .bin or .bin=exefile or otherwise.

Edited by vlladislav45
assoc command
  • Sad 1
Posted (edited)

Just run cmd.exe (not PowerShell crap) as administrator and start l2.bin from there lol.

Edit: nvm, this works on windows versions below 1809... windows ruined another thing yet again.

Edited by Nik

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • https://l2neverpain.com/ https://discord.gg/kNP3UXgkmN  Client: Interlude  Gameplay: Custom PvP With Special Bosses/PartyFarm/SoloZone etc  Class changes 1st, 2nd, 3rd: Free.  Nobless: Barakiel or by item ->Barakiel Card  Buffs 2 Hours  Maximum clients per PC:Unlimited.  Skill learning: Automatic. The server rates have been carefully adjusted to provide a balanced and competitive PvP experience. Farming and gearing up are streamlined to ensure players can focus on intense battles without excessive grinding. Drops, enchant rates, and economy are optimized to maintain fairness and keep the action engaging. Whether you prefer solo fights, mass PvP, or organized clan wars, the system is designed to keep the adrenaline high and the competition fierce! Rates Generales  Exp/Sp: PvP x9999 Start Lv80  Adena: x9999(Custom) Rates By Scrolls Enchant Level Success rate +0 → +4 100% (Normal) +4 → +12 75% (Blessed) +12 → +16 Read Green Note (Crystal) Crystal -> +13 75% +14 70% +15 65% +16 50% Premium users have 5% more chance Ex: If +14 failed for +15, return +14 We have an automatic events system that can be registered within the game using the .join for register and .leave for unregister or use npc in main town Only one character can be registered per PC. Team Vs Team  Winner Team: 10 Event Card  Lost Team: 5 Event Card  TvT Times: 01:00 10:00 16:30 22:00 Capture The Flag  Winner Team: 10 Event Card  Lost Team: 5 Event Card  CTF Times: 03:00 13:00 18:00 23:00 Deathmatch  Winner: 20 Event Card  DM Times: 06:00 15:00 21:00 23:30 The raid boss system of L2NeverPain is custom, and each boss respawns at a specific time based on the moment it is defeated Grand Bosses  Grand Bosses: Respawn 8 Hours.   Raid Bosses  Raids: Respawn: 1 Hours (All Grandbosses or Raidbosses zone is Flagzone)  Barakiel: Respawn: 3 Hours (Bless your party with Noblesse)  Hero Boss: Respawn: 3 Hours (Bless your party with Hero Stauts for 2 Hours) Drop System  Grand Bosses: 100% Ryknos Armor+Icarus Weapon Part/Agathion/Farm Coin/Adena/GB/LS/BOG/Custom Hat/Raid Token/Skin Token  Raid Bosses: Farm Coin/Adena/GB/LS/Bog/Custom Hat/Raid Token   Premium System Info Premium  Exp/Sp (XP): x2  Enchant Boost: +5%  Drops: x2  Autofarm: .autofarm or by interface Premium users have access to change color name from community board (alt b) OLYMPIAD Olympiad Information Win the most battles of your class and proclaim yourself Hero! Olympiad Information Weekly Olympiad Heroes are announced every saturnday 24:00 The battles will take place from 18:00 p.m. to 24:00 p.m. The minimum participant requirement to start a fight is 4 players Balance Information A Grade Olympiad +6 (Automatic enchant gear +6)       https://l2neverpain.com/ https://discord.gg/kNP3UXgkmN
    • We know that when you’re working with big volumes, fair and flexible terms matter the most.   That’s why for our wholesale clients we offer personalized deals  we’re open to discuss prices, adjust to your needs, and find the format that works best for you. We truly value long-term partnerships and always do our best to support those who grow with us.   Website link — https://vibe-sms.net/ Our Telegram channel — https://t.me/vibe_sms  
    • SOCNET — is a universal service combining a digital goods store, an SMM panel, and a Telegram bot for purchasing Telegram Stars; here you will find TikTok, Instagram, Reddit, Twitter, Telegram, Facebook, LinkedIn, WhatsApp, SnapChat, YouTube, Google, Discord accounts, emails (Outlook, Hotmail, Gmail, Rambler, Firstmail, and others), access to ChatGPT 5, gift cards, and premium subscriptions to many services — all at the best prices! We are currently actively looking for new suppliers for various product categories, which include: Priority list of positions: — Snapchat old and new accounts | With snapscores | Geo: Europe/USA | Full access via email/phone number — Reddit old accounts (brute or cracked origin, self-regs) with post and comment karma from 100 up to 100,000+ | Full access with email included — LinkedIn old accounts with real connections | Geo: Europe/USA | Full email access + active 2FA password — Instagram old accounts (2010-2023) | Full email access (possibly with attached 2FA password) — Facebook old accounts (2010-2023) | Full email access (possibly with attached 2FA password) | With friends or without friends | Geo: Europe/USA/Asia — Threads accounts | Full email access (possibly with attached 2FA password) — TikTok/Facebook/Google ADS Agency advertising accounts We are also open to considering other product categories from you, feel free to contact us through the details listed below in this thread! ⚡ Terms of cooperation: ⚡ 1. You prepare a preliminary description of your product 2. We publish your product in our online store and Telegram bots (in both Russian and English). 3. After the product is sold in our stores, we transfer the funds to you by any convenient method within 24 hours from the moment of sale (any cryptocurrency, PayPal, Payeer, TG Stars, and other methods)   ‼ If you have doubts about working with us or are afraid to send the product first, we agree to work through an escrow service of a trusted provider, or you can simply check out the huge base of reviews about our services in this Google document (reviews from our website, Telegram bot, and other platforms where our products are listed). Document ⭐ We invite you to COOPERATE and EARN with us ⭐ Do you want to sell your product or service in our stores and earn money? Become our partner or propose mutually beneficial cooperation? Become our wholesale client and receive the best conditions and discounts? You can contact us through the CONTACTS listed in this thread. We build a reliable partnership network in all areas of online business. We are ready to participate in joint content creation, giveaways, and events! If you work in digital, traffic, accounts, or media and other fields — let’s discuss possible cooperation. We value quality, transparency, and growth. If this resonates with you — write to us, we are open to dialogue! Our current list of partners ⭐ Our contacts ⭐ ➡ Telegram ➡ WhatsApp ➡ Email: solomonbog@socnet.store ➡ Discord: socnet_support ⭐ Our online store ⭐ SOCNET.STORE ⭐ Our Telegram bot for purchasing Telegram Stars ⭐ SOCNET.CC ⭐ Our SMM Panel for social media promotion ⭐ SOCNET.PRO ⭐ Telegram shop ⭐ SOCNET.SHOP   ✅ News resources ➡ Telegram channel ➡ Discord server ➡ WhatsApp channel
    • SOCNET — is a universal service combining a digital goods store, an SMM panel, and a Telegram bot for purchasing Telegram Stars; here you will find TikTok, Instagram, Reddit, Twitter, Telegram, Facebook, LinkedIn, WhatsApp, SnapChat, YouTube, Google, Discord accounts, emails (Outlook, Hotmail, Gmail, Rambler, Firstmail, and others), access to ChatGPT 5, gift cards, and premium subscriptions to many services — all at the best prices! We are currently actively looking for new suppliers for various product categories, which include: Priority list of positions: — Snapchat old and new accounts | With snapscores | Geo: Europe/USA | Full access via email/phone number — Reddit old accounts (brute or cracked origin, self-regs) with post and comment karma from 100 up to 100,000+ | Full access with email included — LinkedIn old accounts with real connections | Geo: Europe/USA | Full email access + active 2FA password — Instagram old accounts (2010-2023) | Full email access (possibly with attached 2FA password) — Facebook old accounts (2010-2023) | Full email access (possibly with attached 2FA password) | With friends or without friends | Geo: Europe/USA/Asia — Threads accounts | Full email access (possibly with attached 2FA password) — TikTok/Facebook/Google ADS Agency advertising accounts We are also open to considering other product categories from you, feel free to contact us through the details listed below in this thread! ⚡ Terms of cooperation: ⚡ 1. You prepare a preliminary description of your product 2. We publish your product in our online store and Telegram bots (in both Russian and English). 3. After the product is sold in our stores, we transfer the funds to you by any convenient method within 24 hours from the moment of sale (any cryptocurrency, PayPal, Payeer, TG Stars, and other methods)   ‼ If you have doubts about working with us or are afraid to send the product first, we agree to work through an escrow service of a trusted provider, or you can simply check out the huge base of reviews about our services in this Google document (reviews from our website, Telegram bot, and other platforms where our products are listed). Document ⭐ We invite you to COOPERATE and EARN with us ⭐ Do you want to sell your product or service in our stores and earn money? Become our partner or propose mutually beneficial cooperation? Become our wholesale client and receive the best conditions and discounts? You can contact us through the CONTACTS listed in this thread. We build a reliable partnership network in all areas of online business. We are ready to participate in joint content creation, giveaways, and events! If you work in digital, traffic, accounts, or media and other fields — let’s discuss possible cooperation. We value quality, transparency, and growth. If this resonates with you — write to us, we are open to dialogue! Our current list of partners ⭐ Our contacts ⭐ ➡ Telegram ➡ WhatsApp ➡ Email: solomonbog@socnet.store ➡ Discord: socnet_support ⭐ Our online store ⭐ SOCNET.STORE ⭐ Our Telegram bot for purchasing Telegram Stars ⭐ SOCNET.CC ⭐ Our SMM Panel for social media promotion ⭐ SOCNET.PRO ⭐ Telegram shop ⭐ SOCNET.SHOP   ✅ News resources ➡ Telegram channel ➡ Discord server ➡ WhatsApp channel
  • Topics

×
×
  • Create New...

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