Посмотрите видео ниже, чтобы узнать, как установить наш сайт в виде веб-приложения на главном экране.
Примечание: Эта функция может быть недоступна в некоторых браузерах.
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 ?![]()
RequestAuthLogin
Помогите переделать RequestAuthLogin Вот мой код который переделан уже под авторизацию без пароля и логина но при компили ошибка что я не так сделал ?)) package l2next.loginserver.clientpackets; import l2next.loginserver.Config; import l2next.loginserver.GameServerManager; import...mmo-dev.info
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