MyAAC does not work with TFS 1.6+ (
EDIT: TFS 1.6 was released 5 days after commit that breaks login with MyAAC, so it's not only broken on 1.7, also on 1.6). No AAC works with newest TFS, since they implemented 'own' sessions key algorithm (12+ client feature processed by
login.php
of MyAAC), that works only with 'build in HTTP' login server. One that makes your server crash on start, if you don't disable it with
httpWorkers = 0
.
PR that broke compatibility with MyAAC has 12+ months:
Adds a login http server which is build on boost-beast Co-authored-by: Mario <
[email protected]>
github.com
It was reported as a problem 5 days after this PR:
By submitting this bug issue, you agree to the following. This is a bug in the software that resides in this repository, and not a support matter (use https://otland.net/forums/support.16/ for supp...
github.com
report was closed with 'go fix your acc. maker', but nobody worked on MyAAC update, as nobody hosts OTS based on TFS 1.6+ engine.
I tried to run TFS master around 2 months ago on Windows and I gave up after 1 hour of configuring all that crap.
In last weeks I made multiple PRs:
Changes Proposed Fix Ubuntu 22.04 compilation with system libraries. offtop: It's impossible to compile TFS without HTTP server. You can disable it by setting port to 0 in config.lua, but it...
github.com
This PR fixes build problems: TFS always builds with HTTP server disabled in C++ ( [Bug]: TFS always builds with build-in HTTP server disabled #4955 ), -DHTTP=ON and -DHTTP=OFF does not work, HTTP...
github.com
Changes Proposed After changes, it loads config.lua config first, then loads env variables and if they are not empty, it overwrites config.lua values. Right now TFS loads env first, so to do not ov...
github.com
All is described in docker/README.md. It's docker configuration made using docker-compose.yaml. It starts TFS, MariaDB and phpMyAdmin inside containers. You can connect to it from Tibia Client ...
github.com
This PR makes it possible to host OTS inside docker with working HTTP server. After changes from this commit (and #4957 ), you can run local server inside docker with server IP set to 127.0.0.1 in ...
github.com
some of them are merge, some are not.
With all these changes I can compile TFS on Windows and run it with build-in HTTP server, which makes it possible to login, if you set URL to login to
http://127.0.0.1:8080/
in client (using ex.
OTS IP Changer for Tibia 12+ (https://ots.me/ots-ip-changer-12/) )
It's also possible to run TFS in Docker on Windows with 1 command
docker compose up
, but this PR is still waiting for approval.
I would try to set server IP to 127.0.0.1
in
config.lua
and start it with HTTP workers enabled. Maybe it's Windows problem of binding to IP that is not assigned to any network interface (you probably use DMZ / port forwarding on router).
If changing to
127.0.0.1
fixed problem with starting server with HTTP enabled, this is PR that fixes it:
This PR makes it possible to host OTS inside docker with working HTTP server. After changes from this commit (and #4957 ), you can run local server inside docker with server IP set to 127.0.0.1 in ...
github.com
It makes TFS listens on all possible IPs, but returns
ip
from
config.lua
as server IP on 'characters list',
but it's not merge yet. You must apply these changes yourself.