按照此处的说明进行操作:http : //www.azerothcore.org/wiki/Install-with-Docker
我使用了 v8 数据
当我运行 docker-compose up 时,我得到以下信息:
Building ac-worldserver
Traceback (most recent call last):
File "site-packages/docker/utils/build.py", line 97, in create_archive
File "tarfile.py", line 1972, in addfile
File "tarfile.py", line 250, in copyfileobj
File "tempfile.py", line 481, in func_wrapper
OSError: [Errno 28] No space left on device
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "bin/docker-compose", line 6, in <module>
File "compose/cli/main.py", line 72, in main
File "compose/cli/main.py", line 128, …Run Code Online (Sandbox Code Playgroud) 在我们的 C++ 项目中,我们设法设置GitHub Actions,使用ccache构建我们的源代码。
它在 Linux 上运行得很好,多亏了ccache,构建在不到 5 分钟内就成功了。
不幸的是,当尝试在 macOS 上构建时,ccache似乎不起作用,给出:
cache directory /Users/runner/.ccache
primary config /Users/runner/.ccache/ccache.conf
secondary config (readonly) /usr/local/Cellar/ccache/3.7.11_1/etc/ccache.conf
stats updated Sun Aug 23 11:57:31 2020
cache hit (direct) 0
cache hit (preprocessed) 0
cache miss 7175
cache hit rate 0.00 %
cache file missing 1
cleanups performed 2976
files in cache 165
cache size 422.4 MB
max cache size 500.0 MB
Run Code Online (Sandbox Code Playgroud)
因此,macOS 构建大约需要 40 分钟才能完成。
构建示例: https: …
当我的客户端连接到我的新 AzerothCore 服务器时,我仍然停留在“领域选择”窗口中。看来我的认证服务器不允许我登录到正确的世界服务器。
我该如何解决这个问题?
使用CMake的第一步就像一个魅力。没有错误出现,一切都会按预期生成,但是当我尝试在Visual Studio中构建它时,出现11条错误和3条警告。
因此,.obj文件中存在错误,并且不确定如何解决。第一个错误在Authserver项目的Main.obj中,第二个错误在worldserver项目的main.obj中
错误编号1:
严重性代码说明项目文件行抑制状态错误LNK2019未解析的外部符号SSLeay_version在函数“ int __cdecl ace_main_i(int,char * * const)”中引用(?ace_main_i @@ YAHHQEAPEAD @ Z)身份验证服务器C:\ Azerothcore \ Build \ src \ server \ authserver \ Main.obj 1
错误编号2:
严重性代码说明项目文件行抑制状态错误LNK2019未解析的外部符号SSLeay_version在函数“ int __cdecl ace_main_i(int,char * * const)”中引用(?ace_main_i @@ YAHHQEAPEAD @ Z)worldserver C:\ Azerothcore \ Build \ src \ server \ worldserver \ Main.obj 1
接下来的4个错误在worldserver项目的shared.lib(OpenSSL crypto.obj)文件中。
错误编号1:
严重性代码说明项目文件行抑制状态错误LNK2019未解析的外部符号CRYPTO_num_locks在函数“ void __cdecl OpenSSLCrypto :: threadsSetup(void)”中引用(?threadsSetup @ OpenSSLCrypto @@ YAXXZ)worldserver C:\ Azerothcore \ Build \ src \ server \ worldserver \ shared.lib(OpenSSLCrypto.obj)1
错误编号2:
严重性代码说明项目文件行抑制状态错误LNK2019未解析的外部符号CRYPTO_set_locking_callback在函数“ void …
When I attempt to use the examples shown on site for making a worldobject registerevent I get an error on the worldobject, implying it is a nil value like so:
lua_scripts/test.lua:5: attempt to index global 'worldobject' (a nil value)
Tried a few different examples with the same outcome, so naturally I expect its probably some oversight on my part.
Tested examples:
local function YourFunction(eventid, delay, repeats, worldobject)
worldobject:SendUnitSay("My name is " .. worldobject:GetName(), 255)
end
worldobject:RegisterEvent(YourFunction, 10000, 5)
Run Code Online (Sandbox Code Playgroud)
local function …Run Code Online (Sandbox Code Playgroud) 我正在尝试设置 Azeroth 核心服务器,但是虽然./authserver工作没有任何问题,但./worldserver返回错误:
Map file './maps/0004331.map': does not exist!
Run Code Online (Sandbox Code Playgroud)
预期的结果是worldserver可以顺利启动,但它返回了这个错误。
编辑:我还必须在“worldserver.conf.dist”中更改“DataDir”并且它“有效”-它指向正确的目录,但是它仍然无法检测到地图文件。但是,在“worldserver.conf.dist”中更改 DataDir 变量一段时间后,它开始显示:
ERROR: Invalid or missing default configuration file : /home/user/azerothcore-server/etc/worldserver.conf.dist
Run Code Online (Sandbox Code Playgroud)
所以我又被卡住了,不知道到底发生了什么,或者我应该用 docker 重新安装所有东西?
编辑 2:通过更新 AC 解决了最新编辑中的问题,但错误Map file './maps/0004331.map': does not exist!仍然存在。用 sudo 运行它返回Segmentation fault (core dumped)。此外Using DataDir ./,这是一个默认值,即使更改了 DataDir 也是如此。
编辑 3:好的,现在它读取 worldserver.conf,我只需要使用以下命令修改所有文件的权限
find $HOME/azerothcore-server -type d -exec chmod 755 {} \;
Run Code Online (Sandbox Code Playgroud)
还必须通过执行手动更改数据子文件夹的权限chmod 755 (foldername)。现在 …
我最近找到了AzerothCore,我想知道是否可以对其进行配置或修改,以便我可以与朋友从头到尾玩整个WLK(突袭)。
相当多年前(超过8年),我使用TrinityCore与朋友一起进行了WLK突袭,但那时候我基本上必须手动创建一个增强力量并增加HP和Damage的buff,这使得突袭在4-5时成为可能玩家,这确实很难平衡,要么使突袭变得微不足道,要么反而使他们无法击败。
AzerothCore看起来是最新,开发最先进的WLK仿真器之一,我看到有一个名为“ mod-autobalance”的“ mod”似乎可以满足我的需求。在开始研究修复我的Linux服务器(目前处于离线状态)之前,我想了解一下从1级玩游戏到与朋友杀死巫妖王之间的想法是否完全可行,如果可行,会做出什么妥协。
最后,非常感谢任何形式的技巧,指导或建议。
谢谢!
我有一个在本地网络中的 Windows 上运行的 AzerothCore。登录后,客户端在尝试进入领域时挂在“已连接”状态。
azerothcore ×9
trinitycore ×2
c++ ×1
ccache ×1
debian ×1
lua ×1
macos ×1
realm ×1
selection ×1
ubuntu ×1