How to start a second gameserver?

01/17/2015 16:35 infogod#1
I'm seting up a server. I have two pc's:

One of them :
1 - Start the whole server GlobalManager, Machine and etc and it is ok, I start the client and connect into the game.

Second of them :
1 - I'm trying to start machineManager but it's closing suddenly

Best regards,
JC
01/17/2015 16:53 Aaron*#2
Quote:
Originally Posted by infogod View Post
I'm seting up a server. I have two pc's:

One of them :
1 - Start the whole server GlobalManager, Machine and etc and it is ok, I start the client and connect into the game.

Second of them :
1 - I'm trying to start machineManager but it's closing suddenly

Best regards,
JC
srPatcher -> spoof machinemanager ip , change it to ur ip
01/17/2015 17:19 infogod#3
Quote:
Originally Posted by Jocs View Post
srPatcher -> spoof shardmanager ip , change it to ur ip
in the second pc?
01/17/2015 17:28 Aaron*#4
Quote:
Originally Posted by infogod View Post
in the second pc?
in the pc which have machine manager crashing. sorry i meant machine manager in my post not shardmanager
01/17/2015 17:32 infogod#5
Quote:
Originally Posted by Jocs View Post
in the pc which have machine manager crashing. sorry i meant machine manager in my post not shardmanager
I did and machine work.

I start the second gameserver.exe and I got this message:
Disconnected from the ShardManager and it's breaking the Shardmanager in the first pc.
01/17/2015 17:38 Aaron*#6
Quote:
Originally Posted by infogod View Post
I did and machine work.

I start the second gameserver.exe and I got this message:
Disconnected from the ShardManager and it's breaking the Shardmanager in the first pc.
server.cfg -> change the shardmanager ip:port to the first pc iis ip:port.
01/17/2015 17:54 infogod#7
Quote:
Originally Posted by Jocs View Post
server.cfg -> change the shardmanager ip:port to the first pc iis ip:port.
Should I have mssql in the second pc too?

I tried change the port to IIS port and same happening the shardmanager stop in the first machine when I start gamemanager in the second.
01/17/2015 18:57 magicanoo#8
1) get a working certification for 2x gameservers.
2) allow all connections between the 2 machines.
3) in the SQL info, replace the server name with the IP in IIS and cert, e.g. instead of server=WIN-GGWP\SQLExpress, put server=122.22.22.22 (your sql machine IP).
4) Enable remote TCP/IP connection for the SQL server.
5) in the second machine, you're going to put the server files folder and start machine manager + gameserver.
01/17/2015 19:24 infogod#9
Quote:
Originally Posted by magicanoo View Post
1) get a working certification for 2x gameservers.
2) allow all connections between the 2 machines.
3) in the SQL info, replace the server name with the IP in IIS and cert, e.g. instead of server=WIN-GGWP\SQLExpress, put server=122.22.22.22 (your sql machine IP).
4) Enable remote TCP/IP connection for the SQL server.
5) in the second machine, you're going to put the server files folder and start machine manager + gameserver.
Do you have a working certification for 2x gameservers?
01/17/2015 20:37 magicanoo#10
Attached. This should work.
01/17/2015 20:41 yangc10#11
srGlobalService.ini
Quote:
[global]
count=2
[entry0]
operation_type=22
name=SRO_GameOn_Official
query=DRIVER={SQL Server};SERVER=YOURPCHOSTNAME\SQLEXPRESS;DSN=SRO_VT_ACCOUNT;UID=sa;PWD=MYSQLPASSWORD;DATABASE=SRO_VT_ACCOUNT
global_manager_node_id=697
[entry1]
operation_type=22
name=SRO_GameOn_Official
query=DRIVER={SQL Server};SERVER=YOURPCHOSTNAME\SQLEXPRESS;DSN=SRO_VT_ACCOUNT;UID=sa;PWD=MYSQLPASSWORD;DATABASE=SRO_VT_ACCOUNT
global_manager_node_id=697
srNodeType.ini
Quote:
[global]
count=2
[entry0]
id=335
operation_type=22
name=Main machine
wip=FirstPC IP Address
nip=FirstPC IP Address
machine_manager_node_id=699
[entry1]
id=336
operation_type=22
name=2 Machine
wip=SecondPC IP Address
nip=SecondPC IP Address
machine_manager_node_id=701
srShard.ini
Quote:
[global]
count=2
[entry0]
id=64
global_operation_id=20
operation_type=22
name=SERVERNAME
query=DRIVER={SQL Server};SERVER=YOURPCHOSTNAME\SQLEXPRESS;DSN=SRO_VT_SHARD;UID=sa;PWD=MYSQLPASSWORD;DATABASE=SRO_VT_SHARD
query_log=DRIVER={SQL Server};SERVER=YOURPCHOSTNAME\SQLEXPRESS;DSN=SRO_VT_SHARDLOG;UID=sa;PWD=MYSQLPASSWORD;DATABASE=SRO_VT_SHARDLOG
capacity=35
shard_manager_node_id=705
u1=240
u2=208
u3=17
u4=1
u5=0
u6=0
u7=0
[entry1]
id=64
global_operation_id=20
operation_type=22
name=SERVERNAME
query=DRIVER={SQL Server};SERVER=YOURPCHOSTNAME\SQLEXPRESS;DSN=SRO_VT_SHARD;UID=sa;PWD=MYSQLPASSWORD;DATABASE=SRO_VT_SHARD
query_log=DRIVER={SQL Server};SERVER=YOURPCHOSTNAME\SQLEXPRESS;DSN=SRO_VT_SHARDLOG;UID=sa;PWD=MYSQLPASSWORD;DATABASE=SRO_VT_SHARDLOG
capacity=35
shard_manager_node_id=705
u1=240
u2=208
u3=17
u4=1
u5=0
u6=0
u7=0
I don't recall if you needed to edit the server.cfg. Just compile it and you should be good to go.
01/17/2015 20:45 ​Exo#12
Quote:
Originally Posted by magicanoo View Post
1) get a working certification for 2x gameservers.
2) allow all connections between the 2 machines.
3) in the SQL info, replace the server name with the IP in IIS and cert, e.g. instead of server=WIN-GGWP\SQLExpress, put server=122.22.22.22 (your sql machine IP).
4) Enable remote TCP/IP connection for the SQL server.
5) in the second machine, you're going to put the server files folder and start machine manager + gameserver.
Problem is, he probably doesn't know what he's doing so enabling connections between the two machines without protecting everything and limiting the connections he would get some serious problems.
So I'd recommend hiring someone to set it up properly
01/18/2015 00:46 infogod#13
Quote:
Originally Posted by magicanoo View Post
1) get a working certification for 2x gameservers.
2) allow all connections between the 2 machines.
3) in the SQL info, replace the server name with the IP in IIS and cert, e.g. instead of server=WIN-GGWP\SQLExpress, put server=122.22.22.22 (your sql machine IP).
4) Enable remote TCP/IP connection for the SQL server.
5) in the second machine, you're going to put the server files folder and start machine manager + gameserver.
may I have all areas open with only one game server?
01/18/2015 13:26 magicanoo#14
Quote:
Originally Posted by infogod View Post
may I have all areas open with only one game server?
Yes, you may. But keep in mind that the maximum objects(mobs/chars/pets) per gameserver is 50,000. If objects reached that, any further spawning will lead to despawning i.e. you'll see the mob appear and disappear at the same time.
To find the current object count, simply use the GM command /worldstatus.