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>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
53d06c3c26
commit
3e3708ef06
@@ -0,0 +1,24 @@
|
||||
#!/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"
|
||||
Reference in New Issue
Block a user