+ Guide how to setup files on 2 or 3 machines
First of all i made a verry hard work for that so please support me
(any problem report it & hope any coder help me!)
Now Download patch 2.1
(not musted to download the old patches)
& Download Patch 2.2 > for more servers in server list !!(add 2 more servers only ,, for more add tell me )
----------------------------------------------------------------
Explain for Patch 2.1
download the patch and replace files
then open ini folder to config
first
open srGlobalOperation.ini and change YourMainPCName to ur machine name (main machine)
and save
next
open srGlobalService.ini and change YourMainPCName to ur machine name (main machine)
and save
next
open srNodeType.ini
PHP Code:
[entry0]
id=335
operation_type=22
name=MyMainPC
wip=192.168.0.72
nip=192.168.0.72
machine_manager_node_id=0
then
PHP Code:
wip=yourMainMachineIP (change to your ip)
nip=yourMainMachineIP (change to your ip)
PHP Code:
[entry1]
id=336
operation_type=22
name=SecoundNamePC
wip=192.168.0.73
nip=192.168.0.73
machine_manager_node_id=700
then
wip=yourSecoundMachineIP
nip=yourSecoundMachineIP
PHP Code:
[entry2]
id=337
operation_type=22
name=TheirdNamePC
wip=192.168.0.74
nip=192.168.0.74
machine_manager_node_id=701
change TheirdNamePC to ur 3rd machine name (3nd machine)
then
wip=your3rdMachineIP
nip=your3rdMachineIP
then
save
next
open srShard.ini and change YourServerName to ur main machine name
save
warring : don't forget to change database info to ur database info..
Now open 2 - compile.bat and w8 while it succes then click enter to close it
Now replace
Server.cfg
and
schedule.cfg
with the old one ..
open Server.cfg and change all ips to your machine main IP and don't forget to reconfig your ftp info
and save
now u can open 3 - CustomCertificationServer.bat and start ur server files
Main Machine : (By this arrange)
Crest
globalmanager
downloadmanager
gatewaymanager
frammanager
sr sharedmanager
sr gameserver
agentserver
2nd Machine : (By this arrange)
Machinemanager
gatewaymanager
download manager
sr gameserver
agentserver
3rd Machine : (By this arrange) Optinal not Musted if ur slots lower than 1000
Machinemanager
sr gameserver
agentserver
Copy server files to your 2nd and 3rd machine and just open they will work normally
At Last open smc on main machine and start service
------------------------------------------------------------
Explain for Patch 2.2 (Must read Explain for patch 2.1 first )
Same as Patch 2.1 exept some point
in ini folder open srShard.ini
PHP Code:
[global]
count=3
[entry0]
id=64
global_operation_id=20
operation_type=22
name=YourServerName
query=DRIVER={SQL Server};SERVER=ABDELFATTAH\SQLEXPRESS;DSN=SRO_VT_S HARD_INIT;UID=abdooo;PWD=abdo123456;DATABASE=SRO_V T_SHARD_INIT
query_log=DRIVER={SQL Server};SERVER=ABDELFATTAH\SQLEXPRESS;DSN=Log_DB;U ID=abdooo;PWD=abdo123456;DATABASE=Log_DB
capacity=1000
shard_manager_node_id=705
u1=240
u2=208
u3=17
u4=1
u5=0
u6=0
u7=0
[entry1]
id=65
global_operation_id=20
operation_type=22
name=YourServerName2
query=DRIVER={SQL Server};SERVER=ABDELFATTAH\SQLEXPRESS;DSN=SRO_VT_S HARD_INIT;UID=abdooo;PWD=abdo123456;DATABASE=SRO_V T_SHARD_INIT
query_log=DRIVER={SQL Server};SERVER=ABDELFATTAH\SQLEXPRESS;DSN=Log_DB;U ID=abdooo;PWD=abdo123456;DATABASE=Log_DB
capacity=1000
shard_manager_node_id=706
u1=240
u2=208
u3=17
u4=1
u5=0
u6=0
u7=0
[entry2]
id=66
global_operation_id=20
operation_type=22
name=YourServerName3
query=DRIVER={SQL Server};SERVER=ABDELFATTAH\SQLEXPRESS;DSN=SRO_VT_S HARD_INIT;UID=abdooo;PWD=abdo123456;DATABASE=SRO_V T_SHARD_INIT
query_log=DRIVER={SQL Server};SERVER=ABDELFATTAH\SQLEXPRESS;DSN=Log_DB;U ID=abdooo;PWD=abdo123456;DATABASE=Log_DB
capacity=1000
shard_manager_node_id=707
u1=240
u2=208
u3=17
u4=1
u5=0
u6=0
u7=0
then save
now open your sql manager
open database SRO_VT_ACCOUNT
in table _ShardService
make as in this pic
shard ID ServiceType
64 0
65 0
66 0
save
Now ur server is ready
Main Machine : (By this arrange)
Crest
globalmanager
downloadmanager
gatewaymanager
frammanager
sr sharedmanager
sr gameserver
agentserver
2nd Machine : (By this arrange)
Machinemanager
gatewaymanager
download manager
sr sharedmanager
sr gameserver
agentserver
3rd Machine : (By this arrange) Optinal not Musted if ur slots lower than 1000
Machinemanager
sr sharedmanager
sr gameserver
agentserver
i do my best ,, was verry hard work and hope u like it
Notic : MachineManager not work any more in Main machine (that's the right machinemanager needs only in slave machines Only)