Giter VIP home page Giter VIP logo

Comments (10)

Adizbek avatar Adizbek commented on May 4, 2024

After searching. I have found generated Struct/Nframe.sql

Is there any instructions to setup database ? I have no idea how to start?
2018-07-14 22 34 48

2018-07-14 22 57 07

On the last log of second screenshot written OnWorldList0: How can I add a World ?

from noahgameframe.

ketoo avatar ketoo commented on May 4, 2024

I think this problem is related� with the problem #105

Now NF using Redis as the database.

I know from your graph[22:56:49] that your account sign-in was succeeded. The reason you can't get the world list that is your world server was crashed, could you please show me more log which comes from the world server?

Normally we run the shell script runxd.sh(with Database) or rund.sh (without Database), you can see the shell file to know how to run a world server.

from noahgameframe.

Adizbek avatar Adizbek commented on May 4, 2024

There is no file named runxd.sh in my folder. Only:
Debug
Kill.bat
NFDataCfg
Release
Tester
VC_Clear.bat
clearlog.bat
clearlog.sh
kill.sh
log
redis.bat
redis.sh
rund.bat
rund.sh
runr.bat
runr.sh
runtutorial.bat
runtutoriald.sh
xd.bat
xd.sh
xr.bat
xr.sh

from noahgameframe.

ketoo avatar ketoo commented on May 4, 2024

So you run the shell script named rund.sh?

I will test it late.

from noahgameframe.

Adizbek avatar Adizbek commented on May 4, 2024

@ketoo should I install redis before?

from noahgameframe.

ketoo avatar ketoo commented on May 4, 2024

You can run the script rund.sh without Database, wait a moment please, i am testing for this issue.

from noahgameframe.

Adizbek avatar Adizbek commented on May 4, 2024

When I run rund.sh
5 processes strated:

 9554 ??         0:00.07 ./NFPluginLoader_d -d Server=MasterServer ID=3
 9556 ??         0:00.06 ./NFPluginLoader_d -d Server=WorldServer ID=7
 9558 ??         0:00.04 ./NFPluginLoader_d -d Server=LoginServer ID=4
 9560 ??         0:00.02 ./NFPluginLoader_d -d Server=GameServer ID=6
 9562 ??         0:00.01 ./NFPluginLoader_d -d Server=ProxyServer ID=5

But after 10 sec. Proxy and WorldServer stopped.

from noahgameframe.

ketoo avatar ketoo commented on May 4, 2024

Got it.

bool NFCWorldToMasterModule::Init()
{
m_pNetClientModule = pPluginManager->FindModule();
m_pNetModule = pPluginManager->FindModule();
m_pClassModule = pPluginManager->FindModule();
m_pElementModule = pPluginManager->FindModule();
m_pLogModule = pPluginManager->FindModule();
m_pWorldNet_ServerModule = pPluginManager->FindModule<NFIWorldNet_ServerModule>();
m_pSecurityModule = pPluginManager->FindModule();

return true;

}

Assert:
m_pSecurityModule = pPluginManager->FindModule();

How to fix:
const std::string NFSecurityPlugin::GetPluginName()
{
return GET_CLASS_NAME(NFCSecurityPlugin);
}
======>>>>
const std::string NFSecurityPlugin::GetPluginName()
{
return GET_CLASS_NAME(NFSecurityPlugin);
}

Now fixed.
32bcbda

from noahgameframe.

Adizbek avatar Adizbek commented on May 4, 2024

Yes. Fixed.
2018-07-15 17 22 38

But the most interesting thing. I have logged in with the same login on the same time and playing.

from noahgameframe.

ketoo avatar ketoo commented on May 4, 2024

Yes, the old one you logged should be kicked from the server, I will fix it soon.

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.