Follow along with the video below to see how to install our site as a web app on your home screen.
Примечание: This feature may not be available in some browsers.
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...
And this work on mobius or lucera2 ?Вы не можете просматривать ссылку пожалуйста воспользуйтесь следующими ссылками Вход или Регистрация
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...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); }
Ok, let me try...Kring, try
open /system/l2.ini and enable variables
create l2.bat (in folder system game) with next codeКод:ExternalLogin=true CmdLineLogin=true
and checkКод:l2.exe account=Kring password=qwerty12345
I gave an example on a c#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...
updater on cshar ?I gave an example on a c#
updater on cshar ?
I don't use these programming languages. Google -> "java execute external program with arguments"I have idea in java.. but in c++ ... nop