Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Gameserver 1 or 2 Disconnects after few seconds

Joined
Oct 16, 2004
Messages
895
Reaction score
96
Hi,
May someone with greater knowledge lend a helping hand to figure out what caused this?

The case is, after running all the instance of servers, the gameserver 1 or 2 disconnects after a few seconds of connection/connecting successfully to masterserver.

Here's a screenshot of how it looks like.
master_unknown - Gameserver 1 or 2 Disconnects after few seconds - RaGEZONE Forums


Apparently, the gameserver keeps telling me its not connected to AppServer, whereas AppServer itself is doing fine.
 
Joined
Oct 16, 2004
Messages
895
Reaction score
96
thats what's making me confused.
I didn't touched your releases directory. its intact as it was released.
the only thing I changed was the server.ini's configurations.

Gameserver1 ini setting
Code:
; GameServer server.ini

[SERVER_INFO]
NAME = "GameServer1"
SERVER_ID = 1
WORLD_ID = 1
ODBC = "SQL server"
SOCKET_POOL_SIZE = 2000

[CONFIG]
PUBLIC_IP = "127.0.0.1"
PORT = 7201

[NET]
MASTER_SERVER_IP = "127.0.0.1"
MASTER_SERVER_PORT = 7500


[DB]
SERVER = "svr\SQLEXPRESS"
DATABASE = "RZ_GAMEDB"
USERNAME = "sa"
PASSWORD = "pass"

[LOGDB]
SERVER = "svr\SQLEXPRESS"
DATABASE = "RZ_LOGDB"
USERNAME = "sa"
PASSWORD = "pass"

[LOG]
LOG_PATH = "log"
LOG_LEVEL = 1

Gameserver2 ini setting
Code:
; GameServer server.ini

[SERVER_INFO]
NAME = "GameServer2"
SERVER_ID = 2
WORLD_ID = 1
ODBC = "SQL Server"
SOCKET_POOL_SIZE = 2000

[CONFIG]
PUBLIC_IP = "127.0.0.1"
PORT = 7202

[NET]
MASTER_SERVER_IP = "localhost"
MASTER_SERVER_PORT = 7500


[DB]
SERVER = "svr\SQLEXPRESS"
DATABASE = "RZ_GAMEDB"
USERNAME = "sa"
PASSWORD = "pass"

[LOGDB]
SERVER = "svr\SQLEXPRESS"
DATABASE = "RZ_LOGDB"
USERNAME = "sa"
PASSWORD = "pass"

[LOG]
LOG_PATH = "log"
LOG_LEVEL = 1

AppServer ini setting
Code:
; AppServer server.ini

[SERVER_INFO]
NAME = "AppServer"
SERVER_ID = 102
WORLD_ID = 1
ODBC = "SQL server"
SOCKET_POOL_SIZE = 100

[CONFIG]
PORT = 7502

[MASTER_SERVER]
IP = "localhost"
PORT = 7500


[DB]
SERVER = "svr\SQLEXPRESS"
DATABASE = "RZ_GAMEDB"
USERNAME = "sa"
PASSWORD = "pass"

[LOGDB]
SERVER = "svr\SQLEXPRESS"
DATABASE = "RZ_LOGDB"
USERNAME = "sa"
PASSWORD = "pass"

[PATH]
SYSTEM = "system"

[LOG]
LOG_PATH = "log"
LOG_LEVEL = 1

Since I couldn't start the server before I tried this solution: http://forum.ragezone.com/f696/dbms-issues-757373/
After that, i can run the servers fine except for gameserver1 & gameserver2.
 
Joined
Feb 4, 2010
Messages
2,204
Reaction score
1,012
Well there's your problem it clearly states you have to COPY gameserver 2. Like copy paste.

And then use gameserver 1's config file in the copy of gameserver two. o-o; its not that difficult to understand.
 
Joined
Oct 16, 2004
Messages
895
Reaction score
96
I did.
I copied gameserver2, and renamed it to gameserver1.
copied the gameserver server.ini into gameserver1, over writing the untouched file.
edited it with the same config as above.

gameserver1 has this error:
Code:
[i] 03:30:04 - server start! (Servable)
[i] 03:30:20 - Client NetError (ErrorCode=10060)
[i] 03:30:24 - Not Servable. Not Connected To AppServer.
 

Attachments

You must be registered for see attachments list
Banned
Banned
Joined
Sep 10, 2007
Messages
383
Reaction score
50
start AppServer,LoginServer,MasterServer,GameServer1,GameServer2,
i se in your image that u started only 1 gameserver,try start all and close your firewall and change in your db server IP
 
Last edited:
Back
Top