Files
mtgodot-poc/tools/40250/mt_register.rc
T
shenleiandClaude Opus 5.5 3e3708ef06 android-native: auto hunt, in-client account registration, mobile UI polish
- Auto hunt (client-only): PythonPlayerAutoHunt.cpp + AutoHuntScript.inc as the
  embedded mt_autohunt module, AUTO touch button, F9/F8.
- Account registration: tools/40250/register_server.py (rc.d mt_register, :11080)
  inserts into account.account; net.RegisterAccount/GetRegisterAccountResult
  (PythonAccountRegister.cpp) and the mt_register login-window dialog
  (RegisterScript.inc).
- --py-exec also runs in --login-screen mode for scripted login-screen tests.
- Touch controller, window manager and render command updates for the
  Android native client.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 16:15:04 +09:00

25 lines
633 B
Bash

#!/bin/sh
#
# PROVIDE: mt_register
# REQUIRE: LOGIN mysql
# KEYWORD: shutdown
#
# Account registration service for the 40250 server (tools/40250/register_server.py).
# Install: /usr/local/etc/rc.d/mt_register, then `sysrc mt_register_enable=YES`.
. /etc/rc.subr
name=mt_register
rcvar=mt_register_enable
load_rc_config $name
: ${mt_register_enable:=NO}
: ${mt_register_dir:=/usr/metin2/server/register}
pidfile=/var/run/${name}.pid
procname=/usr/local/bin/python3.9
command=/usr/sbin/daemon
command_args="-f -p ${pidfile} -o ${mt_register_dir}/register.log ${procname} ${mt_register_dir}/register_server.py"
run_rc_command "$1"