03-20-2012, 01:06 AM
If settings.ini is missing and you try to join the server the client will give the following error message: The server is currently full :C-- Try again later
The server writes the following:
It might be useful to let the server end immediately with an error if there is no settings.ini? After all there is no point in starting the server if max 0 users are allowed to connect...
The server writes the following:
Code:
[15:56:56] Starting up server.
[15:56:56] Port 25565 has been bound, server is open for connections
[15:56:56] Loading settings...
[15:56:56] -- Loading Groups --
[15:56:56] -- Done Loading Groups --
[15:56:56] --Loading recipes--
[15:56:56] --Done loading recipes, found 102 recipes
[15:56:56] --Loading furnace recipes--
[15:56:56] Got 9 furnace recipes, and 11 fuels.
[15:56:56] --Done loading furnace recipes--
[15:56:56] Loading worlds...
[15:56:56] cWorld::cWorld(world)
[15:56:56] Seed: 2079799275
[15:56:56] Preparing spawn area in world "world"
[15:56:56] 399 chunks to load, 0 chunks to generate
[15:56:57] Loading plugin manager...
[15:56:57] Loading plugins
[15:56:57] cPluginManager: Can't find settings.ini, so can't load any plugins.
[15:56:57] No plugins loaded
[15:56:57] Loading MonsterConfig...
[15:56:57] cMonsterConfig: Must have both settings.ini and monsters.ini to confi
gure attributes
using default attributes
[15:56:57] Starting Authenticator...
[15:56:57] Starting server...
[15:56:57] ServerListenThread
[15:56:57] ServerTickThread
[15:56:57] Starting InputThread...
[15:56:57] Initialization done, server running now.
[15:57:15] Client "127.0.0.1" connected!
[15:57:15] New ClientHandle created at 0582F528
[15:57:15] Creating a new cSocketThread (currently have 0)
[15:57:15] HANDSHAKE userid0
[15:57:15] Deleting client "userid0" at 0582F528
[15:57:15] ClientHandle at 0582F528 deleted
[15:57:29] Client "127.0.0.1" connected!
[15:57:29] New ClientHandle created at 0582F528
[15:57:29] HANDSHAKE userid0
[15:57:29] Deleting client "userid0" at 0582F528
[15:57:29] ClientHandle at 0582F528 deleted
[15:57:38] Client "127.0.0.1" connected!
[15:57:38] New ClientHandle created at 0582F528
[15:57:38] HANDSHAKE userid0
[15:57:38] Deleting client "userid0" at 0582F528
[15:57:38] ClientHandle at 0582F528 deleted
It might be useful to let the server end immediately with an error if there is no settings.ini? After all there is no point in starting the server if max 0 users are allowed to connect...