ServerDev Development Community

We Want You (Editors, Developers) Let's Code
 
HomeRegisterLog in

Share | 
 

 Creating 2 or more servers!

View previous topic View next topic Go down 
AuthorMessage
RON
Administrator
Administrator
avatar

Posts : 63
Join date : 2013-09-08
Age : 20

PostSubject: Creating 2 or more servers!   Sat Jan 07, 2017 10:03 am

Hi,

On this tutorial I will explain how to create 2 or more Cabal servers.
So begin.

Well you will need databases of GAMEDB for characters and if you need different Cabal Cash for servers you need 2 databases of CabalCash.

Then you will need to create data2 folder or whatever you want, but u will need to config it later.

After that you need to create these files copys from first of them: CashDBAgent_02.ini, ChatNode_02.ini, Common2.ini (with all other like hardcore, halloween etc.), DBAgent_02.ini, WorldSvr_02_01.ini.

Later you need to config them like that:

CashDBAgent_02.ini:



Code:
[NetLib]
Port=38190 - change this to 38191
SendMaxBufSize=65536
SendMaxBufSizeUserHandler=131072
SendMaxBufSizeLinkHandler=1048576
ProcessDataLimit=30000
MaxUserNum=100
WatchsNoPackLimit=100000
SystemLogTTimeOut=100
ReactorTimeOut=-1
LogLevel=3

[DBAgent]
ServerIdx=1 - change this to 2
DBProcessTNum=10
DSN=CabalCash - change this to CabalCash2 if you need different CC

[DSN]

DBId=sa
DBPwd=you_password
DBAppName=CashDBAgent_01 - change this to CashDBAgent_02



ChatNode_02.ini:



Code:
[NetLib]
Port=38121 - change this to 38122
SendMaxBufSize=131072
SendMaxBufSizeUserHandler=131072
SendMaxBufSizeLinkHandler=1048576
ProcessDataLimit=10000
MaxUserNum=100
WatchsNoPackLimit=100000
SystemLogTTimeOut=100
ReactorTimeOut=-1
DisableReactorPipe=1
UseEncryptPacket=0
ConnectRetryTime=5000
ConnectRetryNum=50
LogLevel=3
MemPoolUnitSizeClass=2

[ChatNode]
ServerNationIdx=1 - change this to 2
ChatNodeIdx=1 - change this to 2
Timer=1:1000,2:10000
ProcessLayerTaskNum=8
NoNotifyTimeLimit=120000
NoResponseTimeout=180000
NoActiveLimitTime=120000
BroadCastOverServerNation=0

LogSay=0

; Min char level needed to create a guild
CharLevelForGuildCreate=40
; Allow guild messageboard
AllowGuildBoard=0

; Does it cost Alz to make a guild
; See [Guild] in Const.scp
UseGuildCreateFee=1


[DBAgent]
Addr=127.0.0.1
Port=38181 - change this to 38182

[GlobalMgrSvr]
Addr=127.0.0.1
Port=38170



Common2.ini (ant others):

Code:



[size=14][/size]
[size=14][ltr]; File: Common.ini
; Purpose: Tells the channel that loads it which other settings to load

; Each worldsvr can load a "common.ini" of any filename by using different
; CommonIniPath=Common.ini settings for each WorldSvr_XX_YY in file.
; A good example would be to have one channel using a common.ini with
; normal mmap files (mob spawns) and another channel using a different
; common.ini and different mmap files with tougher spawns.

[Global]
Warp=data2/Warp.scp
Mobs=data2/Mobs.scp
BelongItem=data2/BelongItem.scp
Item=data2/Item.scp
Core=data2/Core.scp
Rank=data2/Rank.scp
Skill=data2/Skill.scp
Const=data2/Const.scp
Level=data2/Level.scp
Quest=data2/Quest.scp
Terrain=data2/Terrain.scp
QuestDungeon=data2/QuestDungeon.scp
LuaScriptDir=data2/Script/
IPReport=ip.ini
Maze=data2/Maze.dat
MobsMap=data2/MobsMap.scp
RewardItem=data2/ItemReward.scp
Craft=data2/Craft.scp
OptionPool=data2/OptionPool.scp
Product=data2/Product.scp
CashItem=data2/CashItem.scp
SpecialItem=data2/SpecialItem.scp
;Which channels are accepted Tierra Gloriosa channels Ex:30,7
WarChannel=10,41,42,43,44,45,46,47,48,49
War=data2/War.scp
WarDefaultIniDir=data2/
MaxLevel=200
UseDummy=2
MaxRank=10

; SP regen rate
; Works when sitting only (not when dancing)
; SP points per regen cycle
SitDownSpValue=50
; Interval in secs
SitDownSpInterval=5

[Warmap-01]
MobsMap=data2/data_war/Warmap1.scp

; Bloody Ice
[World-01]
ThreadMap=data2/data_world/world1-tmap.bin
MobsMap=data2/data_world/world1-mmap.scp
Npc=data2/data_world/world1-npc.scp
Terrain=data2/data_world/world1-terrain.scp

; Desert Scream
[World-02]
ThreadMap=data2/data_world/world2-tmap.bin
MobsMap=data2/data_world/world2-mmap.scp
Npc=data2/data_world/world2-npc.scp
Terrain=data2/data_world/world2-terrain.scp

; Green Despair
[World-03]
ThreadMap=data2/data_world/world3-tmap.bin
MobsMap=data2/data_world/world3-mmap.scp
Npc=data2/data_world/world3-npc.scp
Terrain=data2/data_world/world3-terrain.scp

; Port Lux
[World-04]
ThreadMap=data2/data_world/world4-tmap.bin
MobsMap=data2/data_world/world4-mmap.scp
Npc=data2/data_world/world4-npc.scp
Terrain=data2/data_world/world4-terrain.scp

; Fort Ruina
[World-05]
ThreadMap=data2/data_world/world5-tmap.bin
MobsMap=data2/data_world/world5-mmap.scp
Npc=data2/data_world/world5-npc.scp
Terrain=data2/data_world/world5-terrain.scp

; Lakeside
[World-06]
;ĄĻ¹Żæłµå = 0, ´ųĄü = 1
WorldType=0
AllowedWar=1
ThreadMap=data2/data_world/world6-tmap.bin
MobsMap=data2/data_world/world6-mmap.scp
Npc=data2/data_world/world6-npc.scp
Terrain=data2/data_world/world6-terrain.scp

; Undead Ground
[World-07]
ThreadMap=data2/data_world/world7-tmap.bin
MobsMap=data2/data_world/world7-mmap.scp
Npc=data2/data_world/world7-npc.scp
Terrain=data2/data_world/world7-terrain.scp

; Forgotten Ruin
[World-08]
AllowedWar=1
ThreadMap=data2/data_world/world8-tmap.bin
MobsMap=data2/data_world/world8-mmap.scp
Npc=data2/data_world/world8-npc.scp
Terrain=data2/data_world/world8-terrain.scp

; Mutant Forest
[World-09]
AllowedWar=1
ThreadMap=data2/data_world/world9-tmap.bin
MobsMap=data2/data_world/world9-mmap.scp
Npc=data2/data_world/world9-npc.scp
Terrain=data2/data_world/world9-terrain.scp

; Pontus Ferrum
[World-10]
AllowedWar=1
ThreadMap=data2/data_world/world10-tmap.bin
MobsMap=data2/data_world/world10-mmap.scp
Npc=data2/data_world/world10-npc.scp
Terrain=data2/data_world/world10-terrain.scp

; Frozen Tower of Undead
[World-13]
;ĄĻ¹Żæłµå = 0, ´ųĄü = 1
WorldType= 1
ThreadMap=data2/data_world/world13-tmap.bin
MobsMap=data2/data_world/world13-mmap.scp
Npc=data2/data_world/world13-npc.scp
Terrain=data2/data_world/world13-terrain.scp

;Ruina Station
[World-14]
;ĄĻ¹Żæłµå = 0, ´ųĄü = 1
WorldType=1
ThreadMap=data2/data_world/world14-tmap.bin
MobsMap=data2/data_world/world14-mmap.scp
Npc=data2/data_world/world14-npc.scp
Terrain=data2/data_world/world14-terrain.scp

; War map (1 hour duration TimeAttackSec=3600)
[World-15]
;ĄĻ¹Żæłµå = 0, ´ųĄü = 1
WorldType=3
ThreadMap=data2/data_world/world15-tmap.bin
MobsMap=data2/data_world/world15-mmap.scp
Npc=data2/data_world/world15-npc.scp
Terrain=data2/data_world/world15-terrain.scp
TimeAttackSec=3600

; War lobby (30 minute wait TimeAttackSec=1800)
[World-16]
;ĄĻ¹Żæłµå = 0, ´ųĄü = 1
WorldType=2
ThreadMap=data2/data_world/world16-tmap.bin
MobsMap=data2/data_world/world16-mmap.scp
Npc=data2/data_world/world16-npc.scp
Terrain=data2/data_world/world16-terrain.scp
TimeAttackSec=1800

; Jail
[World-19]
ThreadMap=data2/data_world/world19-tmap.bin
MobsMap=data2/data_world/world19-mmap.scp
Npc=data2/data_world/world19-npc.scp
Terrain=data2/data_world/world19-terrain.scp

; Forgotten Temple
[World-23]
;ĄĻ¹Żæłµå = 0, ´ųĄü = 1
WorldType= 1
ThreadMap=data2/data_world/world23-tmap.bin
MobsMap=data2/data_world/world23-mmap.scp
Npc=data2/data_world/world23-npc.scp
Terrain=data2/data_world/world23-terrain.scp

; Volcanic Citadel
[World-24]
;ĄĻ¹Żæłµå = 0, ´ųĄü = 1
WorldType= 1
ThreadMap=data2/data_world/world24-tmap.bin
MobsMap=data2/data_world/world24-mmap.scp
Npc=data2/data_world/world24-npc.scp
Terrain=data2/data_world/world24-terrain.scp

; Exilian Volcano
[World-25]
;ĄĻ¹Żæłµå = 0, ´ųĄü = 1
WorldType= 1
ThreadMap=data2/data_world/world25-tmap.bin
MobsMap=data2/data_world/world25-mmap.scp
Npc=data2/data_world/world25-npc.scp
Terrain=data2/data_world/world25-terrain.scp

; Lake in Dusk
[World-26]
;ĄĻ¹Żæłµå = 0, ´ųĄü = 1
WorldType= 1
ThreadMap=data2/data_world/world26-tmap.bin
MobsMap=data2/data_world/world26-mmap.scp
Npc=data2/data_world/world26-npc.scp
Terrain=data2/data_world/world26-terrain.scp

; Dungeon world 3
[World-27]
;ĄĻ¹Żæłµå = 0, ´ųĄü = 1
WorldType= 1
ThreadMap=data2/data_world/world27-tmap.bin
MobsMap=data2/data_world/world27-mmap.scp
Npc=data2/data_world/world27-npc.scp
Terrain=data2/data_world/world27-terrain.scp

; Dungeon world 2
[World-28]
;ĄĻ¹Żæłµå = 0, ´ųĄü = 1
WorldType= 1
ThreadMap=data2/data_world/world28-tmap.bin
MobsMap=data2/data_world/world28-mmap.scp
Npc=data2/data_world/world28-npc.scp
Terrain=data2/data_world/world28-terrain.scp

; Dungeon world 1
[World-29]
;ĄĻ¹Żæłµå = 0, ´ųĄü = 1
WorldType= 1
ThreadMap=data2/data_world/world29-tmap.bin
MobsMap=data2/data_world/world29-mmap.scp
Npc=data2/data_world/world29-npc.scp
Terrain=data2/data_world/world29-terrain.scp

; Warp room
[World-30]
ThreadMap=data2/data_world/world30-tmap.bin
MobsMap=data2/data_world/world30-mmap.scp
Npc=data2/data_world/world30-npc.scp
Terrain=data2/data_world/world30-terrain.scp[/ltr][/size]
[size=14][/size]



All data to your second server folder name (eg. data2)
And edit in all Common2-halloween ant others.

DBAgent_02.ini:




Code:
[size=14][/size]
[size=14][ltr][NetLib]
[b]Port=38181[/b] - change this to 38182
SendMaxBufSize=65536
SendMaxBufSizeUserHandler=131072
SendMaxBufSizeLinkHandler=1048576
ProcessDataLimit=10000
MaxUserNum=2048
WatchsNoPackLimit=100000
SystemLogTTimeOut=100
ReactorTimeOut=-1
LogLevel=3
MemPoolUnitSizeClass=2

[DBAgent]
[b]ServerIdx=1[/b] - change this to 2
DBProcessTNum=5
[b]DSN=CabalGame[/b] - change this to CabalGame2

[DSN]
DBId=sa
DBPwd=you_password
[b]DBAppName=DBAgent_01[/b] - change this to DBAgent_02[/ltr][/size]
[size=14][/size]



WorldSvr_02_01.ini:



Code:
[NetLib]
Port=38111 - change this to 38211 (don't forgot to open these ports)
SendMaxBufSize=131072
SendMaxBufSizeUserHandler=131072
SendMaxBufSizeLinkHandler=1048576
ProcessDataLimit=10000
MaxUserNum=100
WatchsNoPackLimit=30000
UseEncryptPacket=1
SystemLogTTimeOut=100
ReactorTimeOut=100
DisableReactorPipe=1
ConnectRetryTime=5000
ConnectRetryNum=10
MemPoolUnitSizeClass=5
LogLevel=3

[WorldSvr]
ServerIdx=1 - change this to 2
GroupIdx=1
GlobalTimer=4:10000,5:5000,7:3600000,22:60000,8:2000
WorldTimer=1:100,2:150,3:3000,6:60000,8:2000,9:10000,14:2000,16:200,20:200,21:200
CommonIniPath=Common2-hardcore4x.ini - here config your channel type
IPAddress=YOUR_WAN_IP
UpdateInterval=300000


###################################
#### Cash Shop ####
###################################
# AllowCashShop (0|1)
# You must have a cash shop website set up
# Your client must also be hexed to the correct URL for your shop
AllowCashShop=1

#########################################
#### General Gameplay Options ####
#########################################
# Limit the levels of party members
UsePartyMinExpForInvalidPartyMember=1
# Limit the distance you can invite party members from
IgnorePartyInviteDistance=0
# Ignore some buff stacking?
UseIgnoreOtherBlessBuff=0

# Check the player's service type and
# limits inventory/warehouse slot usage
UseCheckInvenItemSlotByServiceType=0
UseBlessingBeadCheck=0

# Limit the number of odd circles a player can use in a dungeon
RestrictOddCircleUseCountInDungeon=1

#
UseArtOfDefensePenalty=1

#
UseMinLevDiffValueForExpCalc=1

#InstantWar
UseInstantWarNationReward=1




###################################
#### Channel options ####
###################################
# UsePvpBetting (0|1)
# Allow PvP honour betting?
# Known to cause crashes
UsePvpBetting=0

# UseMobsChaseModify (0|1)
# Use [MobChase] section in const.scp
# For increasing mob aggro ranges based on the WorldType in common.ini
UseMobsChaseModify=1

# UseDropDiscount (0|1)
# Enable [DropDiscount] section of const.scp
# For overriding specific item drops for events.
UseDropDiscount=1

# UseWorldDrop (0|1)
# Use drops from the terrain files
UseWorldDrop=1

# Limit how many personal shops can be opened?
UseTradeChannelRestriction=0
PShopOpenLimitCount=0
AllowTradeChannel=0

###################################
#### Hack checking options ####
###################################
UseHackcheckByTimeScope=0
UseCheckShopHack=0
UseCheckWarpHack=0
UseCheckWareHouseHack=0
UseCheckSkillCoolTimeHack=0
UseCheckDistanceSkillHack=0
UseCheckDeadStatActive=0
UseCheckDMZArea=0
UseCheckInventoryHack=0
UseCheckUserAttack=0
UseCheckDeadStatActive=0
ActiveDeadStatCount=30
SpeedHackCheckTime=10000
MaxAttackHackTime=300000
CheckSkillTimeHackScope=60000

# I *think* this turns off several of the
# client enc <-> server data checks.
UseCheckBelongItem=0
UseCheckMissionIdx=0
UseCheckDungeon=0

####################################
##### DB Alz hack checking #####
####################################
# UseAlzDbHackCheck (0|1)
# Check alz against reserved and reserved2 in the db.
# If invenory or warehouse alz don't match XORed copy log it
UseAlzDbHackCheck=0

# UseCutIfAlzDbHacked (0|1)
# As well as logging kick the player
# DO NOT edit Alz in the db directly if you enable this
UseCutIfAlzDbHacked=0

# Stores detected hack users in the DB
UseHackUserDBSave=1

# I *think* these are the number of hacks
# to detect before kicking the player
MaxTimeHackingCount=2
MaxDistanceHackingCount=2

######################################
#### Enable GM commands? ####
######################################
# UseAdminUser (0|1)
# Enable GM commands for GMs
# Must also be set up in LoginSvr config
UseAdminUser=1

############################################
#### Dungeon Instance options ####
############################################
# Instances are the temporary copies of dungeon maps you enter
# when going into a dungeon. These instances are why you don't
# all end up in the same dungeon. The maximum number of instances
# can be found in QuestDungeon.scp

# Allow additional mission dungeon instances in premium channels
UseAdditionalMissionDungeonInstanceInPremiumCH=0

# Allow additional mission dungeon instances for premium players
UseAdditionalMissionDungeonInstanceInPremiumUser=0

# Number of additional instances for the above
AdditionalMissionDungeonInstanceCount=0

###################################
#### Anti-addiction system ####
###################################
UseAntiOnlineGameAddictionSystem=1 ### LS = 0 , ITS = 1
InstantPlayTimeClearIntervalMin=300
InstantPlayTimeNotifyIntervalMin=1
advantageBoundaryTime0=10800
advantageBoundaryTime1=18000
InstantPlayTimeDebugMultiple=1

###################################
#### GameGuard ####
###################################
# UseGameGuardAuth (0|1)
UseGameGuardAuth=0
# The GameGuard library name
AddGameGuardName=libggauth2.so.0
# GameGuard check interval and timeout
GameGuardInterval=180000
NoResponseTimeout=180000

# UseApex (0|1)
# Usage not known
UseApex=0
# ApexModulePath
#ApexModulePath=./ApexProxy.dll
ApexModulePath=./ApexProxy.so

# UseNonClientCheck (0|1)
#Check if the client is the right version
UseNonClientCheck=0
NonClientDisAdvantageRate=90

# UseRandomValueWriteLog (0|1)
# Write random errors to logs
# Used to test log writing performance only
# Do not enable
UseRandomValueWriteLog=0

ExtraCount=5

[DBAgent]
Addr=127.0.0.1
Port=38181 - change this to 38182

[GlobalMgrSvr]
Addr=127.0.0.1
Port=38170

[CashDBAgent]
Addr=127.0.0.1
Port=38190 - change this to 38191 if you need different CC

[ChatNode]
AddrForServer=127.0.0.1
AddrForClient=YOUR_WAN_IP
Port=38121 - change this to 38122



Well you need to config GlobalMgrSvr.ini and add there second server channels types.



Code:
[NetLib]
Port=38170
SendMaxBufSize=65536
SendMaxBufSizeUserHandler=262144
SendMaxBufSizeLinkHandler=1048576
ProcessDataLimit=50000
MaxUserNum=500
WatchsNoPackLimit=100000
SystemLogTTimeOut=100
ReactorTimeOut=-1
ConnectRetryTime=5000
ConnectRetryNum=50
LogLevel=3

[GlobalMgrSvr]
Timer=1:10000
WorldMaxUserNum=100
NoNotifyTimeLimit=60000
DefaultServerOpen=1
LoadServerAndChannelType=1

# Channel Types
# 0 = normal
# 1 = PK
# 4 = Premium
# 5 = Premium PK
# 8 = War
# 12 = Premium War
# 16908368 = Nation Tierra Gloriosa
# 16777296

[DefaultServerCfg]
# Junior(ON),Warchannel(On)
ChannelType41=8
ChannelType42=8
MaxUserNum41=100
MaxUserNum42=100

# National
ChannelType36=16908368
ChannelType37=16908368
ChannelType38=16908368
ChannelType39=16908368
ChannelType40=16908368

# Personal
ChannelType43=16777296
ChannelType44=16777296
ChannelType45=16777296
ChannelType46=16777296
ChannelType47=16777296

ServerOpen36=1
ServerOpen37=1
ServerOpen38=1
ServerOpen39=1
ServerOpen40=1

ServerOpen43=1
ServerOpen44=1
ServerOpen45=1
ServerOpen46=1
ServerOpen47=1

# Max User
MaxUserNum36=100
MaxUserNum37=100
MaxUserNum38=100
MaxUserNum39=100
MaxUserNum40=100

MaxUserNum43=100
MaxUserNum44=100
MaxUserNum45=100
MaxUserNum46=100
MaxUserNum47=100

# Mercury - 4 channel setup
# Channel 1 (Novice) - Normal
[Server01]
ChannelType01=0
MaxUserNum01=100
ChannelType02=0
MaxUserNum02=100 - two channels at first server

# Venus - 1 channel setup
# Channel 1 (Novice) - PK
[Server02]
ChannelType01=0
MaxUserNum01=100
ChannelType02=0
MaxUserNum02=100 - two channels at second server

# Mars - 1 channel setup
# Channel 1 (Novice) - War
[Server03]
ChannelType01=0
MaxUserNum01=500
ChannelType02=0
MaxUserNum02=500
ChannelType03=8
MaxUserNum03=500
ChannelType10=16908368
MaxUserNum10=500

# Jupiter - 1 channel setup
# Channel 10 - Tierra Gloriosa
[Server04]
ChannelType10=16908368
MaxUserNum10=100

# Saturn - 2 channel setup
# Channel 1 (Novice) - Normal
# Channel 10 - Tierra Gloriosa
[Server05]
ChannelType01=0
MaxUserNum01=100
ChannelType10=16908368
MaxUserNum10=100

# Neptune - 3 channel setup
# Channel 1 (Novice) - Normal
# Channel 4 - War
# Channel 10 - Tierra Gloriosa
[Server06]
ChannelType01=0
MaxUserNum01=100
ChannelType04=8
MaxUserNum04=100
ChannelType10=16908368
MaxUserNum10=100

# Pluto - 3 channel setup
# Channel 1 (Novice) - PK
# Channel 4 - War
# Channel 10 - Tierra Gloriosa
[Server07]
ChannelType01=1
MaxUserNum01=100
ChannelType04=8
MaxUserNum04=100
ChannelType10=16908368
MaxUserNum10=100

# Leo - 4 channel setup
# Channel 1 (Novice) - Normal
# Channel 4 - Premium
# Channel 5 - Premium War
# Channel 10 - Tierra Gloriosa
[Server08]
ChannelType01=1
MaxUserNum01=100
ChannelType04=4
MaxUserNum04=100
ChannelType05=12
MaxUserNum05=100
ChannelType10=16908368
MaxUserNum10=100

# Sirius - 4 channel setup
# Channel 1 (Novice) - Normal
# Channel 2 (Trade) - Premium
# Channel 4 - War
# Channel 10 - Tierra Gloriosa
[Server09]
ChannelType01=1
MaxUserNum01=100
ChannelType02=4
MaxUserNum02=100
ChannelType04=8
MaxUserNum04=100
ChannelType10=16908368
MaxUserNum10=100

# Draco - 5 channel setup
# Channel 1 (Novice) - Normal
# Channel 2 (Trade) - Premium
# Channel 4 - Premium PK
# Channel 5 - Premium War
# Channel 10 - Tierra Gloriosa
[Server10]
# Adult(On)
ChannelType01=0
MaxUserNum01=100
ChannelType02=4
MaxUserNum02=100
ChannelType04=5
MaxUserNum04=100
ChannelType05=12
MaxUserNum05=100
ChannelType10=16908368
MaxUserNum10=100

# Test Server 24
# Channel 1 (Novice) - PK
[Server24]
# Adult(On)
ChannelType01=1
MaxUserNum01=100


#### Multi-server configs ####

# Duality 11 + 12
[Server11]
ChannelType01=0
MaxUserNum01=100

[Server12]
ChannelType01=8
MaxUserNum01=100


# Divinity 18 + 19 + 20
[Server18]
ChannelType01=0
MaxUserNum01=100
ChannelType02=1
MaxUserNum02=100

[Server19]
ChannelType01=0
MaxUserNum01=100
ChannelType02=1
MaxUserNum02=100

[Server20]
ChannelType01=0
MaxUserNum01=100
ChannelType02=1
MaxUserNum02=100

[DBAgent]
Addr=127.0.0.1
Port=38180



After these configs you need to create links to all your new server.

You need run this on Putty or Terminal.

Code:



[size=14][/size]
[size=14][ltr][b]Linking CashDBAgent_02[/b] if you need it

cd /usr/bin
ln -s /usr/bin/DBAgent CashDBAgent_02

cd /etc/init.d
ln -s /etc/init.d/cabal_server CashDBAgent_02

[b]Linking ChatNode_02[/b]

cd /usr/bin
ln -s /usr/bin/ChatNode ChatNode_02

cd /etc/init.d
ln -s /etc/init.d/cabal_server ChatNode_02

[b]Linking DBAgent_02[/b]

cd /usr/bin
ln -s /usr/bin/DBAgent DBAgent_02

cd /etc/init.d
ln -s /etc/init.d/cabal_server DBAgent_02

[b]Linking WorldSvr_02_01[/b]

cd /usr/bin
ln -s /usr/bin/WorldSvr WorldSvr_02_01

cd /etc/init.d
ln -s /etc/init.d/cabal_server WorldSvr_02_01

[b]Done![/b][/ltr][/size]
[size=14][/size]

Now you need to config ODBC.
You can find it in /etc/ folder

ODBC.ini:



Code:
[CabalGame]
Driver = FreeTDS
Address = 192.168.1.2
Port = 1433
Database = GAMEDB
TDS_Version = 8.0

[CabalGame2]
Driver = FreeTDS
Address = 192.168.1.2
Port = 1433
Database = GAMEDB2
TDS_Version = 8.0 - you need to add this

[CabalAccount]
Driver = FreeTDS
Address = 192.168.1.2
Port = 1433
Database = ACCOUNT
TDS_Version = 8.0

[CabalCash]
Driver = FreeTDS
Address = 192.168.1.2
Port = 1433
Database = CabalCash
TDS_Version = 8.0

[CabalCash2]
Driver = FreeTDS
Address = 192.168.1.2
Port = 1433
Database = CabalCash2
TDS_Version = 8.0 - you need to add this if you need



I didn't remember but I think that you will need to rename CashDBAgent.ini to CashDBAgent_01.ini and link it, because I think it is default, same I think and with ChatNode.ini and maybe DBAgent.

And for end you need to add your server to server_list file.

server_list:




Code:
[size=14][/size]
[size=14][ltr]GlobalDBAgent
GlobalMgrSvr
CashDBAgent_01
[b]CashDBAgent_02[/b]
DBAgent_01
[b]DBAgent_02[/b]
ChatNode_01
[b]ChatNode_02[/b]
WorldSvr_01_01
[b]WorldSvr_02_01[/b]
LoginSvr_01[/ltr][/size]
[size=14][/size]

I hope I helped you 

USE LIKE BUTTON!!!

Credits to Just_Rytis and chumpywumpy ( Thank you for help )
Back to top Go down
http://serverdevelopment.forumtl.com
 
Creating 2 or more servers!
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Creating a rFactor server.
» How to make your WoW work on NetEase servers.
» Proxyservice to play WOTLK on european servers
» Advice for creating a toy room
» 10 Days trial on TW servers?

Permissions in this forum:You cannot reply to topics in this forum
ServerDev Development Community :: Cabal Online :: Cabal Guides & Templates-
Jump to: