-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Tutorial: StartupNF
If you just want to startup NF with default plugins, you only need to run the script listed below:
NF is a plugin system, as a result, you must tell it which plugins that you want to load when startup.
Normally, NF uses _Out/NFDataCfg/Debug/Plugin.xml (_Out/NFDataCfg/Release/Plugin.xml ) as the plugin configuration file to know which plugins you want to load.
rund.sh (rund.bat) is to run NF with debug mode and load plugins by the configuration file where located _Out/NFDataCfg/Debug/Plugin.xml
runr.sh (runr.bat) is to run NF with release mode and load plugins by the configuration file where located _Out/NFDataCfg/Release/Plugin.xml
-
If you startup NFServer with non-parameters, all game servers will run an instance with one process with one thread to have a quick test.
-
If you startup NFServer with parameters listed below:
./NFServer -d Plugin=Plugin.xml Server=MasterServer ID=3
./NFServer -d Plugin=Plugin.xml Server=WorldServer ID=7
./NFServer -d Plugin=Plugin.xml Server=DBServer ID=8
./NFServer -d Plugin=Plugin.xml Server=LoginServer ID=4
./NFServer -d Plugin=Plugin.xml Server=GameServer ID=6
./NFServer -d Plugin=Plugin.xml Server=ProxyServer ID=5
Before start NF, please make sure that you are running Redis database, more details please ref to:
https://github.com/ketoo/NoahGameFrame/wiki/How-to-debug-with-unity3d