[Interserver] Using two VPS?

Results 1 to 2 of 2
  1. #1
    Account Upgraded | Title Enabled! AaronzitoBr is offline
    MemberRank
    Apr 2010 Join Date
    Rio de JaneiroLocation
    390Posts

    sad [Interserver] Using two VPS?

    So, I'm using a new vps with 4GB just to open Elysium. I know that one VPS can open it too, but I thought it was easier to do this way, also the server wont go out of RAM for realms in the original server.

    I followed this tutorial http://forum.ragezone.com/f618/guide...server-898904/ but I can't manage to make it work.

    I have put the folders of interserver/brahmaserver in the VPS with already has the 16 class files (I used it as a testserver before). I have changed the paths to match my configuration:

    [interserver vps] root/Server/gamed/gs.conf:
    Code:
    [WallowLight]
    exp                     = 0.5f
    sp                      = 0.5f
    item                    = 0.5f
    money                   = 0.5f
    task_exp                = 0.5f
    task_sp                 = 0.5f
    task_money              = 0.5f
    
    [WallowHeavy]
    exp                     = 0
    sp                      = 0
    item                    = 0
    money                   = 0
    task_exp                = 0
    task_sp                 = 0
    task_money              = 0
    
    [WallowTime]
    TimeLight               = 10
    TimeHeavy               = 20
    TimeClear               = 15
    ClearMode               = RestTime
    
    [Param]
    ;未使用
    forbid_trade  =  0
    
    
    [DoubleExp]
    ;起始时间          分 时 日(周中)
    clear_day  = 0  1  1
    ;起始时的时间积累数(秒)
    first_rest_time  = 3600
    ;每次增加时间所需要的时间间隔 小时
    rest_period   = 24
    ;每次时间间隔增加的时间(秒)
    rest_time_unit  = 0
    ;最大积累时间(秒)
    max_rest_time  = 25200
    
    [AddrAlias]
    TEST   = 127.0.0.1
    
    [MoveMap]
    Path   = movemap/PfMap.cfg
    WaterPath  = watermap/1.wmap
    AirPath   = airmap
    
    [Script]
    GlobalScript            = /root/Server/gamed/global_script.lua
    
    [Template]
    Root   = /root/Server/gamed/config/
    itemDataFile  = elements.data
    QuestPackage  = tasks.data
    QuestPackage2  = dyn_tasks.data
    QuestForbid             = forbidden_task.txt
    PolicyData  = aipolicy.data
    DropData  = extra_drops.sev
    MallData                = gshop.data
    LuaData                 = global_api.lua
    CollisionElement    = elements.nmd
    RegionFile  = precinct.sev
    RegionFile2  = region.sev
    NPCGenFile  = npcgen.data
    PathFile  = path.sev
    PocketItemFile          = item_pocketable.txt
    BonusMallData           = gshop1.data
    AchievementFile  = achieve.txt
    QuestNPCInfo  = task_npc.data
    ConsignItemListFile    = consign_item_list.txt
    ZoneMallData  = gshop2.data
    VipAwardData  = vipaward.data
    
    #grid的格式是 {行数,列数,单元格的大小,起始x坐标,起始y坐标
    #grid的大小范围是{startx,starty,startx + column *step,starty + row*column}格式是 {left,top,right,bottom}
    #本地区域,表示这个服务器管辖的区域,超出这个区域应该进行服务其跳转
    [World_gs32]
    index                   =       32
    tag                     =       32
    cid                     =       18,2,13
    base_path               =       z32/
    max_sight_range         =       30
    grid                    =       {70,70,20.5,-717.5,-717.5}
    local_region            =       {-512,-512.0} , {512.0,512.0}
    limit                   =       allow-root;nothrow;no-market;no-shop;
    player_capacity         =       4096
    
    [Terrain_gs32]
    szMapPath               = map
    nAreaWidth              = 512
    nAreaHeight             = 512
    nNumAreas               = 1
    nNumCols                = 1
    nNumRows                = 1
    vGridSize               = 2.0f
    vHeightMin              = 0.0f
    vHeightMax              = 800.0f
    
    #--------------------------------------------------------------------------------------
    
    [World_gs615]
    index                   =       615
    tag                     =       615
    cid                     =       18,2,13
    base_path               =       e15/
    max_sight_range         =       30
    grid                    =       {70,70,20.5,-717.5,-717.5}
    local_region            =       {-512,-512.0} , {512.0,512.0}
    save_point              =       615,-398,175,138
    limit                   =       allow-root;no-couple-jump;use-save-point;nothrow;no-market;no-shop;no-trade;no-fly;
    player_capacity         =       4096
    
    [Terrain_gs615]
    szMapPath               = map
    nAreaWidth              = 512
    nAreaHeight             = 512
    nNumAreas               = 1
    nNumCols                = 1
    nNumRows                = 1
    vGridSize               = 2.0f
    vHeightMin              = 0.0f
    vHeightMax              = 800.0f
    
    #--------------------------------------------------------------------------------------
    
    [World_bg01]
    is_battle_world         = 1
    battle_id               = 1
    battle_max_player_count = 15
    battle_need_level_min = 105
    battle_need_level_max = 119
    battle_kickout_time_min = 10
    battle_kickout_time_max = 20
    battle_kickout_close_time = 30
    index                   =       101
    tag                     =       101
    cid                     =       10001,2,13
    base_path               =       b01/
    max_sight_range         =       30
    grid                    =       {70,70,20.5,-717.5,-717.5}
    local_region            =       {-512,-512.0} , {512.0,512.0}
    limit                   =       allow-root;no-couple-jump;noduel;can-use-battleground-skill-mater;faction-team;
    player_capacity         =       4096
    
    [Terrain_bg01]
    szmappath               = map
    nareawidth              = 512
    nareaheight             = 512
    nnumareas               = 1
    nnumcols                = 1
    nnumrows                = 1
    vgridsize               = 2.0f
    vheightmin              = 0.0f
    vheightmax              = 800.0f
    #--------------------------------------------------------------------------------------
    
    [World_bg02]
    is_battle_world         = 1
    battle_id               = 2
    battle_max_player_count = 15
    battle_need_level_min = 120
    battle_need_level_max = 134
    battle_kickout_time_min = 10
    battle_kickout_time_max = 20
    battle_kickout_close_time = 30
    index                   =       102
    tag                     =       102
    cid                     =       10001,2,13
    base_path               =       b02/
    max_sight_range         =       30
    grid                    =       {70,70,20.5,-717.5,-717.5}
    local_region            =       {-512,-512.0} , {512.0,512.0}
    limit                   =       allow-root;no-couple-jump;noduel;can-use-battleground-skill-mater;faction-team;
    player_capacity         =       4096
    
    [Terrain_bg02]
    szmappath               = map
    nareawidth              = 512
    nareaheight             = 512
    nnumareas               = 1
    nnumcols                = 1
    nnumrows                = 1
    vgridsize               = 2.0f
    vheightmin              = 0.0f
    vheightmax              = 800.0f
    #--------------------------------------------------------------------------------------
    
    [World_bg03]
    is_battle_world         = 1
    battle_id               = 1
    battle_max_player_count = 15
    battle_need_level_min = 105
    battle_need_level_max = 119
    battle_kickout_time_min = 10
    battle_kickout_time_max = 20
    battle_kickout_close_time = 30
    index                   =       103
    tag                     =       103
    cid                     =       10001,2,13
    base_path               =       b01/
    max_sight_range         =       30
    grid                    =       {70,70,20.5,-717.5,-717.5}
    local_region            =       {-512,-512.0} , {512.0,512.0}
    limit                   =       allow-root;no-couple-jump;noduel;can-use-battleground-skill-mater;faction-team;
    player_capacity         =       4096
    
    [Terrain_bg03]
    szmappath               = map
    nareawidth              = 512
    nareaheight             = 512
    nnumareas               = 1
    nnumcols                = 1
    nnumrows                = 1
    vgridsize               = 2.0f
    vheightmin              = 0.0f
    vheightmax              = 800.0f
    #--------------------------------------------------------------------------------------
    
    [World_bg04]
    is_battle_world         = 1
    battle_id               = 2
    battle_max_player_count = 15
    battle_need_level_min = 120
    battle_need_level_max = 134
    battle_kickout_time_min = 10
    battle_kickout_time_max = 20
    battle_kickout_close_time = 30
    index                   =       104
    tag                     =       104
    cid                     =       10001,2,13
    base_path               =       b02/
    max_sight_range         =       30
    grid                    =       {70,70,20.5,-717.5,-717.5}
    local_region            =       {-512,-512.0} , {512.0,512.0}
    limit                   =       allow-root;no-couple-jump;noduel;can-use-battleground-skill-mater;faction-team;
    player_capacity         =       4096
    
    [Terrain_bg04]
    szmappath               = map
    nareawidth              = 512
    nareaheight             = 512
    nnumareas               = 1
    nnumcols                = 1
    nnumrows                = 1
    vgridsize               = 2.0f
    vheightmin              = 0.0f
    vheightmax              = 800.0f
    #--------------------------------------------------------------------------------------
    
    [World_bg05]
    is_battle_world         = 1
    battle_id               = 3
    battle_max_player_count = 15
    battle_need_level_min = 90
    battle_need_level_max = 104
    battle_kickout_time_min = 10
    battle_kickout_time_max = 20
    battle_kickout_close_time = 30
    index                   =       105
    tag                     =       105
    cid                     =       10001,2,13
    base_path               =       b03/
    max_sight_range         =       30
    grid                    =       {70,70,20.5,-717.5,-717.5}
    local_region            =       {-512,-512.0} , {512.0,512.0}
    limit                   =       allow-root;no-couple-jump;noduel;can-use-battleground-skill-mater;faction-team;
    player_capacity         =       4096
    
    [Terrain_bg05]
    szmappath               = map
    nareawidth              = 512
    nareaheight             = 512
    nnumareas               = 1
    nnumcols                = 1
    nnumrows                = 1
    vgridsize               = 2.0f
    vheightmin              = 0.0f
    vheightmax              = 800.0f
    #--------------------------------------------------------------------------------------
    
    [World_bg06]
    is_battle_world         = 1
    battle_id               = 3
    battle_max_player_count = 15
    battle_need_level_min = 90
    battle_need_level_max = 104
    battle_kickout_time_min = 10
    battle_kickout_time_max = 20
    battle_kickout_close_time = 30
    index                   =       106
    tag                     =       106
    cid                     =       10001,2,13
    base_path               =       b03/
    max_sight_range         =       30
    grid                    =       {70,70,20.5,-717.5,-717.5}
    local_region            =       {-512,-512.0} , {512.0,512.0}
    limit                   =       allow-root;no-couple-jump;noduel;can-use-battleground-skill-mater;faction-team;
    player_capacity         =       4096
    
    [Terrain_bg06]
    szmappath               = map
    nareawidth              = 512
    nareaheight             = 512
    nnumareas               = 1
    nnumcols                = 1
    nnumrows                = 1
    vgridsize               = 2.0f
    vheightmin              = 0.0f
    vheightmax              = 800.0f
    #--------------------------------------------------------------------------------------
    
    [World_bg07]
    is_battle_world         = 1
    battle_id               = 4
    battle_max_player_count = 15
    battle_need_level_min = 135
    battle_need_level_max = 150
    battle_kickout_time_min = 10
    battle_kickout_time_max = 20
    battle_kickout_close_time = 30
    index                   =       107
    tag                     =       107
    cid                     =       10001,2,13
    base_path               =       b04/
    max_sight_range         =       30
    grid                    =       {70,70,20.5,-717.5,-717.5}
    local_region            =       {-512,-512.0} , {512.0,512.0}
    limit                   =       allow-root;no-couple-jump;noduel;can-use-battleground-skill-mater;faction-team;
    player_capacity         =       4096
    
    [Terrain_bg07]
    szmappath               = map
    nareawidth              = 512
    nareaheight             = 512
    nnumareas               = 1
    nnumcols                = 1
    nnumrows                = 1
    vgridsize               = 2.0f
    vheightmin              = 0.0f
    vheightmax              = 800.0f
    #--------------------------------------------------------------------------------------
    
    [World_bg08]
    is_battle_world         = 1
    battle_id               = 4
    battle_max_player_count = 15
    battle_need_level_min = 135
    battle_need_level_max = 150
    battle_kickout_time_min = 10
    battle_kickout_time_max = 20
    battle_kickout_close_time = 30
    index                   =       108
    tag                     =       108
    cid                     =       10001,2,13
    base_path               =       b04/
    max_sight_range         =       30
    grid                    =       {70,70,20.5,-717.5,-717.5}
    local_region            =       {-512,-512.0} , {512.0,512.0}
    limit                   =       allow-root;no-couple-jump;noduel;can-use-battleground-skill-mater;faction-team;
    player_capacity         =       4096
    
    [Terrain_bg08]
    szmappath               = map
    nareawidth              = 512
    nareaheight             = 512
    nnumareas               = 1
    nnumcols                = 1
    nnumrows                = 1
    vgridsize               = 2.0f
    vheightmin              = 0.0f
    vheightmax              = 800.0f
    #--------------------------------------------------------------------------------------
    #--------------------------------------------------------------------------------------
    
    [World_bg22]
    is_battle_world         = 1
    battle_id               = 7
    battle_type  = 3
    battle_max_player_count = 15
    battle_need_level_min = 90
    battle_need_level_max = 104
    reborn_count_need    = 1
    battle_kickout_time_min = 10
    battle_kickout_time_max = 20
    battle_kickout_close_time = 30
    index                   =       122
    tag                     =       122
    cid                     =       10001,2,13
    base_path               =       b21/
    max_sight_range         =       30
    grid                    =       {70,70,20.5,-717.5,-717.5}
    local_region            =       {-512,-512.0} , {512.0,512.0}
    limit                   =       allow-root;no-couple-jump;noduel;faction-team;
    player_capacity         =       4096
    
    [Terrain_bg22]
    szmappath               = map
    nareawidth              = 512
    nareaheight             = 512
    nnumareas               = 1
    nnumcols                = 1
    nnumrows                = 1
    vgridsize               = 2.0f
    vheightmin              = 0.0f
    vheightmax              = 800.0f
    #--------------------------------------------------------------------------------------
    
    [World_bg23]
    is_battle_world         = 1
    battle_id               = 8
    battle_type  = 3
    battle_max_player_count = 15
    battle_need_level_min = 105
    battle_need_level_max = 119
    reborn_count_need    = 1
    battle_kickout_time_min = 10
    battle_kickout_time_max = 20
    battle_kickout_close_time = 30
    index                   =       123
    tag                     =       123
    cid                     =       10001,2,13
    base_path               =       b22/
    max_sight_range         =       30
    grid                    =       {70,70,20.5,-717.5,-717.5}
    local_region            =       {-512,-512.0} , {512.0,512.0}
    limit                   =       allow-root;no-couple-jump;noduel;faction-team;
    player_capacity         =       4096
    
    [Terrain_bg23]
    szmappath               = map
    nareawidth              = 512
    nareaheight             = 512
    nnumareas               = 1
    nnumcols                = 1
    nnumrows                = 1
    vgridsize               = 2.0f
    vheightmin              = 0.0f
    vheightmax              = 800.0f
    #--------------------------------------------------------------------------------------
    
    [World_bg24]
    is_battle_world         = 1
    battle_id               = 8
    battle_type  = 3
    battle_max_player_count = 15
    battle_need_level_min = 105
    battle_need_level_max = 119
    reborn_count_need    = 1
    battle_kickout_time_min = 10
    battle_kickout_time_max = 20
    battle_kickout_close_time = 30
    index                   =       124
    tag                     =       124
    cid                     =       10001,2,13
    base_path               =       b22/
    max_sight_range         =       30
    grid                    =       {70,70,20.5,-717.5,-717.5}
    local_region            =       {-512,-512.0} , {512.0,512.0}
    limit                   =       allow-root;no-couple-jump;noduel;faction-team;
    player_capacity         =       4096
    
    [Terrain_bg24]
    szmappath               = map
    nareawidth              = 512
    nareaheight             = 512
    nnumareas               = 1
    nnumcols                = 1
    nnumrows                = 1
    vgridsize               = 2.0f
    vheightmin              = 0.0f
    vheightmax              = 800.0f
    #--------------------------------------------------------------------------------------
    
    [World_bg25]
    is_battle_world         = 1
    battle_id               = 9
    battle_type  = 3
    battle_max_player_count = 15
    battle_need_level_min = 120
    battle_need_level_max = 134
    reborn_count_need    = 1
    battle_kickout_time_min = 10
    battle_kickout_time_max = 20
    battle_kickout_close_time = 30
    index                   =       125
    tag                     =       125
    cid                     =       10001,2,13
    base_path               =       b23/
    max_sight_range         =       30
    grid                    =       {70,70,20.5,-717.5,-717.5}
    local_region            =       {-512,-512.0} , {512.0,512.0}
    limit                   =       allow-root;no-couple-jump;noduel;faction-team;
    player_capacity         =       4096
    
    [Terrain_bg25]
    szmappath               = map
    nareawidth              = 512
    nareaheight             = 512
    nnumareas               = 1
    nnumcols                = 1
    nnumrows                = 1
    vgridsize               = 2.0f
    vheightmin              = 0.0f
    vheightmax              = 800.0f
    #--------------------------------------------------------------------------------------
    
    [World_bg26]
    is_battle_world         = 1
    battle_id               = 9
    battle_type  = 3
    battle_max_player_count = 15
    battle_need_level_min = 120
    battle_need_level_max = 134
    reborn_count_need    = 1
    battle_kickout_time_min = 10
    battle_kickout_time_max = 20
    battle_kickout_close_time = 30
    index                   =       126
    tag                     =       126
    cid                     =       10001,2,13
    base_path               =       b23/
    max_sight_range         =       30
    grid                    =       {70,70,20.5,-717.5,-717.5}
    local_region            =       {-512,-512.0} , {512.0,512.0}
    limit                   =       allow-root;no-couple-jump;noduel;faction-team;
    player_capacity         =       4096
    
    [Terrain_bg26]
    szmappath               = map
    nareawidth              = 512
    nareaheight             = 512
    nnumareas               = 1
    nnumcols                = 1
    nnumrows                = 1
    vgridsize               = 2.0f
    vheightmin              = 0.0f
    vheightmax              = 800.0f
    #--------------------------------------------------------------------------------------
    
    [World_bg27]
    is_battle_world         = 1
    battle_id               = 10
    battle_type  = 3
    battle_max_player_count = 15
    battle_need_level_min = 135
    battle_need_level_max = 150
    reborn_count_need    = 1
    battle_kickout_time_min = 10
    battle_kickout_time_max = 20
    battle_kickout_close_time = 30
    index                   =       127
    tag                     =       127
    cid                     =       10001,2,13
    base_path               =       b24/
    max_sight_range         =       30
    grid                    =       {70,70,20.5,-717.5,-717.5}
    local_region            =       {-512,-512.0} , {512.0,512.0}
    limit                   =       allow-root;no-couple-jump;noduel;faction-team;
    player_capacity         =       4096
    
    [Terrain_bg27]
    szmappath               = map
    nareawidth              = 512
    nareaheight             = 512
    nnumareas               = 1
    nnumcols                = 1
    nnumrows                = 1
    vgridsize               = 2.0f
    vheightmin              = 0.0f
    vheightmax              = 800.0f
    #--------------------------------------------------------------------------------------
    
    [World_bg28]
    is_battle_world         = 1
    battle_id               = 10
    battle_type  = 3
    battle_max_player_count = 15
    battle_need_level_min = 135
    battle_need_level_max = 150
    reborn_count_need    = 1
    battle_kickout_time_min = 10
    battle_kickout_time_max = 20
    battle_kickout_close_time = 30
    index                   =       128
    tag                     =       128
    cid                     =       10001,2,13
    base_path               =       b24/
    max_sight_range         =       30
    grid                    =       {70,70,20.5,-717.5,-717.5}
    local_region            =       {-512,-512.0} , {512.0,512.0}
    limit                   =       allow-root;no-couple-jump;noduel;faction-team;
    player_capacity         =       4096
    
    [Terrain_bg28]
    szmappath               = map
    nareawidth              = 512
    nareaheight             = 512
    nnumareas               = 1
    nnumcols                = 1
    nnumrows                = 1
    vgridsize               = 2.0f
    vheightmin              = 0.0f
    vheightmax              = 800.0f
    #宋金战场
    #--------------------------------------------------------------------------------------
    #--------------------------------------------------------------------------------------
    
    [World_bg21]
    is_battle_world         = 1
    battle_id               = 7
    battle_type  = 3
    battle_max_player_count = 15
    battle_need_level_min =    90
    battle_need_level_max = 104
    reborn_count_need    = 1
    battle_kickout_time_min = 10
    battle_kickout_time_max = 20
    battle_kickout_close_time = 30
    index                   =       121
    tag                     =       121
    cid                     =       10001,2,13
    base_path               =       b21/
    max_sight_range         =       30
    grid                    =       {70,70,20.5,-717.5,-717.5}
    local_region            =       {-512,-512.0} , {512.0,512.0}
    limit                   =       allow-root;no-couple-jump;noduel;faction-team;
    player_capacity         =       4096
    
    [Terrain_bg21]
    szmappath               = map
    nareawidth              = 512
    nareaheight             = 512
    nnumareas               = 1
    nnumcols                = 1
    nnumrows                = 1
    vgridsize               = 2.0f
    vheightmin              = 0.0f
    vheightmax              = 800.0f
    #--------------------------------------------------------------------------------------
    #--------------------------------------------------------------------------------------
    
    [World_bg09]
    is_battle_world         = 1
    battle_id               = 5
    battle_type             = 1
    battle_max_player_count = 20
    battle_need_level_min = 1
    battle_need_level_max = 150
    battle_kickout_time_min = 10
    battle_kickout_time_max = 20
    battle_kickout_close_time = 30
    index                   =       109
    tag                     =       109
    cid                     =       10007,2,13
    base_path               =       b05/
    max_sight_range         =       30
    grid                    =       {70,70,20.5,-717.5,-717.5}
    local_region            =       {-512,-512.0} , {512.0,512.0}
    save_point              =       1,204,172,117
    limit                   =       allow-root;faction-team;no-fly;no-couple-jump;noduel;use-save-point;
    player_capacity         =       4096
    
    [Terrain_bg09]
    szmappath               = map
    nareawidth              = 512
    nareaheight             = 512
    nnumareas               = 1
    nnumcols                = 1
    nnumrows                = 1
    vgridsize               = 2.0f
    vheightmin              = 0.0f
    vheightmax              = 800.0f
    #--------------------------------------------------------------------------------------
    
    [World_bg10]
    is_battle_world         = 1
    battle_id               = 5
    battle_type             = 1
    battle_max_player_count = 20
    battle_need_level_min = 1
    battle_need_level_max = 150
    battle_kickout_time_min = 10
    battle_kickout_time_max = 20
    battle_kickout_close_time = 30
    index                   =       110
    tag                     =       110
    cid                     =       10007,2,13
    base_path               =       b05/
    max_sight_range         =       30
    grid                    =       {70,70,20.5,-717.5,-717.5}
    local_region            =       {-512,-512.0} , {512.0,512.0}
    save_point              =       1,204,172,117
    limit                   =       allow-root;faction-team;no-fly;no-couple-jump;noduel;use-save-point;
    player_capacity         =       4096
    
    [Terrain_bg10]
    szmappath               = map
    nareawidth              = 512
    nareaheight             = 512
    nnumareas               = 1
    nnumcols                = 1
    nnumrows                = 1
    vgridsize               = 2.0f
    vheightmin              = 0.0f
    vheightmax              = 800.0f
    #--------------------------------------------------------------------------------------
    [interserver] root/Server/gamed/gsalias.conf

    Code:
    [Identify]
    ServerID=1
    Name = Royaume Celeste
    
    [General]
    zone_servers  =    gs32;gs615;;bg01;bg02;bg03;bg04;bg05;bg06;bg07;bg08;bg09;bg10;bg21;bg22;bg23;bg24;bg25;bg26;bg27;bg28;
    ZoneServer  =    true
    pk_forbidden   =    false
    is_central_gs  =    true
    [interserver] root/Server/gamedbd/gamesys.conf

    Code:
    [GameDBServer]
    zoneid=2031
    aid=11
    type   =    tcp
    port   =    29400
    address   =    0.0.0.0
    so_sndbuf  =    16384
    so_rcvbuf  =    16384
    ibuffermax  =    1048576
    obuffermax  =    1048576
    tcp_nodelay  =    0
    listen_backlog    =    10
    accumulate  =    16777216
    is_central_db  =  true
    
    [LogclientClient]
    type   =    udp
    port   =    11100
    address   =    127.0.0.1
    so_sndbuf  =    16384
    so_rcvbuf  =    16384
    ibuffermax  =    16384
    obuffermax  =    1048576
    accumulate  =    1048576
    
    [LogclientTcpClient]
    type   =    tcp
    port   =    11101
    address   =    127.0.0.1
    so_sndbuf  =    16384
    so_rcvbuf  =    16384
    ibuffermax  =    16384
    obuffermax  =    1048576
    accumulate  =    1048576
    
    [storage]
    homedir   =    /root/Server/db/gdb
    datadir   =    dbdata
    logdir   =    dblogs
    backupdir  =    /root/Server/db/backup
    cachesize  =    16777216
    errpfx   =    Storage
    checkpoint_interval    =    60
    backup_lockfile    =    /tmp/.lockgamedbd
    quit_lockfile    =    /tmp/.quitgamedbd
    compress  =    1
    
    [storagewdb]
    homedir   =    /root/Server/db/gdbwdb
    datadir   =    dbdata
    logdir   =    dblogs
    backupdir  =    /root/Server/db/backup
    checkpoint_interval    =    60
    times_incbackup  =    1
    tables   =    auction,clsconfig,faction,factionname,inventory,messages,storehouse,top,user,base,config,friends,mailbox,rolename,status,task,waitdel,order,shoplog,gtask,family,familyname,citystore,syslog,sect,commondata,snsplayerinfo,snsmessage,clrrole,base2,referral,hometown,achievement,uniqueauction,circle,consign,finished_consign,gtactivate,friendcallback,award,dropcounter,rolenamehis
    cache_high_default  =    8000
    cache_low_default  =    7500
    base_cache_high   =    50000
    base_cache_low   =    45000
    status_cache_high  =    50000
    status_cache_low  =    45000
    inventory_cache_high    =    50000
    inventory_cache_low  =    45000
    task_cache_high   =    50000
    task_cache_low   =    45000
    backup_lockfile   =    /tmp/.lockgamedbd
    quit_lockfile   =    /tmp/.quitgamedbd
    
    [gamedbd]
    noimportclsconfig    =    1
    ;rolenameprefix  =    A
    rolenamesuffix  =    B
    ;factionnameprefix    =    A
    factionnamesuffix    =    B
    ;familynameprefix    =    A
    familynamesuffix    =    B
    allow_modify_inventory=1
    
    [common]
    ;charset  =    gbk
    
    [ThreadPool]
    threads   =    (0,1)(1,15)(100,1)(101,1)
    max_queuesize    =    1048576
    prior_strict    =    1
    
    [Role]
    ;delete_timeout    =    604800
    delete_timeout    =    60
    
    [OCCUPATION]
    occupations             =       HUMAN
    
    [GENERAL]
    #����
    
    [HUMAN]
    race    =       0
    posx    =       0
    posy    =       200
    posz    =       0
    money   =       0
    hp              =       60
    mp              =       20
    [interserver] root/Server/gdelivery/gamesys.conf

    Code:
    [LogclientClient]
    type   =    udp
    port   =    11100
    address   =    127.0.0.1
    so_sndbuf  =    16384
    so_rcvbuf  =    16384
    ibuffermax  =    16384
    obuffermax  =    1048576
    accumulate  =    1048576
    
    [LogclientTcpClient]
    type   =    tcp
    port   =    11101
    address   =    127.0.0.1
    so_sndbuf  =    16384
    so_rcvbuf  =    16384
    ibuffermax  =    16384
    obuffermax  =    1048576
    accumulate  =    1048576
    
    [Intervals]
    ;set accounting interval,unit is second
    account_interval    =    600
    ;set delrole interval,unit is second
    delrole_interval    =    60
    ;set check forbidlogin user's map interval,unit is second
    checkforbidlogin_interval = 60
    
    [GDeliveryServer]
    zoneid=2031;跨服服务器ID
    aid=11
    freeaid=1
    district_id=17
    zondname  =    天界
    max_player_num  =    15000
    type   =    tcp
    port   =    29100
    address   =    127.0.0.1
    so_sndbuf  =    65536
    so_rcvbuf  =    65536
    ibuffermax  =    1048576
    obuffermax  =    1048576
    tcp_nodelay  =    0
    listen_backlog    =    10
    accumulate  =    1048576
    mtrace   =    /tmp/m_trace.link
    battlefield=0
    freecreatime=0
    table_charset           =       UCS2
    name_charset            =       GB2312
    contest_file            =       zhuxian_question.data
    double_bonus_time       =       2009.9.22-2013.10.8
    instancingfield  =  0
    circle_open=true
    consign_open=true
    is_central_ds=true
    user_iden_cache_time=90
    remote_logging_timeout=120
    gt_open=true
    callback_open =true
    gate_open=true
    vip_open=true
    consignrole_open=true
    
    [GAuthClient]
    type   =    tcp
    port   =    29200
    address   =    127.0.0.1
    so_sndbuf  =    65536
    so_rcvbuf  =    65536
    ibuffermax  =    1048576
    obuffermax  =    131072
    ;so_broadcast    =    1
    tcp_nodelay  =    0
    accumulate  =    131072
    isec   =    2
    iseckey   =    123
    osec   =    2
    oseckey   =    456
    shared_key  =    123456
    ;au_cert=1
    
    [GProviderServer]
    id    =    0
    type   =    tcp
    port   =    29300
    address   =    127.0.0.1
    so_sndbuf  =    65536
    so_rcvbuf  =    65536
    ibuffermax  =    1048576
    obuffermax  =    1048576
    ;so_broadcast  =    1
    tcp_nodelay  =    0
    accumulate  =    268435456
    
    [UniqueNameClient]
    type   =    tcp
    port   =    29401
    address   =    127.0.0.1
    so_sndbuf  =    65536
    so_rcvbuf  =    65536
    ibuffermax  =    1048576
    obuffermax  =    1048576
    ;so_broadcast    =    1
    tcp_nodelay  =    0
    accumulate  =    268435456
    isec   =    2
    iseckey   =    123
    osec   =    2
    oseckey   =    456
    
    [GameDBClient]
    type   =    tcp
    port   =    29400
    address   =    127.0.0.1
    so_sndbuf  =    65536
    so_rcvbuf  =    65536
    ibuffermax  =    1048576
    obuffermax  =    1048576
    ;so_broadcast  =    1
    tcp_nodelay  =    0
    accumulate  =    268435456
    
    [GAntiCheatClient]
    type   =    tcp
    port   =    29702
    address   =    127.0.0.1
    so_sndbuf  =    65536
    so_rcvbuf  =    65536
    ibuffermax  =    1638400
    obuffermax  =    1638400
    ;so_broadcast    =    1
    tcp_nodelay  =    0
    accumulate  =    268435456
    
    [ThreadPool]
    threads   =    (1,3)(100,1)(101,1)(0,1)
    max_queuesize    =    1048576
    prior_strict    =    1
    
    ;[BattleManager]
    ;2  = 十八里铺
    ;3  = 杏子林
    ;4  = 五霸冈
    ;5  = 八里庄
    ;6  = 烙印塔
    ;8  = 沙漠
    ;9  = 草原
    ;10 = 七侠镇
    ;13 = 京城
    ;14 = 南疆
    ;city =    5,6,3,2,10,4,8,9,13,14
    ;switcher = 0,0,1,0,0,1,0,1,0,0
    ;topid =   43,44,42,45,40,41,49,47,46,48
    
    ;[GWebTradeClient]
    ;type                    =       tcp
    ;port                    =       29210
    ;address                 =       180.235.64.132
    ;so_sndbuf               =       16384
    ;so_rcvbuf               =       16384
    ;so_broadcast           =       1
    ;tcp_nodelay             =       0
    ;accumulate              =       268435456
    ;osec            =       2
    ;oseckey         =       taaprYnuYabhjgrvwa89dhhecgkwifjd
    ;isec            =       2
    ;iseckey         =       ed3aL0iigypkvjjtclniqwomuWmajguk
    ;ibuffermax=1638400
    ;obuffermax=1638400
    
    [CentralDeliveryClient]
    type                    =       tcp
    port                    =       29500
    address                 =       127.0.0.1
    so_sndbuf               =       65535
    so_rcvbuf               =       65535
    tcp_nodelay             =       0
    accumulate              =       268435456
    ibuffermax              =       1638400
    obuffermax              =       1638400
    
    [CentralDeliveryServer]
    type                    =       tcp
    port                    =       29500
    address                 =       0.0.0.0
    so_sndbuf               =       16384
    so_rcvbuf               =       16384
    ibuffermax              =       1048576
    obuffermax              =       1048576
    tcp_nodelay             =       0
    listen_backlog          =       10
    accumulate              =       16777216
    
    [GameGateServer]
    type                    =       tcp
    port                    =       29700
    address                 =       0.0.0.0
    so_sndbuf                 =       65535
    so_rcvbuf                  =       65535
    ibuffermax                 =       1638400
    obuffermax                =       1638400
    so_broadcast              =       1
    tcp_nodelay                =       0
    ACcumulate                        =       268435456
    
    ;[Coupon]
    ;itemids                 =       27429,27379
    I started with the ./qd script (That I have changed the paths and the "./gacd io.conf" to "./gacd gamesys.conf". But the logs don't show it as running.

    glinked.log
    Code:
    TRACE : youshuang
    TRACE : compile time: Oct 21 2015:12:06:16
    info : logclient: OnAddSession
    err : glinkd::Connect to delivery failed.
    info : logclienttcp: OnAbortSession
    info : logclienttcp: OnAbortSession
    err : glinkd::Connect to delivery failed.
    err : glinkd::Connect to delivery failed.
    info : logclienttcp: OnAbortSession
    db.log
    Code:
    err : Initialize storage environment failed.
    elysium.log (gslalias)
    Code:
    yesonggao
    compile time: Oct 28 2015:20:41:58
    装载并执行lua脚本'lottery.lua'...完成
    装载并执行lua脚本'talisman.lua'...完成
    装载并执行lua脚本'petbedge.lua'...完成
    装载并执行lua脚本'player.lua'...完成
    装载并执行lua脚本'summon.lua'...完成
    装载并执行lua脚本'magic.lua'...完成
    装载并执行lua脚本'transform.lua'...完成
    装载并执行lua脚本'misc.lua'...完成
    装载并执行lua脚本'rune.lua'...完成
    装载并执行lua脚本'astrology.lua'...
    What am I doing wrong? The serverside of my original server has the Elysium-VPS ip on it:

    Code:
    [CentralDeliveryClient]
    type                    =       tcp
    port                    =       29500
    address                 =      172.245.206.34
    so_sndbuf               =       65535
    so_rcvbuf               =       65535
    tcp_nodelay             =       0
    accumulate              =       268435456
    ibuffermax              =       1638400
    obuffermax              =       1638400
    The authd doesn't need to be running? Can anyone teach me how to setup it? Maybe I'm forgetting some IP or Port, I don't know. The interserver don't run any realms, so I don't even tried to connect from my server, as it shows err : glinkd::Connect to delivery failed.


  2. #2
    Novice kingdee is offline
    MemberRank
    Apr 2018 Join Date
    4Posts

    Re: [Interserver] Using two VPS?

    I think you may need to check the hosts file



Advertisement