Coder Social home page Coder Social logo

openarkstudio / ark Goto Github PK

View Code? Open in Web Editor NEW
435.0 61.0 115.0 21.73 MB

ARK is a lightweight, agile, elastic, distributed plugin framework written in C++,make it easier and faster to create your own application service.

Home Page: https://openarkstudio.github.io/ARK/

License: Apache License 2.0

Lua 0.33% Batchfile 0.10% Shell 0.21% C++ 94.62% CMake 2.45% Python 2.25% Dockerfile 0.04%
game multiplayer-game-engine gameserver framework game-development unity3d-client server-architecture unreal cmake game-server

ark's Introduction

English | 简体中文

Current version: v1.0.0

ark

ARK is a lightweight, agility, elastic, distributed plugin framework written in C++,make it easier and faster to create your own application service. Inspired by UnrealEngine and Ogre.

GitHub release GitHub pre-release Platform C++17 License GitHub stars GitHub issues GitHub code size in bytes
SonarCloud codecov QQ Group Discord 996.icu

Copyright © OpenArkStudio
Website: https://github.com/OpenArkStudio
GitHub: https://github.com/OpenArkStudio/ARK
Gitee: https://gitee.com/ArkNX/ARK
QQ Group: Join Us
Discord: Join Us

CI master branch develop branch
Github Actions Github Action Github Action
Want to get the newest features? Please switch to the develop branch.

If you wanna commit PR or report issue, please refer to Contribution Guide.

Features

  • Flexible apps, plugins, and modules
  • The general abstract data system
  • Interface-oriented and data-oriented programming(IOP & DOP)
  • Event-driven and data-driven
  • Data & procedure tracing
  • Use Excel as configuration files, easier for the designers
  • Lower training and education costs
  • Based on C++ standard, easy to handle and learn
  • Cross-platform (Windows, Linux, MacOS)
  • High availability architectures
  • High concurrency and performance of the network
  • With existed simple Unity3D client for rapid development
  • Plentiful plugins(DB, script, HTTP, WebSocket, etc.)
  • Customization service for business customer

Document

Please visit doc website: Document

Unity3D client

Unity3D Client

License

The ARK project is currently available under the Apache License.

Donation

Thank you for your donation, all income will be used for development and server fees.

Donate by Paypal

Donate by Patron

Core Developers


Our team has always specialized in the agile development and try to help different teams to develop game project quickly and easily. After years of development, we create this frame. We are still improving it.


Stargazers over time

Stargazers over time

Some Awesome projects

PSS

  • Author: freeeyes
  • Description: Cross platform network service frame

ark's People

Contributors

flyicegood avatar fredida avatar freeeyes avatar harukama avatar heikun288 avatar loscaz avatar nickyang4github avatar

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  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

ark's Issues

Bug: CloseSession crash

Have bug in CloseSession for AFCTCPServer
Using this code inside Callback's causes an error and violates the validity of iterators
m_pNet->CloseSession(session_id)
iterators in: AFCTCPServer.cpp, func: void AFCTCPServer::UpdateNetSession()

Fox fix this problem, we need replace some code
Goto: void AFCTCPServer::UpdateNetSession() from AFCTCPServer.cpp
find this code:

for (auto& iter : remove_sessions)
{
     auto& session_id = iter;
     AFScopeWLock guard(rw_lock_);
     CloseSession(session_id);
}

and replace on this code (fox fix):

for (auto& iter : remove_sessions)
{
     AFScopeWLock guard(rw_lock_);
     AFTCPSessionPtr session = GetNetSession(iter);
     if(nullptr != session){
          CloseSession(session);
     }
}

and go to func: CloseSession(const int64_t& session_id)
Important: do not confuse with the function: CloseSession(AFTCPSessionPtr& session)
and replace on this:

bool AFCTCPServer::CloseSession(const int64_t& session_id)
{
	AFTCPSessionPtr session = GetNetSession(session_id);
	if(session == nullptr){
		return false;
	}

	session->SetNeedRemove(true);
	return true;
}

Building project may exhaust memory and result failure

(Master branch, latest commit 65ed0f5)

Cmake exhausts memory and swap space while running 'make -j' in test (virtual) machine:
Linux (Fedora 25 x64 with kernel 4.8.6), gcc 6.4.1, 4GB RAM and 2GB swap.

It happens during the AFProxyNetClientPlugin complication, then results build failure. See log for detail:

In file included from /var/devspace/ARK/Frame/SDK/Core/Base/AFMemAlloc.h:25:0,
from /var/devspace/ARK/Frame/SDK/Core/Base/AFCoreDef.hpp:24,
from /var/devspace/ARK/Frame/SDK/Core/Base/AFCData.h:23,
from /var/devspace/ARK/Frame/SDK/Core/Base/AFDefine.h:23,
from /var/devspace/ARK/Frame/SDK/Interface/AFIModule.h:26,
from /var/devspace/ARK/Frame/SDK/Interface/AFIClassModule.h:24,
from /var/devspace/ARK/Frame/Server/GameServer/GameLogicPlugin/AFCPropertyConfigModule.h:27,
from /var/devspace/ARK/Frame/Server/GameServer/GameLogicPlugin/AFCPropertyConfigModule.cpp:21:
/var/devspace/ARK/Frame/SDK/Core/Base/AFMemPool.hpp:34:5: warning: when initialized here [-Wreorder]
AFMemPool(uint32_t unit_num = 50, uint32_t unit_size = 1024) :
^~~~~~~~~

virtual memory exhausted: Cannot allocate memory
virtual memory exhausted: Cannot allocate memory
virtual memory exhausted: Cannot allocate memory
virtual memory exhausted: Cannot allocate memory
virtual memory exhausted: Cannot allocate memory

Frame/Server/LoginServer/LoginLogicPlugin/CMakeFiles/AFLoginLogicPlugin.dir/build.make:86: recipe for target 'Frame/Server/LoginServer/LoginLogicPlugin/CMakeFiles/AFLoginLogicPlugin.dir/AFLoginLogicPlugin.cpp.o' failed
make[2]: *** [Frame/Server/LoginServer/LoginLogicPlugin/CMakeFiles/AFLoginLogicPlugin.dir/AFLoginLogicPlugin.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Frame/Server/ProxyServer/ProxyNetClientPlugin/CMakeFiles/AFProxyNetClientPlugin.dir/build.make:110: recipe for target 'Frame/Server/ProxyServer/ProxyNetClientPlugin/CMakeFiles/AFProxyNetClientPlugin.dir/AFProxyNetClientPlugin.cpp.o' failed
make[2]: *** [Frame/Server/ProxyServer/ProxyNetClientPlugin/CMakeFiles/AFProxyNetClientPlugin.dir/AFProxyNetClientPlugin.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....

This issue is caused by using'make -j'. Adding -j parameter without specifying number leads make won't limit the number of jobs that can run simultaneously, and consumes all the physical and virtual memory.

Suggest change build instruction in README and also add notes for this problem.

ARK new users engaging

As for engaging new people to project

  1. Firstly, ARK needs to get rid of problems, that not allowed to try it just doing simple things with a guide and get working results(so we need client-server examples). It is even more important than overall quality when the project still is not popular enough. For ex., If ARK has Linux support, a user must have an opportunity to start without needing to generate files on windows and need to rename binaries after compiling. Minimum, we need to suggest a temporary alternative until we add full support.
  2. Secondly, we need to split the audience to users and developers who can help us with the server. Users want new functionality and code stability; they don’t want to see their code broken after server update. Developers need clear workflow and transparent policies. All of them wants Informative guides, of how to work with ARK. Until the project becomes sufficiently stable, the framework needs more developers to help than users.
  • Article with comparison with other server solutions so that engineers could better understand for what task do they need ARK and maybe article that shows ARK performance
  • Guides and code comments should be preferably in English to extend audience
    -Newbie guides, even maybe ARK should have “Fast start video guide.”
  • Also, in my opinion, issues list and next version iteration plan should be opened for anyone. There should be a list of tasks that others can do to improve the project, the opportunity to offer their improvements. But it can’t be allowed to commit any upgrades to any nearest version because of quality and backward compatibility issues.
  • ARK needs well-organized GIT development workflow. A server is a critical part of multiplayer game and developers who want to use it are interested in its stability. So they will use it if there will not be significant issues, server crashes, etc. I think ARK needs different workflow(for better quality control, for ex. for having stabilization period during which features commits are not allowed to branch, only bugfixes)
    We can use this one: https://nvie.com/posts/a-successful-git-branching-model/

3.Need to develop community and encourage discussion actively. So ARK need a place, where the community will communicate(for ex. forum)
4. Also, let's discuss the target audience for the project. I think that now ARK is somewhat tricky for indie developers and they don’t need all scalability features. We can attract their attention later with fast development and cheap maintain(by solving deploying issues, adding cloud features - use a cheap server, but on overload there can be autoscale on cloud and e.t.c.), but now, in my opinion, ARK is fitting for professional teams, but not indie.

This document only invites for discussion, so please add comments.

资源没有释放

AFArrayMap.hpp:167
void ReleaseAll()
{
for (size_t i = 0; i < GetCount(); ++i)
{
mxNodes[i] = nullptr; //这里应该将资源释放 delete
}

        mxNodes.clear();
        mxIndices.Clear();
    }

Bug: AFCNetClientService::OnServerNotify

In this section, the CreateClusterClient function will never return a successful result.
https://github.com/ArkNX/ARK/blob/7053635f18f5c25408f0c244dd5269693aa5b902/src/plugin/net/src/AFCNetClientService.cpp#L409-L415

This is due to the fact that inside the "CreateClusterClient" there is a similar check "ArkBusRelationType :: BRT_DIRECT"
https://github.com/ArkNX/ARK/blob/7053635f18f5c25408f0c244dd5269693aa5b902/src/plugin/net/src/AFCNetServiceManagerModule.cpp#L157-L164

In other words, our server will not simultaneously have 2 types of connection
Perhaps I don’t understand something?

ark 内存不降

Describe the bug

A clear and concise description of what the bug is.

Branch or tag or release

  • branch: [e.g. develop]
  • tag: [e.g. 0.8.0]

Arc h(x86 or x64)

  • Arch: [e.g. amd64]

Desktop (Windows or Linux with version)

  • OS: [e.g. Windows 10]

To Reproduce

  1. do something
  2. do something
  3. ...

Expected behavior

A clear and concise description of what you expected to happen.

Actual behavior

A clear and concise description of what really happened.

Screenshots (optional)

If you have screenshots, please upload it here.

Logs (optional)

Parse your log here please.

Additional context (optional)

Add any other context about the problem here.

Ark new issues

Hi, there are some issues in ArkGame. Excuse me if I'm wrong

1)At find_last_of function in AFString.hpp:317 there are probably infinite cycle: as size_t is alias type for unsigned long long, so at next iteration after i=0, it will be equal max value of this type.

2)AFCConfigModule.cpp:138 Load function, if (pTable != nullptr) continue, but if pTable==nullptr, in 143 we dereference nullptr

3)AFCKernelModule.cpp:1057, the same as 2nd issue. If (pNodeMgr) continue; but below we dereference pNodeMgr, though it can be nullptr.

4)AFCKernelModule.cpp:159 if (pConfigNode != nullptr || pConfigNode->Changed()). Maybe &&, not ||? When pConfigNode == nullptr, we cant dereference pConfigNode at second part of expression.

English documents

Describe the bug

The English documents are missing for most of the pages.

Expected behavior

Add English documents for all the features.

Actual behavior

They are missing

Screenshots (optional)

An example URL:

https://arknx.com/ARK/#/en-us/concept
image

Additional context (optional)

Providing English documentation helps the repository to gain more international attraction

Some newbies issues

Hi! I will describe the problems I encountered when I first started working with the project.
The problems are all small and can be solved quickly, but they waste the time of the one who decided to try the server engine for the first time, so the chances are increased that if users encounter several first difficulties in a row, they will remove server and look for another solution.

  • The issue with a path to VS in build_dep.bat(need to add to build$install guide, that you must check devenv path in the script(I'm VS community user), or better, ask a user to add IDE folder to the path in environment variables. And also we need correct error printing and stopping script execution if users didn't do this.
  • On Linux, when running rund.sh script, it tries to start Launcher_d instead of launcher binary, that is built before
  • Examples compile fail until I directly use ark namespace(for ex by adding using namespace directive)
  • Build order - now works well
  • As it was written at build$install, after compile I run rund.bat, and master and world processes were fallen down. Memory dumps and info i’ve attached, as I know, it was stack limit exceed error, but I’ve not seriously understood the causes of the problem. I increased stack size to 4MB at world and game projects, and it started working.
  • In SqlServer excel file, SQL password is written in a clear text, it is unsafe, so it would better to add a password to environment variables and use it from them.

I hope the issues does not seem too far-fetched and silly :)
Dmp.zip

AFNetEvent 类型问题

/home/share/LionArk/Frame/Server/ProxyPlugin/AFCProxyNetModule.cpp: In member function ‘int ark::AFCProxyNetModule::StartClient()’:
/home/share/LionArk/Frame/Server/ProxyPlugin/AFCProxyNetModule.cpp:99:91: error: no matching function for call to ‘ark::AFINetClientService::RegNetEventCallback(ark::AFCProxyNetModule*, void (ark::AFCProxyNetModule::)(const ark::AFNetEvent))’
pNetClientService->RegNetEventCallback(this, &AFCProxyNetModule::OnSocketEvent);
^
In file included from /home/share/LionArk/Frame/SDK/Interface/AFINetServiceManagerModule.h:25:0,
from /home/share/LionArk/Frame/Server/ProxyPlugin/AFCProxyNetModule.h:8,
from /home/share/LionArk/Frame/Server/ProxyPlugin/AFCProxyNetModule.cpp:2:
/home/share/LionArk/Frame/SDK/Interface/AFINetClientService.h:75:14: note: candidate: template bool ark::AFINetClientService::RegNetEventCallback(BaseType*, void (BaseType::)(const ark::AFNetEvent&))
bool RegNetEventCallback(BaseType
pBase, void (BaseType::handler)(const AFNetEvent&))
^
/home/share/LionArk/Frame/SDK/Interface/AFINetClientService.h:75:14: note: template argument deduction/substitution failed:
/home/share/LionArk/Frame/Server/ProxyPlugin/AFCProxyNetModule.cpp:99:91: note: mismatched types ‘const ark::AFNetEvent&’ and ‘const ark::AFNetEvent

pNetClientService->RegNetEventCallback(this, &AFCProxyNetModule::OnSocketEvent);
^
In file included from /home/share/LionArk/Frame/SDK/Interface/AFINetServiceManagerModule.h:25:0,
from /home/share/LionArk/Frame/Server/ProxyPlugin/AFCProxyNetModule.h:8,
from /home/share/LionArk/Frame/Server/ProxyPlugin/AFCProxyNetModule.cpp:2:
/home/share/LionArk/Frame/SDK/Interface/AFINetClientService.h:90:22: note: candidate: virtual bool ark::AFINetClientService::RegNetEventCallback(const NET_EVENT_FUNCTOR_PTR&)
virtual bool RegNetEventCallback(const NET_EVENT_FUNCTOR_PTR& cb) = 0;

Website is in chinese only

Can we get an english button on the website? There are tons of tools on the internet that will even translate your entire website for you.

vs2019报的错

AFCGameNetModule.cpp
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.cpp : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
2>AFCProxyNetModule.cpp
2>D:\WXD_SVN\ARK-master\frame\server\proxy\AFCProxyNetModule.cpp : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
2>D:\WXD_SVN\ARK-master\frame\server\proxy\AFCProxyNetModule.h : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
2>D:\WXD_SVN\ARK-master\frame\server\proxy\AFCProxyNetModule.cpp(228): error C3861: “OnClientConnected”: 找不到标识符
2>D:\WXD_SVN\ARK-master\frame\server\proxy\AFCProxyNetModule.cpp(242): error C2039: “OnClientConnected”: 不是“ark::AFCProxyNetModule”的成员
2>D:\WXD_SVN\ARK-master\frame\server\proxy\AFCProxyNetModule.h(34): note: 参见“ark::AFCProxyNetModule”的声明
2>D:\WXD_SVN\ARK-master\frame\server\proxy\AFCProxyNetModule.cpp(247): error C2065: “client_connections_”: 未声明的标识符
2>已完成生成项目“AFProxyPlugin.vcxproj”的操作 - 失败。
1>D:\WXD_SVN\ARK-master\frame\interface/AFIGameNetModule.h : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
1>D:\WXD_SVN\ARK-master\frame\interface/AFIGameNetModule.h(33): error C2059: 语法错误:“{”
1>D:\WXD_SVN\ARK-master\frame\interface/AFIGameNetModule.h(33): error C2334: “{”的前面有意外标记;跳过明显的函数体
1>D:\WXD_SVN\ARK-master\frame\interface/AFIGameNetModule.h(64): error C2065: “GateBaseInfo”: 未声明的标识符
1>D:\WXD_SVN\ARK-master\frame\interface/AFIGameNetModule.h(64): error C2923: “ARK_SHARE_PTR”: 对于参数“TD”,“GateBaseInfo”不是有效的 模板 类型变量
1>D:\WXD_SVN\ARK-master\frame\interface/AFIGameNetModule.h(64): error C2062: 意外的类型“unknown-type”
1>D:\WXD_SVN\ARK-master\frame\interface/AFIGameNetModule.h(64): error C2238: 意外的标记位于“;”之前
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.h(56): error C2065: “GateBaseInfo”: 未声明的标识符
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.h(56): error C2923: “ARK_SHARE_PTR”: 对于参数“TD”,“GateBaseInfo”不是有效的 模板 类型变量
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.h(56): error C2062: 意外的类型“unknown-type”
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.h(56): error C2238: 意外的标记位于“;”之前
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.h(119): error C2065: “GateBaseInfo”: 未声明的标识符
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.h(119): error C2923: “ark::AFMapEx”: 对于参数“VALUE”,“GateBaseInfo”不是有效的 模板 类型变量
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.cpp(353): error C2065: “i”: 未声明的标识符
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.cpp(355): error C2065: “i”: 未声明的标识符
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.cpp(357): error C2065: “i”: 未声明的标识符
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.cpp(749): error C2065: “GateBaseInfo”: 未声明的标识符
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.cpp(749): error C2923: “ARK_SHARE_PTR”: 对于参数“TD”,“GateBaseInfo”不是有效的 模板 类型变量
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.cpp(796): error C2065: “nSceneID”: 未声明的标识符
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.cpp(798): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.cpp(799): error C2065: “nSceneID”: 未声明的标识符
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.cpp(817): error C2065: “nOldSceneID”: 未声明的标识符
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.cpp(817): error C2065: “valueOldAllObjectList”: 未声明的标识符
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.cpp(820): error C2065: “valueOldAllObjectList”: 未声明的标识符
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.cpp(822): error C2065: “valueOldAllObjectList”: 未声明的标识符
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.cpp(826): error C2065: “valueOldAllObjectList”: 未声明的标识符
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.cpp(892): error C2065: “class_name”: 未声明的标识符
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.cpp(912): error C2065: “class_name”: 未声明的标识符
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.cpp(926): error C2065: “class_name”: 未声明的标识符
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.cpp(946): error C2065: “class_name”: 未声明的标识符
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.cpp(1146): error C2065: “GateBaseInfo”: 未声明的标识符
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.cpp(1146): error C2923: “ARK_SHARE_PTR”: 对于参数“TD”,“GateBaseInfo”不是有效的 模板 类型变量
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.cpp(1163): error C2065: “GateBaseInfo”: 未声明的标识符
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.cpp(1163): error C2923: “ARK_SHARE_PTR”: 对于参数“TD”,“GateBaseInfo”不是有效的 模板 类型变量
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.cpp(1196): error C2039: “GateBaseInfo”: 不是“ark::AFCGameNetModule”的成员
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.h(41): note: 参见“ark::AFCGameNetModule”的声明
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.cpp(1196): error C2065: “GateBaseInfo”: 未声明的标识符
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.cpp(1196): error C2923: “ARK_SHARE_PTR”: 对于参数“TD”,“GateBaseInfo”不是有效的 模板 类型变量
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.cpp(1217): error C2065: “GateBaseInfo”: 未声明的标识符
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.cpp(1217): error C2672: “std::make_shared”: 未找到匹配的重载函数
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.cpp(1217): error C2974: 'std::make_shared' : 模板 对于 '_Ty'是无效参数,应为类型
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.20.27508\include\memory(1601): note: 参见“std::make_shared”的声明
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.cpp(1228): error C2065: “GateBaseInfo”: 未声明的标识符
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.cpp(1228): error C2923: “ARK_SHARE_PTR”: 对于参数“TD”,“GateBaseInfo”不是有效的 模板 类型变量
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.cpp(1248): error C2039: “GateBaseInfo”: 不是“ark::AFIGameNetModule”的成员
1>D:\WXD_SVN\ARK-master\frame\interface/AFIGameNetModule.h(29): note: 参见“ark::AFIGameNetModule”的声明
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.cpp(1248): error C2065: “GateBaseInfo”: 未声明的标识符
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.cpp(1248): error C2923: “ARK_SHARE_PTR”: 对于参数“TD”,“GateBaseInfo”不是有效的 模板 类型变量
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.cpp(1248): error C2039: “GetPlayerGateInfo”: 不是“ark::AFCGameNetModule”的成员
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.h(41): note: 参见“ark::AFCGameNetModule”的声明
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.cpp(1250): error C2065: “mRoleBaseData”: 未声明的标识符
1>AFCSceneProcessModule.cpp
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCSceneProcessModule.cpp : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
1>D:\WXD_SVN\ARK-master\frame\interface/AFIPropertyModule.h : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
1>D:\WXD_SVN\ARK-master\frame\interface/AFIGameNetModule.h : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
1>D:\WXD_SVN\ARK-master\frame\interface/AFIGameNetModule.h(33): error C2059: 语法错误:“{”
1>D:\WXD_SVN\ARK-master\frame\interface/AFIGameNetModule.h(33): error C2334: “{”的前面有意外标记;跳过明显的函数体
1>D:\WXD_SVN\ARK-master\frame\interface/AFIGameNetModule.h(64): error C2065: “GateBaseInfo”: 未声明的标识符
1>D:\WXD_SVN\ARK-master\frame\interface/AFIGameNetModule.h(64): error C2923: “ARK_SHARE_PTR”: 对于参数“TD”,“GateBaseInfo”不是有效的 模板 类型变量
1>D:\WXD_SVN\ARK-master\frame\interface/AFIGameNetModule.h(64): error C2062: 意外的类型“unknown-type”
1>D:\WXD_SVN\ARK-master\frame\interface/AFIGameNetModule.h(64): error C2238: 意外的标记位于“;”之前
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCSceneProcessModule.cpp(137): error C2065: “new_inst”: 未声明的标识符
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCSceneProcessModule.cpp(141): error C2065: “new_inst”: 未声明的标识符
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCSceneProcessModule.cpp(144): error C2065: “new_inst”: 未声明的标识符
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCSceneProcessModule.cpp(169): error C2065: “new_inst”: 未声明的标识符
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCSceneProcessModule.cpp(175): error C2065: “new_inst”: 未声明的标识符
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCSceneProcessModule.cpp(211): error C2065: “map_id”: 未声明的标识符
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCSceneProcessModule.cpp(214): error C2065: “map_id”: 未声明的标识符
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCSceneProcessModule.cpp(215): error C2065: “map_id”: 未声明的标识符
1>AFGamePlugin.cpp
1>D:\WXD_SVN\ARK-master\frame\interface/AFIPropertyModule.h : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
1>D:\WXD_SVN\ARK-master\frame\interface/AFIGameNetModule.h : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
1>D:\WXD_SVN\ARK-master\frame\interface/AFIGameNetModule.h(33): error C2059: 语法错误:“{”
1>D:\WXD_SVN\ARK-master\frame\interface/AFIGameNetModule.h(33): error C2334: “{”的前面有意外标记;跳过明显的函数体
1>D:\WXD_SVN\ARK-master\frame\interface/AFIGameNetModule.h(64): error C2065: “GateBaseInfo”: 未声明的标识符
1>D:\WXD_SVN\ARK-master\frame\interface/AFIGameNetModule.h(64): error C2923: “ARK_SHARE_PTR”: 对于参数“TD”,“GateBaseInfo”不是有效的 模板 类型变量
1>D:\WXD_SVN\ARK-master\frame\interface/AFIGameNetModule.h(64): error C2062: 意外的类型“unknown-type”
1>D:\WXD_SVN\ARK-master\frame\interface/AFIGameNetModule.h(64): error C2238: 意外的标记位于“;”之前
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.h(56): error C2065: “GateBaseInfo”: 未声明的标识符
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.h(56): error C2923: “ARK_SHARE_PTR”: 对于参数“TD”,“GateBaseInfo”不是有效的 模板 类型变量
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.h(56): error C2062: 意外的类型“unknown-type”
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.h(56): error C2238: 意外的标记位于“;”之前
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.h(119): error C2065: “GateBaseInfo”: 未声明的标识符
1>D:\WXD_SVN\ARK-master\frame\server\game\AFCGameNetModule.h(119): error C2923: “ark::AFMapEx”: 对于参数“VALUE”,“GateBaseInfo”不是有效的 模板 类型变量
1>正在生成代码...
1>已完成生成项目“AFGamePlugin.vcxproj”的操作 - 失败。
3>------ 已跳过生成: 项目: ALL_BUILD, 配置: Debug x64 ------
3>没有为此解决方案配置选中要生成的项目

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.