geektcp / everwar Goto Github PK
View Code? Open in Web Editor NEWeverwar wow game server c++ 开源魔兽世界 https://uewow.com
Home Page: https://uewow.com
License: GNU General Public License v3.0
everwar wow game server c++ 开源魔兽世界 https://uewow.com
Home Page: https://uewow.com
License: GNU General Public License v3.0
就是那种windows的可执行程序,exe文件,这样我就不用手动修改配置文件了。
从别的服务器迁移过来的玩家就很方便的注册账号,登陆游戏了。
[root@localhost build]# /usr/local/bin/cmake ../ -DCMAKE_INSTALL_PREFIX=$BASE_DIR -DCONF_DIR=$BASE_DIR/etc -DPCH=1 -DDEBUG=0 -DCMAKE_C_COMPILER=/usr/local/bin/gcc -DCMAKE_CXX_COMPILER=/usr/local/bin/g++
-- This script builds the MaNGOS server.
Options that can be used in order to configure the process:
CMAKE_INSTALL_PREFIX Path where the server should be installed to
PCH Use precompiled headers
DEBUG Include additional debug-code in core
WARNINGS Show all warnings during compile
INCLUDE_BINDINGS_DIR Include a script library in src/bindings/ with the
defined name. the name must corespond to the name of
the folder and the folder must contain a valid
CMakeLists.txt
To set an option simply type -D= after 'cmake '.
Also, you can specify the generator with -G. see 'cmake --help' for more details
For example: cmake .. -DDEBUG=1 -DCMAKE_INSTALL_PREFIX=/opt/mangos
-- Detected 64-bit platform
-- UNIX: Configuring uninstall target
-- UNIX: Created uninstall target
-- UNIX: Detected compiler: /usr/local/bin/gcc
-- GCC: SFMT enabled, SSE2 flags forced
-- Could NOT find Git (missing: GIT_EXECUTABLE)
-- cotire 1.7.6 loaded.
-- Boost version: 1.60.0
-- Found the following Boost libraries:
-- system
-- program_options
-- thread
CMake Error at cmake/macros/FindMySQL.cmake:151 (message):
Could not find the MySQL libraries! Please install the
development-libraries and headers.
Call Stack (most recent call first):
CMakeLists.txt:127 (find_package)
-- Configuring incomplete, errors occurred!
See also "/usr/local/src/wow/Everwar-1.0/build/CMakeFiles/CMakeOutput.log".
[root@localhost build]#
[root@localhost build]# pwd
/usr/local/src/wow/Everwar-1.0/build
[root@localhost build]#
使用您共享的预编译程序
在CentOS 6.10+ boost1.6.0+MySQL 5.7
启动mangosd时候报错
Using configuration file ../etc/mangosd.conf.
World Database total connections: 2
MySQL client library: 5.1.73
MySQL server ver: 5.7.41
MySQL client library: 5.1.73
MySQL server ver: 5.7.41
SQL: SELECT required_z2683_01_mangos_scriptdev2_tables FROM db_version LIMIT 1
query ERROR: Unknown column 'required_z2683_01_mangos_scriptdev2_tables' in 'field list'
The table db_version
in your [WORLD] database indicates that this database is out of date!
[A] You have: --> z2692_04_mangos_npc_trainer_template.sql
[B] You need: --> z2683_01_mangos_scriptdev2_tables.sql
You must apply all updates after [A] to [B] to use mangos with this database.
These updates are included in the sql/updates folder.
Please read the included [README] in sql/updates for instructions on updating.
我个人感觉是 mangos 的版本高于系统,但是往上升容易,手动回退难度很大
不知道该如何处理它呢?
请问如何参与这个开源项目?
有没有官方插件
看时间和兴趣,目前已经有可以运行demo环境,大家可以下载一个客户端玩下。
是否有 LK 版本,我打算自己部署一个,Ubuntu 系统是否可行?
bug1
缺陷描述:
使用本项目编译完成后,或者直接使用release版本部署成功后。
解决方案:
服务端可以长期运行,但大约一两月出现一次内存泄漏,配置一个linux定时任务重启即可。
bug2
缺陷描述:
通过命令生成的传送门不能传送。
解决方案:
直接通过坐标方式传送指定位置。
bug3
缺陷描述:
服务端如果用nohup强行执行,会打印大量的冗余日志文件。
最好不要通过nohup 命令执行,但是直接执行后会进入控制台模式,退出终端后会中断服务器。
解决方案:
采用linux下的screen命令,生成一个虚拟终端,再直接运行服务器启动程序。
退出shell后服务器正常运行,下一次也可以进入这个虚拟终端,继续操作。
目前已经知道的bug主要有上面几个,其他bug暂未发现。欢迎提出反馈。
如题,目前想找个80的巫妖王服务器玩玩,就下班休闲体验一下。
不想去那种垃圾私服,一点到晚想着搞钱的私服。
只想找个纯粹休闲娱乐的游戏玩玩。
如题
我在执行export LD_LIBRARY_PATH=/usr/local/gcc-4.9.3/lib64/ export BASE_DIR=/usr/local/wow_mangos_bot_2017.10.2 mkdir -p /usr/local/src/wow/elf-wow/build/ && rm -rf /usr/local/src/wow/elf-wow/build/* && cd /usr/local/src/wow/elf-wow/build && /usr/local/cmake-3.5.2/bin/cmake ../ \ -DCMAKE_INSTALL_PREFIX=$BASE_DIR \ -DCONF_DIR=$BASE_DIR/etc \ -DPCH=1 \ -DDEBUG=0 \ -DCMAKE_C_COMPILER=/usr/local/gcc-4.9.3/bin/gcc \ -DCMAKE_CXX_COMPILER=/usr/local/gcc-4.9.3/bin/g++ && time make -j16 && make install && group add wow && useradd wow -g wow chown -R wow.wow -R $BASE_DIR
的时候,遇到了报错,
`-- Detected 64-bit platform
-- UNIX: Configuring uninstall target
-- UNIX: Created uninstall target
-- UNIX: Detected compiler: /usr/local/gcc-4.8.2/bin/gcc
-- Performing Test COMPILER_SUPPORTS_CXX11
-- Performing Test COMPILER_SUPPORTS_CXX11 - Success
-- Performing Test COMPILER_SUPPORTS_CXX0X
-- Performing Test COMPILER_SUPPORTS_CXX0X - Success
-- GCC: SFMT enabled, SSE2 flags forced
-- Found Git: /usr/bin/git (found version "1.7.1")
-- cotire 1.7.6 loaded.
-- Boost version: 1.60.0
-- Found the following Boost libraries:
-- system
-- program_options
-- thread
-- Using mysql-config: /usr/bin/mysql_config
CMake Error at cmake/macros/FindMySQL.cmake:147 (message):
Could not find MySQL headers! Please install the development-libraries and
headers.
Call Stack (most recent call first):
CMakeLists.txt:110 (find_package)
-- Configuring incomplete, errors occurred!
See also "/usr/local/src/wow/elf-wow/build/CMakeFiles/CMakeOutput.log".`
请问这个怎么解决呢?我用yum安装了mysql还是不行
mysqld_multi log file version 2.16; run: Tue Oct 24 17:05:57 2023
Starting MySQL servers
2023-10-24T09:05:57.807451Z mysqld_safe error: log-error set to '/data/mysql/log3306/error.log', however file don't exists. Create writable for user 'mysql'.
mysqld_multi log file version 2.16; run: Tue Oct 24 17:13:37 2023
Starting MySQL servers
2023-10-24T09:13:38.271808Z mysqld_safe error: log-error set to '/data/mysql/log3306/error.log', however file don't exists. Create writable for user 'mysql'.
mysqld_multi log file version 2.16; run: Tue Oct 24 17:15:56 2023
Starting MySQL servers
2023-10-24T09:15:57.454470Z mysqld_safe Logging to '/data/mysql/log3306/error.log'.
2023-10-24T09:15:57.480589Z mysqld_safe Starting mysqld daemon with databases from /data/mysql/data3306
2023-10-24T09:15:57.613125Z mysqld_safe mysqld from pid file /data/mysql/data3306/mysqld.pid ended
mysqld_multi log file version 2.16; run: Tue Oct 24 17:19:54 2023
Starting MySQL servers
2023-10-24T09:19:55.427254Z mysqld_safe Logging to '/data/mysql/log3306/error.log'.
2023-10-24T09:19:55.450415Z mysqld_safe Starting mysqld daemon with databases from /data/mysql/data3306
2023-10-24T09:19:55.594908Z mysqld_safe mysqld from pid file /data/mysql/data3306/mysqld.pid ended
mysqld_multi log file version 2.16; run: Tue Oct 24 17:19:56 2023
Starting MySQL servers
2023-10-24T09:19:57.437938Z mysqld_safe Logging to '/data/mysql/log3306/error.log'.
2023-10-24T09:19:57.462534Z mysqld_safe Starting mysqld daemon with databases from /data/mysql/data3306
mysqld_multi log file version 2.16; run: Tue Oct 24 17:19:57 2023
Starting MySQL servers
2023-10-24T09:19:57.594093Z mysqld_safe mysqld from pid file /data/mysql/data3306/mysqld.pid ended
2023-10-24T09:19:57.993352Z mysqld_safe Logging to '/data/mysql/log3306/error.log'.
2023-10-24T09:19:58.017495Z mysqld_safe Starting mysqld daemon with databases from /data/mysql/data3306
mysqld_multi log file version 2.16; run: Tue Oct 24 17:19:58 2023
Starting MySQL servers
2023-10-24T09:19:58.153184Z mysqld_safe mysqld from pid file /data/mysql/data3306/mysqld.pid ended
2023-10-24T09:19:58.585484Z mysqld_safe Logging to '/data/mysql/log3306/error.log'.
2023-10-24T09:19:58.612819Z mysqld_safe Starting mysqld daemon with databases from /data/mysql/data3306
2023-10-24T09:19:58.754115Z mysqld_safe mysqld from pid file /data/mysql/data3306/mysqld.pid ended
mysqld_multi log file version 2.16; run: Tue Oct 24 17:19:58 2023
Starting MySQL servers
2023-10-24T09:19:59.221977Z mysqld_safe Logging to '/data/mysql/log3306/error.log'.
2023-10-24T09:19:59.247625Z mysqld_safe Starting mysqld daemon with databases from /data/mysql/data3306
2023-10-24T09:19:59.382434Z mysqld_safe mysqld from pid file /data/mysql/data3306/mysqld.pid ended
mysqld_multi log file version 2.16; run: Tue Oct 24 17:22:58 2023
Starting MySQL servers
2023-10-24T09:22:58.905305Z mysqld_safe Logging to '/data/mysql/log3306/error.log'.
2023-10-24T09:22:58.928231Z mysqld_safe Starting mysqld daemon with databases from /data/mysql/data3306
2023-10-24T09:22:59.063396Z mysqld_safe mysqld from pid file /data/mysql/data3306/mysqld.pid ended
服务器地址是不是修改wow.exe同级目录的这个文件:
Data/zhCN/realmlist.wtf
里面的配置是这个么?
set realmlist login.kkwww.com
还有纯粹休闲玩一下可以吗?服务器持续稳定运行吗?
readme.md文档已经描述清楚版本要求。
2023年打算扩展一个CentOS 7.9 环境上可以直接部署的版本出来。
梳理一些文档资料出来,分享给大家。
目前这套代码构建的环境可以正常跑,大概一个月一次会有内存泄漏的bug,重启就好。
使用 everwar-1.2 部署完 (http://doc.everwar.cn/deploy/everwar_1_2),数据库和realmd都启动成功,mangosd服务启动成功后,过2秒就自动停止了,启动日志见附件;
1、操作系统:centos 7.9
2、版本:everwar-1.2
错误日志: Server.log
启动信息:
为了改进这个项目,让项目更好用。
过去已经反馈过的问题见close issue:
https://github.com/geektcp/everwar/issues?q=is%3Aissue+is%3Aclosed
遇到的新问题需要提供如下信息:
1、操作系统版本
2、各个组件的版本
3、报错信息
4、期望解决什么问题,或者期望达到什么效果。
>
执行bin/startup.sh之后,出现如下错误:
2023-03-11 05:23:58 SQL: SELECT required_z2683_01_mangos_scriptdev2_tables FROM db_version LIMIT 1
2023-03-11 05:23:58 query ERROR: Unknown column 'required_z2683_01_mangos_scriptdev2_tables' in 'field list'
2023-03-11 05:23:58 The table db_version
in your [WORLD] database indicates that this database is out of date!
2023-03-11 05:23:58
2023-03-11 05:23:58 [A] You have: --> z2692_04_mangos_npc_trainer_template.sql
2023-03-11 05:23:58
2023-03-11 05:23:58 [B] You need: --> z2683_01_mangos_scriptdev2_tables.sql
2023-03-11 05:23:58
2023-03-11 05:23:58 You must apply all updates after [A] to [B] to use mangos with this database.
2023-03-11 05:23:58 These updates are included in the sql/updates folder.
2023-03-11 05:23:58 Please read the included [README] in sql/updates for instructions on updating.
好像数据库信息和release不是很匹配?
Originally posted by @jackqin181 in #3 (comment)
>
重新安装了 https://github.com/geektcp/Namjagbarwa-wow/tree/master/doc/sql, 还是一样的错误...
Originally posted by @jackqin181 in #3 (comment)
这个项目核心代码是C++的,项目工程代码量巨大,不过顶层设计不是很复杂,好扩展。有趣行的留言.
这个github打开网速慢,有些忘了访问受限制。还是单独的论坛比较好。
两年前已经发布了一个版本出来,但一直没有正式测试过。希望有人能加入测试。
okhoxi-release-1.0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.