How to add new channel?

Results 1 to 2 of 2
  1. #1
    Proficient Member hatriks123 is offline
    MemberRank
    Aug 2012 Join Date
    NevarethLocation
    158Posts

    sad How to add new channel?

    How to add new channel in server?


  2. #2
    Banned GODSKIN is offline
    BannedRank
    Aug 2011 Join Date
    กรุงเLocation
    1,433Posts

    Re: How to add new channel?

    Code:
    --------------------------------------------------------
    Channel Number :
    
    1 - Trade
    2 - Novice
    3 - Guild
    4 ~ 20 -No name
    21 ~ 35 - Not Use
    36 37 38 39 40 43 44 45 46 47 - instantwars
    41 42 48 49 - Test Server
    
    --------------------------------------------------------
    
    Guide :
    
    ex) Make 3 Channel
    
    Step 1. - Make Simbolic Link
    
    cd /usr/bin
    ln -s /usr/bin/WorldSvr WorldSvr_01_02
    ln -s /usr/bin/WorldSvr WorldSvr_01_03
    ln -s /usr/bin/WorldSvr WorldSvr_01_07
    cd /etc/init.d
    ln -s /etc/init.d/cabal_server WorldSvr_01_02
    ln -s /etc/init.d/cabal_server WorldSvr_01_03
    ln -s /etc/init.d/cabal_server WorldSvr_01_07
    Step 2. -Edite .ini file & server_list
    
    cd /etc/cabal
    cp WorldSvr_01_09.ini WorldSvr_24_02.ini
    cp WorldSvr_24_01.ini WorldSvr_24_03.ini
    
    open - WorldSvr_24_02.ini
    ------------------------------
    [NetLib]
    Port=38111 <- modify Port=38112
    ...
    ...
    ...
    [WorldSvr]
    ServerIdx=24
    GroupIdx=1 <- modify u want Channel number
    -------------------------------
    
    open - WorldSvr_24_03.ini
    ------------------------------
    [NetLib]
    Port=38111 <- modify Port=38113
    ...
    ...
    ...
    [WorldSvr]
    ServerIdx=24
    GroupIdx=1 <- modify u want Channel number
    -------------------------------
    open - server_list
    -------------------------------
    GlobalDBAgent
    DBAgent_24
    GlobalMgrSvr
    ChatNode_24
    LoginSvr_01
    CashDBAgent
    WorldSvr_24_01
    WorldSvr_24_02 <-- Add
    WorldSvr_24_03 <-- Add
    -------------------------------
    
    Step 3. - Restart Cabal Server
    
    /etc/init.d/cabal restart
    or
    service cabal restart
    
    ps. sorry my english is bad 
    
    WorldSvr_01_01.ini - Port=38111
    WorldSvr_01_02.ini - Port=38112
    WorldSvr_01_03.ini - Port=38113
    
    ln -sf /usr/bin/WorldSvr /usr/bin/WorldSvr_01_02
    ln -sf /usr/bin/WorldSvr /usr/bin/WorldSvr_01_03
    
    ln -sf /etc/init.d/cabal_server /etc/init.d/WorldSvr_01_02
    ln -sf /etc/init.d/cabal_server /etc/init.d/WorldSvr_01_03
    
    chmod 0777 /usr/bin/WorldSvr*
    chmod 0777 /etc/init.d/WorldSvr*
    
    service WorldSvr_01_02 start
    service WorldSvr_01_02 start
    service WorldSvr_01_03 start 
    it is still necessary:
    
    - Change Ports
    01_01 - 38111
    01_02 - 38112
    01_03 - 38113
    01_04 - 38114
    01_05 - 38115
    01_06 - 38116
    01_07 - 38126
    01_08 - 38127
    
    AND Change GroupIdx
    
    01_01 - 1
    01_02 - 2
    01_03 - 3
    01_04 - 4
    01_05 - 5
    01_06 - 6
    01_07 - 7
    01_08 - 8
    
    
    Quote Originally Posted by jozefpawelec View Post
    its my own personal guide:
    
    
    To add chanel:
    
    - go to /usr/bin
    - copy WorldSvr_01_01 file
    - paste to some other location, rename file to WorldSvr_01_02
    - do same to create files WorldSvr_01_03/04/05/06/07
    - paste this files to /usr/bin
    - copy from Cabal8ServerFiles\etc\cabal , WorldSvr_01_02 - WorldSvr_01_07.ini files, copy to /etc/cabal, and change in every file, 3 times IPAddress to ur centOS IP ( u can use replace buttom, shortcut CTRL + H ), and save each file
    - in putty (or terminal) write chmod 0777 /usr/bin/WorldSvr_01_02 , and do same with 03/04/05/06/07 files
    - in putty (or terminal) write WorldSvr_01_02 start, and do same with 03/04/05/06/07 files
    
    
    
    ln -sf /usr/bin/WorldSvr /usr/bin/WorldSvr_01_04
    ln -sf /etc/init.d/cabal_server /etc/init.d/WorldSvr_01_04
    
    ln -sf /usr/bin/WorldSvr /usr/bin/WorldSvr_01_0
    ln -sf /etc/init.d/cabal_server /etc/init.d/WorldSvr_01_05
    
    ln -sf /usr/bin/WorldSvr /usr/bin/WorldSvr_01_06
    ln -sf /etc/init.d/cabal_server /etc/init.d/WorldSvr_01_06
    
    ln -sf /usr/bin/WorldSvr /usr/bin/WorldSvr_01_087
    ln -sf /etc/init.d/cabal_server /etc/init.d/WorldSvr_01_07
    
    ln -sf /usr/bin/WorldSvr /usr/bin/WorldSvr_01_08
    ln -sf /etc/init.d/cabal_server /etc/init.d/WorldSvr_01_08



Advertisement