Cmd or Updater Login game

Kring

Путник
Пользователь
Сообщения
19
Розыгрыши
0
Репутация
-36
Реакции
2
Баллы
85
Hello, any one here know how to do a login game via cmd or updater ?

Is see some updaters app, but no one have option to login...
 
Kring, I don't use either one, check it out yourself

Example for updater on csharp (launch process l2.exe with arguments):
C#:
var executableFile = Path.Combine(Application.StartupPath, "system", "l2.exe");

if (!File.Exists(executableFile))
{
    MessageBox.Show($"File {executableFile} not found!", "Warning!", MessageBoxButtons.OK, MessageBoxIcon.Warning);
    return;
}

var account = "Kring";
var password = "qwerty12345";

var startInfo = new ProcessStartInfo(executableFile)
{
    Arguments = $"account={account} password={password}"
};

try
{
    Process.Start(startInfo);
}
catch (Exception e)
{
    MessageBox.Show(e.ToString(), "Error!", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
 
Последнее редактирование:
Kring, I don't use either one, check it out yourself

Example for updater on csharp (launch process l2.exe with arguments):
C#:
var executableFile = Path.Combine(Application.StartupPath, "system", "l2.exe");

if (!File.Exists(executableFile))
{
    MessageBox.Show($"File {executableFile} not found!", "Warning!", MessageBoxButtons.OK, MessageBoxIcon.Warning);
    return;
}

var account = "Kring";
var password = "qwerty12345";

var startInfo = new ProcessStartInfo(executableFile)
{
    Arguments = $"account={account} password={password}"
};

try
{
    Process.Start(startInfo);
}
catch (Exception e)
{
    MessageBox.Show(e.ToString(), "Error!", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
AION private server have some updater and launcher whit login include...
But l2 has no one ... or I dont find one ..
 
Kring, try
open /system/l2.ini and enable variables
Код:
ExternalLogin=true
CmdLineLogin=true
create l2.bat (in folder system game) with next code
Код:
l2.exe account=Kring password=qwerty12345
and check
 
works wonders, but the big question is how to do the authentication using the updater or a launcher...

not a big deal, if not something to start the game, already authenticated...
 
I have idea in java.. but in c++ ... nop
I don't use these programming languages. Google -> "java execute external program with arguments"
 
Назад
Сверху Снизу