Giter Club home page Giter Club logo

geektcp / everwar Goto Github PK

View Code? Open in Web Editor NEW
650.0 13.0 185.0 160.68 MB

everwar wow game server c++ 开源魔兽世界 https://uewow.com

Home Page: https://uewow.com

License: GNU General Public License v3.0

CMake 1.36% Shell 2.64% Python 0.10% C++ 57.45% Pascal 0.32% PHP 0.01% Batchfile 0.03% HTML 0.37% Makefile 1.44% D 0.04% M4 0.01% Objective-C 0.04% Lua 0.01% Assembly 0.13% JavaScript 0.04% Roff 4.27% NASL 0.14% C 31.50% BitBake 0.10%
game-engine wow game wow-server classic-old-world world-of-warcraft rpg-game ever rpg war

everwar's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

everwar's Issues

请问有没有登录器?

就是那种windows的可执行程序,exe文件,这样我就不用手动修改配置文件了。

从别的服务器迁移过来的玩家就很方便的注册账号,登陆游戏了。

编译Everwar-1.0源码报错

image

[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]#

mangosd 启动报错

使用您共享的预编译程序
在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 版本吗?

是否有 LK 版本,我打算自己部署一个,Ubuntu 系统是否可行?

这个目前已知的bug

bug1
缺陷描述:
使用本项目编译完成后,或者直接使用release版本部署成功后。

解决方案:
服务端可以长期运行,但大约一两月出现一次内存泄漏,配置一个linux定时任务重启即可。

bug2
缺陷描述:
通过命令生成的传送门不能传送。

解决方案:
直接通过坐标方式传送指定位置。

bug3
缺陷描述:
服务端如果用nohup强行执行,会打印大量的冗余日志文件。
最好不要通过nohup 命令执行,但是直接执行后会进入控制台模式,退出终端后会中断服务器。

解决方案:
采用linux下的screen命令,生成一个虚拟终端,再直接运行服务器启动程序。
退出shell后服务器正常运行,下一次也可以进入这个虚拟终端,继续操作。


目前已经知道的bug主要有上面几个,其他bug暂未发现。欢迎提出反馈。

编译源码和提取map都有问题,还请解答一下!

我在执行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

关于这个项目的研发计划

2023年打算扩展一个CentOS 7.9 环境上可以直接部署的版本出来。
梳理一些文档资料出来,分享给大家。

目前这套代码构建的环境可以正常跑,大概一个月一次会有内存泄漏的bug,重启就好。

sql报错

          > 

执行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)

招募C++后端开发协作

这个项目核心代码是C++的,项目工程代码量巨大,不过顶层设计不是很复杂,好扩展。有趣行的留言.

超级炉石bug

如题,最新更新的三系法术功能,在炉石里面启用后,可以正常使用,但是下次登陆,或者小退后,又重置为成71点天赋了。

请修复。

image

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.