无法使用默认的“测试”帐户登录

问题描述

我在 Docker 中运行 AzerothCore,但无法使用任何测试帐户登录。我使用的是认密码“a”并且没有更改任何密码。

尝试登录 WotLK 客户端时,弹出“您输入的信息无效”框。我可以从我的 authserver 日志中看到它正在接收我输入的用户名

Added realm "AzerothCore" at 127.0.0.1:3306.
Authserver listening to 0.0.0.0:3724
'172.18.0.1:56942' Accepting connection
[4 ms] sql(p): DELETE FROM ip_banned WHERE unbandate<>bandate AND unbandate<=UNIX_TIMESTAMP()
[4 ms] sql(p): SELECT * FROM ip_banned WHERE ip = '172.18.0.1'
[0 ms] sql(p): SELECT a.id,a.locked,a.lock_country,a.last_ip,aa.gmlevel,a.salt,a.verifier,a.token_key FROM account a LEFT JOIN account_access aa ON (a.id = aa.id) WHERE a.username = 'TEST1'
[AuthChallenge] Account 'TEST1' is not locked to ip
[AuthChallenge] Account 'TEST1' is not locked to country
[1 ms] sql(p): UPDATE account_banned SET active = 0 WHERE active = 1 AND unbandate<>bandate AND unbandate<=UNIX_TIMESTAMP()
[0 ms] sql(p): SELECT bandate,unbandate FROM account_banned WHERE id = 1 AND active = 1

我也尝试更改我的 authserver.conf 文件以设置 WrongPass.Logging = 1,但我的日志或数据库都没有反映登录尝试失败。

我认为它告诉我帐户 test1 没有锁定到 IP 或国家的事实意味着它成功地与数据库通信,但我不知道我的问题是什么。任何帮助理解这里发生的事情将不胜感激。

解决方法

我也无法使用“test1”和“a”登录,但重置密码很容易。

在您的世界服务器控制台中,将其粘贴到:

account set password test1 thisisthenewpassword thisisthenewpassword
account set password test2 thisisthenewpassword thisisthenewpassword
account set password test3 thisisthenewpassword thisisthenewpassword
account set password test4 thisisthenewpassword thisisthenewpassword
account set password test5 thisisthenewpassword thisisthenewpassword
account set password test6 thisisthenewpassword thisisthenewpassword
account set password test7 thisisthenewpassword thisisthenewpassword
account set password test8 thisisthenewpassword thisisthenewpassword
account set password test9 thisisthenewpassword thisisthenewpassword
account set password test10 thisisthenewpassword thisisthenewpassword

您还可以使用以下命令为自己创建一个拥有完全 GM 权限的新帐户:

account create yourusername yourpassword
account set gmlevel yourusername 3 -1