Giter VIP home page Giter VIP logo

Comments (8)

ketoo avatar ketoo commented on May 4, 2024 1

Hi Adizbek,

Now just the develop branch sup MacOS, please use develop branch now (It will be released as master soon).

from noahgameframe.

Adizbek avatar Adizbek commented on May 4, 2024 1

brew install libevent helped

from noahgameframe.

Adizbek avatar Adizbek commented on May 4, 2024

Now there is another error while building:


[ 80%] Built target NFMasterNet_HttpServerPlugin
[ 81%] Built target NFMasterServerPlugin
[ 82%] Built target NFProxyServerNet_ClientPlugin
[ 83%] Built target NFDBNet_ClientPlugin
[ 85%] Built target NFGuildPlugin
[ 86%] Built target NFMailPlugin
[ 89%] Built target NFSkillPlugin
[ 90%] Linking CXX executable ../../../../../_Out/Debug/NFPluginLoader_d
clang: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
ld: library not found for -levent_openssl
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [../../../_Out/Debug/NFPluginLoader_d] Error 1
make[1]: *** [NFComm/NFPluginLoader/CMakeFiles/NFPluginLoader.dir/all] Error 2
make: *** [all] Error 2

from noahgameframe.

Adizbek avatar Adizbek commented on May 4, 2024

Installed. Framework is working, Now I am able to connect from Unity.

from noahgameframe.

Adizbek avatar Adizbek commented on May 4, 2024

What are they ?

[ERROR | 2018-07-14 15:57:57,001] | 10 | 6 | Type: 7 Server ID: 7 State: 3 IP: 127.0.0.1 Port: 17001
[ERROR | 2018-07-14 15:58:07,001] | 14 | 6 | Type: 7 Server ID: 7 State: 3 IP: 127.0.0.1 Port: 17001
[ERROR | 2018-07-14 15:58:17,001] | 18 | 6 | Type: 7 Server ID: 7 State: 3 IP: 127.0.0.1 Port: 17001
[ERROR | 2018-07-14 15:58:27,001] | 22 | 6 | Type: 7 Server ID: 7 State: 3 IP: 127.0.0.1 Port: 17001
[ERROR | 2018-07-14 15:58:37,001] | 26 | 6 | Type: 7 Server ID: 7 State: 3 IP: 127.0.0.1 Port: 17001
[ERROR | 2018-07-14 15:58:47,000] | 30 | 6 | Type: 7 Server ID: 7 State: 3 IP: 127.0.0.1 Port: 17001
[ERROR | 2018-07-14 15:58:57,001] | 34 | 6 | Type: 7 Server ID: 7 State: 3 IP: 127.0.0.1 Port: 17001
[ERROR | 2018-07-14 15:59:07,001] | 38 | 6 | Type: 7 Server ID: 7 State: 3 IP: 127.0.0.1 Port: 17001
[ERROR | 2018-07-14 15:59:17,000] | 42 | 6 | Type: 7 Server ID: 7 State: 3 IP: 127.0.0.1 Port: 17001
[ERROR | 2018-07-14 15:59:27,001] | 46 | 6 | Type: 7 Server ID: 7 State: 1 IP: 127.0.0.1 Port: 17001
[ERROR | 2018-07-14 15:59:37,001] | 49 | 6 | Type: 7 Server ID: 7 State: 3 IP: 127.0.0.1 Port: 17001
[ERROR | 2018-07-14 15:59:47,000] | 53 | 6 | Type: 7 Server ID: 7 State: 3 IP: 127.0.0.1 Port: 17001
[ERROR | 2018-07-14 15:59:57,002] | 57 | 6 | Type: 7 Server ID: 7 State: 3 IP: 127.0.0.1 Port: 17001

from noahgameframe.

ketoo avatar ketoo commented on May 4, 2024

It looks like that some servers cannot connect to the world server.
state == 1 means the client(maybe game server) now connecting to the world server;
state == 3 means the client(maybe game server) now reconnecting to the world server;

void NFCNetClientModule::LogServerInfo()
{
m_pLogModule->LogInfo("This is a client, begin to print Server Info-------------------");

ConnectData* pServerData = mxServerMap.FirstNude();
while (nullptr != pServerData)
{
    std::ostringstream stream;
    stream << "Type: " << pServerData->eServerType << " Server ID: " << pServerData->nGameID << " State: "
           << pServerData->eState << " IP: " << pServerData->strIP << " Port: " << pServerData->nPort;

	if (pServerData->eState == ConnectDataState::NORMAL)
	{
		m_pLogModule->LogInfo(stream.str());
	}
	else
	{
		m_pLogModule->LogError(stream.str());
	}

    pServerData = mxServerMap.NextNude();
}

m_pLogModule->LogInfo("This is a client, end to print Server Info---------------------");

}

from noahgameframe.

ketoo avatar ketoo commented on May 4, 2024

fixed.

32bcbda

from noahgameframe.

congcoi123 avatar congcoi123 commented on May 4, 2024

@Adizbek Thanks bro, built success! I wonder nobody run server in macos before

from noahgameframe.

Related Issues (20)

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.