How to add new server ? not channel but server.
example
Aibatt
Lawolf
same as official.
example
Aibatt
Lawolf
same as official.
Quote:
Account server and certifier server -> One for all.
On ini files, Sys 1 = server 1, Sys 2 = server 2 and channels 0101, 0102, 0103... for server 1 and 0201, 0202, 0203... for server 2. And edit to match the correct database in each server.
Database: CHARACTER_01_DBF, CHARACTER_02_DBF and same for rest databases with numbers, 01, 02, 03... Same for ODBC connections (like character01, character02), linked servers, SQL Jobs and other stuff.
Not a very detailed guide, but should be enough.
my 2nd core.iniQuote:
Any errors? Is Coreserver.ini and WorldServer.ini correct?
Sys 2
Database "192.168.2.45"
PartyExpRate "40"
0201
{
Key 0201
Core "192.168.2.45"
DB "192.168.2.45"
Account "127.0.0.1"
Sys 2
Account "192.168.2.45"
DSN_NAME_CHARACTER "character02"
DB_ADMIN_ID_CHARACTER "123456"
Quote:
AccountServer.ini is correct?
AddTail(-1, 1, "SERVER 1", "IP", 0, 1, 0) //S 1
AddTail(1, 1, "Channel 1-1", "IP", 0, 1, 1000) //WS 1
AddTail(1, 2, "Channel 1-2", "IP", 0, 1, 1000) //WS 2
AddTail(-1, 2, "SERVER 2", "IP", 0, 1, 0)
AddTail(2, 1, "Channel 2-1", "IP", 0, 1, 1000)
AddTail(2, 2, "Channel 2-2", "IP", 0, 1, 1000)
AddTail(dwParent, dwID, lpName, lpAddr, b18, lEnable, lMax)
dwParent * 100 + dwID
AddTail( -1, 1, "Server 1", "127.0.0.1", 0, 1, 0 );
AddTail( 1, 1, "Channel 1", "127.0.0.1", 0, 1, 1100 );
AddTail( -1, 2, "Server 2", "127.0.0.1", 0, 1, 0 );
AddTail( 2, 1, "Channel 1", "127.0.0.1", 0, 1, 1100 );
I don't know what is wrong, try to debug the projects are not working. Maybe there is something wrong with IP or any error with configuration.Quote:
here is my.
PHP Code:AddTail( -1, 1, "Server 1", "127.0.0.1", 0, 1, 0 );
AddTail( 1, 1, "Channel 1", "127.0.0.1", 0, 1, 1100 );
AddTail( -1, 2, "Server 2", "127.0.0.1", 0, 1, 0 );
AddTail( 2, 1, "Channel 1", "127.0.0.1", 0, 1, 1100 );
PS.: is from another forumQuote:
P.S. THIS GUILD IS FOR SOMEONE WHO UNKNOWN
STEP 1
Open AccountServer.ini and look down this
You just add new line like thisCode:AddTail( -1, 1, "Test", "192.168.1.2", 0, 1, 0 ); AddTail( 1, 1, "Channel 1-1", "192.168.1.2", 0, 1, 600 );
and if you want to add news server look down thisCode:AddTail( -1, 1, "Test", "192.168.1.2", 0, 1, 0 ); AddTail( 1, 1, "Channel 1-1", "192.168.1.2", 0, 1, 600 ); AddTail( 1, 2, "Channel 1-2", "192.168.1.2", 0, 1, 600 );
Code:AddTail( -1, 1, "Test", "192.168.1.2", 0, 1, 0 ); AddTail( 1, 1, "Channel 1-1", "192.168.1.2", 0, 1, 600 ); AddTail( -1, 2, "Ladake", "192.168.1.2", 0, 1, 0 ); AddTail( 2, 1, "Ladake-1, "192.168.1.2", 0, 1, 0 );
P.S You can change ip to another computer ip that make you run 2 computer
STEP 2
Open CoreServer.ini and look down this
Code:Sys "1" Database "192.168.1.2" PartyExpRate "1" 101 { 1 0 0 30 30 00 00 2 0 0 5 5 00 00 3 0 0 3 3 00 00 200 0 0 5 5 00 00 201 0 0 5 5 00 00 210 0 0 1 1 00 00 220 0 0 1 1 00 00 230 0 0 1 1 00 00 202 0 0 5 5 00 00 204 0 0 5 5 00 00 205 0 0 2 2 00 00 203 0 0 3 3 00 00 206 0 0 2 2 00 00 207 0 0 2 2 00 00 208 0 0 2 2 00 00 241 0 0 1 1 00 00 242 0 0 1 1 00 00 243 0 0 1 1 00 00 244 0 0 1 1 00 00 21 0 0 1 1 00 00 22 0 0 1 1 00 00 23 0 0 1 1 00 00 24 0 0 1 1 00 00 25 0 0 1 1 00 00 121 0 0 5 5 00 00 122 0 0 5 5 00 00 209 0 0 1 1 00 00 151 0 0 2 2 00 00 152 0 0 2 2 00 00 153 0 0 2 2 00 00 154 0 0 2 2 00 00 155 0 0 2 2 00 00 156 0 0 2 2 00 00 157 0 0 2 2 00 00 158 0 0 2 2 00 00 159 0 0 2 2 00 00 160 0 0 2 2 00 00 161 0 0 2 2 00 00 162 0 0 2 2 00 00 163 0 0 2 2 00 00 164 0 0 2 2 00 00 165 0 0 2 2 00 00 166 0 0 2 2 00 00 167 0 0 2 2 00 00 }
And now you just add like this
Code:Sys "1" Database "127.0.0.1" PartyExpRate "1" 101 { 1 0 0 30 30 00 00 2 0 0 5 5 00 00 3 0 0 3 3 00 00 200 0 0 5 5 00 00 201 0 0 5 5 00 00 210 0 0 1 1 00 00 220 0 0 1 1 00 00 230 0 0 1 1 00 00 202 0 0 5 5 00 00 204 0 0 5 5 00 00 205 0 0 2 2 00 00 203 0 0 3 3 00 00 206 0 0 2 2 00 00 207 0 0 2 2 00 00 208 0 0 2 2 00 00 241 0 0 1 1 00 00 242 0 0 1 1 00 00 243 0 0 1 1 00 00 244 0 0 1 1 00 00 21 0 0 1 1 00 00 22 0 0 1 1 00 00 23 0 0 1 1 00 00 24 0 0 1 1 00 00 25 0 0 1 1 00 00 121 0 0 5 5 00 00 122 0 0 5 5 00 00 209 0 0 1 1 00 00 151 0 0 2 2 00 00 152 0 0 2 2 00 00 153 0 0 2 2 00 00 154 0 0 2 2 00 00 155 0 0 2 2 00 00 156 0 0 2 2 00 00 157 0 0 2 2 00 00 158 0 0 2 2 00 00 159 0 0 2 2 00 00 160 0 0 2 2 00 00 161 0 0 2 2 00 00 162 0 0 2 2 00 00 163 0 0 2 2 00 00 164 0 0 2 2 00 00 165 0 0 2 2 00 00 166 0 0 2 2 00 00 167 0 0 2 2 00 00 } 201 { 1 0 0 30 30 00 00 2 0 0 5 5 00 00 3 0 0 3 3 00 00 200 0 0 5 5 00 00 201 0 0 5 5 00 00 210 0 0 1 1 00 00 220 0 0 1 1 00 00 230 0 0 1 1 00 00 202 0 0 5 5 00 00 204 0 0 5 5 00 00 205 0 0 2 2 00 00 203 0 0 3 3 00 00 206 0 0 2 2 00 00 207 0 0 2 2 00 00 208 0 0 2 2 00 00 241 0 0 1 1 00 00 242 0 0 1 1 00 00 243 0 0 1 1 00 00 244 0 0 1 1 00 00 21 0 0 1 1 00 00 22 0 0 1 1 00 00 23 0 0 1 1 00 00 24 0 0 1 1 00 00 25 0 0 1 1 00 00 121 0 0 5 5 00 00 122 0 0 5 5 00 00 209 0 0 1 1 00 00 151 0 0 2 2 00 00 152 0 0 2 2 00 00 153 0 0 2 2 00 00 154 0 0 2 2 00 00 155 0 0 2 2 00 00 156 0 0 2 2 00 00 157 0 0 2 2 00 00 158 0 0 2 2 00 00 159 0 0 2 2 00 00 160 0 0 2 2 00 00 161 0 0 2 2 00 00 162 0 0 2 2 00 00 163 0 0 2 2 00 00 164 0 0 2 2 00 00 165 0 0 2 2 00 00 166 0 0 2 2 00 00 167 0 0 2 2 00 00 }
and if you need to add server you gotna copy all thing of CoreServer to new folder and then open CoreServer.ini (The new one) and Edit this
STEP 3(FOR ADD NEW SERVER IF NOT ADD NOT DO IT)Code:Sys "2" Database "192.168.1.2 if you run on 2 computer just change this ip" PartyExpRate "1" 102 { 1 0 0 30 30 00 00 2 0 0 5 5 00 00 3 0 0 3 3 00 00 200 0 0 5 5 00 00 201 0 0 5 5 00 00 210 0 0 1 1 00 00 220 0 0 1 1 00 00 230 0 0 1 1 00 00 202 0 0 5 5 00 00 204 0 0 5 5 00 00 205 0 0 2 2 00 00 203 0 0 3 3 00 00 206 0 0 2 2 00 00 207 0 0 2 2 00 00 208 0 0 2 2 00 00 241 0 0 1 1 00 00 242 0 0 1 1 00 00 243 0 0 1 1 00 00 244 0 0 1 1 00 00 21 0 0 1 1 00 00 22 0 0 1 1 00 00 23 0 0 1 1 00 00 24 0 0 1 1 00 00 25 0 0 1 1 00 00 121 0 0 5 5 00 00 122 0 0 5 5 00 00 209 0 0 1 1 00 00 151 0 0 2 2 00 00 152 0 0 2 2 00 00 153 0 0 2 2 00 00 154 0 0 2 2 00 00 155 0 0 2 2 00 00 156 0 0 2 2 00 00 157 0 0 2 2 00 00 158 0 0 2 2 00 00 159 0 0 2 2 00 00 160 0 0 2 2 00 00 161 0 0 2 2 00 00 162 0 0 2 2 00 00 163 0 0 2 2 00 00 164 0 0 2 2 00 00 165 0 0 2 2 00 00 166 0 0 2 2 00 00 167 0 0 2 2 00 00 }
Open loginserver.ini and add this line like this
STEP 4Code:DB "192.168.1.2" <---- If you use 2 computer change this ip on computer 2 Core "192.168.1.2" AddCache( "192.168.1.2" ); AddCache( "192.168.1.9" ); <--- Add this line and put another computer ip if use 1 not do this guide same computer 1 and computer 2 gotna have same MSG_VER "20070712"
copy all of wordserver ting and create new folder and past on it and than OPEN WorldServer.ini(on new folder) and look down this
Example 1. I need to add channel 2 and key port is 201:Code:Sys 1 ResourceFolder "C:\V14\Resource" Key 101 DB "192.168.1.2" Core "192.168.1.2" LANG 1 18 Heartbeat 10101
Example 2. I need to add channel on server 2Code:Sys 1 ResourceFolder "C:\V14\Resource" Key 201 DB "192.168.1.2" Core "192.168.1.2" LANG 1 18 Heartbeat 10101 GUILDWAR 1 GUILDBANK 1 WORMON 1 DROPITEM_REMOVE 0 GUILDCOMBAT 1 ARENA 1 SCHOOL 0 PK 0 STEAL 0 PKCOST 1 RECOMMEND 0 RAINBOWRACE 0 SECRETROOM 1 GUILDCOMBAT1TO1 1
Example for who use 2 computer to run. I need to add channel 2Code:Sys 2 ResourceFolder "C:\V14\Resource" Key 102 DB "192.168.1.2" Core "192.168.1.2" LANG 1 18 Heartbeat 10101 GUILDWAR 1 GUILDBANK 1 WORMON 1 DROPITEM_REMOVE 0 GUILDCOMBAT 1 ARENA 1 SCHOOL 0 PK 0 STEAL 0 PKCOST 1 RECOMMEND 0 RAINBOWRACE 0 SECRETROOM 1 GUILDCOMBAT1TO1 1
How to runserverCode:Sys 1 ResourceFolder "C:\V14\Resource" Key 201 DB "192.168.1.2" Change this to host ip Core "192.168.1.2" Change this to host ip LANG 1 18 Heartbeat 10101 GUILDWAR 1 GUILDBANK 1 WORMON 1 DROPITEM_REMOVE 0 GUILDCOMBAT 1 ARENA 1 SCHOOL 0 PK 0 STEAL 0 PKCOST 1 RECOMMEND 0 RAINBOWRACE 0 SECRETROOM 1 GUILDCOMBAT1TO1 1
1.AccountServer.exe
2.DatabaseServer.exe
3.CoreServer.exe
4.Certifier.exe
5.LoginServer.exe
6.CacheServer.exe
7.WorldServer.exe
8.WorldServer Channel2.exe
or if you add new server
1.AccountServer.exe
2.DatabaseServer.exe
3.CoreServer.exe
4.CoreServer Server2.exe
5.Certifier.exe
6.LoginServer.exe
7.CacheServer.exe
8.WorldServer Channel 1 for server 2.exe
How to runserver for who use 2 computer
On computer 1 Run normal
and run this on computer 2
1.loginserver.exe
2.CacheServer.exe ( In .ini files change ip to host server)
3.WorldServer.exe
Enjoy for it and try to do it ^^